123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385 |
- <?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/>
- <chkflag>
- <drugpackflag/>
- <prcpdelivefact/>
- <anamneflag/>
- </chkflag>
- <temp>
- <send/>
- <patsupkind/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- checkbox10.disabled = true;
- textarea1.disabled = true;
- button61.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"/>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="85" guideline="2,91;2,59;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption22" class="cell_1" style="left:208px; top:59px; width:86px; height:21px; "/>
- <button id="button1" class="btn4_letter2" style="left:297px; top:60px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var drugpackflag_useyn = "";
- var drugpackflag = "";
- var prcpdelivefact_useyn = "";
- var prcpdelivefact = "";
- var useyn = "";
- var value = "";
-
- var header = "drugpackflag|anamneflag|prcpdelivefact|subcretno^";
-
- if ( model.getValue ( "/root/chkflag/drugpackflag" ) == "Y" ) {
- drugpackflag_useyn = "Y" + "|";
- drugpackflag = model.getValue ("/root/main/prcp/prcplist/drugpackflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/drugpackflag" ))) {
- drugpackflag = "N" + "|";
- }
- } else {
- drugpackflag_useyn = "N" + "|";
- drugpackflag = "" + "|";
- }
- useyn = useyn + drugpackflag_useyn;
- value = value + drugpackflag;
-
- 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:61px; 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="caption3" class="cell_1" style="left:2px; top:5px; width:100px; height:50px; "/>
- <select id="checkbox1" ref="/root/chkflag/drugpackflag" visibility="hidden" overflow="visible" appearance="full" style="left:7px; top:59px; 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/drugpackflag" ) == "Y" ) {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
- checkbox10.disabled = false;
- model.refresh();
-
- } else {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
- checkbox10.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line15" class="line_2" style="x1:2px; y1:3px; x2:410px; y2:3px; "/>
- <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:5px; width:73px; 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;
- fPrcpModal ( "SPMMO11400", "10", "100" );
- button61.disabled = false;
- model.refresh();
- } else {
- checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
- //textarea1.disabled = true;
- button61.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" disabled="true" style="left:103px; top:5px; width:307px; height:49px; "/>
- <line id="line7" class="line_1" style="x1:2px; y1:0px; x2:410px; y2:0px; "/>
- <select id="checkbox10" ref="/root/main/prcp/prcplist/drugpackflag" visibility="hidden" overflow="visible" appearance="full" style="left:105px; top:59px; 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:55px; x2:409px; y2:55px; "/>
- <button id="button61" class="icon_search" style="left:85px; top:6px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrcpModal ( "SPMMO11400", "10", "100" );
- ]]>
- </script>
- </button>
- <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:208px; top:59px; 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:230px; top:59px; width:50px; height:20px; ">기왕증</caption>
- </xhtml:body>
- </xhtml:html>
|