123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764 |
- <?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/>
- <orddept/>
- <userlist/>
- </init>
- <chkflag>
- <drugmthdspccd/>
- <prcpdirecflag/>
- <drugspd/>
- <payflagcd/>
- <prcpdelivefact/>
- <prcptims/>
- <prcpdayno/>
- <etcprcpresncd/>
- <choiordflag/>
- <prcpexecdeptcd/>
- <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("M0029"), new Array("/root/init/payflagcd"));
- zbcfGetKindCodeList(new Array("M0041", "M0042", "M0043"), new Array("M0046", "M0041", "M0045"), new Array("/root/init/drugspd", "/root/init/prcpdirecflag", "/root/init/drugmthdspccdnm"), false);
-
- fPrcpExecDeptSrch("all");
- //group1.disabled = true ;
- combo1.disabled = true;
- combo2.disabled = true;
- combo3.disabled = true;
- combo4.disabled = true;
- combo5.disabled = true;
- input1.disabled = true;
- input2.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="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <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="266" guideline="2,266;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption22" class="cell_1" style="left:208px; top:197px; width:101px; height:21px; "/>
- <button id="button1" class="btn4_letter2" style="left:296px; top:228px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var value = "";
- var drugmthdspccd_useyn = "";
- var drugmthdspccd = "";
- var tempcol1_useyn = "";
- var tempcol1 = "";
- var prcpdirecflag_useyn = "";
- var prcpdirecflag = "";
- var drugspd_useyn = "";
- var drugspd = "";
- var payflagcd_useyn = "";
- var payflagcd = "";
- var prcpdelivefact_useyn = "";
- var prcpdelivefact = "";
- var prcptims_useyn = "";
- var prcptims = "";
- var prcpdayno_useyn = "";
- var prcpdayno = "";
- var etcprcpresncd_useyn = "";
- var etcprcpresncd = "";
- var choiordflag_useyn = "";
- var choiordflag = "";
- var prcpexecdeptcd_useyn = "";
- var prcpexecdeptcd = "";
- var header = "";
- var useyn = "";
- var value = "";
-
- //치료부위(drugmthdspccd -> rehbprcpcurepartcd), 치료빈도(drugspd -> rehbprcpcurefreqflag), 마감일(etcprcpresncd->rehbprcpenddd)
- //마감일 변경된 instance로 대체 2008.06.02 오지훈
- header = "rehbprcpcurepartcd|tempcol1|prcpdirecflag|rehbprcpcurefreqflag|payflagcd|prcpdelivefact|prcptims|prcpdayno|choiordflag|prcpexecdeptcd|anamneflag|rehbprcpenddd^";
- //header = "drugmthdspccd|tempcol1|prcpdirecflag|drugspd|payflagcd|prcpdelivefact|prcptims|prcpdayno|choiordflag|prcpexecdeptcd|anamneflag|etcprcpresncd^";
-
- if ( model.getValue ( "/root/chkflag/drugmthdspccd" ) == "Y" ) {
- drugmthdspccd_useyn = "Y" + "|";
- drugmthdspccd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ) + "|";
- tempcol1_useyn = "Y" + "|";
- tempcol1 = combo1.label + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ))) {
- model.alert ( "입력된 치료부위 값이 없습니다." );
- return;
- }
- } else {
- drugmthdspccd_useyn = "N" + "|";
- drugmthdspccd = "" + "|";
- tempcol1_useyn = "N" + "|";
- tempcol1 = "" + "|";
- }
- useyn = useyn + drugmthdspccd_useyn + tempcol1_useyn;
- value = value + drugmthdspccd + tempcol1;
-
- if ( model.getValue ( "/root/chkflag/prcpdirecflag" ) == "Y" ) {
- prcpdirecflag_useyn = "Y" + "|";
- prcpdirecflag = model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ))) {
- model.alert ( "입력된 치료위치 값이 없습니다." );
- return;
- }
- } else {
- prcpdirecflag_useyn = "N" + "|";
- prcpdirecflag = "" + "|";
- }
-
- useyn = useyn + prcpdirecflag_useyn ;
- value = value + prcpdirecflag;
-
- if ( model.getValue ( "/root/chkflag/drugspd" ) == "Y" ) {
- drugspd_useyn = "Y" + "|";
- drugspd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ))) {
- model.alert ( "입력된 치료빈도 값이 없습니다." );
- return;
- }
- } else {
- drugspd_useyn = "N" + "|";
- drugspd = "" + "|";
- }
- useyn = useyn + drugspd_useyn ;
- value = value + drugspd;
-
- 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/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/prcptims" ) == "Y" ) {
- prcptims_useyn = "Y" + "|";
- prcptims = model.getValue ("/root/main/prcp/prcplist/prcptims" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcptims" ))) {
- model.alert ( "입력된 1일치료횟수 값이 없습니다." );
- return;
- }
- } else {
- prcptims_useyn = "N" + "|";
- prcptims = "" + "|";
- }
-
- useyn = useyn + prcptims_useyn ;
- value = value + prcptims;
-
- if ( model.getValue ( "/root/chkflag/prcpdayno" ) == "Y" ) {
- prcpdayno_useyn = "Y" + "|";
- prcpdayno = model.getValue ("/root/main/prcp/prcplist/prcpdayno" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpdayno" ))) {
- model.alert ( "입력된 치료일수 값이 없습니다." );
- return;
- }
- } else {
- prcpdayno_useyn = "N" + "|";
- prcpdayno = "" + "|";
- }
-
- useyn = useyn + prcpdayno_useyn ;
- value = value + prcpdayno;
-
- if ( model.getValue ( "/root/chkflag/choiordflag" ) == "Y" ) {
- choiordflag_useyn = "Y" + "|";
- choiordflag = model.getValue ("/root/main/prcp/prcplist/choiordflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/choiordflag" ))) {
- choiordflag = "N" + "|";
- }
- } else {
- choiordflag_useyn = "N" + "|";
- choiordflag = "" + "|";
- }
- useyn = useyn + choiordflag_useyn ;
- value = value + choiordflag;
-
- 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/etcprcpresncd" ) == "Y" ) {
- etcprcpresncd_useyn = "Y" + "^";
- etcprcpresncd = model.getValue ("/root/main/prcp/prcplist/rehbprcpenddd" ) + "^";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpenddd" ))) {
- model.alert ( "입력된 마감일 값이 없습니다." );
- return;
-
- } else {
- if ( !isValidDateTime ( model.getValue ( "/root/main/prcp/prcplist/rehbprcpenddd" ), "YYYYMMDD")) {
- model.alert ( "마감일이 유효한 날짜가 아닙니다." );
- return;
- }
- }
- } else {
- etcprcpresncd_useyn = "N"+ "^";
- etcprcpresncd = "" + "^";
- }
-
- useyn = useyn + etcprcpresncd_useyn;
- value = value + etcprcpresncd;
-
- 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:356px; top:228px; 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:209px; top:145px; width:100px; height:23px; "/>
- <caption id="caption7" class="cell_1" style="left:209px; top:119px; width:100px; height:23px; "/>
- <caption id="caption6" class="cell_1" style="left:209px; top:93px; width:100px; height:23px; "/>
- <caption id="caption3" class="cell_1" style="left:4px; top:19px; width:100px; height:50px; "/>
- <caption id="caption2" class="cell_1" style="left:3px; top:172px; width:100px; height:23px; "/>
- <caption id="caption5" class="cell_1" style="left:4px; top:145px; width:100px; height:23px; "/>
- <caption id="caption4" class="cell_1" style="left:4px; top:119px; width:100px; height:23px; "/>
- <caption id="caption1" class="cell_1" style="left:4px; top:93px; width:100px; height:23px; "/>
- <select id="checkbox1" ref="/root/chkflag/drugmthdspccd" overflow="visible" appearance="full" style="left:9px; top:97px; 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/drugmthdspccd" ) == "Y" ) {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
- combo1.disabled = false;
- model.refresh();
-
- } else {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
- combo1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/chkflag/prcpdirecflag" overflow="visible" appearance="full" style="left:9px; top:123px; 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/prcpdirecflag" ) == "Y" ) {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
- combo2.disabled = false;
- model.refresh();
-
- } else {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
- combo2.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/chkflag/drugspd" overflow="visible" appearance="full" style="left:9px; top:149px; 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/drugspd" ) == "Y" ) {
- checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
- combo3.disabled = false;
- model.refresh();
-
- } else {
- checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
- combo3.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo1" ref="/root/main/prcp/prcplist/rehbprcpcurepartcd" class="combo_default" appearance="minimal" style="left:105px; top:95px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drugspd/M0041M0046">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox4" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:9px; top:175px; 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" ) {
- checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
- combo4.disabled = false;
- model.refresh();
-
- } else {
- checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
- combo4.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpdirecflag" class="combo_default" appearance="minimal" style="left:105px; top:121px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prcpdirecflag/M0042M0041">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line15" class="line_2" style="x1:4px; y1:117px; x2:412px; y2:117px; "/>
- <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:9px; top:19px; 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;
- model.refresh();
- } else {
- checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
- textarea1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox6" ref="/root/chkflag/prcptims" overflow="visible" appearance="full" style="left:214px; top:97px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1일치료횟수</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/prcptims" ) == "Y" ) {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
- input1.disabled = false;
- model.refresh();
-
- } else {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
- input1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo3" ref="/root/main/prcp/prcplist/rehbprcpcurefreqflag" class="combo_default" appearance="minimal" style="left:105px; top:147px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drugmthdspccdnm/M0043M0045">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox7" ref="/root/chkflag/prcpdayno" overflow="visible" appearance="full" style="left:214px; top:123px; 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/prcpdayno" ) == "Y" ) {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
- input2.disabled = false;
- model.refresh();
-
- } else {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
- input2.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line1" class="line_2" style="x1:4px; y1:17px; x2:412px; y2:17px; "/>
- <select1 id="combo4" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:107px; top:174px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/payflagcd/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/main/prcp/prcplist/prcptims" class="input_search" imemode="disabled" format="#,###" style="left:312px; top:95px; width:100px; height:19px; "/>
- <select id="checkbox8" ref="/root/chkflag/etcprcpresncd" overflow="visible" appearance="full" style="left:214px; top:149px; 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/etcprcpresncd" ) == "Y" ) {
- checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
- input3.disabled = false;
- model.refresh();
-
- } else {
- checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
- input3.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line2" class="line_2" style="x1:4px; y1:143px; x2:412px; y2:143px; "/>
- <input id="input2" ref="/root/main/prcp/prcplist/prcpdayno" class="input_search" imemode="disabled" format="#,###" style="left:312px; top:121px; width:100px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:4px; y1:170px; x2:411px; y2:170px; "/>
- <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:105px; top:19px; width:307px; height:49px; "/>
- <input id="input3" ref="/root/main/prcp/prcplist/rehbprcpenddd" class="input_search" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:312px; top:147px; width:100px; height:19px; "/>
- <line id="line6" class="line_3" style="x1:4px; y1:221px; x2:411px; y2:221px; "/>
- <line id="line7" class="line_1" style="x1:4px; y1:14px; x2:412px; y2:14px; "/>
- <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
- <caption id="caption11" class="tit_2" style="left:5px; top:74px; width:121px; height:14px; ">재활</caption>
- <line id="line5" class="line_1" style="x1:2px; y1:88px; x2:410px; y2:88px; "/>
- <line id="line4" class="line_2" style="x1:4px; y1:70px; x2:412px; y2:70px; "/>
- <select1 id="combo5" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:106px; top:199px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="cell_1" style="left:3px; top:197px; width:100px; height:23px; "/>
- <select id="checkbox18" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:8px; top:200px; 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" ) {
- checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "bold";
- combo5.disabled = false;
- model.refresh();
-
- } else {
- checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "normal";
- combo5.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <button id="button4" class="icon_search" style="left:79px; top:20px; 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:209px; top:197px; 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:198px; width:50px; height:20px; ">기왕증</caption>
- </xhtml:body>
- </xhtml:html>
|