123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897 |
- <?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/>
- <drprcpetc11/>
- <drprcpetc12/>
- <drprcpetc13/>
- <drprcpetc14/>
- <drprcpetc15/>
- <drprcpetc16/>
- <drprcpetc17/>
- <drprcpetc18/>
- <drprcpetc19/>
- <drprcpetc20/>
- <drprcpetc21/>
- <drprcpetc22/>
- <drprcpetc23/>
- <drprcpetc24/>
- <drprcpetc25/>
- <drprcpetc26/>
- <drprcpetc27/>
- <drprcpetc28/>
- <drprcpetc29/>
- <drprcpetc30/>
- </prcplist>
- </prcp>
- <cond>
- <rsrvflag/>
- </cond>
- </main>
- <init>
- <prcpdirecflag/>
- <payflagcd/>
- <drugspd/>
- <drugmthdspccdnm/>
- <orddept/>
- <userlist/>
- </init>
- <chkflag>
- <erprcpflag/>
- <prnprcpflag/>
- <erreadflag/>
- <portprcpflag/>
- <precureprcpflag/>
- <clincstdyflag/>
- <payflagcd/>
- <prcphopedd/>
- <clinccmtcnts/>
- <prcpdelivefact/>
- <choiordflag/>
- <prcpexecdeptcd/>
- <anamneflag/>
- <drprcpetc12/>
- </chkflag>
- <orddept/>
- <temp>
- <send/>
- <patsupkind/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- if ( opener.javascript.getParameter ( "SPMMO12400_prcpclscd" ) == "B6") {
- document.title = "일괄입력[핵의학체내]";
- caption2.value = "핵의학체내";
- }
- //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
- zbcfGetCodeList(new Array("M0029"), new Array("/root/init/payflagcd"));
- fPrcpExecDeptSrch("all");
- var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
- if ( prcpgenrflag == "O" ) {
- if ( opener.model.getValue ( "/root/usge" ) == "prcp" ) {
- checkbox2.disabled = true;
- }
- }
-
- button4.disabled = true;
- checkbox10.disabled = true;
- checkbox11.disabled = true;
- checkbox12.disabled = true;
- checkbox14.disabled = true;
- checkbox15.disabled = true;
- checkbox4.disabled = true;
- combo1.disabled = true;
- combo2.disabled = true;
- input3.disabled = true;
- textarea1.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="290" guideline="2,290;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption10" class="cell_1" style="left:2px; top:224px; width:100px; height:23px; "/>
- <caption id="caption22" class="cell_1" style="left:262px; top:200px; width:99px; height:21px; "/>
- <caption id="caption11" class="cell_1" style="left:2px; top:199px; width:100px; height:23px; "/>
- <caption id="caption9" class="cell_1" style="left:207px; top:172px; width:100px; height:23px; "/>
- <button id="button1" class="btn4_letter2" style="left:293px; top:253px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var erprcpflag_useyn = "";
- var erprcpflag = "";
- var prnprcpflag_useyn = "";
- var prnprcpflag = "";
- var erreadflag_useyn = "";
- var erreadflag = "";
- var clincstdyflag_useyn = "";
- var clincstdyflag = "";
- var payflagcd_useyn = "";
- var payflagcd = "";
- var prcphopedd_useyn = "";
- var prcphopedd = "";
- var precureprcpflag_useyn = "";
- var precureprcpflag = "";
- var prcpexecdeptcd_useyn = "";
- var prcpexecdeptcd = "";
- var prcpdelivefact_useyn = "";
- var prcpdelivefact = "";
- var drprcpetc12_useyn = "";
- var drprcpetc12 = "";
- var useyn = "";
- var value = "";
-
- var header = "erprcpflag|prnprcpflag|erreadflag|clincstdyflag|payflagcd|prcphopedd|precureprcpflag|prcpexecdeptcd|anamneflag|prcpdelivefact|drprcpetc12|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/prnprcpflag" ) == "Y" ) {
- prnprcpflag_useyn = "Y" + "|";
- prnprcpflag = model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ))) {
- prnprcpflag = "N" + "|";
- }
- } else {
- prnprcpflag_useyn = "N" + "|";
- prnprcpflag = "" + "|";
- }
-
- useyn = useyn + prnprcpflag_useyn ;
- value = value + prnprcpflag;
-
- if ( model.getValue ( "/root/chkflag/erreadflag" ) == "Y" ) {
- erreadflag_useyn = "Y" + "|";
- erreadflag = model.getValue ("/root/main/prcp/prcplist/erreadflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/erreadflag" ))) {
- erreadflag = "N" + "|";
- }
- } else {
- erreadflag_useyn = "N" + "|";
- erreadflag = "" + "|";
- }
- useyn = useyn + erreadflag_useyn ;
- value = value + erreadflag;
-
- if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
- clincstdyflag_useyn = "Y" + "|";
- clincstdyflag = model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ))) {
- clincstdyflag = "N" + "|";
- }
- } else {
- clincstdyflag_useyn = "N" + "|";
- clincstdyflag = "" + "|";
- }
- useyn = useyn + clincstdyflag_useyn ;
- value = value + clincstdyflag;
-
- 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/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/precureprcpflag" ) == "Y" ) {
- precureprcpflag_useyn = "Y" + "|";
- precureprcpflag = model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ))) {
- precureprcpflag = "N" + "|";
- }
- } else {
- precureprcpflag_useyn = "N" + "|";
- precureprcpflag = "" + "|";
- }
- useyn = useyn + precureprcpflag_useyn ;
- value = value + precureprcpflag;
-
- 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/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;
-
- if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
- drprcpetc12_useyn = "Y" + "|";
- drprcpetc12 = model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ))) {
- drprcpetc12 = "N" + "|";
- }
- } else {
- drprcpetc12_useyn = "N" + "|";
- drprcpetc12 = "N" + "|";
- }
-
- useyn = useyn + drprcpetc12_useyn ;
- value = value + drprcpetc12;
-
- //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
- var subcretno_useyn = "";
- var subcretno = 0;
- if ( bool2.value == "Y" || model.getValue("/root/chkflag/clincstdyflag") == "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:350px; top:253px; 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:207px; top:224px; width:100px; height:23px; "/>
- <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:172px; width:100px; height:23px; "/>
- <caption id="caption3" class="cell_1" style="left:2px; top:71px; width:100px; height:50px; "/>
- <caption id="caption5" class="cell_1" style="left:2px; top:146px; width:100px; height:23px; "/>
- <caption id="caption4" class="cell_1" style="left:2px; top:45px; 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/prnprcpflag" overflow="visible" appearance="full" style="left:7px; top:49px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>PRN</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/prnprcpflag" ) == "Y" ) {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
- checkbox11.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "Y" );
- model.refresh();
-
- } else {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
- checkbox11.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "N" );
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/chkflag/erreadflag" overflow="visible" appearance="full" style="left:7px; top:150px; 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/erreadflag" ) == "Y" ) {
- checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
- checkbox12.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/erreadflag", "Y" );
- model.refresh();
-
- } else {
- checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
- checkbox12.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/erreadflag", "N" );
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line15" class="line_2" style="x1:2px; y1:43px; x2:410px; y2:43px; "/>
- <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:71px; width:97px; 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>
- <select id="checkbox7" ref="/root/chkflag/clincstdyflag" overflow="visible" appearance="full" style="left:7px; top:176px; 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( bool2.value == "Y" ){
- messageBox ( "임상연구는 기왕증과 동시에 선택 할 수", "I004" );
- model.setValue ( "/root/chkflag/clincstdyflag" , "");
- model.refresh();
- return;
- }
-
- if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
- if ( fSubcretnoSet("1", null) == -1 ) {
- model.setValue ( "/root/chkflag/clincstdyflag" , "N");
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
- checkbox15.disabled = true;
- checkbox7.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
- model.refresh();
- return;
- }
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
- checkbox15.disabled = false;
- checkbox7.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "Y" );
- model.refresh();
-
- } else {
- fSubcretnoSet("1", null);
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
- checkbox15.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
- 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:24px; 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/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:69px; x2:410px; y2:69px; "/>
- <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:71px; 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:226px; width:100px; height:19px; "/>
- <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
- <select id="checkbox9" ref="/root/chkflag/prcphopedd" overflow="visible" appearance="full" style="left:210px; top:226px; 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/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>
- <select id="checkbox11" ref="/root/main/prcp/prcplist/prnprcpflag" overflow="visible" appearance="full" style="left:105px; top:49px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>PRN</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox12" ref="/root/main/prcp/prcplist/erreadflag" overflow="visible" appearance="full" style="left:105px; top:150px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급판독</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox15" ref="/root/main/prcp/prcplist/clincstdyflag" overflow="visible" appearance="full" style="left:105px; top:176px; 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:249px; x2:409px; y2:249px; "/>
- <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:122px; x2:410px; y2:122px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:127px; width:121px; height:14px; ">진단검사</caption>
- <line id="line5" class="line_1" style="x1:2px; y1:141px; x2:410px; y2:141px; "/>
- <line id="line6" class="line_2" style="x1:2px; y1:170px; x2:410px; y2:170px; "/>
- <select id="checkbox14" ref="/root/main/prcp/prcplist/precureprcpflag" overflow="visible" appearance="full" style="left:311px; top:176px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>선처치</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox6" ref="/root/chkflag/precureprcpflag" overflow="visible" appearance="full" style="left:212px; top:176px; 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/precureprcpflag" ) == "Y" ) {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
- checkbox14.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "Y" );
- model.refresh();
-
- } else {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
- checkbox14.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "N" );
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:105px; top:201px; 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:202px; 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:197px; x2:410px; y2:197px; "/>
- <button id="button4" class="icon_search" style="left:76px; top:71px; 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>
- <caption id="caption14" class="cell_1" style="left:207px; top:200px; width:53px; height:21px; "/>
- <caption id="caption15" style="left:230px; top:202px; width:27px; height:20px; ">예약</caption>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/rsrvflag" style="left:207px; top:200px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(input3.disabled == false){
- var rsrvflag = model.getValue("/root/main/cond/rsrvflag");
- if(rsrvflag == "Y"){
- model.setValue("/root/main/prcp/prcplist/prcphopedd", "99991231");
- }else if(rsrvflag == "N"){
- model.setValue("/root/main/prcp/prcplist/prcphopedd", "");
- }
- }else{
- model.setValue("/root/main/cond/rsrvflag", "N");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:263px; top:201px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ){
- messageBox ( "기왕증은 임상연구와 동시에 선택 할 수", "I004" );
- bool2.value = "N";
- return;
- }
-
- 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:285px; top:202px; width:50px; height:20px; ">기왕증</caption>
- <select id="checkbox4" ref="/root/main/prcp/prcplist/drprcpetc12" overflow="visible" appearance="full" style="left:105px; top:228px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>F/U</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox13" ref="/root/chkflag/drprcpetc12" overflow="visible" appearance="full" style="left:7px; top:228px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>F/U</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
- checkbox13.item(checkbox13.focusIndex).attribute("font-weight") = "bold";
- checkbox4.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "Y" );
-
- model.setValue ( "/root/chkflag/prcphopedd", "Y" ); // 검사 희망일
- input3.disabled = false;
- model.refresh();
-
- } else {
- checkbox13.item(checkbox13.focusIndex).attribute("font-weight") = "normal";
- checkbox4.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "N" );
- model.refresh();
- }
- ]]>
- </script>
- </select>
- </xhtml:body>
- </xhtml:html>
|