123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMMNO02300_외래선처치기준자료등록.xrw
- * 설 명 : 외래선처치기준자료등록
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <actprcpinfo>
- <actprcplist>
- <checks/>
- <deptnm/>
- <prcpclscd/>
- <prcpcd/>
- <prcpnm/>
- <precureprcpflag/>
- <prcpexecdeptcd/>
- <acptdeptnm/>
- <rgstdd/>
- <deptcd/>
- <instcd/>
- <baseflag/>
- <ordtype/>
- </actprcplist>
- </actprcpinfo>
- <prcprefinfo>
- <prcpreflist>
- <checks/>
- <deptnm/>
- <prcpclscd/>
- <prcpcd/>
- <prcpnm/>
- <precureprcpflag/>
- <prcpexecdeptcd/>
- <acptdeptnm/>
- <rgstdd/>
- <deptcd/>
- <instcd/>
- <baseflag/>
- <ordtype/>
- </prcpreflist>
- </prcprefinfo>
- <cond>
- <deptcd/>
- <prcpclscd/>
- <precureflag/>
- <deptnm/>
- <srchprcpclscd/>
- <prcprefflag/>
- <prcpscrhnm/>
- <ordclsdeptflag/>
- <supdeptcd/>
- </cond>
- <prcp>
- <prcplist>
- <prcpexecdeptcd/>
- </prcplist>
- </prcp>
- </main>
- <send>
- </send>
- <hidden/>
- <init>
- <deptlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </deptlist>
- <execdeptlist>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </execdeptlist>
- <prcpclscdlist>
- <M0005/>
- </prcpclscdlist>
- </init>
- <temp>
- <prcpinfo/>
- </temp>
- <orddept>
- </orddept>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var sACTPRCPLIST_PATH = "/root/main/actprcpinfo/actprcplist";
- function fInitialize()
- {
- // zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/init/deptlist", "depthngnm", "asc"); //부서코드 콤보조회
- //addComboInstance("/root/init/deptlist", "deptcd^depthngnm", "ALL^전체", "dept"); //부서콤보 전체추가
-
-
- //처방조회그리드 컬림히든
- grd_prcpreflist.colHidden(10) = true;
- grd_prcpreflist.colHidden(11) = true;
- grd_prcpreflist.colHidden(12) = true;
- model.removeNodeset("/root/main/prcprefinfo/prcpreflist");
-
- //진료과리스트 - 외래간호메인의 진료과 기준으로 세팅 -> 2008-02-11
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "rcptuseyn";
- var ord_deptflag = 'X';
- var rslt_ref = "/root/init/deptlist";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = getCurrentDate();
- //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //진료과리스트조회
- //zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
- // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
- zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt);
-
- //시행부서리스트
- submit("TRMNO02501");
-
- //처방분류리스트 및 "전체" 포함
- zbcfGetCodeList(new Array("M0005"), new Array("/root/init/prcpclscdlist"), true);
- addComboItem("combo1", "전체", "ALL", "above" );
-
- //개인부서정보로 부서정보세팅
- model.setValue("/root/main/cond/deptcd", getUserInfo("dutplcecd")); // 근무지부서코드
- model.setValue("/root/main/cond/deptnm", getUserInfo("dutplcenm")); // 부서코드
- //디폴트데이터 세팅
- model.setValue("/root/main/cond/precureflag", "1"); // 선처치조회구분
- model.setValue("/root/main/cond/prcprefflag", "1"); // 처방검색구분
- model.setValue("/root/main/cond/prcpclscd", "ALL"); // 기준자료용 처방구분코드
- model.setValue("/root/main/cond/srchprcpclscd", "ALL"); // 처방조회용 처방구분코드
-
- fSrchPrcpInfo();
- }
-
- //진료과별 외래선처치처방수행부서 기준자료
- function fSrchPrcpInfo(){
- model.removenode("/root/send");
- model.makeValue("/root/send/deptnm", model.getValue("/root/main/cond/deptnm"));
- model.makeValue("/root/send/deptcd", model.getValue("/root/main/cond/deptcd"));
- model.makeValue("/root/send/precureflag", model.getValue("/root/main/cond/precureflag"));
- model.makeValue("/root/send/prcpclscd", model.getValue("/root/main/cond/prcpclscd"));
- submit("TRMNO02502");
- }
- //처방검색 조회
- function fPrcpListSrch() {
- if (model.getValue("/root/main/cond/prcpscrhnm").length >= 2) {
- model.removenode("/root/send");
- model.makeValue("/root/send/deptnm", model.getValue("/root/main/cond/deptnm"));
- model.makeValue("/root/send/deptcd", model.getValue("/root/main/cond/deptcd"));
- model.makeValue("/root/send/prcprefflag", model.getValue("/root/main/cond/prcprefflag"));
- model.makeValue("/root/send/prcpscrhnm", model.getValue("/root/main/cond/prcpscrhnm"));
- model.makeValue("/root/send/prcpclscd", model.getValue("/root/main/cond/srchprcpclscd"));
- submit("TRMNO02503");
- } else {
- messageBox("검색어는 2자 이상","C001");
- model.setFocus("ipt_prcpscrhnm");
- return;
- }
- }
-
- function fSavePrcpInfo(){
- var SavePrcpInfoHeader = "baseflag▦ordtype▦orddeptcd▦calcscorcd▦instcd▦applstage▦precureprcpflag▦prcpexecdeptcd▦rem▩";
- var SavePrcpInfoData = "";
-
- for (var i = 1; i <= getNodesetCount("/root/main/prcprefinfo/prcpreflist"); i++) {
- if (model.getValue("/root/main/prcprefinfo/prcpreflist[" + i + "]/checks") == "true") {
- SavePrcpInfoData += "B"
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/ordtype")
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/deptcd")
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/prcpcd")
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/instcd")
- + "▦" + "A"
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/precureprcpflag")
- + "▦" + model.getValue("/root/main/prcprefinfo/prcpreflist["+i+"]/prcpexecdeptcd")
- + "▦" + ""
- + "▩";
- }
- }
- if (SavePrcpInfoData == "") {
- messageBox("선택한 처방이 없습니다.", "I");
- } else {
- model.removenode("/root/send");
- model.makeValue("/root/send/prcpinfo", SavePrcpInfoHeader + SavePrcpInfoData );
- if(submit("TXMNO02501", false)) {
- messageBox("선택한 처방이 저장 되었습니다.", "I");
- fSrchPrcpInfo();
- }
- }
- }
- function fDelPrcpInfo(){
- var SavePrcpInfoHeader = "baseflag▦ordtype▦orddeptcd▦calcscorcd▦instcd▩";
- var SavePrcpInfoData = "";
- for (var i = 1; i <= getNodesetCount("/root/main/actprcpinfo/actprcplist"); i++) {
- if (model.getValue("/root/main/actprcpinfo/actprcplist[" + i + "]/checks") == "true") {
- SavePrcpInfoData += "B"
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/ordtype")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/deptcd")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/prcpcd")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/instcd")
- + "▩";
- }
- }
- if (SavePrcpInfoData == "") {
- messageBox("선택한 처방이 없습니다.", "I");
- } else {
- model.removenode("/root/send");
- model.makeValue("/root/send/prcpinfo", SavePrcpInfoHeader + SavePrcpInfoData );
- if(submit("TXMNO02502", false)) {
- messageBox("선택한 처방이 삭제 되었습니다.", "I");
- fSrchPrcpInfo();
- }
- }
- }
-
- function fUpdtPrcpInfo(){
- var SavePrcpInfoHeader = "baseflag▦ordtype▦orddeptcd▦calcscorcd▦instcd▦precureprcpflag▦prcpexecdeptcd▩";
- var SavePrcpInfoData = "";
- for (var i = 1; i <= getNodesetCount("/root/main/actprcpinfo/actprcplist"); i++) {
- if (grd_comprcplist.rowStatus(i) == 2 ) {
- SavePrcpInfoData += "B"
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/ordtype")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/deptcd")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/prcpcd")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/instcd")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/precureprcpflag")
- + "▦" + model.getValue("/root/main/actprcpinfo/actprcplist["+i+"]/prcpexecdeptcd")
- + "▦" + ""
- + "▩";
- }
- }
- if (SavePrcpInfoData == "") {
- messageBox("선택한 처방이 없습니다.", "I");
- } else {
- model.removenode("/root/send");
- model.makeValue("/root/send/prcpinfo", SavePrcpInfoHeader + SavePrcpInfoData );
- if(submit("TXMNO02503", false)) {
- messageBox("선택한 처방이 수정 되었습니다.", "I");
- fSrchPrcpInfo();
- }
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRMNO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/execdeptlist"/>
- <submission id="TRMNO02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/actprcpinfo"/>
- <submission id="TRMNO02503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcprefinfo"/>
- <submission id="TXMNO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/result"/>
- <submission id="TXMNO02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/result"/>
- <submission id="TXMNO02503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/result"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1175" pageheight="755" guideline="1,1159;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:650px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">외래선처치/처방시행부서 기준자료관리</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1159px; height:742px; ">
- <group id="group4" style="left:0px; top:403px; width:660px; height:33px; vertical-align:top; ">
- <shape id="roundrect4" appearance="roundrect" style="left:0px; top:1px; width:655px; height:30px; "/>
- <line id="line4" class="line_4" style="x1:580px; y1:5px; x2:580px; y2:30px; "/>
- <caption id="caption4" class="search_name" style="left:201px; top:7px; width:89px; height:17px; ">검색구분 :</caption>
- <input id="ipt_prcpscrhnm" ref="/root/main/cond/prcpscrhnm" class="input_default" navindex="2" imemode="alpha" maxlength="20" style="left:416px; top:7px; width:154px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keycode == "13"){
- model.setFocus("btn_prcpsrch");
- // fPrcpListSrch();
- }
- ]]>
- </script>
- </input>
- <button id="btn_prcpsrch" class="btn1_letter2" navindex="6" style="left:591px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrcpListSrch();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/main/cond/prcprefflag" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:288px; top:8px; width:125px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>처방코드</label>
- <value>1</value>
- </item>
- <item>
- <label>처방명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:6px; top:7px; width:156px; height:17px; ">처방분류 :</caption>
- <select1 id="combo3" ref="/root/main/cond/srchprcpclscd" class="combo_search" navindex="4" appearance="minimal" style="left:94px; top:7px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prcpclscdlist/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption42" class="tit_2" style="left:5px; top:49px; width:224px; height:13px; ">외래선처치/처방시행부서 기준자료</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:65px; x2:1154px; y2:66px; "/>
- <datagrid id="grd_comprcplist" nodeset="/root/main/actprcpinfo/actprcplist" class="datagrid2" caption="선택^진료과^처방분류^처방코드^처방명^선처치^시행부서^(수가)시행부서^등록일^caption2^caption3^caption4^caption1" colsep="^" colwidth="31, 120, 80, 90, 412, 43, 120, 120, 100, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" navindex="10" style="left:0px; top:69px; width:1155px; height:323px; ">
- <col ref="checks" type="checkbox"/>
- <col ref="deptnm" style="text-align:left; "/>
- <col disabled="true" ref="prcpclscd" type="combo">
- <choices>
- <itemset nodeset="/root/init/prcpclscdlist/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="precureprcpflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="prcpexecdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/execdeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="acptdeptnm"/>
- <col ref="rgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="instcd"/>
- <col ref="baseflag"/>
- <col ref="ordtype"/>
- <col ref="deptcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_comprcplist.col != 0 && isDataCell()) {
- if( grd_comprcplist.col != 1) {
- var check = model.getValue("/root/main/actprcpinfo/actprcplist["+grd_comprcplist.selectedRow(0)+"]/checks");
- if (check == "true") {
- model.setValue("/root/main/actprcpinfo/actprcplist["+grd_comprcplist.selectedRow(0)+"]/checks","false");
- } else {
- model.setValue("/root/main/actprcpinfo/actprcplist["+grd_comprcplist.selectedRow(0)+"]/checks","true");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_comprcplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button2" class="btn5_letter2" navindex="8" style="left:1069px; top:43px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fUpdtPrcpInfo();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" navindex="3" style="left:1003px; top:43px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_comprcplist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter3" navindex="3" style="left:1057px; top:434px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/srchprcpclscd", "ALL");
- model.setValue("/root/main/cond/prcprefflag","1");
- model.setValue("/root/main/cond/prcpscrhnm", "");
- model.removeNodeset("/root/main/prcprefinfo/prcpreflist");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn5_letter2" navindex="8" style="left:1112px; top:434px; width:42px; height:19px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSavePrcpInfo();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:5px; top:440px; width:276px; height:14px; ">처방조회내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:455px; x2:1154px; y2:455px; "/>
- <datagrid id="grd_prcpreflist" nodeset="/root/main/prcprefinfo/prcpreflist" class="datagrid2" caption="선택^진료과^처방분류^처방코드^처방명^선처치^시행부서^(수가)시행부서^등록일^deptcd^instcd^ordtype^caption2^caption3^caption4^caption1" colsep="^" colwidth="31, 120, 80, 90, 412, 43, 120, 120, 100, 100, 100, 100, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" navindex="10" style="left:0px; top:460px; width:1155px; height:276px; ">
- <col ref="checks" type="checkbox"/>
- <col ref="deptnm" style="text-align:left; "/>
- <col disabled="true" ref="prcpclscd" type="combo">
- <choices>
- <itemset nodeset="/root/init/prcpclscdlist/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="precureprcpflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="prcpexecdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/execdeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="acptdeptnm"/>
- <col ref="rgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="deptcd"/>
- <col ref="instcd"/>
- <col ref="ordtype"/>
- <col ref="deptcd"/>
- <col ref="instcd"/>
- <col ref="ordtype"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_prcpreflist.col != 0 && isDataCell()) {
- if( grd_prcpreflist.col != 1) {
- var check = model.getValue("/root/main/prcprefinfo/prcpreflist["+grd_prcpreflist.selectedRow(0)+"]/checks");
- if (check == "true") {
- model.setValue("/root/main/prcprefinfo/prcpreflist["+grd_prcpreflist.selectedRow(0)+"]/checks","false");
- } else {
- model.setValue("/root/main/prcprefinfo/prcpreflist["+grd_prcpreflist.selectedRow(0)+"]/checks","true");
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button104" class="icon_top" style="left:681px; top:410px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <group id="group3" style="left:0px; top:10px; width:1155px; height:31px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1155px; height:30px; "/>
- <line id="line3" class="line_4" style="x1:1080px; y1:3px; x2:1080px; y2:27px; "/>
- <caption id="caption2" class="search_name" style="left:6px; top:7px; width:156px; height:17px; ">진 료 과 :</caption>
- <select1 id="cmb_deptlist" ref="/root/main/cond/deptcd" class="combo_search" navindex="4" appearance="minimal" editmode="search" style="left:92px; top:5px; width:178px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //
- var sordclsdeptflag = model.getValue("/root/init/deptlist/dept[deptcd = '"+model.getValue("/root/main/cond/deptcd")+"']/ordclsdeptflag"); // 센터/대표/분과/서브 구분
- var ssupdeptcd = model.getValue("/root/init/deptlist/dept[deptcd = '"+model.getValue("/root/main/cond/deptcd")+"']/supdeptcd"); // 상위부서코드
-
- model.setValue("/root/main/cond/ordclsdeptflag",sordclsdeptflag);
- model.setValue("/root/main/cond/supdeptcd",ssupdeptcd);
-
- model.setValue("/root/main/cond/deptnm", cmb_deptlist.label);
- fSrchPrcpInfo();
- var deptcd = cmb_deptlist.value;
- var deptnm = cmb_deptlist.label;
-
- for (var i = 1; i <= getNodesetCount("/root/main/prcprefinfo/prcpreflist"); i++) {
- model.setValue("/root/main/prcprefinfo/prcpreflist["+ i +"]/deptcd", deptcd);
- model.setValue("/root/main/prcprefinfo/prcpreflist["+ i +"]/deptnm", deptnm);
- model.setValue("/root/main/prcprefinfo/prcpreflist["+ i +"]/prcpexecdeptcd", deptcd);
- }
-
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:540px; top:7px; width:115px; height:17px; ">선처치 여부 :</caption>
- <button id="button5" class="btn1_letter2" navindex="6" style="left:1090px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchPrcpInfo();
- ]]>
- </script>
- </button>
- <select1 id="radio4" ref="/root/main/cond/precureflag" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:650px; top:7px; width:125px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>Y</label>
- <value>2</value>
- </item>
- <item>
- <label>N</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchPrcpInfo();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:311px; top:7px; width:156px; height:17px; ">처방분류 :</caption>
- <select1 id="combo1" ref="/root/main/cond/prcpclscd" class="combo_search" navindex="4" appearance="minimal" style="left:399px; top:5px; width:92px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prcpclscdlist/M0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchPrcpInfo();
- ]]>
- </script>
- </select1>
- </group>
- <button id="button3" class="btn5_letter2" navindex="8" style="left:1113px; top:43px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelPrcpInfo();
- ]]>
- </script>
- </button>
- <button id="btn_srchexecdept" class="icon_search" style="left:884px; top:463px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/prcp/prcplist/prcpexecdeptcd","");
- var xpos = event.screenX-200;
- var ypos = event.screenY-130;
- modal("SPMMB02500", 1, xpos, ypos);
- if(model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd") != "" ) {
- var prcpexecdeptcd = model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd");
- for (var i = 1; i <= getNodesetCount("/root/main/prcprefinfo/prcpreflist"); i++) {
- model.setValue("/root/main/prcprefinfo/prcpreflist["+ i +"]/prcpexecdeptcd", prcpexecdeptcd);
- }
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="icon_search" style="left:884px; top:72px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/prcp/prcplist/prcpexecdeptcd","");
- var xpos = event.screenX-200;
- var ypos = event.screenY-30;
- modal("SPMMB02500", 1, xpos, ypos);
- if(model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd") != "" ) {
- var prcpexecdeptcd = model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd");
- for (var i = 1; i <= getNodesetCount("/root/main/actprcpinfo/actprcplist"); i++) {
- model.setValue("/root/main/actprcpinfo/actprcplist["+ i +"]/prcpexecdeptcd", prcpexecdeptcd);
- grd_comprcplist.rowStatus(i) = 2;
- }
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|