123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP01400_정도관리.xrw
- * 설 명 : 정도관리 화면
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.08.24
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>수정결과등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grdetinfo>
- <grdeinfolist>
- <pid/>
- <patnm/>
- <sexage/>
- <readdd/>
- <readdrnm/>
- <orddeptnm/>
- <orddrnm/>
- <prcpdd/>
- <acptdd/>
- <extrpart/>
- <extrmthd/>
- <diag/>
- <rsltcnts/>
- <readrslt/>
- <rgstno/>
- <etccnts/>
- </grdeinfolist>
- </grdetinfo>
- <cnts>
- <grdecnts/>
- </cnts>
- </main>
- <send/>
- <init>
- <ptno/>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <rgstno/>
- <resncd>
- <resncdlist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdlist>
- </resncd>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <userinfo>
- <userinfolist/>
- </userinfo>
- <readdrid/>
- <hospenv>
- <hospenvinfo/>
- </hospenv>
- <cnclresn/>
- <cnclresncd/>
- <prntinfo/>
- </init>
- <message/>
- <hidden>
- <baseflagcd>RD</baseflagcd>
- <resncnts1>A001</resncnts1>
- <resncnts2/>
- <resncnts3/>
- <resncnts4/>
- <resncnts5/>
- <resncnts6/>
- <resncnts7/>
- <resncnts8/>
- <resncnts9/>
- <resncntsA/>
- <resncntsB/>
- <resncntsC/>
- <resncntsD/>
- <resncntsE/>
- <resncntsF/>
- <resncntsG/>
- <resncntsH/>
- <resncntsI/>
- <resncntsJ/>
- <resncntsK/>
- <resncntsL/>
- <resncntsM/>
- <resncntsN/>
- <resncntsZ/>
- <resncnts/>
- <rgstdd/>
- <rgstrnm/>
- <rgstrid/>
- <rgsttm/>
- <chrgdrid/>
- <chrgdrnm/>
- <resncntsZ1/>
- <resncntsZ2/>
- <resncntsZ3/>
- <resncntsZ4/>
- <resncntsZ5/>
- <resncntsZ6/>
- <resncntsZ7/>
- <resncntsZ8/>
- <resncntsZ9/>
- <resncntsZA/>
- <resncntsZB/>
- <readtm/>
- </hidden>
- <temp>
- <testrslt>
- <testrsltinfo/>
- <patbasicinfo/>
- </testrslt>
- </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="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPB00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnts/grdecnts"/>
- <submission id="TRLPP02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grdetinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TXLPB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/message"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPZ00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/testrslt/testrsltinfo"/>
- <submission id="TRLPZ00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/testrslt/patbasicinfo"/>
- <submission id="TXLPR01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
- <submission id="TXLPR02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // function fExePidKeyPress() {
- //
- // if (event.keyCode == 13) {
- // model.makeValue("/root/init/pid", pidno.currentText);
- // pidno.refresh();
- //
- // //-------------
- // fGetGradeList();
- // }
- // }
-
- // /* @group : 검체일괄접수
- // * @ver : 2008.10.08 (CMCDEV-0001)
- // * @by : 유동철
- // * @-----------------------------------
- // * @type : function
- // * @access : public
- // * @desc : 검사목록 팝업창 처리 함수
- // */
- // function fExeTestItemChoi() {
- //
- // var iFindNo = 0;
- // var sTestCd = "";
- // var sTestNm = "";
- // var bState = false;
- // var sNode = "/root/init/testinfo/testitemlist";
- //
- //
- // //-------------------------------------------
- // iFindNo = grd_testlist.findRow("true", 1, 0);
- // if (Number(iFindNo) <= 0) {
- // model.makeValue("/root/init/testcdlist", "");
- // model.makeValue("/root/init/testnmlist", "");
- // opt_testnmlist.refresh();
- // grp_testlist.visible = false;
- // return false;
- // }
- //
- // //-----------------------------------------------------
- // for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
- //
- // //-----------------------------------------------------
- // if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
- //
- // if (bState) {
- // sTestCd += ", '" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
- // sTestNm += ", " + model.getValue(sNode+"["+iNo+"]/testengnm");
- // } else {
- // sTestCd += "'" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
- // sTestNm += model.getValue(sNode+"["+iNo+"]/testengnm");
- // bState = true;
- // }
- // }
- // }
- //
- // //------------------------------------------------
- // model.makeValue("/root/init/testcdlist", sTestCd);
- // model.makeValue("/root/init/testnmlist", sTestNm);
- // opt_testnmlist.refresh();
- // grp_testlist.visible = false;
- // }
-
- /* @group : 정도관리 화면
- * @ver : 2007.02.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
- //---------------------------
- //취소사유 조회
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", "30");
- submit("TRLPZ00103", false);
-
- model.makeNode("/root/init/cnclresn");
- model.copyNode("/root/init/cnclresn", "/root/init/resncd");
-
- model.resetInstanceNode("/root/init/resncd");
-
- //---------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", "'RD'"); // 수정진단불일치정도평가
- model.makeValue("/root/hidden/baseflagcd", "RD");
-
- //--------------------------- 사유코드에서 체크리스트 목록 조회
- submit("TRLPZ00103", false);
- submit("TRLPZ00101");
-
- //------병리 번호 구분 조회
- submit("TRLPZ00109");
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init");
-
- //--------------------------------------------------------------------------------
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/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");
-
- if ( checkOpener() ) {
- var param = opener.javascript.getParameter("parameter_SMLPP02900"); //opener parameter value를 get
- if (param != "") { // opener parameter value가 있는 경우
- condarray = param.split("▦");
- model.setValue("/root/init/ptnocode", param.substring(0, condarray[0].length -8));
- model.setValue("/root/init/fromyear", param.substr(condarray[0].length -8, 2));
- model.setValue("/root/init/fromptno", param.substr(condarray[0].length -6, 6));
- model.setValue("/root/init/ptno", condarray[0]);
- //model.setValue("/root/main/grdetinfo/grdeinfolist/rgstno", condarray[1]);
- }
- }
-
- //-----------
- if(model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno") != ""){
- fGetGrdeCnts();
- //fSetUpdtData(); // 추가 결과 번호가 있으면 저장
-
-
- }
-
- //-----------------
- fGetPtNoGrde(); // 수정진단불일치정도평가 조회
-
- model.refresh();
- }
-
- /* @group : 정도관리 화면
- * @ver : 2007.02.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리 내역 조회 함수
- */
- function fGetPtNoGrde() {
-
- var sNode = "/root/main/grdetinfo/grdeinfolist";
- var sCntsNode = "/root/main/cnts/grdecnts";
-
- if((model.getValue("/root/init/ptnocode") == "")
- || (model.getValue("/root/init/ptnocode") == "")
- || (model.getValue("/root/init/fromyear") == "")) {
- messageBox("병리번호는", "I003");
- return;
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset(sCntsNode);
-
- //------------------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/ptnocode", model.getValue("/root/init/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/toptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/ptno", model.getValue("/root/init/ptnocode") + model.getValue("/root/init/fromyear") + model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/itemflagcd", model.getValue("/root/hidden/baseflagcd"));
- model.makeValue("/root/send/itemresncd", "A001");
-
- //----------- 인적사항 및 진단 관련 내용 조회
- if(submit("TRLPP02901")) {
- //판독의사 set
- model.setValue("/root/init/readdrid", model.getValue("/root/main/grdetinfo/grdeinfolist/readdrid"));
- cmb_readdrid.refresh();
- }
-
- //-------------------------------
- // 하나 이상인 경우 자동으로 표시
- if (Number(getNodesetCount(sNode)) >= 1) {
- //----------- 평가와 불일치 이유관련 기존에 저장된 내용 조회
- fGetGrdeCnts();
-
- }else{
-
- model.removeNodeset("/root/hidden");
- model.makeValue("/root/hidden/resncnts2", "");
- model.makeValue("/root/hidden/resncnts3", "");
- model.makeValue("/root/hidden/resncnts4", "");
- model.makeValue("/root/hidden/resncnts5", "");
- model.makeValue("/root/hidden/resncnts6", "");
- model.makeValue("/root/hidden/resncnts7", "");
- model.makeValue("/root/hidden/resncnts8", "");
- model.makeValue("/root/hidden/resncnts9", "");
- model.makeValue("/root/hidden/resncntsA", "");
- model.makeValue("/root/hidden/resncntsB", "");
- model.makeValue("/root/hidden/resncntsC", "");
- model.makeValue("/root/hidden/resncntsD", "");
- model.makeValue("/root/hidden/resncntsE", "");
- model.makeValue("/root/hidden/resncntsF", "");
- model.makeValue("/root/hidden/resncntsG", "");
- model.makeValue("/root/hidden/resncntsH", "");
- model.makeValue("/root/hidden/resncntsZ", "");
- model.makeValue("/root/hidden/resncnts", "");
- model.makeValue("/root/hidden/resncntsZ1", "");
- model.makeValue("/root/hidden/resncntsZ2", "");
- model.makeValue("/root/hidden/resncntsZ3", "");
- model.makeValue("/root/hidden/resncntsZ4", "");
- model.makeValue("/root/hidden/resncntsZ5", "");
- model.makeValue("/root/hidden/resncntsZ6", "");
- model.makeValue("/root/hidden/resncntsZ7", "");
- model.makeValue("/root/hidden/resncntsZ8", "");
- model.makeValue("/root/hidden/resncntsZ9", "");
- model.makeValue("/root/hidden/resncntsZA", "");
- model.makeValue("/root/hidden/resncntsZB", "");
- model.makeValue("/root/hidden/baseflagcd", "RD");
- model.makeValue("/root/hidden/resncnts1", "A001");
-
- }
-
- //버튼 사용여부 set
- fSetStatBtn();
- }
-
- /* @group : 정도관리 화면
- * @ver : 2008.03.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리 상세내용 조회 처리 함수
- */
- function fGetGrdeCnts() {
-
- var sNode = "/root/main/grdetinfo/grdeinfolist";
- var sDescNode = "/root/main/cnts/grdecnts";
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/hidden");
- model.removeNodeset(sDescNode);
- model.makeNode(sDescNode);
-
- //----------------------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/hidden/baseflagcd", "RD");
- model.makeValue("/root/hidden/resncnts1", "A001");
- model.makeValue("/root/send/ptno", model.getValue("/root/init/ptnocode") + model.getValue("/root/init/fromyear") + model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/itemflagcd", model.getValue("/root/hidden/baseflagcd"));
- model.makeValue("/root/send/itemresncd", "A001");
- submit("TRLPB00603");
-
- //-----------------------------------
- if (getNodesetCount(sDescNode) > 0) {
- model.makeValue("/root/hidden/resncnts1", "A001");
- model.makeValue("/root/hidden/resncnts2", model.getValue(sDescNode+"[grupid='1']/resnlist"));
- model.makeValue("/root/hidden/resncnts3", model.getValue(sDescNode+"[grupid='2']/resnlist"));
- model.makeValue("/root/hidden/resncnts4", model.getValue(sDescNode+"[grupid='3']/resnlist"));
- model.makeValue("/root/hidden/resncnts5", model.getValue(sDescNode+"[grupid='4']/resnlist"));
- model.makeValue("/root/hidden/resncnts6", model.getValue(sDescNode+"[grupid='5']/resnlist"));
- model.makeValue("/root/hidden/resncnts7", model.getValue(sDescNode+"[grupid='6']/resnlist"));
- model.makeValue("/root/hidden/resncnts8", model.getValue(sDescNode+"[grupid='7']/resnlist"));
- model.makeValue("/root/hidden/resncnts9", model.getValue(sDescNode+"[grupid='8']/resnlist"));
- model.makeValue("/root/hidden/resncntsA", "");
- model.makeValue("/root/hidden/resncntsB", "");
- model.makeValue("/root/hidden/resncntsC", model.getValue(sDescNode+"[grupid='B']/resnlist"));
- model.makeValue("/root/hidden/resncntsD", model.getValue(sDescNode+"[grupid='C']/resnlist"));
- model.makeValue("/root/hidden/resncntsE", model.getValue(sDescNode+"[grupid='D']/resnlist"));
- model.makeValue("/root/hidden/resncntsF", model.getValue(sDescNode+"[grupid='E']/resnlist"));
- model.makeValue("/root/hidden/resncntsG", model.getValue(sDescNode+"[grupid='F']/resnlist"));
- model.makeValue("/root/hidden/resncntsH", model.getValue(sDescNode+"[grupid='G']/resnlist"));
- model.makeValue("/root/hidden/resncntsZ", model.getValue(sDescNode+"[grupid='Z']/resnlist"));
- model.makeValue("/root/hidden/resncnts", model.getValue(sDescNode+"[grupid='Z']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ1", model.getValue(sDescNode+"[grupid='1']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ2", model.getValue(sDescNode+"[grupid='2']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ3", model.getValue(sDescNode+"[grupid='3']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ4", model.getValue(sDescNode+"[grupid='4']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ5", model.getValue(sDescNode+"[grupid='5']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ6", model.getValue(sDescNode+"[grupid='6']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ7", model.getValue(sDescNode+"[grupid='7']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ8", model.getValue(sDescNode+"[grupid='8']/resncnts"));
- model.makeValue("/root/hidden/resncntsZ9", model.getValue(sDescNode+"[grupid='9']/resncnts"));
- model.makeValue("/root/hidden/resncntsZA", model.getValue(sDescNode+"[grupid='A']/resncnts"));
- model.makeValue("/root/hidden/resncntsZB", model.getValue(sDescNode+"[grupid='B']/resncnts"));
-
- } else {
- // fExeGrdeClear("1", iCnt);
- model.makeValue("/root/hidden/resncnts2", "");
- model.makeValue("/root/hidden/resncnts3", "");
- model.makeValue("/root/hidden/resncnts4", "");
- model.makeValue("/root/hidden/resncnts5", "");
- model.makeValue("/root/hidden/resncnts6", "");
- model.makeValue("/root/hidden/resncnts7", "");
- model.makeValue("/root/hidden/resncnts8", "");
- model.makeValue("/root/hidden/resncnts9", "");
- model.makeValue("/root/hidden/resncntsA", "");
- model.makeValue("/root/hidden/resncntsB", "");
- model.makeValue("/root/hidden/resncntsC", "");
- model.makeValue("/root/hidden/resncntsD", "");
- model.makeValue("/root/hidden/resncntsE", "");
- model.makeValue("/root/hidden/resncntsF", "");
- model.makeValue("/root/hidden/resncntsG", "");
- model.makeValue("/root/hidden/resncntsH", "");
- model.makeValue("/root/hidden/resncntsZ", "");
- model.makeValue("/root/hidden/resncnts", "");
- model.makeValue("/root/hidden/resncntsZ1", "");
- model.makeValue("/root/hidden/resncntsZ2", "");
- model.makeValue("/root/hidden/resncntsZ3", "");
- model.makeValue("/root/hidden/resncntsZ4", "");
- model.makeValue("/root/hidden/resncntsZ5", "");
- model.makeValue("/root/hidden/resncntsZ6", "");
- model.makeValue("/root/hidden/resncntsZ7", "");
- model.makeValue("/root/hidden/resncntsZ8", "");
- model.makeValue("/root/hidden/resncntsZ9", "");
- model.makeValue("/root/hidden/resncntsZA", "");
- model.makeValue("/root/hidden/resncntsZB", "");
- model.makeValue("/root/hidden/baseflagcd", "RD");
- model.makeValue("/root/hidden/resncnts1", "A001");
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 정도관리 화면
- * @ver : 2008.03.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리항목 초기화 함수
- */
- function fExeGrdeClear(pFlagCd, pCnt) {
-
- if (Number(pCnt) <= 0) {
- model.makeValue("/root/hidden/rgstdd", "");
- model.makeValue("/root/hidden/rgsttm", "");
- model.makeValue("/root/hidden/rgstrnm", "");
- model.makeValue("/root/hidden/rgstrid", "");
- model.makeValue("/root/hidden/chrgdrnm", "");
- model.makeValue("/root/hidden/chrgdrid", "");
- }
- model.makeValue("/root/hidden/resncnts2", "");
- model.makeValue("/root/hidden/resncnts3", "");
- model.makeValue("/root/hidden/resncnts4", "");
- model.makeValue("/root/hidden/resncnts5", "");
- model.makeValue("/root/hidden/resncnts6", "");
- model.makeValue("/root/hidden/resncnts7", "");
- model.makeValue("/root/hidden/resncnts8", "");
- model.makeValue("/root/hidden/resncnts9", "");
- model.makeValue("/root/hidden/resncntsA", "");
- model.makeValue("/root/hidden/resncntsB", "");
- model.makeValue("/root/hidden/resncntsC", "");
- model.makeValue("/root/hidden/resncntsD", "");
- model.makeValue("/root/hidden/resncntsE", "");
- model.makeValue("/root/hidden/resncntsF", "");
- model.makeValue("/root/hidden/resncntsG", "");
- model.makeValue("/root/hidden/resncntsH", "");
- model.makeValue("/root/hidden/resncntsI", "");
- model.makeValue("/root/hidden/resncntsJ", "");
- model.makeValue("/root/hidden/resncntsK", "");
- model.makeValue("/root/hidden/resncntsL", "");
- model.makeValue("/root/hidden/resncntsM", "");
- model.makeValue("/root/hidden/resncntsN", "");
- model.makeValue("/root/hidden/resncntsZ", "");
- model.makeValue("/root/hidden/resncnts", "");
- model.makeValue("/root/hidden/resncntsZ1", "");
- model.makeValue("/root/hidden/resncntsZ2", "");
- model.makeValue("/root/hidden/resncntsZ3", "");
- model.makeValue("/root/hidden/resncntsZ4", "");
- model.makeValue("/root/hidden/resncntsZ5", "");
- model.makeValue("/root/hidden/resncntsZ6", "");
- model.makeValue("/root/hidden/resncntsZ7", "");
- model.makeValue("/root/hidden/resncntsZ8", model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno"));
- model.makeValue("/root/hidden/resncntsZ9", "");
- model.makeValue("/root/hidden/resncntsZA", "");
- model.makeValue("/root/hidden/resncntsZB", "");
- model.makeValue("/root/init/readtm/readtminfo/readtm", "");
-
- //----------------------------------------------------------------
- if (pFlagCd == "0") model.makeValue("/root/hidden/resncnts1", "");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 정도관리 화면
- * @ver : 2007.04.25 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리 이력 수정(신규) 함수
- */
- function fSetUpdtData(pFlag) {
- var sTemp = "";
- var sNode = "/root/main/grdetinfo/grdeinfolist";
- var sSaveNode = "/root/main/grdesave/grdesavelist";
-
- var sCurrentDd = getCurrentDate();
- var sCurrentTm = getCurrentTime();
-
- var bState = false;
- var iFindNo = 0;
- var iMaxNo = 0;
- var iSaveNo = 1;
-
- //sTemp = model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno");
- //---------------------------------------
- // 정도관리 선택항목이 없을 경우 처리불가
- //if (sTemp == "") {
- // messageBox("등록된 추가결과가 없습니다.", "E000");
- // return false;
- //}
-
-
- if(model.getValue("/root/init/readdrid") == "") {
- messageBox("판독의사를", "C002");
- return false;
- }
-
- if(model.getValue("/root/main/grdetinfo/grdeinfolist/readrslt") == "") {
- messageBox("Revised Diagnosis는", "I003");
- return false;
- }
-
- if(pFlag == "LAST") {
-
- //-----------------------------------------------------------------------------------------------
- //if (model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd") != getUserInfo("jobkindcd")) {
- if ( !lpzfGetDoctorCheck("/root/init/hospenv/hospenvinfo/doctjobgradcd", getUserInfo("jobkindcd")) ) {
- messageBox("의사직급만 최종진단이", "I006");
- return false;
- }
-
- if (model.getValue("/root/init/readdrid") != getUserInfo("userid")) {
- messageBox("선택된 판독의사와 로그인한 사용자가 다릅니다! ", "I007");
- return false;
- }
-
- if (model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno") == "") {
- messageBox("저장된 추가결과만 최종진단", "I006");
- return false;
- }
- }
-
- if (pFlag == "LAST") {
- if (Sign.signprocess()) {
-
- } else {
- messageBox("최종진단이 취소 또는 실패되었습니다! ", "I007");
- return false;
- }
- }
-
- //-----------------------------
- model.removeNodeset(sSaveNode);
- model.makeNode("/root/main/grdesave");
- model.makeNode(sSaveNode);
-
- model.makeValue(sSaveNode+"/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue(sSaveNode+"/ptno", model.getValue("/root/main/grdetinfo/grdeinfolist/ptno"));
- model.makeValue(sSaveNode+"/rgstdd", sCurrentDd);
- model.makeValue(sSaveNode+"/rgsttm", sCurrentTm);
- model.makeValue(sSaveNode+"/rgstrid", getUserInfo("userid"));
- model.makeValue(sSaveNode+"/chrgdrid", getUserInfo("userid"));
- model.makeValue(sSaveNode+"/baseflagcd", model.getValue("/root/hidden/baseflagcd"));
- model.makeValue(sSaveNode+"/resncnts1", model.getValue("/root/hidden/resncnts1"));
- model.makeValue(sSaveNode+"/resncnts2", model.getValue("/root/hidden/resncnts2"));
- model.makeValue(sSaveNode+"/resncnts3", model.getValue("/root/hidden/resncnts3"));
- model.makeValue(sSaveNode+"/resncnts4", model.getValue("/root/hidden/resncnts4"));
- model.makeValue(sSaveNode+"/resncnts5", model.getValue("/root/hidden/resncnts5"));
- model.makeValue(sSaveNode+"/resncnts6", model.getValue("/root/hidden/resncnts6"));
- model.makeValue(sSaveNode+"/resncnts7", model.getValue("/root/hidden/resncnts7"));
- model.makeValue(sSaveNode+"/resncnts8", model.getValue("/root/hidden/resncnts8"));
- model.makeValue(sSaveNode+"/resncnts9", "");
- model.makeValue(sSaveNode+"/resncntsA", model.getValue("/root/hidden/resncntsA"));
- model.makeValue(sSaveNode+"/resncntsB", model.getValue("/root/hidden/resncntsB"));
- model.makeValue(sSaveNode+"/resncntsC", model.getValue("/root/hidden/resncntsC"));
- model.makeValue(sSaveNode+"/resncntsD", model.getValue("/root/hidden/resncntsD"));
- model.makeValue(sSaveNode+"/resncntsE", model.getValue("/root/hidden/resncntsE"));
- model.makeValue(sSaveNode+"/resncntsF", model.getValue("/root/hidden/resncntsF"));
- model.makeValue(sSaveNode+"/resncntsG", model.getValue("/root/hidden/resncntsG"));
- model.makeValue(sSaveNode+"/resncntsH", model.getValue("/root/hidden/resncntsH"));
- model.makeValue(sSaveNode+"/resncntsI", model.getValue("/root/hidden/resncntsI"));
- model.makeValue(sSaveNode+"/resncntsJ", model.getValue("/root/hidden/resncntsJ"));
- model.makeValue(sSaveNode+"/resncntsK", model.getValue("/root/hidden/resncntsK"));
- model.makeValue(sSaveNode+"/resncntsL", model.getValue("/root/hidden/resncntsL"));
- model.makeValue(sSaveNode+"/resncntsM", model.getValue("/root/hidden/resncntsM"));
- model.makeValue(sSaveNode+"/resncntsN", model.getValue("/root/hidden/resncntsN"));
- model.makeValue(sSaveNode+"/resncntsZ", "9999");
- model.makeValue(sSaveNode+"/resncnts", model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno"));
- model.makeValue(sSaveNode+"/resncntsZ1", model.getValue("/root/hidden/resncntsZ1"));
- model.makeValue(sSaveNode+"/resncntsZ2", model.getValue("/root/hidden/resncntsZ2"));
- model.makeValue(sSaveNode+"/resncntsZ3", model.getValue("/root/hidden/resncntsZ3"));
- model.makeValue(sSaveNode+"/resncntsZ4", model.getValue("/root/hidden/resncntsZ4"));
- model.makeValue(sSaveNode+"/resncntsZ5", model.getValue("/root/hidden/resncntsZ5"));
- model.makeValue(sSaveNode+"/resncntsZ6", model.getValue("/root/hidden/resncntsZ6"));
- model.makeValue(sSaveNode+"/resncntsZ7", model.getValue("/root/hidden/resncntsZ7"));
- model.makeValue(sSaveNode+"/resncntsZ8", model.getValue("/root/hidden/resncntsZ8"));
- model.makeValue(sSaveNode+"/resncntsZ9", "");
- model.makeValue(sSaveNode+"/resncntsZA", model.getValue("/root/hidden/resncntsZA"));
- model.makeValue(sSaveNode+"/resncntsZB", model.getValue("/root/hidden/resncntsZB"));
- model.makeValue(sSaveNode+"/resncntsZC", "");
- grd_grdelist.addStatus(iSaveNo, "insert");
-
- grd_grdelist.refresh();
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/grdelist", grd_grdelist.getUpdateDataAll("i"));
-
- model.makeValue("/root/send/instcd", model.getValue("/root/main/grdetinfo/grdeinfolist/instcd"));
- model.makeValue("/root/send/ptno", model.getValue("/root/main/grdetinfo/grdeinfolist/ptno"));
- model.makeValue("/root/send/readrslt", model.getValue("/root/main/grdetinfo/grdeinfolist/readrslt"));
- model.makeValue("/root/send/etccnts", model.getValue("/root/main/grdetinfo/grdeinfolist/etccnts"));
- model.makeValue("/root/send/rgstno", model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno"));
- model.makeValue("/root/send/readdrid", model.getValue("/root/init/readdrid"));
- model.makeValue("/root/send/pid", model.getValue("/root/main/grdetinfo/grdeinfolist/pid"));
- model.makeValue("/root/send/addrsltdg", model.getValue("/root/main/grdetinfo/grdeinfolist/addrsltdg"));
- model.makeValue("/root/send/rgstdd", model.getValue("/root/main/grdetinfo/grdeinfolist/rgstdd"));
- model.makeValue("/root/send/rgsttm", model.getValue("/root/main/grdetinfo/grdeinfolist/rgsttm"));
- model.makeValue("/root/send/scrnid", "SMLPP02900");
-
- if(model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno") == "") {
- model.makeValue("/root/send/newflagcd", "6"); // 6:신규차수생성
- model.makeValue("/root/send/bizflagcd", pFlag); // D:삭제, LAST:최종진단
- } else {
- model.makeValue("/root/send/newflagcd", "-");
- model.makeValue("/root/send/bizflagcd", pFlag);
- }
-
- //setAlertOn();
-
- if (submit("TXLPB00601")) {
-
- if (pFlag == "LAST") {
-
-
- //-------------
- fExeGridChoi();
- if(fExeMakeCertPrcs()) {
- messageBox("최종진단 confirm이 정상적으로 ", "I001");
- }
-
- } else {
- messageBox("저장이 정상적으로 ", "I001");
- }
- fGetPtNoGrde();
-
- }
- }
-
- function fExeGridChoi() {
-
- var sSrcNode = "/root/init/testrslt/testcdlist";
-
- //-------------------------------------------------
- model.makeNode("/root/temp/testrslt/patbasicinfo");
-
- //----------------
- model.makeValue("/root/send/instcd", model.getValue("/root/main/grdetinfo/grdeinfolist/instcd"));
- model.makeValue("/root/send/ptno", model.getValue("/root/main/grdetinfo/grdeinfolist/ptno"));
- model.makeValue("/root/send/pid", model.getValue("/root/main/grdetinfo/grdeinfolist/pid"));
- model.makeValue("/root/send/workflagcd", model.getValue("/root/main/grdetinfo/grdeinfolist/workflagcd"));
- model.makeValue("/root/send/prcpgenrflag", model.getValue("/root/main/grdetinfo/grdeinfolist/prcpgenrflag"));
- model.makeValue("/root/send/scrno", "10");
- //--------------
- // 검사결과 조회
- submit("TRLPZ00113", false);
- submit("TRLPZ00112");
-
- //-------------------
- // 보고서 타이블 설정
- switch (model.getValue(sSrcNode+"/workflagcd")) {
-
- case "1001" :
- case "1002" :
- model.makeValue("/root/temp/testrslt/patbasicinfo/title", "조직 검사보고서");
- break;
-
- case "1003" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "세포 검사보고서");
- break;
-
- case "1004" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "특수염색 검사보고서");
- break;
-
- case "1005" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "면역염색 검사보고서");
- break;
-
- case "1006" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "면역형광 검사보고서");
- break;
-
- case "1007" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "분자병리 검사보고서");
- break;
-
- case "1008" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "전자현미경 검사보고서");
- break;
-
- case "1009" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "부검 검사보고서");
- break;
-
- case "1012" : model.makeValue("/root/temp/testrslt/patbasicinfo/title", "골수조직 검사보고서");
- break;
- }
- }
-
- /* **********************************
- * ENRSignEngine.js에서 함수를 호출함
- * **********************************
- */
- function fMake_SignData(){
- Sign.addnode("/root/temp/testrslt");
- }
- function fExeMakeCertPrcs() {
-
- var pRowNo = 1;
- var pNode = "/root/init/testrslt/testcdlist";
-
- //-----------------------
- if (Sign.signprocess()) {
-
- model.makeNode("/root/send/signdata");
- model.makeValue("/root/send/signdata/instcd", model.getValue("/root/main/grdetinfo/grdeinfolist/instcd")); // 기관코드
- model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/grdetinfo/grdeinfolist/pid")); // 등록번호
- model.makeValue("/root/send/signdata/ptno", model.getValue("/root/main/grdetinfo/grdeinfolist/ptno")); // 병리번호
- model.makeValue("/root/send/signdata/orddd", model.getValue("/root/temp/testrslt/patbasicinfo/orddd")); // 입원, 응급 : 입원일자, 외래 : 진료일자
- model.makeValue("/root/send/signdata/signno", model.getValue("/root/temp/testrslt/patbasicinfo/signno")); // 서명번호
- //model.makeValue("/root/send/signdata/histno", model.getValue("/root/main/grdetinfo/grdeinfolist/histno")); // 서명이력번호
- model.makeValue("/root/send/signdata/cretno", model.getValue("/root/temp/testrslt/patbasicinfo/cretno")); // 생성번호
- model.makeValue("/root/send/signdata/recdd", getCurrentDate()); // 실제기록이 이루어진 기록일자
- model.makeValue("/root/send/signdata/rectm", getCurrentTime()); // 실제기록이 이루어진 기록시간
- model.makeValue("/root/send/signdata/recsaveflag", "N"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- model.makeValue("/root/send/signdata/signflag", "30"); // 서명자료구분(01 : 진료, 02 : 간호, 30:LIS)
- model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/main/grdetinfo/grdeinfolist/prcpgenrflag")); // 입원, 외래구분
- model.makeValue("/root/send/signdata/formcd", "0000002726"); // 각 기록지별 서식코드 0000002916 : BM
- model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/main/grdetinfo/grdeinfolist/orddeptcd")); // 진료과
- model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/main/grdetinfo/grdeinfolist/orddrid")); // 진료의ID
- model.makeValue("/root/send/signdata/signbfcnts", Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보), 미기록 노드 제거전 원본 노드 정보 : Sign.signedInfos[3]
- model.makeValue("/root/send/signdata/signaftcnts", Sign.signedInfos[2]); // 공인인증 처리후 데이터
- } else {
- return false;
- }
-
- //-------------------------
- if (submit("TXLPR01102")) {
- return true;
- } else {
- return false;
- }
- }
-
- /* @group : 추가결과등록
- * @ver : 2008.02.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과입력 이력 조회 처리 Function
- */
- function fExeRgstHistPopupCall() {
-
- //---------------------------------------------------------------
- setParameter("SMLPR00100_instcd", getUserInfo("dutplceinstcd"));
- setParameter("SMLPR00100_ptno", model.getValue("/root/main/grdetinfo/grdeinfolist/ptno"));
- setParameter("SMLPR00100_scrnid", "SMLPP02900");
- modal("SPLPR02000");
- }
-
- /* @group : 추가결과등록
- * @ver : 2008.11.18 (CMCDEV-0001)
- * @by : 하만석(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 추가결과 최종진단 삭제 처리 Function
- */
- function fExeCmfCancle() {
- var sNode = "/root/main/addendum/addendumlist";
-
- var yesno = "";
- var sFinalChk = "0";
- //var sCnt = model.getValue(sNode + "[" + gGrdRoNo + "]/addrsltdg");
-
- //----------------------
- // 취소사유 선택여부 검사
- if (!isRequiredControls("cbo_cnclresn")) return false;
-
- //-------------------------------------------------------------------------------------------------
- //if (model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd") != getUserInfo("jobkindcd")) {
- if ( !lpzfGetDoctorCheck("/root/init/hospenv/hospenvinfo/doctjobgradcd", getUserInfo("jobkindcd")) ) {
- messageBox("의사직급만 최종진단이 ", "I006");
- return false;
- }
-
- /*
- //-----------------------------------------------------------------------------------------------
- if (cmb_readdrid.label == "") {
- messageBox("판독의사를 ", "C002");
- return false;
- }
-
- if (model.getValue("/root/temp/readdrid") != getUserInfo("userid")) {
- messageBox("선택된 판독의사와 로그인한 사용자가 다릅니다! ", "I007");
- return false;
- }
-
- if ( (model.getValue("/root/main/addendum/addendumlist[" + gGrdRoNo + "]/cnfmid")).length < 2) {
- messageBox("추가처방 최종진단 항목이 아닙니다! ", "I007");
- return false;
- }
- */
-
- yesno = messageBox("수정진단을 최종진단", "Q007");
-
- if (yesno == "6") {
-
- model.removenode("/root/temp");
-
- model.makeValue("/root/temp/instcd" , model.getValue("/root/main/grdetinfo/grdeinfolist/instcd"));
- model.makeValue("/root/temp/ptno" , model.getValue("/root/main/grdetinfo/grdeinfolist/ptno"));
- model.makeValue("/root/temp/addrsltdg" , "1");
- model.makeValue("/root/temp/rgstno" , model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno"));
- model.makeValue("/root/temp/pid" , model.getValue("/root/main/grdetinfo/grdeinfolist/pid"));
- model.makeValue("/root/temp/dghistno" , "1");
- model.makeValue("/root/temp/rsltkindflag" , "2");
-
- //취소사유입력
- model.makeValue("/root/temp/cnclflagcd", "30");
- model.makeValue("/root/temp/cnclresncd", model.getValue("/root/init/cnclresncd"));
- model.makeValue("/root/temp/resncnts", cbo_cnclresn.label);
-
- model.copyNode("/root/send", "/root/temp");
-
- if (submit("TXLPR02401")) {
- messageBox("저장이 정상적으로 ", "I001");
- }
- }
-
- fGetPtNoGrde();
- model.refresh();
- }
-
- /* @group : 추가결과등록
- * @ver : 2008.02.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과입력 이력 조회 처리 Function
- */
- function fSetStatBtn() {
-
- if(model.getValue("/root/main/grdetinfo/grdeinfolist/cnfmid") == ""
- || model.getValue("/root/main/grdetinfo/grdeinfolist/cnfmid") == "-") {
- btn_save.disabled = false;
- btn_cnfmcncl.disabled = true;
-
- //저장이 되지 않았을 때는 최종진단 불가.
- if(model.getValue("/root/main/grdetinfo/grdeinfolist/rgstno") == "") {
- btn_cnfm.disabled = true;
- } else {
- btn_cnfm.disabled = false;
- }
-
- } else {
- btn_save.disabled = true;
- btn_cnfmcncl.disabled = false;
- btn_cnfm.disabled = true;
- }
-
- btn_save.refresh();
- btn_cnfmcncl.refresh();
- btn_cnfm.refresh();
- }
-
- /* @group : 추가결과등록
- * @ver : 2008.09.26
- * @by : 박중규
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 진단내용 팝업창 호출 처리 Function
- */
- function fExeDiagPopup() {
-
- var sNode = "/root/main/grdetinfo/grdeinfolist/etccnts";
- var sDiagNm = model.getValue(sNode);
- var sDiagInfo = "";
-
- //--------------------------------------------
- // 영문,숫자, 한글일때는 3글자 넣어야 검색가능
- if ( sDiagNm.length < 2 ) {
- messageBox ( "2글자 이상", "C001" );
- return;
- }
- //-----------------------------------------
- setParameter("SPMMO00800_cond1", "2" ); // 첫단어검색을 먼저하는 것으로 수정한다.(1:코드검색)
- setParameter("SPMMO00800_cond2", "3"); // 명칭검색구분(1:코드, 2:단어, 3:문장, 4:첫단어)
- setParameter("SPMMO00800_cond3", "E" ); // 한영구분(H: 한글, E:영문)
- setParameter("SPMMO00800_cond4", getCurrentDate()); // 기준일자: 외래일때는 진료일자, 입원일때는 처방일자
- setParameter("SPMMO00800_cond5", sDiagNm ); // 검색내용
- setParameter("SPMMO00800_rtn", "" ); // 반환값
- setParameter("SPMMO00800_rtn_useyn", sDiagNm ); // 검색내용
-
- modal ( "SPMMO00800", null, null, null, "diagsrch", "", "", "", false );
- if ( getParameter( "SPMMO00800_rtn_useyn" ) == "Y" ) {
-
- //-----------------------------------------
- sDiagInfo = getParameter("SPMMO00800_rtn");
- var icd10cd = fExeGetArrayData( sDiagInfo, 1, 8, "▩", "▦" );
- var diagcd = fExeGetArrayData( sDiagInfo, 1, 9, "▩", "▦" );
- var diagengnm = fExeGetArrayData( sDiagInfo, 1, 2, "▩", "▦" );
- var diaghngnm = fExeGetArrayData( sDiagInfo, 1, 3, "▩", "▦" );
- var spclinfo = fExeGetArrayData( sDiagInfo, 1, 5, "▩", "▦" );
-
- //-------------------------------------------
- model.makeValue(sNode, diagengnm);
- //model.makeValue(sNode+"/diagcd", diagcd);
-
- //-----------------------------------------
- setParameter( "SPMMO00800_rtn_useyn", "" );
- }
-
- //--------------
- model.refresh();
- }
- function fExeGetArrayData (pData, pRow, pCol, pRowSep, pColSep ) {
- var arrRow = pData.split(pRowSep);
-
- if(arrRow.length <= pRow) return "";
- var arrCol = arrRow[pRow].split(pColSep);
- if(arrCol.length <= pCol) return "";
- return arrCol[pCol];
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" navindex="47" style="left:951px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUpdtData("RSLT");
- ]]>
- </script>
- </button>
- <select1 id="cmb_readdrid" ref="/root/init/readdrid" navindex="5" appearance="minimal" style="left:842px; top:5px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" style="left:784px; top:8px; width:65px; height:13px; font-weight:bold; ">판독의사</caption>
- <button id="btn_cnfm" class="btn4_letter4" navindex="47" style="left:1115px; top:3px; width:80px; height:22px; ">
- <caption>최종진단</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUpdtData("LAST");
- ]]>
- </script>
- </button>
- <button id="btn_rgsthist" style="left:60px; top:6px; width:20px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeRgstHistPopupCall();
- ]]>
- </script>
- </button>
- <button id="btn_cnfmcncl" class="btn4_letter6" navindex="47" style="left:1009px; top:3px; width:104px; height:22px; ">
- <caption>최종진단취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_resncancle.visible = true;
- grp_resncancle.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue() != "") {
- 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", "0"); // 의뢰지/보고서(0), 복사본(1)
- lpzfExeFrmPrnt("/root/main/grdetinfo/grdeinfolist");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">수정결과등록</caption>
- </group>
- <group id="grp_biz" style="left:0px; top:40px; width:1195px; height:710px; ">
- <caption id="caption4" class="tit_2" style="left:5px; top:130px; width:108px; height:13px; ">Diagnosis</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:145px; x2:1194px; y2:145px; "/>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1103px; y1:7px; x2:1103px; y2:33px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:9px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPtNoGrde();
- ]]>
- </script>
- </button>
- <caption id="cap_ptno" class="search_name" style="left:10px; top:9px; width:160px; height:17px; ">병리번호 :</caption>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:100; top:8px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:233px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:203px; top:8px; width:27px; height:19px; "/>
- <input id="input1" ref="/root/main/grdetinfo/grdeinfolist/rgstno" class="text_center" navindex="3" visibility="hidden" maxlength="6" style="left:525px; top:10px; width:195px; height:19px; "/>
- <caption id="caption8" class="search_name" visibility="hidden" style="left:410px; top:10px; width:112px; height:17px; ">추가결과번호 :</caption>
- </group>
- <group id="grp_patinfo" style="left:0px; top:57px; width:1195px; height:71px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:140px; height:13px; ">인적사항</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:1195px; y2:15px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:43px; x2:448px; y2:43px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:67px; x2:448px; y2:67px; "/>
- <output id="opt_pid" ref="/root/main/grdetinfo/grdeinfolist/pid" class="output_fix" style="left:63px; top:21px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <output id="output2" ref="/root/main/grdetinfo/grdeinfolist/orddeptnm" class="output_fix" style="left:63px; top:46px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <output id="output3" ref="/root/main/grdetinfo/grdeinfolist/prcpdd" class="output_fix" format="yyyy-mm-dd" style="left:368px; top:46px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <output id="output4" ref="/root/main/grdetinfo/grdeinfolist/readdd" class="output_fix" format="yyyy-mm-dd" style="left:512px; top:21px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <output id="output5" ref="/root/main/grdetinfo/grdeinfolist/patnm" class="output_fix" style="left:220px; top:21px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <output id="output6" ref="/root/main/grdetinfo/grdeinfolist/sexage" class="output_fix" style="left:368px; top:21px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <output id="output7" ref="/root/main/grdetinfo/grdeinfolist/orddrnm" class="output_fix" style="left:220px; top:46; width:82px; height:19px; border-color:#c0c0c0; "/>
- <output id="output8" ref="/root/main/grdetinfo/grdeinfolist/acptdd" class="output_fix" format="yyyy-mm-dd" style="left:512px; top:46px; width:78px; height:19px; border-color:#c0c0c0; "/>
- <output id="output9" ref="/root/main/grdetinfo/grdeinfolist/readdrnm" class="output_fix" style="left:676px; top:21px; width:200px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption20" class="cell_1" style="left:305px; top:20px; width:60px; height:23px; vertical-align:middle; ">성별나이</caption>
- <caption id="caption21" class="cell_1" style="left:148px; top:45; width:69px; height:23px; vertical-align:middle; ">진료의사</caption>
- <caption id="caption22" class="cell_1" style="left:449px; top:45px; width:60px; height:23px; vertical-align:middle; ">접 수 일</caption>
- <caption id="caption23" class="cell_1" style="left:593px; top:20px; width:80px; height:23px; vertical-align:middle; ">판독의사</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:20px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:45px; width:60px; height:23px; vertical-align:middle; ">진 료 과</caption>
- <caption id="caption17" class="cell_1" style="left:305px; top:45px; width:60px; height:23px; vertical-align:middle; ">처 방 일</caption>
- <caption id="caption18" class="cell_1" style="left:449px; top:20px; width:60px; height:23px; vertical-align:middle; ">보 고 일</caption>
- <caption id="caption19" class="cell_1" style="left:148px; top:20px; width:69px; height:23px; vertical-align:middle; ">환 자 명</caption>
- <line id="line14" class="line_3" style="x1:0px; y1:66px; x2:1195px; y2:66px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:43px; x2:1195px; y2:43px; "/>
- <output id="output1" ref="/root/main/grdetinfo/grdeinfolist/diag" class="output_fix" style="left:982px; top:46px; width:200px; height:19px; border-color:#c0c0c0; "/>
- <output id="output10" ref="/root/main/grdetinfo/grdeinfolist/extrpart" class="output_fix" style="left:676px; top:46; width:200px; height:19px; border-color:#c0c0c0; "/>
- <output id="output11" ref="/root/main/grdetinfo/grdeinfolist/extrmthd" class="output_fix" style="left:982px; top:21px; width:200px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption3" class="cell_1" style="left:593px; top:45; width:80px; height:23px; vertical-align:middle; ">채취부위(T)</caption>
- <caption id="caption5" class="cell_1" style="left:879px; top:20px; width:100px; height:23px; vertical-align:middle; ">채취방법(P)</caption>
- <caption id="caption7" class="cell_1" style="left:879px; top:45px; width:100px; height:23px; vertical-align:middle; ">진 단(M)</caption>
- </group>
- <textarea id="tar_addendum" ref="/root/main/grdetinfo/grdeinfolist/rsltcnts" navindex="7" editable="false" style="left:0px; top:150px; width:1194px; height:115px; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // fExeCntsView("진단(M)", document.controls(event.currentTarget));
- ]]>
- </script>
- </textarea>
- <textarea id="textarea1" ref="/root/main/grdetinfo/grdeinfolist/readrslt" navindex="7" style="left:0px; top:295px; width:1194px; height:115px; ">
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // fExeCntsView("진단(M)", document.controls(event.currentTarget));
- ]]>
- </script>
- </textarea>
- <caption id="caption2" class="tit_2" style="left:5px; top:275px; width:139px; height:13px; ">Revised Diagnosis</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:290px; x2:1194px; y2:290px; "/>
- <caption id="caption50" class="cell_1" style="left:0px; top:438px; width:210px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">1) 경미한 불일치 (진료 영향 없음)</caption>
- <caption id="caption51" class="cell_1" style="left:0px; top:491px; width:210px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">2) 중증도 불일치 (경미한 영항)</caption>
- <select id="checkbox1" ref="/root/hidden/resncnts4" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="▨" style="left:213px; top:438px; width:197px; height:18px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[substring(resncd,1,1) = '3']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/hidden/resncnts5" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="▨" style="left:213px; top:494px; width:197px; height:18px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[substring(resncd,1,1) = '4']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption53" class="cell_1" style="left:0px; top:544px; width:210px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">3) 심한 불일치 (심각한 영향)</caption>
- <select id="checkbox3" ref="/root/hidden/resncnts8" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="▨" style="left:213px; top:547px; width:197px; height:18px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[substring(resncd,1,1) = '7']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption49" class="tit_2" style="left:5px; top:419px; width:302px; height:13px; ">불일치 정도</caption>
- <textarea id="textarea3" ref="/root/hidden/resncntsZ7" style="left:415px; top:544px; width:779px; height:50px; "/>
- <textarea id="textarea4" ref="/root/hidden/resncntsZ4" style="left:415px; top:491px; width:779px; height:50px; "/>
- <textarea id="textarea5" ref="/root/hidden/resncntsZ3" style="left:415px; top:438px; width:779px; height:50px; "/>
- <line id="line72" class="line_1" style="x1:0px; y1:434px; x2:1194px; y2:434px; "/>
- <line id="line74" class="line_3" style="x1:0px; y1:489px; x2:1194px; y2:489px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:542px; x2:1194px; y2:542px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:594px; x2:1194px; y2:594px; "/>
- <caption id="caption58" class="tit_2" style="left:5px; top:600px; width:302px; height:14px; ">불일치 진단분류</caption>
- <select id="checkbox8" ref="/root/hidden/resncnts7" overflow="visible" appearance="full" cellspacing="100" cols="6" rows="4" sep="▨" vcellspacing="6" style="left:5px; top:620px; width:1185px; height:70px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[substring(resncd,1,1) = '6']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select>
- <line id="line82" class="line_1" style="x1:0px; y1:615px; x2:1194px; y2:615px; "/>
- <textarea id="textarea7" ref="/root/hidden/resncntsZ6" style="left:50px; top:648px; width:815px; height:50px; "/>
- <group id="grp_resncancle" visibility="hidden" style="left:405px; top:175px; width:420px; height:75px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:5px; width:411px; height:65px; background-color:#fffbf2; border-color:#ffd799; border-width:3px; "/>
- <caption id="caption10" class="cell_2" style="left:15px; top:15px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">취소사유</caption>
- <line id="line8" class="line_3" style="x1:16px; y1:15px; x2:400px; y2:15px; "/>
- <line id="line9" class="line_3" style="x1:16px; y1:60px; x2:400px; y2:60px; "/>
- <button id="btn_cncresn" class="btn2_letter4" navindex="16" style="left:334px; top:19px; width:64px; height:19px; ">
- <caption>확인취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCmfCancle();
- grp_resncancle.visible = false;
- grp_resncancle.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cbo_cnclresn" ref="/root/init/cnclresncd" class="combo_default" navindex="11" appearance="minimal" style="left:15px; top:40px; width:383px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cnclresn/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <input id="input2" ref="/root/main/grdetinfo/grdeinfolist/etccnts" style="left:201px; top:270px; width:325px; height:19px; text-align:left; "/>
- <caption id="caption11" class="cell_1" style="left:150px; top:270px; width:50px; height:19px; vertical-align:middle; ">Mcode</caption>
- <button id="btn_diag1002" style="left:528px; top:272px; width:20px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeDiagPopup();
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_grdelist" nodeset="/root/main/grdesave/grdesavelist" visibility="hidden" caption="instcd^ptno^baseflagcd^rgstdd^rgsttm^rgstrid^chrgdrid^resncnts1^resncnts2^resncnts3^resncnts4^resncnts5^resncnts6^resncnts7^resncnts8^resncnts9^resncntsA^resncntsB^resncntsC^resncntsD^resncntsE^resncntsF^resncntsG^resncntsH^resncntsI^resncntsJ^resncntsK^resncntsL^resncntsM^resncntsN^resncntsZ^resncnts^resncntsZ1^resncntsZ2^resncntsZ3^resncntsZ4^resncntsZ5^resncntsZ6^resncntsZ7^resncntsZ8^resncntsZ9^resncntsZA^resncntsZB^resncntsZC" colsep="^" colwidth="60, 60, 65, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 65, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:915px; top:225px; width:120px; height:150px; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="baseflagcd"/>
- <col ref="rgstdd"/>
- <col ref="rgsttm"/>
- <col ref="rgstrid"/>
- <col ref="chrgdrid"/>
- <col ref="resncnts1"/>
- <col ref="resncnts2"/>
- <col ref="resncnts3"/>
- <col ref="resncnts4"/>
- <col ref="resncnts5"/>
- <col ref="resncnts6"/>
- <col ref="resncnts7"/>
- <col ref="resncnts8"/>
- <col ref="resncnts9"/>
- <col ref="resncntsA"/>
- <col ref="resncntsB"/>
- <col ref="resncntsC"/>
- <col ref="resncntsD"/>
- <col ref="resncntsE"/>
- <col ref="resncntsF"/>
- <col ref="resncntsG"/>
- <col ref="resncntsH"/>
- <col ref="resncntsI"/>
- <col ref="resncntsJ"/>
- <col ref="resncntsK"/>
- <col ref="resncntsL"/>
- <col ref="resncntsM"/>
- <col ref="resncntsN"/>
- <col ref="resncntsZ"/>
- <col ref="resncnts"/>
- <col ref="resncntsZ1"/>
- <col ref="resncntsZ2"/>
- <col ref="resncntsZ3"/>
- <col ref="resncntsZ4"/>
- <col ref="resncntsZ5"/>
- <col ref="resncntsZ6"/>
- <col ref="resncntsZ7"/>
- <col ref="resncntsZ8"/>
- <col ref="resncntsZ9"/>
- <col ref="resncntsZA"/>
- <col ref="resncntsZB"/>
- <col ref="resncntsZC"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|