1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPJ02300_수탁검사접수
- * 설 명 : 수탁검사접수
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2007.09.20
- * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
- * 기 타 : 주석문에 반영되어야 할 사항 표기
- -->
- <?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>
- <trusttest>
- <trusttestlist>
- <choi/>
- <instcd/>
- <reqinstcd/>
- <reqinstnm/>
- <reqdd/>
- <reqtm/>
- <bcno/>
- <workno/>
- <reqpid/>
- <patnm/>
- <sexage/>
- <rrgstno/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <testcd/>
- <testnm/>
- <spccd/>
- <spcnm/>
- <reqfrmno/>
- <reqfrmflagcd/>
- <reqcnts/>
- <reqnm/>
- <cnfmdd/>
- <cnfmtm/>
- <cnfmnm/>
- <acptstatcd/>
- <bizflagcd/>
- <orddrid/>
- <orddeptcd/>
- <grostestplgyid/>
- <newreqcnts/>
- </trusttestlist>
- </trusttest>
- <patinfo>
- <patinfocnts>
- <exlabcd/>
- <pid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <rrgstno/>
- <psptno/>
- <age/>
- <sex/>
- <bigo/>
- <suppkind/>
- <uncocd/>
- <trusthosppid/>
- </patinfocnts>
- </patinfo>
- <choiprcp>
- <choiprcplist>
- <instcd/>
- <testcd/>
- <testhngnm/>
- <testengnm/>
- <spccd/>
- <spcnm/>
- <acptdept/>
- <prcpdelivefact/>
- </choiprcplist>
- </choiprcp>
- <acptinfo>
- <acptlist>
- <instcd/>
- <pid/>
- <sexage/>
- <rrgstno/>
- <addr/>
- <testcd/>
- <testnm/>
- <prcpdd/>
- <orddd/>
- <spccd/>
- <spcnm/>
- <suppkind/>
- <uncocd/>
- </acptlist>
- </acptinfo>
- <acptpat>
- <acptpatlist>
- <instcd/>
- <exlabcd/>
- <exlabnm/>
- <pid/>
- <patnm/>
- <sex/>
- <age/>
- <sexage/>
- <rrgstno1/>
- <rrgstno2/>
- <rrgstno/>
- <psptno/>
- <trusthosppid/>
- <bigo/>
- <bizflagcd/>
- <orddrid/>
- <orddeptcd/>
- <grostestplgyid/>
- </acptpatlist>
- </acptpat>
- <trustpat>
- <trustpatlist>
- <exlabcd/>
- <patnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <bigo/>
- <suppkind/>
- </trustpatlist>
- </trustpat>
- </main>
- <send>
- <codeflag/>
- </send>
- <init>
- <con/>
- <prcpdrid/>
- <reqfromdd/>
- <reqtodd/>
- <reqpid/>
- <reqinstcd/>
- <popupmenu>
- <item>
- <nm>지우기</nm>
- <func>fExePrcpDel</func>
- </item>
- </popupmenu>
- <popupmenu2>
- <item>
- <nm>지우기</nm>
- <func>fExePatDel</func>
- </item>
- </popupmenu2>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <userinfo>
- <userinfolist>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfolist>
- </userinfo>
- <instcdlist>
- <Z0007>
- <cdid/>
- <cdnm/>
- </Z0007>
- </instcdlist>
- <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>
- <testinfo>
- <testinfolist>
- <instcd/>
- <testcd/>
- <testhngnm/>
- <spccd/>
- <spcnm/>
- </testinfolist>
- </testinfo>
- <init>
- <LB0110>
- <cd/>
- <nm/>
- </LB0110>
- </init>
- <coophosp>
- <coophosplist>
- <instcd/>
- <coophospcd/>
- <coophospnm/>
- <uncocd/>
- </coophosplist>
- </coophosp>
- </init>
- <hidden>
- <popupmenu/>
- <patprint/>
- <data1>
- <prcpno/>
- <prcpdd/>
- <prcphistno/>
- </data1>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- makeReportPreview(0, 0, 0, 0, "grp_prnt");
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0110"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <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="TRLPC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testinfolist"/>-->
- <submission id="TRLPJ02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/trusttest/trusttestlist"/>
- <submission id="TRLPJ02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/coophosp/coophosplist"/>
- <submission id="TXLPJ02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/acptlist"/>
- <submission id="TRLLJ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpkind/prcpkindlist"/>
- <submission id="TRLLJ00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpcd/prcpcdlist"/>
- <submission id="TRLLJ00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testinfolist"/>
- <submission id="TXLLJ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/acptlist"/>
- <submission id="TRLLJ00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trusttest/trusttestlist"/>
- <submission id="TRLLJ00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLZZ00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TXLZZ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/data1" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 처리 Function
- */
- function fExeInitialize() {
-
- //------------------------
- model.toggle("case_list");
- btn_trustlist.selected = true;
- model.removeNodeset("/root/main/trusttest/trusttestlist");
- model.removeNodeset("/root/init/prcpcd/prcpcdlist");
- model.removeNodeset("/root/init/testinfo/testinfolist");
- model.removeNodeset("/root/main/choiprcp/choiprcplist");
- model.removeNodeset("/root/main/acptpat/acptpatlist");
-
- // 초기정보 조회
- model.makeValue("/root/send/codeflag", "0124|"); // 0124= 병원명칭
- submit("TRLZZ00101");
-
- //----------------
- // 시스템일자 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/deptflagcd", "0"); // 0:진단검사, 1:병리과
- submit("TRLZZ00108", false);
- submit("TRLPZ00102", false);
- //submit("TRLPJ01001", false); // 병리처방분류
- submit("TRLLJ00601", false); // 진검처방분류
- submit("TRLPJ02302", false);
-
-
-
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init/userinfo");
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/userinfo/userdeptcd"));
- model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
- model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
- //submit("TRLPZ00105", false); // 병리
- submit("TRLLJ00605", false); // 진검
- //model.makeValue("/root/send/codeflag", "0110|"); // 0110 외부기관
- //submit("TRLZZ00101");
-
- //-----------------------------------------------------------------------------------------------
- zbcfGetCodeList(new Array("Z0007"), new Array("/root/init/instcdlist", "/root/init/instcdlist"));
-
-
- //------------
- // 초기값 설정
- model.makeValue("/root/init/reqfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(From)
- model.makeValue("/root/init/reqtodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(To)
- model.makeValue("/root/init/reqpid", ""); // 요청등록번호
- model.makeValue("/root/init/reqinstcd", ""); // 요청기관
- model.makeValue("/root/init/prcpdrid", ""); // 병리과 처방의사
- model.makeValue("/root/main/patinfo/patinfocnts/suppkind", "13"); // 30% 가산안함
- model.makeValue("/root/main/patinfo/patinfocnts/uncocd", ""); // 미수코드
-
-
-
- //------------------------------------------
- grd_trustlist.fixedcellcheckbox(0,0) = true;
-
- //--------------------
- cmb_exlabcd.refresh();
- model.refresh();
- }
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 처리 Function
- */
- function fExeWindowClose() {
- model.close();
- }
-
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 위탁검사 목록 조회 처리 Function
- */
- function fGetTrustTestList() {
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/trusttest/trusttestlist");
-
- //-----------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/deptflagcd", "N"); // 병리 P 핵의학 N
- model.makeValue("/root/send/reqfromdd", model.getValue("/root/init/reqfromdd")); // 요청일자(From)
- model.makeValue("/root/send/reqtodd", model.getValue("/root/init/reqtodd")); // 요청일자(To)
- model.makeValue("/root/send/reqpid", model.getValue("/root/init/reqpid")); // 요청등록번호
- model.makeValue("/root/send/reqinstcd", model.getValue("/root/init/reqinstcd")); // 요청기관
- model.makeValue("/root/send/con", model.getValue("/root/init/con")); //최종상태
- //-------------------
- //submit("TRLPJ02301"); //병리
- submit("TRLLJ00604"); //진검
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.07.18 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방분류 TreeView 클릭 처리 Function
- */
- function fExePrcpKindClick() {
-
- var sEarnCls1 = "";
- var sEarnCls2 = "";
- var sEarnCls3 = "";
-
- var item = trv_prcpkind.item(trv_prcpkind.selectedIndex);
- //-------------------------------
- // 최하위 노드를 선택할 경우 처리
- if (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.removeNodeset("/root/init/testinfo/testinfolist");
-
- //----------------------------------------------------------------------
- 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");
-
- //-------------------
- ////submit("TRLPJ01003"); // 병리 처방명 목록
- submit("TRLLJ00602"); // 진검 처방명 목록
- }
- }
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검체 표시 및 처방 등록 처리 Function
- */
- function fExePrcpChoi() {
-
- var iFindRow = 0;
- var sSpcCd = "";
- var sPrcpNode = "/root/init/prcpcd/prcpcdlist";
- var sSpcNode = "/root/init/testinfo/testinfolist";
-
-
- //------------------------------------------------------------------------------------------
- if (grd_testcdlist.isCell(event.target) && grd_testcdlist.row >= grd_testcdlist.fixedRows) {
-
- //---------------------
- // 선택된 검체코드 저장
- if (getNodesetCount(sSpcNode) > 0) {
- if (grd_spclist.row > 0) {
- sSpcCd = model.getValue(sSpcNode+"["+grd_spclist.row+"]/spccd");
- }
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.resetInstanceNode("/root/init/testinfo/testinfolist");
-
- //-------------------------------------------
- model.makeValue("/root/send/delflagcd", "0"); // 조회조건 사용여부구분
- model.makeValue("/root/send/refflagcd", "1"); // 조회구분
- model.makeValue("/root/send/refval", model.getValue(sPrcpNode+"["+grd_testcdlist.row+"]/testcd")); // 조회값
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/itemlimit", "5000"); // 최대건수
- model.makeValue("/root/send/page", "1"); // 페이지번호
-
- //-------------------
- ////submit("TRLPC00701"); // 병리
- submit("TRLLJ00603"); // 진검
-
- //--------------------------------------------
- // 저장된 검체와 같은 검체를 검색하여 자동선택
- /* if (getNodesetCount(sSpcNode) > 0) {
-
- //-----------------
- if (sSpcCd != "") {
-
- //---------------------------------------------------------
- iFindRow = grd_spclist.findRow(sSpcCd, 1, 3, false, false);
-
- //-----------------
- if (iFindRow > 0) {
- grd_spclist.select(iFindRow, 0) = true;
- grd_spclist.row = iFindRow;
-
- //------------
- fExePrcpAdd();
- }
- }
- }*/
- }
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 선택된 처방 삭제 처리 Function
- */
- function fExePrcpDel() {
-
- //--------------------------
- if (grd_choiprcp.row <= 0) {
- messageBox("삭제 처방을 ", "C002");
- return false;
- }
-
- //---------------------------------------
- grd_choiprcp.deleteRow(grd_choiprcp.row);
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 선택된 처방 추가 처리 Function
- */
- function fExePrcpAdd() {
-
- var iMaxRowNo = 0;
- var sSrcNode = "/root/main/choiprcp/choiprcplist";
-
- //--------------------
- grd_choiprcp.addRow();
- iMaxRowNo = getNodesetCount(sSrcNode);
-
- //----------------------------------------------------------------------------------
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testcd", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testcd"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testhngnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testhngnm"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testengnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testengnm"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spccd", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spccd"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spcnm", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spcnm"));
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestintvlflagcd", "N");
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestorgtims", "");
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/conttestbasetm", "");
- model.makeValue(sSrcNode+"["+iMaxRowNo+"]/prcpdelivefact", "-");
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 수탁검사 선택 처리 Function
- */
- function fExeTrustChange(pBizFlagCd) {
-
- if (pBizFlagCd == "1") {
- btn_acpt.visible = true;
- btn_prcp.visible = false;
- btn_patlistread.visible = false;
- button1.visible = true;
-
- } else {
- btn_acpt.visible = false;
- btn_prcp.visible = true;
- btn_patlistread.visible = true;
- button1.visible = false;
- }
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대표검체 선택 처리 Function
- */
- function fExeSpcChoi() {
-
- //---------------------------------------------------------------------------------
- if (grd_spclist.isCell(event.target) && grd_spclist.row >= grd_spclist.fixedRows) {
- fExePrcpAdd();
- }
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 개별 수탁검사 저장 처리 Function
- */
- function fExePrcpSave(pBizFlagCd) {
-
- var sTemp = "";
- var bState = false;
- var sPtNo = "";
- var sSrcNode1 = "/root/main/trusttest/trusttestlist";
-
- //--------------------------------
- // 수탁검사목록을 접수할 경우 처리
- if (pBizFlagCd == "1") {
- //---------------------------------------
- if (!isRequiredControls("cmb_orddrid")) {
- return false;
- }
-
- //--------------------------
- grd_trustlist.clearStatus();
- model.resetInstanceNode("/root/main/patinfo/patinfocnts");
- model.removeNodeset("/root/main/choiprcp/choiprcplist");
-
- //---------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sSrcNode1); iNo++) {
- if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true") {
-
- //-------------------------------------------------------------------------------
- var sNode = instance1.selectSingleNode(sSrcNode1+"["+iNo+"]/reqcnts/reqfrminfo");
-
- //---------------------------------------------------------
- model.makeValue(sSrcNode1+"["+iNo+"]/bizflagcd", "1");
- model.makeValue(sSrcNode1+"["+iNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- model.makeValue(sSrcNode1+"["+iNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- model.makeValue(sSrcNode1+"["+iNo+"]/grotestsplgyid", getUserInfo("userid"));
- model.makeValue(sSrcNode1+"["+iNo+"]/newreqcnts", sNode.xml);
-
- grd_trustlist.addStatus(iNo, "insert");
- bState = true;
- }
-
- //-------------
- if (!bState) {
- messageBox("접수할 수탁검사를 ", "C002");
- return false;
- }
- }
- } else {
-
- //--------------------------------------
- if (!isRequiredControls("cmb_orddrid")) {
- return false;
- }
-
- if (getNodesetCount("/root/main/acptpat/acptpatlist") <= 0) {
- messageBox("접수할 환자를 ", "C001");
- return false;
- }
-
- //--------------------------
- grd_trustlist.clearStatus();
-
- //-------------------------------------------------------------
- if (getNodesetCount("/root/main/choiprcp/choiprcplist") <= 0) {
- messageBox("처방등록할 수탁검사를 ", "C002");
- return false;
- }
- }
- //--------------------------------------------------------------------------------------
- model.makeValue("/root/main/patinfo/patinfocnts/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/main/patinfo/patinfocnts/pid", "");
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/patinfo");
- copyNodesetType("/root/send/patinfo", "/root/main/patinfo/patinfocnts");
- model.makeValue("/root/send/choiprcplist", grd_choiprcp.getUpdateDataAll("i"));
- model.makeValue("/root/send/patlist", grd_acptpatlist.getUpdateDataAll("i"));
- model.makeValue("/root/send/trusttestlist", grd_trustlist.getUpdateData());
- model.makeValue("/root/send/bizflagcd", pBizFlagCd);
- model.makeValue("/root/send/orddrid", model.getValue("/root/init/prcpdrid"));
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- model.makeValue("/root/send/grotestsplgyid", getUserInfo("userid"));
-
- //----------
- setAlertOn();
-
- ////if (submit("TXLPJ02301")) { // 병리
- if (submit("TXLLJ00601")) { // 진검
- //----------------------------------------------------
- model.removeNodeset("/root/main/acptpat/acptpatlist");
- model.removeNodeset("/root/main/choiprcp/choiprcplist");
- model.resetInstanceNode("/root/main/patinfo/patinfocnts");
-
- //-----------------------
- if (pBizFlagCd == "2") {
- //makeReportPreview(0, 50, 1179, 678);
- //// exeReportPreview("RPLPJ02300", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt"); // 정은 잠시막음
- }
-
- //----------------------
- if (pBizFlagCd == "1") {
-
- //-------------
- // 의뢰지 출력
- model.makeNode("/root/init/prntinfo");
- model.makeValue("/root/init/prntinfo/reptflagcd", "0"); // 의뢰지(0), 보고서(1)
- model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
-
- //-------------------------------------------------------------------------------------------
- for (var iRowNo=1; iRowNo <= getNodesetCount("/root/main/acptinfo/acptrsltlist"); iRowNo++) {
-
- if (sPtNo != model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno")) {
- lpzfExeFrmPrnt("/root/main/acptinfo/acptrsltlist["+iRowNo+"]");
- sPtNo = model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno");
- }
- }
- //------------------------------------------------------------------------------------
- for (var iNo=getNodesetCount("/root/main/trusttest/trusttestlist"); iNo >= 1; iNo--) {
- if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true") {
- grd_trustlist.deleteRow(iNo);
- }
- }
- }
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.20 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 검색 팝업창 호출 Function
- */
- function fExePatPopupCall(pBizFlagCd) {
-
- model.makeNode("/root/source");
- model.makeValue("/root/source/srchcond", pBizFlagCd);
-
- if (pBizFlagCd == "1") {
- model.makeValue("/root/source/pid", model.getValue("/root/main/patinfo/patinfocnts/pid"));
- model.makeValue("/root/source/hngnm", "");
- model.makeValue("/root/source/rrgstno1", "");
- model.makeValue("/root/source/rrgstno2", "");
- } else if (pBizFlagCd == "2") {
- model.makeValue("/root/source/pid", "");
- model.makeValue("/root/source/hngnm", model.getValue("/root/main/patinfo/patinfocnts/patnm"));
- model.makeValue("/root/source/rrgstno1", "");
- model.makeValue("/root/source/rrgstno2", "");
- } else {
- model.makeValue("/root/source/pid", "");
- model.makeValue("/root/source/hngnm", "");
- model.makeValue("/root/source/rrgstno1", model.getValue("/root/main/patinfo/patinfocnts/rrgstno1"));
- model.makeValue("/root/source/rrgstno2", model.getValue("/root/main/patinfo/patinfocnts/rrgstno2"));
- }
-
- //--------------------------------------------------------------------------------
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- //----------------------------------------------------------
- if (getNodesetCount("/root/main/patinfo/patinfolist") > 0) {
- model.makeValue("/root/init/refval", model.getValue("/root/main/patinfo/patinfolist/pid"));
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 삭제처리 Function
- */
- function fExePatDel() {
- grd_acptpatlist.deleteRow(grd_acptpatlist.row);
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.09.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 임시저장 처리 Function
- */
- function fExePatTempSave() {
-
- var sSrcNode = "/root/main/patinfo/patinfocnts";
- var sDescNode = "/root/main/acptpat/acptpatlist";
- var iRowNo = 0;
-
- var rrgstno1 = model.getValue(sSrcNode+"/rrgstno1");
- var rrgstno2 = model.getValue(sSrcNode+"/rrgstno2");
- var age = model.getValue(sSrcNode+"/age");
-
- if(rrgstno1.length < 6){
- alert("주민등록번호 앞자리의 갯수가 맞지 않습니다.");
- return;
- }
- if(rrgstno1.substring(2,4) > 12 || rrgstno1.substring(4,6) > 31){
- alert("생년월일을 확인해 주십시오.");
- return;
- }
- if(rrgstno2.length < 7){
- alert("주민등록번호 뒷자리의 갯수가 맞지 않습니다.");
- return;
- }
- if(age > 99){
- var retval = window.alert( "환자의 나이가 " + age + "세 입니다. \n계속 하시겠습니까?", "결과관리", "35" );
- if (retval != "6") return; // yes = 6, no = 7
- }
-
- //------------------------------------------------------------
- if (!isRequiredControls("cmb_orddrid", "ipt_trusthosppid")) {
- return false;
- }
-
- //-----------------------
- grd_acptpatlist.addRow();
- iRowNo = Number(getNodesetCount(sDescNode));
-
- //-------------------------------------------------------------------------------------
- model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"/exlabcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"/exlabcd")+"']/coophospnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/pid", model.getValue(sSrcNode+"/pid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"/patnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"/sex"));
- model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"/age"));
- model.makeValue(sDescNode+"["+iRowNo+"]/sexage", model.getValue(sSrcNode+"/sex")+"/"+model.getValue(sSrcNode+"/age"));
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"/rrgstno1"));
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"/rrgstno2"));
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", model.getValue(sSrcNode+"/rrgstno1")+"-"+model.getValue(sSrcNode+"/rrgstno2"));
- model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"/psptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"/bigo"));
- model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"/suppkind"));
- model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", model.getValue(sSrcNode+"/uncocd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/trusthosppid", model.getValue(sSrcNode+"/trusthosppid"));
-
- //--------------
- model.refresh();
- }
-
- /* @group : 수탁검사접수
- * @ver : 2007.11.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 수탁환자목록 Excel파일 읽기 처리 Function
- */
- function fExeReadTrustPatList() {
-
- var iRowNo = 1;
- var sExLabNm = "";
- var sSexAge = "";
- var sRRgstNo = "";
- var sSrcNode = "/root/main/trustpat/trustpatlist";
- var sDescNode = "/root/main/acptpat/acptpatlist";
- var sOrgNode = "/root/main/patinfo/patinfocnts";
-
-
- //------------------------------------------------------------------------------------------------
- if (model.getValue("/root/init/prcpdrid") == "" || model.getValue("/root/init/prcpdrid") == "-") {
- messageBox("처방의사를 ", "C002");
- return false;
- }
-
- //----------------------------
- model.removeNodeset(sSrcNode);
- model.removeNodeset(sDescNode);
-
- //---------------------------------------------------------------------------------------------------------------
- var sFileName = window.fileDialog("open", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- //-----------------------------------------
- if (sFileName == "" || sFileName == null) {
- messageBox("입고할 파일을 선택하세요", "E", "");
- return;
- }
-
- //------------------------
- // 파일의 확장자 종류 검사
- var sStr = sFileName.substring(sFileName.length - 3);
-
- //-------------------------------
- if(sStr.toLowerCase() == "xls") {
- grd_trustpatlist.loadExcel(sFileName);
- } else {
- messageBox("Excel파일을 선택하세요", "E", "");
- return;
- }
-
-
- //--------------------------------------------------------
- for (var iNo=2; iNo <= getNodesetCount(sSrcNode); iNo++) {
-
- //--------------------------------------------
- // 위탁기관, 환자명, 주민번호, 여권번호는 필수
- if (model.getValue(sSrcNode+"["+iNo+"]/exlabcd") == "") {
- messageBox("위탁기관은 ", "I003");
- return false;
- }
- if (model.getValue(sSrcNode+"["+iNo+"]/patnm") == "") {
- messageBox("환자명은 ", "I003");
- return false;
- }
- if (model.getValue(sSrcNode+"["+iNo+"]/trusthosppid") == "") {
- messageBox("위탁병원 환자번호는 ", "I003");
- return false;
- }
- if (model.getValue(sSrcNode+"["+iNo+"]/psptno") == "") {
-
- if (model.getValue(sSrcNode+"["+iNo+"]/rrgstno1") == "" && model.getValue(sSrcNode+"["+iNo+"]/rrgstno2") == "") {
- messageBox("주민번호 또는 여권번호(외국인)은 ", "I003");
- return false;
- }
- }
-
- //-------------------------------------------------------------------------------------------------------------
- sExLabNm = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/coophospnm");
- sUnCoCd = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/uncocd");
- sSexAge = model.getValue(sSrcNode+"["+iNo+"]/sex")+"/"+model.getValue(sSrcNode+"["+iNo+"]/age");
- sRRgstNo = model.getValue(sSrcNode+"["+iNo+"]/rrgstno1")+"-"+model.getValue(sSrcNode+"["+iNo+"]/rrgstno2");
-
- //--------------------------------------
- model.makeNode(sDescNode+"["+iRowNo+"]");
- model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"["+iNo+"]/exlabcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", sExLabNm);
- model.makeValue(sDescNode+"["+iRowNo+"]/pid", "");
- model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"["+iNo+"]/patnm"));
- model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"["+iNo+"]/sex"));
- model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"["+iNo+"]/age"));
- model.makeValue(sDescNode+"["+iRowNo+"]/sexage", sSexAge);
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"["+iNo+"]/rrgstno1"));
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"["+iNo+"]/rrgstno2"));
- model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", sRRgstNo);
- model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"["+iNo+"]/psptno"));
- model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"["+iNo+"]/bigo"));
- model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
- model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
- model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"["+iNo+"]/suppkind"));
- model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", sUnCoCd);
-
- //-------
- iRowNo++;
- }
-
- //------------------------
- grd_acptpatlist.refresh();
- }
-
- function fExeTrustChoi() {
-
- var sNode = "/root/init/coophosp/coophosplist";
- var sTrustCd = model.getValue("/root/main/patinfo/patinfocnts/exlabcd");
-
- model.makeValue("/root/main/patinfo/patinfocnts/uncocd", model.getValue(sNode+"[coophospcd='"+sTrustCd+"']/uncocd"));
- }
-
-
- function fExePrint(){
-
- exeReportPreview("RPLLJ00600", "XMLSTR");
-
-
- }
-
-
- function fpopupmenu() {
- model.removeNodeset("/root/hidden/popupmenu");
-
-
-
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- model.makeValue("/root/hidden/popupmenu/grid/item["+1+"]/name" , "▶ 개인별출력");
- model.makeValue("/root/hidden/popupmenu/grid/item["+1+"]/func" , "fPatPrint");
-
-
- if(grd_trustlist.isCell(event.target) && grd_trustlist.mouseRow >= grd_trustlist.fixedrows){
- setPopupMenu("grd_trustlist", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
-
- function fPatPrint(){
- //model.copyNode("/root/main/trusttest/trusttestlist["+grd_trustlist.row+"]", "/root/hidden/patprint");
- model.copyNode("/root/hidden/patprint", "/root/main/trusttest/trusttestlist["+grd_trustlist.row+"]");
- model.makeValue("/root/hidden/patprint/hospnm", model.getvalue("/root/init/init/LB0124/nm"));
- exeReportPreview("RPLLJ00601", "XMLSTR");
-
-
- }
-
- function fExeDCprcp(){
-
- for(i = 1 ; i < grd_trustlist.rows ; i ++){
-
- if(model.getValue("/root/main/trusttest/trusttestlist["+i+"]/choi") == "true"){
-
- if(model.getValue("/root/main/trusttest/trusttestlist["+i+"]/bcno") == ""){
- model.setValue("/root/hidden/data1/prcpno", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcpno"));
- model.setValue("/root/hidden/data1/prcpdd", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcpdd"));
- model.setValue("/root/hidden/data1/prcphistno", model.getValue("/root/main/trusttest/trusttestlist["+i+"]/prcphistno"));
- submit("TXLZZ00601");
- }else{
- alert("진행된 항목은 처방 취소 할 수 없습니다.");
- }
-
- }else{
-
- }
- }
-
- fGetTrustTestList();
-
-
-
- }
-
-
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="716" guideline="1,482;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_btn" scroll="auto" style="left:0px; top:673; width:984px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="31" style="left:928; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeWindowClose();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:984; y2:0px; "/>
- <button id="btn_prcp" class="btn4_letter4" navindex="30" visibility="hidden" style="left:845; top:5px; width:80px; height:22px; ">
- <caption>처방등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrcpSave("2");
- model.setValue("/root/main/patinfo/patinfocnts/suppkind", "13"); // 30% 가산안함
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" disabled="true" navindex="29" style="left:786; top:5px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrcpSave("1");
- ]]>
- </script>
- </button>
- <button id="btn_patlistread" class="btn3_letter9" navindex="28" visibility="hidden" style="left:0; top:5px; width:136px; height:22px; ">
- <caption>수탁환자 Excel읽기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeReadTrustPatList();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" navindex="29" style="left:727px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrint();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" navindex="29" style="left:668px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fExeDCprcp();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" style="left:0px; top:0px; width:984; height:673; ">
- <button id="btn_trustlist" class="btn_sw" navindex="26" group="tab" selected="true" style="left:0px; top:0px; width:90px; height:22px; ">
- <caption>수탁검사목록</caption>
- <toggle case="case_list" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeTrustChange("1");
- ]]>
- </script>
- </button>
- <button id="btn_trustsingle" class="btn_sw" navindex="27" group="tab" selected="true" style="left:92px; top:0px; width:90px; height:22px; ">
- <caption>개별수탁검사</caption>
- <toggle case="case_single" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeTrustChange("2");
- ]]>
- </script>
- </button>
- <switch id="swt_trust" style="left:0px; top:23px; width:984px; height:647px; ">
- <case id="case_single">
- <caption id="caption6" class="tit_2" autoresize="true" style="left:10px; top:5px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:979px; y2:20px; "/>
- <select1 id="cmb_exlabcd" ref="/root/main/patinfo/patinfocnts/exlabcd" class="combo_default" navindex="7" appearance="minimal" style="left:74px; top:26px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/coophosp/coophosplist">
- <label ref="coophospnm"/>
- <value ref="coophospcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeTrustChoi();
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="text_center" style="left:626px; top:26px; width:20px; height:20px; ">-</caption>
- <caption id="caption13" class="cell_1" style="left:514px; top:49px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">비 고</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:96px; x2:210px; y2:96px; "/>
- <caption id="caption14" class="tit_2" autoresize="true" style="left:10px; top:81px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">처방분류</caption>
- <treeview id="trv_prcpkind" navindex="21" itemsettype="depth" style="left:5px; top:101px; width:205px; height:368px; ">
- <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>
- <caption id="caption15" class="tit_2" autoresize="true" style="left:213px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">처방명 목록</caption>
- <line id="line5" class="line_1" style="x1:213px; y1:96px; x2:380px; y2:96px; "/>
- <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, 160, 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="22" style="left:213px; top:101px; width:167px; height:368px; ">
- <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[
- fExePrcpChoi();
- ]]>
- </script>
- </datagrid>
- <caption id="caption16" class="tit_2" autoresize="true" style="left:386px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">대표검체 목록</caption>
- <line id="line7" class="line_1" style="x1:386px; y1:96px; x2:550px; y2:96px; "/>
- <datagrid id="grd_spclist" nodeset="/root/init/testinfo/testinfolist" caption="기관코드^처방코드^처방명^검체코드^검체명" colsep="^" colwidth="0, 0, 0, 0, 160" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="23" style="left:386px; top:101px; width:164px; height:368px; ">
- <col ref="instcd"/>
- <col ref="testcd"/>
- <col ref="testhngnm"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fExeSpcChoi();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_choiprcp" nodeset="/root/main/choiprcp/choiprcplist" caption="기관코드^처방코드^처방명^처방명^검체코드^검체명^연속검사간격^연속검사횟수^연속검사기본시간^비고" colsep="^" colwidth="0, 0, 0, 125, 0, 100, 87, 87, 105, 160" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="24" style="left:554px; top:101px; width:425px; height:368px; ">
- <col ref="instcd"/>
- <col ref="testcd"/>
- <col ref="testhngnm"/>
- <col ref="testengnm"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="conttestintvlflagcd" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>N</value>
- </item>
- <item>
- <label>분</label>
- <value>1</value>
- </item>
- <item>
- <label>시간</label>
- <value>2</value>
- </item>
- <item>
- <label>횟수</label>
- <value>3</value>
- </item>
- <item>
- <label>일수</label>
- <value>4</value>
- </item>
- <item>
- <label>식전/후</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="conttestorgtims" type="input"/>
- <col ref="conttestbasetm" type="input"/>
- <col ref="prcpdelivefact" type="input"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_choiprcp", false, "/root/init/popupmenu/item", "nm", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <caption id="caption17" class="tit_2" autoresize="true" style="left:554px; top:81px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">선택 처방 및 검체</caption>
- <line id="line8" class="line_1" style="x1:554px; y1:96px; x2:979px; y2:96px; "/>
- <caption id="cap_exlabcd" class="cell_1" style="left:5px; top:25px; width:66px; height:23px; font-family:돋움; vertical-align:middle; ">위탁기관</caption>
- <input id="ipt_patnm" ref="/root/main/patinfo/patinfocnts/patnm" navindex="10" imemode="hangul" maxlength="30" style="left:411px; top:26px; width:79px; height:19px; "/>
- <caption id="cap_patnm" class="cell_1" style="left:348px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">환자명</caption>
- <input id="ipt_rrgstno1" ref="/root/main/patinfo/patinfocnts/rrgstno1" navindex="12" maxlength="6" format="999999" mask="exclude" showmask="false" style="left:577px; top:26px; width:45px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/patinfo/patinfocnts/rrgstno2" navindex="13" maxlength="7" format="9999999" mask="exclude" showmask="false" style="left:639px; top:26px; width:50px; height:19px; "/>
- <input id="ipt_psptno" ref="/root/main/patinfo/patinfocnts/psptno" navindex="15" maxlength="20" style="left:778px; top:26px; width:200; height:19px; "/>
- <caption id="cap_psptno" class="cell_1" style="left:711px; top:24px; width:64px; height:23px; font-family:돋움; vertical-align:middle; ">여권번호</caption>
- <input id="ipt_age" ref="/root/main/patinfo/patinfocnts/age" navindex="16" maxlength="3" format="####" mask="exclude" showmask="false" style="left:74px; top:50px; width:33px; height:19px; "/>
- <caption id="cap_sexage" class="cell_1" style="left:5px; top:49px; width:66px; height:23px; font-family:돋움; vertical-align:middle; ">나이/성별</caption>
- <select1 id="cmb_sex" ref="/root/main/patinfo/patinfocnts/sex" navindex="17" appearance="minimal" style="left:110px; top:50px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>남성</label>
- <value>M</value>
- </item>
- <item>
- <label>여성</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_rrgstno1" class="cell_1" style="left:514px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">주민번호</caption>
- <caption id="caption7" class="cell_1" style="left:193px; top:25px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">등록번호</caption>
- <button id="btn_pidsea" class="icon_search" navindex="9" style="left:329; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePatPopupCall("1");
- ]]>
- </script>
- </button>
- <button id="btn_patnmsea" class="icon_search" navindex="11" style="left:493; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePatPopupCall("2");
- ]]>
- </script>
- </button>
- <button id="btn_rrgstnosea" class="icon_search" navindex="14" style="left:692; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePatPopupCall("3");
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" autoresize="true" style="left:10px; top:476px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">접수대상 환자목록</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:491px; x2:979px; y2:491px; "/>
- <datagrid id="grd_acptpatlist" nodeset="/root/main/acptpat/acptpatlist" caption="기관코드^요청기관코드^요청기관^등록번호^환자명^sex^age^성별/나이^적용율^rrgstno1^rrgstno2^주민번호^여권번호^위탁환자번호^비 고^caption1^caption2^caption3^caption4^미수코드" colsep="^" colwidth="0, 0, 144, 80, 80, 0, 0, 70, 110, 0, 0, 121, 130, 100, 200, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="25" style="left:5px; top:496px; width:974px; height:147px; ">
- <col ref="instcd"/>
- <col ref="exlabcd"/>
- <col ref="exlabnm"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage"/>
- <col ref="suppkind" type="combo">
- <choices>
- <item>
- <label>수탁</label>
- <value>12</value>
- </item>
- <item>
- <label>30%가산안함</label>
- <value>13</value>
- </item>
- </choices>
- </col>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="rrgstno"/>
- <col ref="psptno"/>
- <col ref="trusthosppid"/>
- <col ref="bigo"/>
- <col ref="bizflagcd"/>
- <col ref="orddrid"/>
- <col ref="orddeptcd"/>
- <col ref="grostestplgyid"/>
- <col ref="uncocd"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_acptpatlist", false, "/root/init/popupmenu2/item", "nm", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <button id="btn_cffm" class="btn2_letter4" navindex="20" style="left:915px; top:0px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePatTempSave();
- ]]>
- </script>
- </button>
- <datagrid id="grd_trustpatlist" nodeset="/root/main/trustpat/trustpatlist" visibility="hidden" caption="exlabcd^patnm^sex^age^rrgstno1^rrgstno2^psptno^bigo^suppkind" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:845px; top:435px; width:120px; height:50px; ">
- <col ref="exlabcd"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="psptno"/>
- <col ref="bigo"/>
- <col ref="suppkind"/>
- </datagrid>
- <input id="ipt_bigo" ref="/root/main/patinfo/patinfocnts/bigo" navindex="20" style="left:577px; top:50px; width:402px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:173px; top:49px; width:60px; height:23px; font-family:돋움; vertical-align:middle; ">적용율</caption>
- <line id="line6" class="line_3" style="x1:5px; y1:71px; x2:979px; y2:71px; "/>
- <select1 id="cmb_suppkind" ref="/root/main/patinfo/patinfocnts/suppkind" navindex="18" appearance="minimal" style="left:236px; top:50px; width:109px; height:19px; ">
- <choices>
- <item>
- <label>수탁</label>
- <value>12</value>
- </item>
- <item>
- <label>30%가산안함</label>
- <value>13</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- alert("적용률이 변경되었습니다.");
- ]]>
- </script>
- </select1>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfocnts/pid" disabled="true" navindex="8" style="left:256px; top:26px; width:70px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:47px; x2:979px; y2:47px; "/>
- <caption id="caption10" class="cell_1" style="left:348px; top:49px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">위탁환자번호</caption>
- <input id="ipt_trusthosppid" ref="/root/main/patinfo/patinfocnts/trusthosppid" navindex="19" imemode="hangul" maxlength="10" style="left:430px; top:51px; width:79px; height:19px; "/>
- </case>
- <case id="case_list" selected="true">
- <button id="btn_exls" class="btn2_letter2" style="left:933px; top:44px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "수탁검사목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_trustlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_trustlist" nodeset="/root/main/trusttest/trusttestlist" class="datagrid2" autoresize="true" caption="선택^instcd^요청기관코드^요청기관^요청일자^요청시간^등록번호^바코드번호^작업번호^요청
등록번호^환자명^성별/
나이^주민번호^rrgstno1^rrgstno2^여권번호^검사코드^검사명^결과값^결과상태^검체코드^검체명^의뢰지번호^의뢰지구분코드^의뢰지내용^요청자명^확인일자^확인시간^확인자명^acptstatcd^bizflagcd^orddrid^orddeptcd^grostestplgyid^newreqcnts^비고" colsep="^" colwidth="50, 10, 10, 80, 70, 10, 70,85, 11, 70, 65, 45, 90, 18, 21, 90, 54, 123, 65, 55, 34, 80, 40, 70, 20, 70, 10, 10, 10, 10, 10, 10, 10, 100, 100" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="6" style="left:5px; top:70px; width:974px; height:573px; border-color:#c0c0c0; border-style:solid; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="reqinstcd" visibility="hidden"/>
- <col ref="reqinstnm"/>
- <col ref="reqdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="reqtm" visibility="hidden"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="bcno"/>
- <col class="text_center" ref="workno" visibility="hidden"/>
- <col class="text_center" ref="reqpid"/>
- <col ref="patnm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="sexage"/>
- <col ref="rrgstno"/>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="psptno"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="testnm"/>
- <col ref="reptrslt"/>
- <col ref="reptgbn"/>
- <col ref="spccd" visibility="hidden"/>
- <col ref="spcnm"/>
- <col ref="reqfrmno" visibility="hidden"/>
- <col ref="reqfrmflagcd" visibility="hidden"/>
- <col ref="reqcnts" visibility="hidden"/>
- <col ref="reqnm"/>
- <col ref="cnfmdd" visibility="hidden"/>
- <col ref="cnfmtm" visibility="hidden"/>
- <col ref="cnfmnm" visibility="hidden"/>
- <col ref="acptstatcd" visibility="hidden"/>
- <col ref="bizflagcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="grostestplgyid" visibility="hidden"/>
- <col ref="newreqcnts" visibility="hidden"/>
- <col ref="prcpdelivefact"/>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fpopupmenu();
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:5px; top:5px; width:974px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:974; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">요청일자 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:904px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustTestList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:888px; y1:7px; x2:888px; y2:29px; "/>
- <caption id="caption3" class="search_no_b" style="left:197; top:8px; width:12px; height:17px; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_prcptodd" ref="/root/init/reqtodd" class="input_search" navindex="2" inputtype="date" style="left:212; top:8px; width:90px; height:19px; "/>
- <input id="ipt_prcpfromdd" ref="/root/init/reqfromdd" class="input_search" navindex="1" inputtype="date" style="left:104; top:8px; width:90; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:596px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption5" class="search_name" style="left:324px; top:8px; width:86px; height:17px; ">요청기관 :</caption>
- <select1 id="combo1" ref="/root/init/reqinstcd" navindex="3" appearance="minimal" itemcount="20" style="left:414px; top:8px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/coophosp/coophosplist">
- <label ref="coophospnm"/>
- <value ref="coophospcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/init/reqpid" navindex="4" style="left:688px; top:8px; width:100px; height:19px; "/>
- <select id="checkbox1" ref="/root/init/con" overflow="visible" appearance="full" style="left:805px; top:8px; width:70px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption1" class="tit_2" autoresize="true" style="left:10px; top:50px; width:161px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">수탁검사목록</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:65px; x2:979px; y2:65px; "/>
- </case>
- </switch>
- <select1 id="cmb_orddrid" ref="/root/init/prcpdrid" appearance="minimal" style="left:892px; top:2px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_orddrid" class="cell_1" style="left:825px; top:0px; width:64px; height:23px; font-family:돋움; vertical-align:middle; ">처방의사</caption>
- <group id="grp_prnt" visibility="hidden" style="left:610px; top:175px; width:285px; height:260px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|