12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPJ01100_부가처방.xrw
- * 설 명 : 부가처방
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.08.22
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <patinfo>
- <patinfolist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <spccd/>
- <spcnm/>
- <spcseqno/>
- <csteno/>
- <prcpdd/>
- <acptdd/>
- <addpr/>
- </patinfolist>
- </patinfo>
- <addprcp>
- <addprcplist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <spccd/>
- <spcnm/>
- <spcseqno/>
- <csteno/>
- <prcpdd/>
- <prcptm/>
- <orddrid/>
- <orddrnm/>
- <testcd/>
- <testnm/>
- <testgrupcd/>
- <testgrupnm/>
- <cnfmdd/>
- <cnfmtm/>
- <cnfmid/>
- <cnfmnm/>
- <prcpseqno/>
- <cnfmflagcd/>
- <delflagcd/>
- <orgdelflagcd/>
- <prcpstatnm/>
- <remcmts/>
- </addprcplist>
- </addprcp>
- </main>
- <send/>
- <init>
- <refval/>
- <refmthd/>
- <prcpflag/>
- <prcpfromdd/>
- <prcptodd/>
- <isscnts/>
- <patrefmthd/>
- <patrefval/>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <prcpcd>
- <prcpcdlist>
- <instcd/>
- <testcd/>
- <testengnm/>
- <testengabbr/>
- <testhngnm/>
- <testhngabbr/>
- <acptdept/>
- <ptnocd/>
- <stdyptnocd/>
- <trustptnocd/>
- <workflagcd/>
- <slidflagcd/>
- <slidisscnt/>
- <blocflagcd/>
- <initblocno/>
- <autokeepflagcd/>
- <stdy_workflagcd/>
- <stdy_slidflagcd/>
- <stdy_slidisscnt/>
- <stdy_blocflagcd/>
- <stdy_initblocno/>
- <stdy_autokeepflagcd/>
- <grupsnglflag/>
- </prcpcdlist>
- </prcpcd>
- <prcpkind>
- <prcpkindlist>
- <instcd/>
- <lvl/>
- <earnclsnm/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- <earnclskey/>
- </prcpkindlist>
- </prcpkind>
- <grupdetltest>
- <grupdetltestlist>
- <instcd/>
- <testgrupcd/>
- <testcd/>
- <testnm/>
- </grupdetltestlist>
- </grupdetltest>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- <repttitl/>
- </hospenvinfo>
- </hospenv>
- </init>
- <hidden>
- <sortkind>-</sortkind>
- </hidden>
- </root>
- </instance>
- <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="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPJ01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpkind/prcpkindlist"/>
- <submission id="TRLPJ01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpcd/prcpcdlist"/>
- <submission id="TRLPJ01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpcd/prcpcdlist"/>
- <submission id="TRLPJ01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/grupdetltest/grupdetltestlist"/>
- <submission id="TRLPJ01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/addprcp/addprcplist"/>
- <submission id="TRLPJ01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo/patinfolist"/>
- <submission id="TXLPJ01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/message"/>
- <submission id="TXLPJ01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/message"/>
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 미수납처방등록
- * @ver : 2006.12.23 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fExeInitialize() {
- var sCurDate = "";
-
- //-----------------------------------------
- grd_prcplist.fixedcellcheckbox(0,1) = true;
- btn_outoch1.visible = false;
- btn_outoch2.visible = true;
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false); // 시스템일시 조회
- submit("TRLPZ00109", false); // 병리번호코드 조회
- submit("TRLPZ00101", false); // 병원환경정보 조회
- submit("TRLPJ01001"); // 처방분류
- //-------------
- // 노드 초기화
- model.removeNodeset("/root/main/patinfo/patinfolist");
- model.removeNodeset("/root/main/addprcp/addprcplist");
-
- //------------------------------------------------------------
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- //------------
- // 초기값 설정
- model.makeValue("/root/init/refval", ""); // 검색값 초기화
- model.makeValue("/root/init/refmthd", "1"); // 검색방법 초기화(등록번호)
- model.makeValue("/root/init/prcpfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 처방일자(From) 초기화
- model.makeValue("/root/init/prcptodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 처방일자(To) 초기화
- model.makeValue("/root/init/prcpflag", "0"); // 처방구분 초기화(등록처방)
- model.makeValue("/root/init/isscnts", "1"); // 처방발행수
- model.makeValue("/root/init/patrefmthd", "0"); // 환자정보 검색방법
- model.makeValue("/root/init/patrefval", ""); // 환자정보 검색값
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/toptno", "");
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방분류 선택 처리 Function
- */
- function fExePrcpKindClick() {
-
- var sEarnCls1 = "";
- var sEarnCls2 = "";
- var sEarnCls3 = "";
-
- var item = trv_prcpkind.item(trv_prcpkind.selectedIndex);
-
- //-------------------------------
- // 최하위 노드를 선택할 경우 처리
- if (trv_prcpkind.selectedIndex > 0 && item.depth == 2) {
- sEarnCls1 = trv_prcpkind.item(trv_prcpkind.selectedIndex).value;
- //--------------
- // 처방분류 분리
- sEarnCls3 = sEarnCls1.substr(5,2);
- sEarnCls2 = sEarnCls1.substr(3,2);
- sEarnCls1 = sEarnCls1.substr(1,2);
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/init/prcpcd/prcpcdlist");
-
- //----------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/earncls1", sEarnCls1);
- model.makeValue("/root/send/earncls2", sEarnCls2);
- model.makeValue("/root/send/earncls3", sEarnCls3);
- model.makeValue("/root/send/trustflagcd", "N");
-
-
- //----------------------------------------------------------------------
- //정렬기준
- model.makeValue("/root/send/sortkind", model.getValue("/root/hidden/sortkind"));
-
- //-------------------
- submit("TRLPJ01006");
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방목록 선택 처리 Function
- */
- function fExePrcpListClick() {
-
- //------------------------------------------------------------------------------------------
- if (grd_testcdlist.isCell(event.target) && grd_testcdlist.row >= grd_testcdlist.fixedRows) {
- fExePrcpAdd();
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가처방 추가 처리 Function
- */
- function fExePrcpAdd() {
-
- var iRowNo = 0;
- var iFindNo = 0;
- var sPatNode = "/root/main/patinfo/patinfolist";
- var sSrcNode = "";
- var sDescNode = "/root/main/addprcp/addprcplist";
-
-
- //-----------------------
- // 환자의 선택여부를 검사
- iFindRow = grd_patinfolist.findRow("true", 1, 1, true, true);
- if (iFindRow <= 0) {
- messageBox("환자정보에서 환자를 ", "C002");
- return false;
- }
-
- //---------------------------------------------
- // 그룹(Battery) 처방일 경우 상세 검사항목 조회
- if (model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/grupsnglflag") == "G") {
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/init/grupdetltest/grupdetltestlist");
-
- //---------------------------------------------------------------------------------------------------------------------
- model.makeValue("/root/send/instcd", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/instcd"));
- model.makeValue("/root/send/prcpdd", getCurrentDate());
- model.makeValue("/root/send/testcd", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testcd"));
- model.makeValue("/root/send/grupuseyn", "0");
- model.makeValue("/root/send/testuseyn", "0");
-
- //-------------------
- submit("TRLPJ01103");
-
-
- //---------------------------------------------------------------------
- if (getNodesetCount("/root/init/grupdetltest/grupdetltestlist") <= 0) {
- messageBox("그룹검사에 대한 세부검사가 없습니다! 처방을 추가", "E001");
- return false;
- } else {
- sSrcNode = "/root/init/grupdetltest/grupdetltestlist";
-
- //-----------------------------------------------------------------------
- for (var iNodeCnt=1; iNodeCnt <= getNodesetCount(sSrcNode); iNodeCnt++) {
-
- //------------------------
- // 처방 발생 수 만큼 증가
- for (var iNo=1; iNo <= Number(model.getValue("/root/init/isscnts")); iNo++) {
- grd_prcplist.addRow();
- //-------------------------------------
- iRowNo = Number(grd_prcplist.rows) - 1;
- model.makeValue(sDescNode+"["+iRowNo+"]/choi", "true");
- model.makeValue(sDescNode+"["+iRowNo+"]/instcd", model.getValue(sSrcNode+"["+iNodeCnt+"]/instcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testcd", model.getValue(sSrcNode+"["+iNodeCnt+"]/testcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testnm", model.getValue(sSrcNode+"["+iNodeCnt+"]/testnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testgrupcd", model.getValue(sSrcNode+"["+iNodeCnt+"]/testgrpcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testgrupnm", model.getValue(sSrcNode+"["+grd_testcdlist.row+"]/testengnm"));
-
- model.makeValue(sDescNode+"["+iRowNo+"]/instcd", model.getValue(sPatNode+"["+iFindRow+"]/instcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/ptno", model.getValue(sPatNode+"["+iFindRow+"]/ptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/dispptno", model.getValue(sPatNode+"["+iFindRow+"]/dispptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/pid", model.getValue(sPatNode+"["+iFindRow+"]/pid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sPatNode+"["+iFindRow+"]/patnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spccd", model.getValue(sPatNode+"["+iFindRow+"]/spccd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spcnm", model.getValue(sPatNode+"["+iFindRow+"]/spcnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spcseqno", model.getValue(sPatNode+"["+iFindRow+"]/spcseqno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/csteno", model.getValue(sPatNode+"["+iFindRow+"]/csteno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/prcpdd", getCurrentDate());
- model.makeValue(sDescNode+"["+iRowNo+"]/prcptm", getCurrentTime());
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrnm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmdd", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmtm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmid", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmnm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/prcpseqno", "0");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmflagcd","-");
- model.makeValue(sDescNode+"["+iRowNo+"]/delflagcd", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/orgdelflagcd", "-");
- }
- }
- }
- } else {
- sSrcNode = "/root/init/prcpcd/prcpcdlist";
-
- //------------------------
- // 처방 발생 수 만큼 증가
- for (var iNo=1; iNo <= Number(model.getValue("/root/init/isscnts")); iNo++) {
- grd_prcplist.addRow();
-
- //-------------------------------------
- iRowNo = Number(grd_prcplist.rows) - 1;
- model.makeValue(sDescNode+"["+iRowNo+"]/choi", "true");
- model.makeValue(sDescNode+"["+iRowNo+"]/testcd", model.getValue(sSrcNode+"["+grd_testcdlist.row+"]/testcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testnm", model.getValue(sSrcNode+"["+grd_testcdlist.row+"]/testengnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/testgrupcd", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/testgrupnm", "-");
-
- model.makeValue(sDescNode+"["+iRowNo+"]/instcd", model.getValue(sPatNode+"["+iFindRow+"]/instcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/ptno", model.getValue(sPatNode+"["+iFindRow+"]/ptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/dispptno", model.getValue(sPatNode+"["+iFindRow+"]/dispptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/pid", model.getValue(sPatNode+"["+iFindRow+"]/pid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sPatNode+"["+iFindRow+"]/patnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spccd", model.getValue(sPatNode+"["+iFindRow+"]/spccd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spcnm", model.getValue(sPatNode+"["+iFindRow+"]/spcnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/spcseqno", model.getValue(sPatNode+"["+iFindRow+"]/spcseqno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/csteno", model.getValue(sPatNode+"["+iFindRow+"]/csteno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/prcpdd", getCurrentDate());
- model.makeValue(sDescNode+"["+iRowNo+"]/prcptm", getCurrentTime());
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrnm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmdd", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmtm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmid", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmnm", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/prcpseqno", "0");
- model.makeValue(sDescNode+"["+iRowNo+"]/cnfmflagcd","-");
- model.makeValue(sDescNode+"["+iRowNo+"]/delflagcd", "-");
- model.makeValue(sDescNode+"["+iRowNo+"]/orgdelflagcd", "-");
- }
- }
-
- //--------------------------------
- grd_prcplist.topRow = iRowNo - 17;
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가처방 목록 조회 처리 Function
- */
- function fGetPlgyAddPrcpList() {
-
- var sTemp = "";
-
- //------------------------------------------------
- if (model.getValue("/root/init/ptnocode") != "") {
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromyear") == "") {
- model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/fromyear");
- model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toyear") == "") {
- model.makeValue("/root/init/toyear", sToDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/toyear");
- model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
- }
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromptno") == "") {
- model.makeValue("/root/init/fromptno", "000000");
- } else {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toptno") == "") {
- model.makeValue("/root/init/toptno", "999999");
- } else {
- sTemp = model.getValue("/root/init/toptno");
- model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/addprcp/addprcplist");
-
- //---------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- model.makeValue("/root/send/refmthd", model.getValue("/root/init/refmthd"));
- model.makeValue("/root/send/prcpflag", model.getValue("/root/init/prcpflag"));
- model.makeValue("/root/send/prcpfromdd", model.getValue("/root/init/prcpfromdd"));
- model.makeValue("/root/send/prcptodd", model.getValue("/root/init/prcptodd"));
- model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
- model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
- model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
-
- //-------------------
- if(submit("TRLPJ01102")) {
-
- //---------------------------------
- // 부가처방이 존재한 데이터는 색을 표시한다.
- for (var iNo=1; iNo <= getNodesetCount("/root/main/patinfo/patinfolist"); iNo++) {
- if(model.getValue("/root/main/patinfo/patinfolist["+iNo+"]/addpr")!=""){ // 부가처방이 존재하고...
- grd_patinfolist.rowStyle(iNo, "data", "background-color") = "#ffcc00"; // 존재하면 주황색으로..
-
- }else{
- grd_patinfolist.rowStyle(iNo, "data", "background-color") = "#f9ffff"; // 존재 안하면 하얀색으로..
- }
- }
- }
- model.refresh();
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 목록 조회 처리 Function
- */
- function fGetPatInfoList() {
- if(event.keyCode == 13) {
- model.setValue("/root/init/patrefval", ipt_patrefval.currentText);
- ipt_patrefval.refresh();
-
- //-------------------------------------------------
- if (model.getValue("/root/init/patrefval") == "") {
- messageBox("등록번호를 입력하여 주십시오! 환자정보를 조회", "E001");
- return false;
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/patinfo/patinfolist");
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/patrefval", model.getValue("/root/init/patrefval"));
- submit("TRLPJ01102");
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 클릭 처리 Function
- */
- function fExePatInfoClick() {
- //---------------------------------------------------------------------------------------------
- if (grd_patinfolist.isCell(event.target) && grd_patinfolist.row >= grd_patinfolist.fixedRows) {
- fExeChoiPatInfo();
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 선택 처리 Function
- */
- function fExeChoiPatInfo() {
-
- var sNode = "/root/main/patinfo/patinfolist";
- var iRowNo = grd_patinfolist.row;
-
- //-----------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
- model.makeValue(sNode+"["+iNo+"]/choi", "false");
- grd_prcplist.colDisabled(grd_prcplist.colRef("remcmts")) = true;
- }
-
- //-------------------------------------------------
- model.makeValue(sNode+"["+iRowNo+"]/choi", "true");
-
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/addprcp/addprcplist");
-
- //---------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/refval", model.getValue(sNode+"["+iRowNo+"]/pid"));
- model.makeValue("/root/send/refmthd", model.getValue("/root/init/refmthd"));
- model.makeValue("/root/send/prcpflag", model.getValue("/root/init/prcpflag"));
- model.makeValue("/root/send/prcpfromdd", model.getValue("/root/init/prcpfromdd"));
- model.makeValue("/root/send/prcptodd", model.getValue("/root/init/prcptodd"));
- model.makeValue("/root/send/ptno", model.getValue(sNode+"["+iRowNo+"]/ptno"));
-
- //-------------------
- submit("TRLPJ01101");
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가처방 등록 처리 Function
- */
- function fExeSave() {
-
- var bState = false;
- var sSrcNode = "/root/main/addprcp/addprcplist";
- var iMaxRowCnt = getNodesetCount(sSrcNode);
-
- //-------------------------
- grd_prcplist.clearStatus();
-
- //-----------------------------------------
- for (var iNo=1; iNo <= iMaxRowCnt; iNo++) {
-
- //--------------------------------------------------------
- if (model.getValue(sSrcNode+"["+iNo+"]/choi") == "true") {
-
- //------------
- // 확인자 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/cnfmid") == "-") {
-
- //------------------
- // 취소처방여부 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "1") {
- messageBox("취소된 부가처방은 재 등록 ", "E001");
- return false;
- } else if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "0") {
- messageBox("등록된 부가처방은 재 등록 ", "E001");
- return false;
- } else {
- grd_prcplist.addStatus(iNo, "insert");
- model.makeValue(sSrcNode+"["+iNo+"]/cnfmflagcd", "2");
- model.makeValue(sSrcNode+"["+iNo+"]/delflagcd", "0");
- bState = true;
- }
- } else {
-
- messageBox("등록된 부가처방은 재 등록 ", "E001");
- return false;
- }
- }
- }
-
-
- //-----------------------------------------------------------------------------------------------
- //if (model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd") != getUserInfo("jobkindcd")) {
- if ( !lpzfGetDoctorCheck("/root/init/hospenv/hospenvinfo/doctjobgradcd", getUserInfo("jobkindcd")) ) {
- messageBox("의사직급만 처방이 ", "I006");
- return false;
- }
-
- //------------
- if (bState) {
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/addprcplist", grd_prcplist.getUpdateData());
-
- //-----------
- setAlertOn();
- if (submit("TXLPJ01101")) fGetPlgyAddPrcpList();
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.22 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가처방 등록 처리 Function
- */
- function fExePrcpCnfm(pBizFlagCd) {
-
- var bState = false;
- var sSrcNode = "/root/main/addprcp/addprcplist";
- var iMaxRowCnt = getNodesetCount(sSrcNode);
-
- //-------------------------
- grd_prcplist.clearStatus();
-
- //-----------------------------------------
- for (var iNo=1; iNo <= iMaxRowCnt; iNo++) {
-
- //--------------------------------------------------------
- if (model.getValue(sSrcNode+"["+iNo+"]/choi") == "true") {
-
- switch (pBizFlagCd) {
- case "0" :
- //------------
- // 확인자 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/cnfmdd") == "-") {
-
- //------------------
- // 취소처방여부 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "1") {
- messageBox("취소된 부가처방은 처방확인을 ", "E001");
- return false;
- } else if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "0") {
- grd_prcplist.addStatus(iNo, "insert");
- model.makeValue(sSrcNode+"["+iNo+"]/cnfmflagcd", "0");
- model.makeValue(sSrcNode+"["+iNo+"]/delflagcd", "0");
- bState = true;
- } else {
- messageBox("신규 부가처방은 처방확인을 ", "E001");
- return false;
- }
- } else {
- messageBox("처방확인된 부가처방은 재 확인 ", "E001");
- return false;
- }
- break;
-
- //-------------
- // 처방확인취소
- case "1" :
- //------------
- // 확인자 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/cnfmdd") != "-") {
-
- //------------------
- // 취소처방여부 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "1") {
- messageBox("취소된 부가처방은 확인취소를 ", "E001");
- return false;
- } else if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "0") {
- grd_prcplist.addStatus(iNo, "insert");
- model.makeValue(sSrcNode+"["+iNo+"]/cnfmflagcd", "1");
- model.makeValue(sSrcNode+"["+iNo+"]/delflagcd", "0");
- bState = true;
- } else {
- messageBox("신규 부가처방은 확인취소를 ", "E001");
- return false;
- }
- } else {
- messageBox("확인안된 부가처방은 확인취소를 ", "E001");
- return false;
- }
- break;
-
- //----------
- // 처방취소
- case "2" :
- //------------
- // 확인자 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/cnfmdd") == "-") {
-
- //------------------
- // 취소처방여부 검사
- if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "1") {
- messageBox("취소된 부가처방은 처방취소를 ", "E001");
- return false;
- } else if (model.getValue(sSrcNode+"["+iNo+"]/orgdelflagcd") == "0") {
- grd_prcplist.addStatus(iNo, "insert");
- model.makeValue(sSrcNode+"["+iNo+"]/cnfmflagcd", "2");
- model.makeValue(sSrcNode+"["+iNo+"]/delflagcd", "1");
- bState = true;
- } else {
- messageBox("신규 부가처방은 확인취소를 ", "E001");
- return false;
- }
- } else {
- messageBox("확인된 부가처방은 처방취소를 ", "E001");
- return false;
- }
- break;
- }
- }
- }
-
- //------------
- if (bState) {
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/addprcplist", grd_prcplist.getUpdateData());
-
- //-----------
- setAlertOn();
- if (submit("TXLPJ01102")) fGetPlgyAddPrcpList();
- }
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.23 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가처방 Excel저장 처리 Function
- */
- function fExeSaveToExcel() {
- grd_prcplist.saveExcel("C:\\SMLPJ01100_부가처방.xls", "부가처방", false, true);
- messageBox("C:\\SMLPJ01100_부가처방.xls 파일에 출력되었습니다.! Excel출력이", "I002");
- }
-
- /* @group : 부가처방등록
- * @ver : 2007.08.23 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호 입력 시 처리 Function
- */
- function fExeRefValKeyPress() {
-
- //------------------------
- if (event.keyCode == 13) {
- model.makeValue("/root/init/refval", ipt_seaval.currentText);
- ipt_seaval.refresh();
-
- //--------------------
- fGetPlgyAddPrcpList();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">부가처방</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:798px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
- <caption id="caption4" class="search_name" autoresize="true" style="left:424px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption5" class="search_no_b" style="left:984px; top:8px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_acptddfrom" ref="/root/init/prcpfromdd" class="input_s_essential" navindex="8" inputtype="date" style="left:887px; top:8px; width:94px; height:19px; "/>
- <input id="ipt_acptddto" ref="/root/init/prcptodd" class="input_s_essential" navindex="9" inputtype="date" style="left:999px; top:8px; width:94px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPlgyAddPrcpList();
- ]]>
- </script>
- </button>
- <input id="ipt_seaval" ref="/root/init/refval" class="input_search" navindex="6" maxlength="10" style="left:516px; top:8px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" autoresize="true" style="left:597px; top:9px; width:91px; height:17px; ">처방구분 :</caption>
- <select1 id="cmbprcpflag" ref="/root/init/prcpflag" class="combo_search" navindex="7" appearance="minimal" style="left:687px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>등록처방</label>
- <value>0</value>
- </item>
- <item>
- <label>취소처방</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:121px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:263px; top:8px; width:50px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
- <caption id="caption10" class="search_no_b" style="left:316px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:361px; top:8px; width:50px; height:19px; "/>
- <input id="input2" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:331px; top:8px; width:27px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:233px; top:8px; width:27px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:280px; x2:929px; y2:280px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:265px; width:139px; height:13px; ">부가처방 목록</caption>
- <caption id="caption7" class="tit_2" style="left:5; top:54px; width:139px; height:13px; ">환자정보</caption>
- <line id="line2" class="line_1" style="left:0; x1:0px; y1:69px; x2:929px; y2:69px; "/>
- <line id="line11" class="line_1" style="x1:936px; y1:69px; x2:1194px; y2:69px; "/>
- <caption id="caption17" class="tit_2" style="left:941px; top:54px; width:139px; height:13px; ">처방분류</caption>
- <datagrid id="grd_prcplist" nodeset="/root/main/addprcp/addprcplist" class="datagrid2" caption="선
택^기관코드^병리번호^병리번호^등록번호^환자명^검체코드^검체명^검체
번호^Cassette
번호^처방일자^처방시간^처방의ID^처방의^검사코드^검사항목^비고^검사그룹코드^검사그룹명^확인일자^확인시간^확인자ID^확인자^prcpseqno^cnfmflagcd^delflagcd^orgdelflagcd^처방
상태" colsep="^" colwidth="40, 0, 0, 70, 65, 60, 0, 0, 40, 60, 70, 60, 0, 50, 0, 120, 150, 0, 0, 70, 60, 0, 60, 0, 0, 0, 0, 40" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" navindex="12" style="left:0px; top:285px; width:929px; height:457px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col class="text_center" ref="spcseqno"/>
- <col class="text_center" ref="csteno"/>
- <col class="text_center" ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="prcptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="orddrid"/>
- <col class="text_center" ref="orddrnm"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="remcmts" type="input"/>
- <col ref="testgrupcd"/>
- <col ref="testgrupnm"/>
- <col class="text_center" ref="cnfmdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="cnfmtm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="cnfmid"/>
- <col class="text_center" ref="cnfmnm"/>
- <col ref="prcpseqno"/>
- <col ref="cnfmflagcd"/>
- <col ref="delflagcd"/>
- <col ref="orgdelflagcd"/>
- <col ref="prcpstatnm"/>
- </datagrid>
- <datagrid id="grd_patinfolist" nodeset="/root/main/patinfo/patinfolist" caption="선택^기관코드^ptno^병리번호^등록번호^환자명^검체코드^검체명^검체번호^Cassette번호^처방일자^접수일자^부가처방존재" colsep="^" colwidth="40, 0, 0, 90, 90, 90, 0, 238, 70, 90, 90, 90, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="11" style="left:0; top:74px; width:929; height:184px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col class="text_center" ref="spcseqno"/>
- <col class="text_center" ref="csteno"/>
- <col class="text_center" ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="addpr"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExePatInfoClick();
- ]]>
- </script>
- </datagrid>
- <treeview id="trv_prcpkind" navindex="13" itemsettype="depth" style="left:936px; top:74px; width:258px; height:184px; ">
- <itemset nodeset="/root/init/prcpkind/prcpkindlist">
- <label ref="earnclsnm"/>
- <value ref="earnclskey"/>
- <depth ref="lvl"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fExePrcpKindClick();
- ]]>
- </script>
- </treeview>
- <line id="line3" class="line_1" style="x1:936px; y1:280px; x2:1194px; y2:280px; "/>
- <caption id="caption9" class="tit_2" style="left:941px; top:265px; width:139px; height:13px; ">처방목록</caption>
- <datagrid id="grd_testcdlist" nodeset="/root/init/prcpcd/prcpcdlist" caption="기관코드^처방코드^처방명^처방명^처방명^처방명^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16" colsep="^" colwidth="0, 0, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="14" style="left:936px; top:285px; width:258px; height:457px; ">
- <col ref="instcd"/>
- <col ref="testcd"/>
- <col ref="testengnm"/>
- <col ref="testengabbr"/>
- <col ref="testhngnm"/>
- <col ref="testhngabbr"/>
- <col ref="acptdept"/>
- <col ref="ptnocd"/>
- <col ref="stdyptnocd"/>
- <col ref="trustptnocd"/>
- <col ref="workflagcd"/>
- <col ref="slidflagcd"/>
- <col ref="slidisscnt"/>
- <col ref="blocflagcd"/>
- <col ref="initblocno"/>
- <col ref="autokeepflagcd"/>
- <col ref="stdy_workflagcd"/>
- <col ref="stdy_slidflagcd"/>
- <col ref="stdy_slidisscnt"/>
- <col ref="stdy_blocflagcd"/>
- <col ref="stdy_initblocno"/>
- <col ref="stdy_autokeepflagcd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fExePrcpListClick();
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_4" style="x1:932px; y1:70px; x2:932px; y2:743px; "/>
- <input id="ipt_isscnts" ref="/root/init/isscnts" navindex="15" format="#,###" mask="exclude" showmask="true" style="left:1159px; top:260px; width:35px; height:19px; "/>
- <button id="btn_outoch2" class="btn2_letter4" navindex="14" visibility="hidden" style="left:1090px; top:260px; width:64px; height:19px; ">
- <caption>영문정렬</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_outoch1.visible = true;
- btn_outoch2.visible = false;
-
- model.setValue("/root/hidden/sortkind", "En");
- fExePrcpKindClick();
- model.setValue("/root/hidden/sortkind", "-");
- ]]>
- </script>
- </button>
- <button id="btn_outoch1" class="btn2_letter4" navindex="14" style="left:1090px; top:260px; width:64px; height:19px; ">
- <caption>한글정렬</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_outoch1.visible = false;
- btn_outoch2.visible = true;
-
-
- model.setValue("/root/hidden/sortkind", "Hn");
- fExePrcpKindClick();
- model.setValue("/root/hidden/sortkind", "-");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_prcpcnfm" class="btn4_letter4" navindex="17" style="left:1031; top:3; width:80px; height:22px; ">
- <caption>처방확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrcpCnfm("0");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter4" navindex="19" style="left:865; top:3; width:80px; height:22px; ">
- <caption>처방저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSave();
- ]]>
- </script>
- </button>
- <button id="btn_cnfmcncl" class="btn4_letter4" navindex="18" style="left:1114; top:3; width:80px; height:22px; ">
- <caption>확인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrcpCnfm("1");
- ]]>
- </script>
- </button>
- <button id="btn_prcpcncl" class="btn4_letter4" navindex="20" style="left:948; top:3; width:80px; height:22px; ">
- <caption>처방취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrcpCnfm("2");
- ]]>
- </script>
- </button>
- <button id="button13" class="btn6_letter5" navindex="16" style="left:5px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveToExcel();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|