123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>행위처방등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <mech>
- <mechlist/>
- </mech>
- <actmatr>
- <actmatrlist/>
- </actmatr>
- <mainbd>
- <mainbdlist/>
- </mainbd>
- </main>
- <send>
- <searchlist>
- <calcscorcd/>
- <insuedicd/>
- <hngnm/>
- <engnm/>
- <ordnm/>
- <insuclsno/>
- <allyn/>
- <grupsnglflag/>
- <smactcd/>
- <actprcpdrid/>
- <actdeptcd/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- </searchlist>
- <reslist>
- <actprcpdrid/>
- <actprcpdrnm/>
- <actdeptcd/>
- <actdeptnm/>
- <deptflag/>
- </reslist>
- <reqlist/>
- </send>
- <init>
- <grupsnglflag>A</grupsnglflag>
- <instcd/>
- </init>
- <temp>
- <usndeptlist/>
- </temp>
- <hidden>
- <item1>
- <ictp1List>
- <ictp1>
- <ictp1_earncls1/>
- <ictp1_earncls1nm/>
- </ictp1>
- </ictp1List>
- <ictp2List>
- <ictp2>
- <ictp2_earncls1/>
- <ictp2_earncls2/>
- <ictp2_earncls2nm/>
- </ictp2>
- </ictp2List>
- <ictp3List>
- <ictp3>
- <ictp3_earncls1/>
- <ictp3_earncls2/>
- <ictp3_earncls3/>
- <ictp3_earncls3nm/>
- </ictp3>
- </ictp3List>
- </item1>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../pam/calcscormngtweb/js/PICCOM.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.removeNodeset("/root/main/mech/mechlist");
- model.makeValue("/root/init/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
- //model.setFocus("ipt_actprcpdrid");
- //처방대분류,중분류,소분류 추가
- //2010.07.20 Jwoo
- submit("TRPIC90018");
- model.refresh();
- }
- //
- function fSelect(){
-
- // submit("TRPIC90403");
- //
- // var u = model.setValue(ipt_smactcd.attribute("ref"),grd_synom.valueMatrix(1,grd_synom.colRef("actcd"));
- //
- // alert("U?"+u);
- if (submit("TRPIC90005")){
- if (grd_actsearch.rows > 0){
- //model.copyNode("/root/main/mech","/root/main/mechlist["+ 1 +"]");
- model.refresh();
- }
- else{
- messageBox("조회결과가 없습니다!", "E999");
- }
- }
- // }
- }
- function fmatch(){
-
- opener.javascript.setParameter("actdeptcd" ,model.getValue(ipt_actdeptcd.attribute("ref") )); //의사id
- opener.javascript.setParameter("actprcpdrnm" ,model.getValue(ipt_actprcpdrnm.attribute("ref") )); //의사명
- opener.javascript.setParameter("actprcpdrid" ,model.getValue(ipt_actprcpdrid.attribute("ref") )); //부서코드
- opener.javascript.setParameter("actdeptnm" ,model.getValue(ipt_actdeptnm.attribute("ref") )); //부서명
- opener.javascript.setParameter("deptflag" ,model.getValue(rdo_deptflag.attribute("ref") )); //부서구분코드( 1:구매,2:약제)
- opener.javascript.setParameter("calcscorcd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/calcscorcd")); //수가코드 = 처방코드
- opener.javascript.setParameter("hngnm" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/hngnm" )); //한글명
- opener.javascript.setParameter("engnm" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/engnm" )); //영문명
- opener.javascript.setParameter("fromdd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/fromdd" )); //적용일자
- opener.javascript.setParameter("todd" ,model.getValue("/root/main/mech/mechlist["+grd_actsearch.row+"]/todd" )); //종료일자
-
-
- }
- function fset(){
-
- var userid = getParameter("actprcpdrid");
- var usernm = getParameter("actprcpdrnm");
- var deptcd = getParameter("actdeptcd");
- var deptnm = getParameter("actdeptnm");
- model.setValue("/root/send/reslist/actdeptcd",deptcd ); //값 셋팅해주는 역할
- model.setValue("/root/send/reslist/actdeptnm",deptnm );
- model.setValue("/root/send/reslist/actprcpdrid",userid );
- model.setValue("/root/send/reslist/actprcpdrnm",usernm );
-
-
- }
- function fset2(){
-
- var actprcpdrid = grd_hidput.valueMatrix(1,grd_hidput.colRef("actprcpdrid"));
- var actdeptcd = grd_hidput.valueMatrix(1,grd_hidput.colRef("actdeptcd"));
- var actdeptnm = grd_hidput.valueMatrix(1,grd_hidput.colRef("actdeptnm"));
- var actprcpdrnm = grd_hidput.valueMatrix(1,grd_hidput.colRef("actprcpdrnm"));
-
- model.setValue("/root/send/reslist/actdeptcd",actdeptcd ); //값 셋팅해주는 역할
- model.setValue("/root/send/reslist/actdeptnm",actdeptnm );
- model.setValue("/root/send/reslist/actprcpdrid",actprcpdrid );
- model.setValue("/root/send/reslist/actprcpdrnm",actprcpdrnm );
-
- ipt_actprcpdrid.refresh();
- ipt_actprcpdrnm.refresh();
- ipt_actdeptcd.refresh();
- ipt_actdeptnm.refresh();
-
-
-
-
- }
-
- ]]>
- </script>
- <submission id="TRPIC90005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchlist" resultref="/root/main/mech"/>
- <submission id="TRPIC90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/temp"/>
- <submission id="TRPIC90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/main/actmatr"/>
- <submission id="TRPIC90012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reslist" resultref="/root/main/mainbd"/>
- <submission id="TRPIC90018" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/item1"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="500">
- <button id="btn_subsearch" class="icon_search" visibility="hidden" style="left:640px; top:145px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SMPIC90400");//popup설정
- fset();
-
- ipt_actdeptcd.refresh();
- ipt_actdeptnm.refresh();
- ipt_actprcpdrid.refresh();
- ipt_actprcpdrnm.refresh();
- ipt_actdeptnm.refresh();
-
-
- ]]>
- </script>
- </button>
- <input id="ipt_actdeptnm" ref="/root/send/reslist/actdeptnm" visibility="hidden" appearance="input" style="left:755px; top:145px; width:13px; height:19px; border-color:#c0c0c0; border-style:solid; ">
- <hint>
- <![CDATA[부서코드를 입력 시 자동으로 검색 됩니다.]]>
- </hint>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- if(ipt_actdeptnm.value == "" && ipt_actdeptnm.value == "-"){
- messageBox("부서코드를 입력하세요","i");
- return;
- }
- btn_driddept.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption5" class="tit_2" visibility="hidden" style="left:370px; top:150px; width:113px; height:13px; ">행위주체 입력</caption>
- <input id="ipt_actprcpdrnm" ref="/root/send/reslist/actprcpdrnm" visibility="hidden" appearance="input" style="left:605px; top:145px; width:25px; height:19px; border-color:#c0c0c0; border-style:solid; ">
- <hint>
- <![CDATA[의사id를 입력 시 자동으로 검색 됩니다]]>
- </hint>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- if(ipt_actdeptnm.value == "" && ipt_actdeptnm.value == "-"){
- messageBox("부서코드를 입력하세요","i");
- return;
- }
- btn_driddept.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" visibility="hidden" style="left:490px; top:145px; width:71px; height:19px; text-align:center; ">의사ID</caption>
- <caption id="caption3" class="cell_1" visibility="hidden" style="left:660px; top:145px; width:71px; height:19px; text-align:center; ">부서코드</caption>
- <button id="btn_choice" class="btn3_letter2" visibility="hidden" style="left:790px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_actsearch.valueMatrix(1,1) == ""){
- messageBox("수가코드 조회를 먼저","C003");
- }else if(rdo_deptflag.value == "" ){
- messageBox("구매사용/약제사용 여부를","C002");
-
- }else{
- fmatch();
- model.close();
- }
-
- ]]>
- </script>
- <hint>
- <![CDATA[하단 리스트의 행위재료를 선택 한 후 버튼을 눌러주세요]]>
- </hint>
- </button>
- <input id="ipt_actprcpdrid" ref="/root/send/reslist/actprcpdrid" class="input_essential" visibility="hidden" appearance="input" style="left:568px; top:145px; width:32px; height:19px; border-color:#c0c0c0; border-style:solid; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- if (event.keyCode == "13") {
- if(ipt_actdeptcd.value == ""){
- messageBox("부서코드를","C001");
- return;
- }
- setInputNodeCurText();
- ipt_calcscorcd.refresh();
-
- btn_driddept.dispatch("DOMActivate");
-
-
- }
- ]]>
- </script>
- <hint>
- <![CDATA[부서코드로만 진행시 하이픈 (-)을 넣어주세요]]>
- </hint>
- </input>
- <input id="ipt_actdeptcd" ref="/root/send/reslist/actdeptcd" class="input_essential" visibility="hidden" appearance="input" style="left:735px; top:145px; width:15px; height:19px; border-color:#c0c0c0; border-style:solid; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == "13") {
- if(ipt_actprcpdrid.value == ""){
- messageBox("의사코드를","C001");
-
- return;
- }
-
- setInputNodeCurText();
- ipt_calcscorcd.refresh();
-
- btn_driddept.dispatch("DOMActivate");
-
- }
- ]]>
- </script>
- <hint>
- <![CDATA[부서코드를 넣지 않을 시 기본으로 정형외과가 검색됩니다.]]>
- </hint>
- </input>
- <button id="btn_driddept" class="btn1_letter2" visibility="hidden" style="left:910px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(ipt_actprcpdrid.value =="" && ipt_actprcpdrnm.value =="" && ipt_actdeptcd.value =="" && ipt_actdeptnm.value ==""){
- messageBox("행위주체를","C001");
- }else{
-
- // alert(ipt_actprcpdrid.value);
- if(ipt_actprcpdrid.value == "-"){
-
- // model.setValue(ipt_actprcpdrnm.attribute("ref"),"");
- // model.setValue(ipt_actprcpdrid.attribute("ref"),"");
- model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
-
-
- }else{
- model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
- model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
- }
- submit("TRPIC90012");
- fset2();
-
- }
-
- ]]>
- </script>
- </button>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:10px; top:32px; width:955px; height:105px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:93px; height:14px; ">행위처방입력</caption>
- <caption id="caption1" class="tit_2" style="left:9px; top:147px; width:147px; height:13px; ">행위처방 검색</caption>
- <input id="ipt_engnm" ref="/root/send/searchlist/engnm" class="input_default" autonext="false" imemode="alpha" maxlength="120" style="left:105px; top:86px; width:300px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
-
-
- if(ipt_engnm.currentText.length < 2) {
- messageBox("검색할 영문명을 2글자 이상 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
- // fSelect();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_insuedicd" ref="/root/send/searchlist/insuedicd" class="input_default" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:512px; top:61px; width:136px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
-
- setInputNodeCurText();
-
-
- if(ipt_insuedicd.currentText.length < 2) {
- messageBox("검색할 보험EDI 코드를 2글자 이상 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
-
- // fSelect();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_insuclsno" ref="/root/send/searchlist/insuclsno" class="input_default" autonext="false" maxlength="60" style="left:513px; top:111px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
-
-
- if(ipt_insuclsno.currentText.length < 1) {
- messageBox("분류번호를 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
- // fSelect();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_ordnm" ref="/root/send/searchlist/ordnm" class="input_default" autonext="false" maxlength="120" style="left:105px; top:110px; width:300px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
-
-
- if(ipt_ordnm.currentText.length < 2) {
- messageBox("검색할 처방명을 2글자 이상 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
- // fSelect();
- }
- ]]>
- </script>
- </input>
- <caption id="caption55" class="search_name" style="left:15px; top:109px; width:93px; height:17px; ">처 방 명 :</caption>
- <input id="ipt_calcscorcd" ref="/root/send/searchlist/calcscorcd" class="input_essential" navindex="1" autonext="false" imemode="alpha" maxlength="12" _chartype="upper" style="left:105px; top:38px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == "13") {
-
- setInputNodeCurText();
- ipt_calcscorcd.refresh();
- model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
- model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
-
- if(ipt_calcscorcd.currentText.length < 2) {
- messageBox("검색할 수가코드를 2글자 이상 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
-
- ipt_calcscorcd.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[수가코드를 조회할 수 있습니다. 단, 두글자 이상 입력하십시오]]>
- </hint>
- </input>
- <caption id="caption24" class="search_name" style="left:15px; top:61px; width:93px; height:17px; ">한 글 명 :</caption>
- <caption id="caption25" class="search_name" style="left:15px; top:85px; width:93px; height:17px; ">영 문 명 :</caption>
- <caption id="caption26" class="search_name" style="left:416px; top:109px; width:95px; height:17px; ">분류번호 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:37px; width:105px; height:17px; ">수가코드 :</caption>
- <caption id="caption8" class="search_name" style="left:415px; top:84px; width:96px; height:17px; ">그룹여부 :</caption>
- <input id="ipt_hngnm" ref="/root/send/searchlist/hngnm" class="input_default" autonext="false" imemode="hangul" maxlength="120" style="left:105px; top:62px; width:300px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') {
-
-
-
- if(ipt_hngnm.currentText.length < 2) {
- messageBox("검색할 처방명을 2글자 이상 입력하십시오.", "C999");
- return;
- }
-
- btn_search.dispatch("DOMActivate");
- // fSelect();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_grupsnglflag" ref="/root/init/grupsnglflag" class="combo_default" appearance="minimal" style="left:513px; top:86px; width:135px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>group</label>
- <value>G</value>
- </item>
- <item>
- <label>single</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:414px; top:59px; width:97px; height:17px; ">보험EDI :</caption>
- <datagrid id="grd_actsearch" nodeset="/root/main/mech/mechlist" caption="수가코드^기관코드^EDI코드^분류번호^그룹여부^한글명^영문명^적용일자^종료일자^최초발생자^최초발생자^최초입력일시^최종수정자^최종수정자^최종수정일시" colsep="^" colwidth="114, 15, 93, 93, 57, 428, 64, 110, 107, 27, 100, 126, 20, 100, 106" frozencols="6" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:171px; width:960px; height:324px; ">
- <col ref="calcscorcd" style="padding-left:10; "/>
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="insuedicd" style="text-align:center; "/>
- <col ref="insuclsno" style="text-align:left; padding-left:10; "/>
- <col ref="grupsnglflag" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:left; padding-left:10; "/>
- <col ref="engnm" visibility="hidden" style="text-align:left; padding-left:10; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstrnm" style="text-align:center; "/>
- <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtrnm" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- /* if(ipt_actprcpdrid.value == "" || ipt_actprcpdrnm.value == "" || ipt_actdeptcd.value == "" || ipt_actdeptnm.value == ""){
- messageBox("행위주체를","C001");
-
- }else{*/
-
- btn_choice.dispatch("DOMActivate");
- /* }*/
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_actsearch.col == grd_actsearch.colRef(grd_actsearch.valueMatrix(grd_actsearch.row, grd_actsearch.colRef("calcscorcd")))){
-
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:895px; top:80px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/searchlist/grupsnglflag", model.getValue(cmb_grupsnglflag.attribute("ref")))
-
- /* if(ipt_actprcpdrid.value == ""){
- messageBox("행위주체를 ","C001");
- model.setFocus("ipt_actprcpdrid");
- return;
- } */
- model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
- model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
- fSelect();
- /*
- else if(ipt_calcscorcd.value == ""){
- messageBox("수가코드를","C001");
- model.setFocus("ipt_calcscorcd");
- return;
- }else{
- model.setValue(ipt_actprcpdrid2.attribute("ref"),model.getValue(ipt_actprcpdrid.attribute("ref")));
- model.setValue(ipt_actdeptcd2.attribute("ref"),model.getValue(ipt_actdeptcd.attribute("ref")));
- fSelect();
-
- }
- */
- ]]>
- </script>
- <hint>
- <![CDATA[수가코드 조회]]>
- </hint>
- </button>
- <line id="line2" class="line_4" style="x1:880px; y1:60px; x2:880px; y2:128px; "/>
- <line id="line3" class="line_1" style="x1:5px; y1:165px; x2:965px; y2:165px; "/>
- <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" appearance="output" style="left:970px; top:470px; width:15px; height:19px; "/>
- <datagrid id="grd_synom" nodeset="/root/main/actmatr/actmatrlist" visibility="hidden" caption="actcd" colsep="^" colwidth="100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:755px; top:410px; width:80px; height:55px; ">
- <col ref="actcd" visibility="hidden"/>
- </datagrid>
- <input id="ipt_smactcd" ref="/root/send/searchlist/smactcd" class="input_essential" visibility="hidden" autonext="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:280px; top:38px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == "13") {
-
- setInputNodeCurText();
- ipt_calcscorcd.refresh();
-
- if(ipt_calcscorcd.currentText.length < 2) {
- messageBox("검색할 수가코드를 2글자 이상 입력하십시오.", "C999");
- return;
- }
- btn_search.dispatch("DOMActivate");
- // fSelect();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
-
- ipt_calcscorcd.refresh();
- ]]>
- </script>
- </input>
- <datagrid id="grd_hidput" nodeset="/root/main/mainbd/mainbdlist" visibility="hidden" caption="부서코드^부서명^의사id^의사명" colsep="^" colwidth="77, 76, 70, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:425px; top:405px; width:310px; height:60px; ">
- <col ref="actdeptcd"/>
- <col ref="actdeptnm"/>
- <col ref="actprcpdrid" visibility="hidden"/>
- <col ref="actprcpdrnm"/>
- </datagrid>
- <input id="ipt_actprcpdrid2" ref="/root/send/searchlist/actprcpdrid" visibility="hidden" style="left:385px; top:39px; width:40px; height:19px; "/>
- <input id="ipt_actdeptcd2" ref="/root/send/searchlist/actdeptcd" visibility="hidden" style="left:435px; top:39px; width:40px; height:19px; "/>
- <button id="button1" class="btn3_letter2" visibility="hidden" style="left:850px; top:140px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn3_letter2.gif; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- /* if(getParameter("calcscorcd") != opener.javascript.opt_actcd.value){
- opener.javascript.setParameter("calcscorcd" ,opener.javascript.opt_actcd.value);
- opener.javascript.setParameter("actdeptcd" ,opener.javascript.opt_actdeptcd.value);
- opener.javascript.setParameter("actdeptnm" ,opener.javascript.opt_actdeptnm.value);
- opener.javascript.setParameter("actprcpdrid" ,opener.javascript.opt_actprcpdrid.value);
- opener.javascript.setParameter("actprcpdrnm" ,opener.javascript.opt_actprcpdrnm.value);
- opener.javascript.setParameter("fromdd" ,opener.javascript.opt_fromdd.value);
- opener.javascript.setParameter("todd" ,opener.javascript.opt_todd.value);
-
- opener.javascript.gridDbClick();
- }*/
- window.close();
-
- ]]>
- </script>
- <hint>
- <![CDATA[이전창으로 돌아갑니다]]>
- </hint>
- </button>
- <caption id="caption41" class="search_name" style="left:654px; top:86px; width:99px; height:17px; ">처방중분류 :</caption>
- <caption id="caption44" class="search_name" style="left:654px; top:62px; width:99px; height:17px; ">처방대분류 :</caption>
- <caption id="caption11" class="search_name" style="left:654px; top:111px; width:99px; height:17px; ">처방소분류 :</caption>
- <select1 id="combo4" ref="/root/send/searchlist/earncls3" class="combo_default" appearance="minimal" style="left:756px; top:111px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/item1/ictp3List/ictp3">
- <label ref="ictp3_earncls3nm"/>
- <value ref="ictp3_earncls3"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo21" ref="/root/send/searchlist/earncls1" class="combo_default" appearance="minimal" style="left:756px; top:61px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/item1/ictp1List/ictp1">
- <label ref="ictp1_earncls1nm"/>
- <value ref="ictp1_earncls1"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- model.resetInstanceNode("/root/send/searchlist/earncls2");
- //처방대분류에서 선택하면 중분류에서 그에 맞는것만 보여줍니다.
- var EarnCd1 = model.getValue("/root/send/searchlist/earncls1");
- combo12.choices.itemset.attribute("nodeset") = "/root/hidden/item1/ictp2List/ictp2[ictp2_earncls1 = '"+EarnCd1+"']";
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="combo12" ref="/root/send/searchlist/earncls2" class="combo_default" appearance="minimal" style="left:756px; top:86px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/item1/ictp2List/ictp2">
- <label ref="ictp2_earncls2nm"/>
- <value ref="ictp2_earncls2"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- model.resetInstanceNode("/root/send/searchlist/earncls3");
- //처방중분류에서 선택하면 소분류에서 그에 맞는것만 보여줍니다.
- var EarnCd1 = model.getValue("/root/send/searchlist/earncls1");
- var EarnCd2 = model.getValue("/root/send/searchlist/earncls2");
- combo4.choices.itemset.attribute("nodeset") = "/root/hidden/item1/ictp3List/ictp3[ ictp3_earncls1 = '"+EarnCd1+"' and ictp3_earncls2 = '"+EarnCd2+"']";
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="rdo_deptflag" ref="/root/send/reslist/deptflag" appearance="full" cols="2" overflow="visible" style="left:125px; top:145px; width:170px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>구매사용</label>
- <value>1</value>
- </item>
- <item>
- <label>약제사용</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|