123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP0050_결과조회.xrw
- * 설 명 : 검사결과조회 - Ver.①
- * 설 계 자 : (주)에이씨케이 - 황상미
- * 작 성 자 : (주)에이씨케이 - 황상미
- * 작 성 일 : 2006.12.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <testrslt>
- <testrsltlist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <prcpdd/>
- <acptdd/>
- <testcd/>
- <testnm/>
- <tgrupcd/>
- <acptstatcd/>
- <pid/>
- <patnm/>
- <reqfrmno/>
- <reqfrmflagcd/>
- <sexage/>
- <readdd/>
- <orddeptnm/>
- <orddrnm/>
- <readdrnm/>
- <prcpgenrflag/>
- <ptnoworkflagcd/>
- <diagcnts/>
- <execprcpuniqno/>
- </testrsltlist>
- <testrsltinfo>
- <reptrslt/>
- <level/>
- <judgmark/>
- <tkdt/>
- <rsltdd/>
- <suppdept/>
- <pacsno/>
- <spcno/>
- </testrsltinfo>
- </testrslt>
- <patinfo>
- <pattestrslt>
- <pid/>
- <patnm/>
- <dispptno/>
- <sexage/>
- <orddeptnm/>
- <orddrnm/>
- <prcpdd/>
- <acptdd/>
- <readdd/>
- <readdrnm/>
- </pattestrslt>
- <patinfolist>
- <pid/>
- </patinfolist>
- </patinfo>
- <popupendflag/>
- </main>
- <send/>
- <init>
- <refcrite/>
- <refval/>
- <acptfromdd/>
- <acpttodd/>
- <refdr/>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toptno/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <srchmthd>1</srchmthd>
- <popupmenu>
- <item>
- <name>이미지 조회</name>
- <func>fExeImgView2</func>
- </item>
- </popupmenu>
- <resncd>
- <resncdlist/>
- </resncd>
- <fromyearptno/>
- <toyearptno/>
- <toyear/>
- <mdlcdlist>
- <mdlcdinfo>
- <choi/>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- <mdlflagcd/>
- </mdlcdinfo>
- </mdlcdlist>
- <userinfo>
- <userinfolist/>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfo>
- <LB0001>
- <cd/>
- <nm/>
- </LB0001>
- <LB0002>
- <cd/>
- <nm/>
- </LB0002>
- </init>
- <hidden>
- <detlrefcrite>
- <extrpart/>
- <diag/>
- <extrmthd/>
- </detlrefcrite>
- <userdeptcd/>
- <workflagcd/>
- <allselect/>
- <statsworkflagcd/>
- <workflagcd3/>
- <allselect3/>
- <acptenv>
- <readdr/>
- </acptenv>
- <JoHoiFlag>
- <deptcd/>
- </JoHoiFlag>
- <LB0002>
- <cd/>
- <nm/>
- </LB0002>
- <diagchk>1</diagchk>
- </hidden>
- <temp>
- <LB0002>
- <cd/>
- <nm/>
- </LB0002>
- </temp>
- </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" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/testrsltinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/testrsltlist"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPC02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/mdlcdlist/mdlcdinfo"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLZZ00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var sWorkflagList = "" // 작업구분 체크 구분을 위해 사용
- var gRowSize = 0; // 병리번호 목록 확장 구분
- var sGridSize = 1; // 병리번호 목록 확장 구분
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2006.12.04 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
- var sWorkFlagCd = "";
- var iNodeCnt = -1;
-
-
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00101", false);
- submit("TRLPZ00102", false);
- submit("TRLPZ00109");
-
- //---------------
- // 작업구분 조회
- model.makeValue("/root/send/baseflagcd", "'83'");
- submit("TRLPZ00103");
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='1000']"); // 해당없음
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='1011']"); // 기록실
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']"); // 기록실
- //-이재오 통계구분 2012 8월 9일 추가 //
- // 통계구분코드 조회
- model.makeValue("/root/send/codeflag","0002|");
- submit("TRLZZ00111");
-
- //model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
-
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/send/delflagcd", "0");
- // model.makeValue("/root/send/baseflagcd", "ZA");
- // model.makeValue("/root/send/resncd", "04");
- // if(submit("TRLPC02802")) {
- //
- // //---------------------------------
- // // 전체조회용 Instance생성
- // var iNodeCnt = Number(getNodesetCount("/root/init/mdlcdlist/mdlcdinfo")) + 1;
- // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/resncd", "ZZZZ");
- // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/resncnts", "전체");
- // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/baseflagcd", "ZA");
- //
- // }
-
- // 의사목록 조회....
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/userdeptcd", "-");
- model.makeValue("/root/send/doctjobgradcd", "-"); // 예문 추가시 의사만 보일 수 있도록
- model.makeValue("/root/send/teamjobgradcd", "-");
- submit("TRLPZ00105");
- // 전체조회용 Instance생성
- //var iNodeCnt = Number(getNodesetCount("/root/init/userinfo/userinfolist[jobkindcd='1']")) + 1;
- //alert(iNodeCnt);
- //model.makeValue("/root/init/userinfo/userinfolist/choi", "false");
- //model.makeValue("/root/init/userinfo/userinfolist/dutplceinstcd","031");
- model.makeValue("/root/init/userinfo/userinfolist/userid","ZZ");
- model.makeValue("/root/init/userinfo/userinfolist/usernm","전체");
- model.makeValue("/root/init/userinfo/userinfolist/jobkindcd","1");
- //model.makeValue("/root/init/userinfo/userinfolist/userabbr", "")
- //model.makeValue("/root/init/userinfo/userinfolist/mpphonno", "")
-
-
-
- // /root/init/userinfo/userinfolist[jobkindcd='1']
- //-이재오 통계구분 2012 8월 9일 추가 //
- // 통계구분코드 조회
-
- //fBaseInfoRef("0001|0002|");
- //fBaseInfoRef("0002|");
- //fBaseInfoRef("0000|8001|0405|0406|0407|0408|0139|");
- //model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
-
- //-이재오 통계구분 2012 8월 9일 //
- /*
- //---------------------------------
- //default 전체 체크
- sWorkFlagCd = "";
- iNodeCnt = Number(getNodesetCount("/root/init/resncd/resncdlist"));
-
- for (var iNo=1; iNo <= iNodeCnt; iNo++) {
-
- switch (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd")) {
- //case "1003" :
- //case "ZZZZ" :
- // break;
- default : sWorkFlagCd += model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") + " ";
- break;
- }
- }
- model.makeValue("/root/hidden/workflagcd", sWorkFlagCd);
- */
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
- //--------------------------------------------
- model.makeValue("/root/init/refcrite", "-");
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/refdr", "");
-
- btn_search.selected = true;
- model.toggle("case3");
-
- model.makeValue("/root/init/refcrite", "2"); // 등록번호
- model.makeValue("/root/init/refval", ""); // 검색값
-
- //-----------------------------------------------------------------
- var sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/toptno", "");
-
- //---------------------------
- if (window.parent == null) {
- // Continue
- } else {
- if (opener.javascript.getParameter("SMLPP00500_scrno") != "") {
- model.makeValue("/root/init/ptnocode", opener.javascript.getParameter("SMLPP00500_ptnocd"));
- model.makeValue("/root/init/fromyear", opener.javascript.getParameter("SMLPP00500_year"));
- model.makeValue("/root/init/fromptno", opener.javascript.getParameter("SMLPP00500_no"));
- model.makeValue("/root/init/acptfromdd", opener.javascript.getParameter("SMLPP00500_acptdd"));
- model.makeValue("/root/init/acpttodd", opener.javascript.getParameter("SMLPP00500_acptdd"));
- model.makeValue("/root/init/refcrite", "0");
- model.makeValue("/root/init/refval", "");
-
- //--------------------
- fGetTestRsltList("1");
- }
- }
-
-
- model.setValue("/root/init/ptnocode", "-" );
- model.makeValue("/root/hidden/workflagcd", "1001 1002 1003");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2007.05.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사결과 목록 조회 함수
- */
- function fGetTestRsltList(pFlagCd)
- {
- var sTemp = "";
- var re = / /g;
- var sFromDD = model.getValue("/root/init/acptfromdd");
- var sRefVal = model.getValue("/root/init/refval");
- var sWorkFlagCd = "";
- var sFromYear = "";
- var sToYear = "";
- var sreadId = "";
-
- //alert(pFlagCd);
-
- //--------------------------------------------------------
- // 등록번호 조회 시 최소 4자리 이상 입력하도록 메세지 표시
- if (model.getValue("/root/init/refcrite") == "2")
- {
- if (sRefVal != "")
- {
- if (sRefVal.length < 3)
- {
- messageBox("등록번호를 4자리 이상 ", "C001");
- return false;
- }
- }
- }
-
- //------------------------------------------------
- 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/fromptno") == "")
- {
- //model.makeValue("/root/init/fromptno", "000000");
- model.makeValue("/root/init/toptno", "zzzzzz");
- }
- else
- {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- model.makeValue("/root/init/fromyearptno", lpzfExePtNoChange(model.getValue("/root/init/fromyearptno")));
- model.makeValue("/root/init/toyearptno", lpzfExePtNoChange(model.getValue("/root/init/toyearptno")));
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/testrslt/testrsltlist");
-
- //---------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/refcrite", model.getValue("/root/init/refcrite"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
- model.makeValue("/root/send/refflagcd", pFlagCd);
- //model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- if(pFlagCd == "1") {
- model.makeValue("/root/send/ptnocode", sTemp);
- } else {
- model.makeValue("/root/send/ptnocode", "");
- }
-
- //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/fromyear"));
- //model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
- model.makeValue("/root/send/srchmthd", model.getValue("/root/init/srchmthd"));
- model.makeValue("/root/send/scrnid", "SMLPP02800");
-
-
- sFromYear = model.getValue("/root/init/fromyearptno");
- sToYear = model.getValue("/root/init/toyearptno");
-
- if(sFromYear != "" && sToYear != "") {
-
- if(sFromYear.length == 8 || sFromYear.length == 10 || sFromYear.length == 0) {
- model.makeValue("/root/send/fromyear", sFromYear.substring(0, (sFromYear.length - 6)));
- model.makeValue("/root/send/fromptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
- } else {
- messageBox("병리번호를 다시 입력하여 주세요.", "E999");
- return false;
- }
-
- if(sToYear.length == 8 || sToYear.length == 10 || sToYear.length == 0) {
- model.makeValue("/root/send/toyear", sToYear.substring(0, (sToYear.length - 6)));
- model.makeValue("/root/send/toptno", sToYear.substring((sToYear.length - 6), (sFromYear.length)));
- } else {
- messageBox("병리번호를 다시 입력하여 주세요.", "E999");
- return false;
- }
- } else if(sFromYear == "" && sToYear != ""){
- if(sToYear.length == 8 || sToYear.length == 10 || sToYear.length == 0) {
- model.makeValue("/root/send/toyear", sToYear.substring(0, (sToYear.length - 6)));
- model.makeValue("/root/send/toptno", sToYear.substring((sToYear.length - 6), (sToYear.length)));
- model.makeValue("/root/send/fromyear", sToYear.substring(0, (sToYear.length - 6)));
- model.makeValue("/root/send/fromptno", sToYear.substring((sToYear.length - 6), (sToYear.length)));
- } else {
- messageBox("병리번호를 다시 입력하여 주세요.", "E999");
- return false;
- }
- } else if(sFromYear != "" && sToYear == "") {
-
- if(sFromYear.length == 8 || sFromYear.length == 10 || sFromYear.length == 0) {
- model.makeValue("/root/send/fromyear", sFromYear.substring(0, (sFromYear.length - 6)));
- model.makeValue("/root/send/fromptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
- model.makeValue("/root/send/toyear", sFromYear.substring(0, (sFromYear.length - 6)));
- model.makeValue("/root/send/toptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
- } else {
- messageBox("병리번호를 다시 입력하여 주세요.", "E999");
- return false;
- }
- } else {
-
- if(model.getValue("/root/send/ptnocode") != "-") {
- model.makeValue("/root/send/fromyear", "00");
- model.makeValue("/root/send/fromptno", "000000");
- model.makeValue("/root/send/toyear", "99");
- model.makeValue("/root/send/toptno", "zzzzzz");
- } else {
- model.makeValue("/root/send/fromyear", "");
- model.makeValue("/root/send/fromptno", "");
- model.makeValue("/root/send/toyear", "");
- model.makeValue("/root/send/toptno", "");
- }
- }
-
- //------------------------------------------------
- // Regular표현식을 사용하여 공백(" ")문자를 ','로 변환
- //이재오 추가 20120809일
- // alert(pFlagCd);
-
- if(pFlagCd == "1") {
- sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
- // } else if( pFlagCd == "2"){
- // sWorkFlagCd = model.getValue("/root/hidden/workflagcd3");
- /* alert(sWorkFlagCd);*/
- }
- else {
- sWorkFlagCd = model.getValue("/root/hidden/workflagcd3");
- /* alert(sWorkFlagCd); */
- }
- // 이재오 막다
- //sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
-
-
- if(sWorkFlagCd != "") {
- sWorkFlagCd = "'" + sWorkFlagCd.replace(re, "','") + "'";
- model.makeValue("/root/send/workflaglist", sWorkFlagCd);
- //alert(model.getValue("/root/send/workflaglist"));
- } else {
- model.makeValue("/root/send/workflaglist", "EMPTY");
- }
-
- //이재오 2012.8.13일 판독자ID 추가
- sreadId = model.getValue("/root/hidden/acptenv/readdr");
- if(sreadId != "" && sreadId != "ZZ") {
- model.makeValue("/root/send/sreadId", sreadId);
- // alert(sreadId);
- } else {
- model.makeValue("/root/send/sreadId", "EMPTY");
- // alert(sreadId);
- }
- //이재오 2012.8.13일 판독자 ID 추가
- //model.makeValue("/root/init/userinfo/userinfolist/userid","ZZ")
-
- //-----------------------------------------------
- // 일반조회(1), 상세(TPM)조회(2), 결과상세조회(3)
- if (pFlagCd == "1")
- {
- model.makeValue("/root/send/extrpart", "");
- model.makeValue("/root/send/diag", "");
- model.makeValue("/root/send/extrmthd", "");
- }
- else
- {
- model.makeValue("/root/send/extrpart", model.getValue("/root/hidden/detlrefcrite/extrpart"));
- model.makeValue("/root/send/diag", model.getValue("/root/hidden/detlrefcrite/diag"));
- model.makeValue("/root/send/extrmthd", model.getValue("/root/hidden/detlrefcrite/extrmthd"));
- // 이재오 2012 8.10일 진료과 상세내역 추가
- model.makeValue("/root/send/orddeptid", model.getValue("/root/hidden/JoHoiFlag/deptcd"));
- //alert(model.getValue("/root/send/orddeptid"));
-
- // 이재오 2013 4.29일 문자열 진단검색 조건추가
- model.makeValue("/root/send/diagchk", model.getValue("/root/hidden/diagchk"));
- }
-
- //-------------------
- submit("TRLPP00501");
-
- //-------------------------------------------------------------
- if (getNodesetCount("/root/main/testrslt/testrsltlist") == 1)
- {
- grd_testrsltlist.row = 1;
- fGetTestRslt();
- }
- // 이재오 2012 8월 13일 추가
- model.refresh();
- // 이재오 2012 8월 13일 추가
-
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2006.12.04 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사결과 조회 함수
- */
- function fGetTestRslt() {
-
- var iRowNo = -1;
- var sScrNode = "/root/main/testrslt/testrsltlist";
- var sDescNode = "/root/main/patinfo/pattestrslt";
-
-
- //------------------------------------------
- if (grd_testrsltlist.row <= 0) return false;
- //----------------------------
- iRowNo = grd_testrsltlist.row;
- model.makeValue(sDescNode + "/pid", model.getValue(sScrNode + "[" + iRowNo + "]/pid"));
- model.makeValue(sDescNode + "/patnm", model.getValue(sScrNode + "[" + iRowNo + "]/patnm"));
- model.makeValue(sDescNode + "/dispptno", model.getValue(sScrNode + "[" + iRowNo + "]/dispptno"));
- model.makeValue(sDescNode + "/sexage", model.getValue(sScrNode + "[" + iRowNo + "]/sexage"));
- model.makeValue(sDescNode + "/orddeptnm", model.getValue(sScrNode + "[" + iRowNo + "]/orddeptnm"));
- model.makeValue(sDescNode + "/orddrnm", model.getValue(sScrNode + "[" + iRowNo + "]/orddrnm"));
- model.makeValue(sDescNode + "/prcpdd", model.getValue(sScrNode + "[" + iRowNo + "]/prcpdd"));
- model.makeValue(sDescNode + "/acptdd", model.getValue(sScrNode + "[" + iRowNo + "]/acptdd"));
- model.makeValue(sDescNode + "/readdd", model.getValue(sScrNode + "[" + iRowNo + "]/readdd"));
- model.makeValue(sDescNode + "/readdrnm", model.getValue(sScrNode + "[" + iRowNo + "]/readdrnm"));
-
- //----------------------------------
- lpzfTopInfo(); // 상단정보 호출
- //---------------------------------------------------------------------------------------------
- if (model.getValue("/root/paminfo/pid") != model.getValue(sScrNode + "[" + iRowNo + "]/pid")) {
-
- //--------------
- // 상단정보 표시
- lpzfExeTopInfoDisp(model.getValue(sScrNode+"["+iRowNo+"]/prcpdd"),
- model.getValue(sScrNode+"["+iRowNo+"]/execprcpuniqno"),
- model.getValue(sScrNode+"["+iRowNo+"]/instcd"));
- }
-
- //---------------
- // 검사결과 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/ptno", model.getValue(sScrNode + "[" + iRowNo + "]/ptno"));
- model.makeValue("/root/send/pid", model.getValue(sScrNode + "[" + iRowNo + "]/pid"));
- model.makeValue("/root/send/workflagcd", model.getValue(sScrNode + "[" + iRowNo + "]/ptnoworkflagcd"));
- model.makeValue("/root/send/prcpgenrflag", model.getValue(sScrNode + "[" + iRowNo + "]/prcpgenrflag"));
- model.makeValue("/root/send/scrno", "10");
-
- model.resetInstanceNode("/root/main/testrslt/testrsltinfo");
-
- //-------------------
- submit("TRLPZ00107");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2007.07.16 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 통합결과조회 화면호출
- */
- function fExePopupCallSytsRslt() {
- if (model.getValue("/root/main/patinfo/pattestrslt/pid") == "") {
- modal("SMAER00800");
- } else {
- modal("SMAER00800", "", "", "", "SMAER00800", "/root/main/patinfo/pattestrslt/pid", "/root/send/data/singdata/srchpid");
- }
- }
-
- function fExePtNoClick() {
- if(grd_testrsltlist.row > 0 && grd_testrsltlist.isCell(event.target) && grd_testrsltlist.row >= grd_testrsltlist.fixedRows) {
- fGetTestRslt();
- }
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2007.12.19 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호 조회값 입력 처리
- */
- function fExeRefValKeyPress() {
- if(event.keyCode == 13) {
- model.setValue("/root/init/refval", ipt_refval.currentText);
- ipt_refval.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2007.12.19 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호 입력값 처리
- */
- function fExePtNoInput() {
- if(event.keyCode == 13) {
- model.setValue("/root/init/fromptno", ipt_fromptno.currentText);
- ipt_fromptno.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2008.02.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 이미지 표시 처리
- */
- function fExeImgView() {
-
- var sPtNo = "";
- var aPtNo = "";
- var sNode = "/root/main/testrslt/testrsltlist";
- var iRowNo = grd_testrsltlist.row;
-
- //----------------
- if (iRowNo >= 0) {
-
- sPtNo = model.getValue(sNode+"["+iRowNo+"]/dispptno");
- aPtNo = sPtNo.split("-");
-
- //----------------------------------------------
- setParameter("SMLPP02000_scrno", "SMLPP00500");
- setParameter("SMLPP02000_pid", model.getValue(sNode+"["+iRowNo+"]/pid"));
- setParameter("SMLPP02000_rgstdd", getCurrentDate());
- // setParameter("SMLPP02000_no", aPtNo[1]);
- // setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
- // setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
- setParameter("SMLPP02000_no", "");
- setParameter("SMLPP02000_ptnocd", "");
- setParameter("SMLPP02000_year", "");
-
- //------------------
- modal("SMLPP02000");
- }
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2008.02.21 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 그리드에 추가 처리
- */
- function fExeMakePatInfo() {
-
- var sNode = "/root/main/testrslt/testrsltinfo";
- var sPatInfo = "";
-
- //-------------------------------------
- grd_testrsltref.insertRow(1, "before");
- grd_testrsltref.rowHidden(1) = true;
-
- //---------------------------------------------------------------------------------------
- sPatInfo = "등록번호:" + model.getValue("/root/main/patinfo/pattestrslt/pid") + " ";
- sPatInfo += "환자명:" + model.getValue("/root/main/patinfo/pattestrslt/patnm") + " ";
- sPatInfo += "성별/나이:" + model.getValue("/root/main/patinfo/pattestrslt/sexage");
-
- //----------------------------------------------------
- model.makeValue(sNode+"[1]/reptrslt", sPatInfo, true);
- model.makeValue(sNode+"[1]/level", model.getValue(sNode+"[2]/level"));
- model.makeValue(sNode+"[1]/judgmark", model.getValue(sNode+"[2]/judgmark"));
- model.makeValue(sNode+"[1]/tkdt", model.getValue(sNode+"[2]/tkdt"));
- model.makeValue(sNode+"[1]/rsltdd", model.getValue(sNode+"[2]/rsltdd"));
- model.makeValue(sNode+"[1]/suppdept", model.getValue(sNode+"[2]/suppdept"));
- model.makeValue(sNode+"[1]/pacsno", model.getValue(sNode+"[2]/pacsno"));
- model.makeValue(sNode+"[1]/spcno", model.getValue(sNode+"[2]/spcno"));
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2008.11. 04 (CMCDEV-0001)
- * @by : 하만석(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 그리드에 추가 처리
- */
- function fExeMakePatInfo2()
- {
- grd_testrsltlist.colWidth(10) = 50; // pid
- grd_testrsltlist.colWidth(11) = 80; // 환자명
- grd_testrsltlist.colWidth(14) = 90; // 성별/나이
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2008.11. 04 (CMCDEV-0001)
- * @by : 하만석(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 엑셀 저장 후 삭제 처리
- */
- function fExeDelPatInfo2()
- {
- grd_testrsltlist.colWidth(10) = 0; // pid
- grd_testrsltlist.colWidth(11) = 0; // 환자명
- grd_testrsltlist.colWidth(14) = 0; // 성별/나이
- }
-
- /* @group : 병리결과조회(외래/병동)
- * @ver : 2008.07.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 보고서 출력
- */
- function fExeReptPrnt() {
-
- //-------------------------------
- if (grd_testrsltlist.row <= 0) {
- messageBox("처방을 선택하여 주십시오!", "I007");
- return false;
- }
-
- //------------------------------------
- model.makeNode("/root/init/prntinfo");
- model.makeValue("/root/init/prntinfo/reptflagcd", "1"); // 의뢰지(0), 보고서(1)
- model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
- model.makeValue("/root/init/prntinfo/copyflagcd", "1"); // 의뢰지/보고서(0), 복사본(1)
- model.makeValue("/root/init/prntinfo/acptdd", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/acptdd"));
- model.makeValue("/root/init/prntinfo/ptno", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/ptno"));
- model.makeValue("/root/init/prntinfo/pid", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/pid"));
- lpzfExeFrmPrnt("/root/init/prntinfo");
- }
-
- /* @group : 임상정보조회
- * @ver : 2009.01.12 (CMCDEV-0001)
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function fGetIMSInfo(){
-
- var iRowNo = -1;
- var sScrNode = "/root/main/testrslt/testrsltlist";
-
- if (grd_testrsltlist.row <= 0) return false;
- iRowNo = grd_testrsltlist.row;
-
- var instcd = getUserInfo("dutplceinstcd");
- var ptno = model.getValue(sScrNode + "[" + iRowNo + "]/ptno");
- var pid = model.getValue(sScrNode + "[" + iRowNo + "]/pid");
- var workflagcd = model.getValue(sScrNode + "[" + iRowNo + "]/ptnoworkflagcd");
- var prcpgenrflag = model.getValue(sScrNode + "[" + iRowNo + "]/prcpgenrflag");
- var scrno = "SPLPP02500";
- var sflag = instcd + "▦" + ptno + "▦" + pid + "▦" + workflagcd + "▦" + prcpgenrflag + "▦" + scrno;
-
- setParameter("opener_parameter_id", sflag);
- modal("SPLPP02500", "", "", "", "", "", "");
- }
-
- /* @group : 이미지조회
- * @ver : 2009.01.12 (CMCDEV-0001)
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc :
- */
- function fExeImgView2() {
-
- var sPtNo = "";
- var aPtNo = "";
- var sNode = "/root/main/testrslt/testrsltinfo";
-
- if(grd_testrsltref.row <= 0) return;
-
- //----------------------------------------
- sPtNo = model.getValue(sNode+ "["+ grd_testrsltref.row +"]/spcno");
-
- sPtNo = sPtNo.substr(0, sPtNo.length -6) + "-" + sPtNo.substr(sPtNo.length -6, 6);
-
- aPtNo = sPtNo.split("-");
-
- //----------------------------------------------
- setParameter("SMLPP02000_scrno", "SMLPR00100");
- //setParameter("SMLPP02000_pid", model.getValue(sNode+"/pid"));
- setParameter("SMLPP02000_pid", "");
- setParameter("SMLPP02000_rgstdd", getCurrentDate());
- setParameter("SMLPP02000_no", aPtNo[1]);
- setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
- setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
-
- //------------------
- modal("SMLPP02000");
- }
-
- function fSetPopup(){
- if ( (grd_testrsltref.mouseRow >= grd_testrsltref.fixedRows) && (grd_testrsltref.isCell(event.target))) {
-
- grd_testrsltref.row = grd_testrsltref.mouseRow;
- model.removenode("/root/init/popupmenu");
-
- if(model.getValue("/root/main/testrslt/testrsltinfo["+ grd_testrsltref.row +"]/judgmark") == "IMP") {
- model.makeValue("/root/init/popupmenu/item/name", "▶ 병리 이미지 보기");
- model.makeValue("/root/init/popupmenu/item/func", "fExeImgView2");
- }
-
- setPopupMenu("grd_testrsltref", false, "/root/init/popupmenu/item", "name", "func");
- }
- }
-
- function fExeWorkFlagChng() {
-
- var iFindNo = -1;
- var aWorkFlagCd = "";
- var aBfWorkFlagCd = "";
- var sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
-
- /*
- //-----------------------------------
- aWorkFlagCd = sWorkFlagCd.split(" ");
- for (var iNo=aWorkFlagCd.length-1; iNo >= 0; iNo--) {
- if (aWorkFlagCd[iNo].getTrim() == "") {
- // Continue
- } else if (aWorkFlagCd[iNo].getTrim() == "1003") {
- model.makeValue("/root/hidden/workflagcd", "1003 1004 1005");
- break;
-
- } else if (aWorkFlagCd[iNo].getTrim() == "9999") {
- model.makeValue("/root/hidden/workflagcd", "9999");
- break;
- } else {
-
- //---------------
- sWorkFlagCd = "";
- for (var iNo=1; iNo <= getNodesetCount("/root/init/resncd/resncdlist"); iNo++) {
-
- switch (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd")) {
- case "1003" :
- case "9999" :
- break;
- default : sWorkFlagCd += model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") + " ";
- break;
- }
- }
- model.makeValue("/root/hidden/workflagcd", sWorkFlagCd);
- break;
- }
- }
- */
- //-----------------------------------
- aWorkFlagCd = sWorkFlagCd.split(" ");
- aBfWorkFlagCd = sWorkflagList.split(" "); //잡업구분 이전 값.
-
- if(sWorkFlagCd.length > sWorkflagList.length) {
- //select 경우
- if (!(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "")) {
- if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1001" || aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1002"){
- //조직, 동결절편을 선택한 경우
- //model.makeValue("/root/hidden/workflagcd", "1001 1002 1004 1005 1006 1007 1008 1009 1012 9999");
- } else if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1003"){
- //세포를 선택한 경우
- //model.makeValue("/root/hidden/workflagcd", "1003 1004 1005 1006 1007 1008 1009 1012 9999");
- } else if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "ZZZZ"){
- //전체를 선택한 경우
- model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012 ZZZZ");
- }
- }
-
- } else if (sWorkFlagCd.length < sWorkflagList.length) {
- //deselect경우("전체"를 Deselect한 경우만 체크 한다.)
- if(fCompareArray(aWorkFlagCd, aBfWorkFlagCd) == "ZZZZ") {
- model.makeValue("/root/hidden/workflagcd", "");
- }
- } else if (sWorkFlagCd.length == sWorkflagList.length) {
-
- }
-
- //변경후 작업구분 값을 저장하여 다음 변경시 사용.
- sWorkflagList = model.getValue("/root/hidden/workflagcd");
-
- model.refresh();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.03 (CMCDEV-0001)
- * @by : 박중규
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 작업구분 체크에 사용할 배열 비교
- */
- function fCompareArray(pAfworklist, pBfworklist) {
- var sWorkflagcd = "";
- var iCount = 0;
-
- for(var i=0 ; i < pBfworklist.length ; i++) {
- iCount = 0;
- for(var j=0 ; j < pAfworklist.length ; j++) {
- if(pBfworklist[i] == pAfworklist[j]){
- iCount=0;
- } else {
- iCount++;
- }
- }
-
- if(iCount == pAfworklist.length) {
- return pBfworklist[i];
- }
- }
-
- return "none";
-
- }
-
- /* @group : 세포결과일괄등록
- * @ver : 2008.12.04 (CMCDEV-0001)
- * @by : 하만석(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과항목을 확인하기 위해서 row 크기 변경
- */
- function fExeResizeRow()
- {
- if (gRowSize == 0) // 초기상태
- {
- grd_testrsltlist.autoResize = true;
- grd_testrsltlist.refresh();
- gRowSize = 1;
- }
- else if (gRowSize == 1)
- {
- grd_testrsltlist.dataHeight = 23;
- grd_testrsltlist.autoResize = false;
- grd_testrsltlist.refresh();
- gRowSize = 0;
- }
- }
-
- function fExeEpandGrid(cnt)
- {
- if ( cnt == "1" )
- {
- grd_testrsltlist.attribute("width") = 1185;
- sGridSize = "2";
- }
- else if ( cnt == "2" )
- {
- grd_testrsltlist.attribute("width") = 448;
- sGridSize = "1";
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">결과조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <datagrid id="grd_testrsltref" nodeset="/root/main/testrslt/testrsltinfo" autoresize="true" caption="검 사 결 과 내 용^caption2^caption3^caption4^caption5^caption6^caption7^caption8" colsep="^" colwidth="719, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:452px; top:149px; width:741px; height:595px; font-family:굴림체; font-size:9pt; ">
- <col ref="reptrslt" style="font-family:굴림체; font-size:9pt; "/>
- <col ref="level"/>
- <col ref="judgmark"/>
- <col ref="tkdt"/>
- <col ref="rsltdd"/>
- <col ref="suppdept"/>
- <col ref="pacsno"/>
- <col ref="spcno"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fSetPopup();
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:452px; top:130px; width:111px; height:13px; ">검사결과</caption>
- <line id="line2" class="line_1" style="x1:452px; y1:144px; x2:1193px; y2:144px; "/>
- <caption id="caption2" class="tit_2" style="left:4px; top:129px; width:140px; height:13px; ">검사결과 목록</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:144px; x2:448px; y2:144px; "/>
- <switch id="switch1" style="left:0px; top:27px; width:1195px; height:93px; ">
- <case id="case1">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption12" class="search_name" style="left:725px; top:37px; width:115px; height:17px; ">채취방법(P) :</caption>
- <caption id="caption4" class="search_name" style="left:725px; top:11px; width:115px; height:17px; ">채취부위(T) :</caption>
- <input id="input2" ref="/root/hidden/detlrefcrite/extrpart" class="input_search" navindex="9" style="left:845px; top:10px; width:245px; height:19px; "/>
- <input id="input3" ref="/root/hidden/detlrefcrite/diag" class="input_search" navindex="10" style="left:845px; top:62px; width:245px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:725px; top:63px; width:115px; height:17px; ">진 단(M) :</caption>
- <input id="input4" ref="/root/hidden/detlrefcrite/extrmthd" class="input_search" navindex="11" style="left:845px; top:36px; width:245px; height:19px; "/>
- <button id="btn_detlsea" class="btn1_letter4" style="left:1105px; top:35px; width:80px; height:22px; ">
- <caption>상세조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestRsltList("2");
- ]]>
- </script>
- </button>
- <input id="input9" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:121px; top:45px; width:100px; height:19px; "/>
- <input id="input10" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:5px; top:45px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <caption id="caption24" class="search_n_b" style="left:107px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <select1 id="combo2" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:5px; top:20px; width:155px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line4" class="line_4" style="x1:230px; y1:0px; x2:230px; y2:87px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line9" class="line_4" style="x1:1100px; y1:12px; x2:1100px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cbo_statsflagcd" ref="/root/hidden/statsworkflagcd" navindex="7" visibility="hidden" appearance="minimal" style="left:1090px; top:65px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mdlcdlist/mdlcdinfo">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="search_name" visibility="hidden" style="left:1100px; top:10px; width:86px; height:17px; ">통계구분 :</caption>
- <select id="cbo2_slipkindcd" ref="/root/hidden/workflagcd3" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:425px; top:35px; width:285px; height:50px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fExeWorkFlagChng();
- ]]>
- </script>
- </select>
- <select id="checkbox4" ref="/root/hidden/allselect3" class="check_search" overflow="visible" appearance="full" style="left:500px; top:10px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/allselect3") == "Y") {
- model.makeValue("/root/hidden/workflagcd3", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
- } else {
- model.makeValue("/root/hidden/workflagcd3", "");
- }
- cbo2_slipkindcd.refresh();
- checkbox6.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption30" class="search_name" style="left:410px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
- <select1 id="cmb_readdr" ref="/root/hidden/acptenv/readdr" appearance="minimal" style="left:325px; top:10px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo6" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:250px; top:60px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/LB0002">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption31" class="search_name" style="left:250px; top:35px; width:75px; height:17px; ">진료과</caption>
- <caption id="caption32" class="search_name" style="left:250px; top:10px; width:70px; height:17px; ">판독의:</caption>
- <line id="line14" class="line_4" style="x1:715px; y1:5px; x2:715px; y2:85px; border-color:#ffe4bb; border-left-style:solid; "/>
- </case>
- <case id="case2" selected="true">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button3" class="btn1_letter4" style="left:1105px; top:35px; width:80px; height:22px; ">
- <caption>상세조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestRsltList("3");
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:715px; top:37px; width:115px; height:17px; ">Microscopic :</caption>
- <caption id="caption8" class="search_name" style="left:715px; top:11px; width:85px; height:17px; ">Gross :</caption>
- <input id="input1" ref="/root/hidden/detlrefcrite/extrpart" class="input_search" navindex="8" style="left:855px; top:10px; width:240px; height:19px; "/>
- <input id="input5" ref="/root/hidden/detlrefcrite/diag" class="input_search" navindex="12" style="left:855px; top:62px; width:240px; height:19px; "/>
- <input id="input6" ref="/root/hidden/detlrefcrite/extrmthd" class="input_search" navindex="13" style="left:855px; top:36px; width:240px; height:19px; "/>
- <caption id="caption15" class="search_name" style="left:715px; top:63px; width:110px; height:17px; ">Diagnosis :</caption>
- <select1 id="combo1" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:15px; top:20px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_n_b" style="left:117px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="input7" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:131px; top:45px; width:100px; height:19px; "/>
- <input id="input8" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:15px; top:45px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <line id="line5" class="line_4" style="x1:240px; y1:12px; x2:240px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line8" class="line_4" style="x1:1100px; y1:12px; x2:1100px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line15" class="line_4" style="x1:710px; y1:10px; x2:710px; y2:75px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo7" ref="/root/hidden/acptenv/readdr" appearance="minimal" style="left:320px; top:10px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption33" class="search_name" style="left:405px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
- <caption id="caption34" class="search_name" style="left:245px; top:35px; width:75px; height:17px; ">진료과</caption>
- <caption id="caption35" class="search_name" style="left:245px; top:10px; width:70px; height:17px; ">판독의:</caption>
- <select id="checkbox5" ref="/root/hidden/allselect3" class="check_search" overflow="visible" appearance="full" style="left:495px; top:10px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/allselect3") == "Y") {
- model.makeValue("/root/hidden/workflagcd3", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
- } else {
- model.makeValue("/root/hidden/workflagcd3", "");
- }
- checkbox6.refresh();
- cbo2_slipkindcd.refresh();
- ]]>
- </script>
- </select>
- <select1 id="combo8" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:245px; top:60px; width:165px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/LB0002">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox6" ref="/root/hidden/workflagcd3" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:420px; top:35px; width:285px; height:50px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fExeWorkFlagChng();
- ]]>
- </script>
- </select>
- <select id="checkbox7" ref="/root/hidden/diagchk" overflow="visible" appearance="full" style="left:810px; top:65px; width:40px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>and</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- </case>
- <case id="case3">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="2" appearance="minimal" editmode="search" style="left:115px; top:36px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_refval" ref="/root/init/refval" class="input_search" navindex="1" style="left:115px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <select1 id="cmb_srchmthd" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:20px; top:62px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePtNoInput();
- ]]>
- </script>
- </input>
- <caption id="caption10" class="search_name" style="left:20px; top:11px; width:90px; height:17px; ">등록번호 :</caption>
- <button id="button4" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestRsltList("1");
- ]]>
- </script>
- </button>
- <input id="ipt_acpttodd" ref="/root/init/acpttodd" class="combo_search" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:231px; top:62px; width:100px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
- <input id="ipt_acptfromdd" ref="/root/init/acptfromdd" class="combo_search" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:115px; top:62px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_n_b" style="left:217px; top:64px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption25" class="search_name" style="left:20px; top:37px; width:105px; height:17px; ">병리번호 :</caption>
- <select id="cbo_slipkindcd" ref="/root/hidden/workflagcd" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:475px; top:30px; width:355px; height:50px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fExeWorkFlagChng();
- ]]>
- </script>
- </select>
- <button id="button33" class="icon_search" style="left:219px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = "";
- model.setValue("/root/main/popupendflag", "cancel");
- modal("SPPMC02500",0,100,150,"SPPMC02500","","");
-
- if (model.getValue("/root/main/popupendflag") == "ok") {
-
- sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- if (sPid == null || sPid == "" || sPid == " ") {
- return false;
- }
-
- model.setValue("/root/init/refval" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- ipt_refval.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter3" visibility="visible" style="left:990px; top:15px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/init/refval", "");
- model.makeValue("/root/init/ptnocode", "-");
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/srchmthd" , "1");
- model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003");
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/fromyearptno", "");
- model.makeValue("/root/init/toyearptno", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:440px; y1:12px; x2:440px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption7" class="search_name" style="left:475px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
- <select id="checkbox1" ref="/root/hidden/allselect" class="check_search" overflow="visible" appearance="full" style="left:570px; top:10px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/allselect") == "Y") {
- model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
- } else {
- model.makeValue("/root/hidden/workflagcd", "");
- }
- cbo_slipkindcd.refresh();
- ]]>
- </script>
- </select>
- <line id="line6" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input11" ref="/root/init/fromyearptno" class="text_center" style="left:240px; top:36px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/init/fromyearptno", input11.currentText);
- input11.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/init/toyearptno" class="text_center" style="left:330px; top:36px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/init/toyearptno", input12.currentText);
- input12.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption13" class="search_n_b" style="left:316px; top:38px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </case>
- <case id="case5">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="combo3" ref="/root/init/ptnocode" navindex="2" appearance="minimal" editmode="search" style="left:345px; top:20px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input13" ref="/root/init/refval" class="input_search" navindex="1" style="left:115px; top:20px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <select1 id="combo4" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:655px; top:20px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input14" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePtNoInput();
- ]]>
- </script>
- </input>
- <caption id="caption14" class="search_name" style="left:20px; top:21px; width:90px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestRsltList("1");
- ]]>
- </script>
- </button>
- <input id="input15" ref="/root/init/acpttodd" class="combo_search" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:866px; top:20px; width:100px; height:19px; "/>
- <input id="input16" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
- <input id="input17" ref="/root/init/acptfromdd" class="combo_search" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:750px; top:20px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <caption id="caption16" class="search_n_b" style="left:852px; top:22px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption17" class="search_name" style="left:250px; top:20px; width:105px; height:17px; ">병리번호 :</caption>
- <button id="button2" class="icon_search" style="left:219px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = "";
- model.setValue("/root/main/popupendflag", "cancel");
- modal("SPPMC02500",0,100,150,"SPPMC02500","","");
-
- if (model.getValue("/root/main/popupendflag") == "ok") {
-
- sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
-
- if (sPid == null || sPid == "" || sPid == " ") {
- return false;
- }
-
- model.setValue("/root/init/refval" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- ipt_refval.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" visibility="visible" style="left:990px; top:20px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/init/refval", "");
- model.makeValue("/root/init/ptnocode", "-");
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/srchmthd" , "1");
- model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/fromyearptno", "");
- model.makeValue("/root/init/toyearptno", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line7" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input18" ref="/root/init/fromyearptno" class="text_center" style="left:470px; top:20px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/init/fromyearptno", input11.currentText);
- input11.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- ]]>
- </script>
- </input>
- <input id="input19" ref="/root/init/toyearptno" class="text_center" style="left:560px; top:20px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setValue("/root/init/toyearptno", input12.currentText);
- input12.refresh();
-
- //--------------------
- fGetTestRsltList("1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption18" class="search_n_b" style="left:546px; top:22px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- </case>
- <case id="case4">
- <shape id="roundrect5" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input20" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePtNoInput();
- ]]>
- </script>
- </input>
- <button id="button6" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/init/refval", "");
- model.makeValue("/root/init/ptnocode", "-");
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/fromyearptno", "");
- model.makeValue("/root/init/toyearptno", "");
- fGetTestRsltList("1");
- ]]>
- </script>
- </button>
- <input id="input21" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
- <select id="checkbox2" ref="/root/hidden/workflagcd" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="5" rows="*" style="left:310px; top:30px; width:555px; height:50px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fExeWorkFlagChng();
- ]]>
- </script>
- </select>
- <button id="button7" class="btn2_letter3" visibility="visible" style="left:990px; top:15px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/init/refval", "");
- model.makeValue("/root/init/ptnocode", "-");
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/srchmthd" , "1");
- model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003");
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/fromyearptno", "");
- model.makeValue("/root/init/toyearptno", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption19" class="search_name" style="left:310px; top:10px; width:108px; height:17px; ">작업구분 :</caption>
- <select id="checkbox3" ref="/root/hidden/allselect" class="check_search" overflow="visible" appearance="full" style="left:405px; top:10px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/allselect") == "Y") {
- model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
- } else {
- model.makeValue("/root/hidden/workflagcd", "");
- }
- cbo_slipkindcd.refresh();
- ]]>
- </script>
- </select>
- <line id="line10" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input22" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:136px; top:45px; width:100px; height:19px; "/>
- <input id="input23" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:20px; top:45px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <select1 id="combo5" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:20px; top:20px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>보고일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption20" class="search_n_b" style="left:122px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <line id="line11" class="line_4" style="x1:270px; y1:12px; x2:270px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
- </case>
- </switch>
- <button id="btn_tpm" class="btn_sw" group="tab" selected="true" style="left:180px; top:5px; width:90px; height:22px; ">
- <caption>코드검색</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_rsltref" class="btn_sw" group="tab" selected="true" style="left:90px; top:5px; width:90px; height:22px; ">
- <caption>단어검색</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <button id="btn_rsltexcel" class="btn2_letter5" style="left:1118px; top:124px; width:75px; height:19px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeMakePatInfo();
- lpzfExeSaveToExcel(grd_testrsltref, "검사결과내용");
- grd_testrsltref.deleteRow(1);
- ]]>
- </script>
- </button>
- <button id="btn_imgview" class="btn2_letter5" style="left:1040px; top:124px; width:75px; height:19px; ">
- <caption>이미지보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeImgView();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter6" visibility="visible" style="left:951px; top:124px; width:86px; height:19px; ">
- <caption>임상정보조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 임상정보 조회
- fGetIMSInfo();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn_sw" group="tab" selected="true" style="left:0px; top:5px; width:90px; height:22px; ">
- <caption>결과조회</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <output id="output4" ref="/root/main/patinfo/pattestrslt/readdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:883px; top:460px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <output id="output7" ref="/root/main/patinfo/pattestrslt/orddrnm" class="output_fix" visibility="hidden" style="left:735px; top:436px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <line id="line12" class="line_2" visibility="hidden" style="x1:515px; y1:433px; x2:963px; y2:433px; "/>
- <output id="output8" ref="/root/main/patinfo/pattestrslt/acptdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:735px; top:460px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <line id="line13" class="line_2" visibility="hidden" style="x1:515px; y1:457px; x2:963px; y2:457px; "/>
- <output id="output9" ref="/root/main/patinfo/pattestrslt/readdrnm" class="output_fix" visibility="hidden" style="left:880px; top:440px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption21" class="cell_1" visibility="hidden" style="left:663px; top:435px; width:69px; height:23px; vertical-align:middle; ">진료의사</caption>
- <caption id="caption22" class="cell_1" visibility="hidden" style="left:663px; top:459px; width:69px; height:23px; vertical-align:middle; ">접 수 일</caption>
- <caption id="caption23" class="cell_1" visibility="hidden" style="left:820px; top:435px; width:60px; height:23px; vertical-align:middle; ">판독의사</caption>
- <caption id="caption26" class="cell_1" visibility="hidden" style="left:515px; top:435px; width:60px; height:23px; vertical-align:middle; ">진 료 과</caption>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:515px; top:459px; width:60px; height:23px; vertical-align:middle; ">처 방 일</caption>
- <caption id="caption28" class="cell_1" visibility="hidden" style="left:820px; top:459px; width:60px; height:23px; vertical-align:middle; ">보 고 일</caption>
- <output id="output2" ref="/root/main/patinfo/pattestrslt/orddeptnm" class="output_fix" visibility="hidden" style="left:578px; top:436px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <output id="output3" ref="/root/main/patinfo/pattestrslt/prcpdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:578px; top:460px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <button id="button10" class="btn2_letter3" visibility="visible" style="left:341px; top:125px; width:53px; height:19px; ">
- <caption>확 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeResizeRow();
- ]]>
- </script>
- </button>
- <button id="button102" class="icon_left" style="left:395px; top:125px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeEpandGrid("2");
- ]]>
- </script>
- </button>
- <button id="button103" class="icon_right" style="left:422px; top:125px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeEpandGrid("1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_testrsltlist" nodeset="/root/main/testrslt/testrsltlist" class="datagrid2" caption="상태^기관코드^병리번호^병리번호^등록번호^환자명^진료과^처방명^처방일자^접수일자^검사코드^검사그룹코드^의뢰서
번호^의뢰지구분코드^성별/나이^판독일자^진료의사^판독의사^처방발생구분^작업구분코드^진 단^Mcode^execprcpuniqno" colsep="^" colwidth="60, 0, 0, 80, 68, 54, 46, 128, 75, 75, 100, 100, 100, 100, 100, 75, 100, 55, 100, 100, 250, 160, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:149px; width:448px; height:595px; ">
- <col ref="acptstatcd" type="output"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddeptnm"/>
- <col ref="testnm" type="output"/>
- <col ref="prcpdd" type="output" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="tgrupcd" type="output" visibility="hidden"/>
- <col ref="reqfrmno" type="output" visibility="hidden"/>
- <col ref="reqfrmflagcd" visibility="hidden"/>
- <col ref="sexage" visibility="hidden"/>
- <col ref="readdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="orddrnm" visibility="hidden"/>
- <col ref="readdrnm"/>
- <col ref="prcpgenrflag" visibility="hidden"/>
- <col ref="ptnoworkflagcd" visibility="hidden"/>
- <col ref="realdiagcnts"/>
- <col ref="diagcnts"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(sGridSize == "1") {
- fExePtNoClick();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testrsltlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_work" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:270px; top:5px; width:90px; height:22px; ">
- <caption>조회대상</caption>
- <toggle case="case4" ev:event="DOMActivate"/>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button13" class="btn6_letter5" style="left:5px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeMakePatInfo2();
- lpzfExeSaveToExcel(grd_testrsltlist, "결과조회");
- fExeDelPatInfo2();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_sytsrsltref" class="btn3_letter6" style="left:100; top:3px; width:92px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePopupCallSytsRslt();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" navindex="14" style="left:207px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeReptPrnt();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|