123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP02000_전체이미지조회.xrw
- * 설 명 : 전체이미지조회 화면
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2008.02.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>
- <imginfo>
- <imginfolist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <sexage/>
- <wardroom/>
- <rgstdd/>
- <rgsttm/>
- <rgstrid/>
- <rgstrnm/>
- <rsltimg/>
- </imginfolist>
- <lastpage>
- <lastpage/>
- </lastpage>
- </imginfo>
- </main>
- <send/>
- <init>
- <acptfromdd/>
- <acpttodd/>
- <refmthdcd/>
- <refval/>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <imgsrc/>
- <imgdisp/>
- </init>
- <hidden>
- <paval/>
- <patinfo>
- <ptno/>
- <pid/>
- <patnm/>
- <sexage/>
- <relaptno/>
- <hospnm/>
- <orddeptnm/>
- <dispptno/>
- <disprelaptno/>
- </patinfo>
- <prtninfolist/>
- </hidden>
- <message/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPP02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/imginfo/imginfolist"/>
- <submission id="TRLPP02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqpatinfo" resultref="/root/hidden/prtninfolist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 전체이미지조회 화면
- * @ver : 2008.02.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
- var sCurDate = "";
- var sPtNoCd = "";
- var sYear = "";
- var sNo = "";
-
- // 이미지 object, 브라우져 object 비활성화
- document.controls("obj_imge").attribute("visibility") = "hidden";
-
- var menuparam = getScreenMenuParameter();
-
- //--------------------------------------------------
- model.removeNodeset("/root/main/ptnoinfo/ptnolist");
- model.removeNodeset("/root/main/imginfo/imglist");
-
- //----------------
- // 시스템일자 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false);
- submit("TRLPZ00109");
- //------------------------------------------------------------
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- //------------
- // 초기값 설정
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(From)
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(To)
- model.makeValue("/root/init/refval", ""); // 검색값
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/imgdisp", "0");
-
- //-----------------
- fExeColHidden("0");
-
-
- //-------------------------------------
- // 메뉴에서 화면이 선택되었을 경우 처리
- if (menuparam == "1") {
- // Continue
- } else {
- //-------------------------------------------------
- // 검사결과등록, 결과조회 화면에서 호출할 경우 처리
- if (window.parent == null) {
- // Continue
- } else {
-
- if (opener.javascript.getParameter("SMLPP02000_scrno") == "SMAER00800") {
- sPtNoCd = opener.javascript.getParameter("SMLPP02000_no");
- sPtNoCd = sPtNoCd.getTrim();
- sYear = sPtNoCd.substr(sPtNoCd.length-8, 2);
- sNo = sPtNoCd.substr(sPtNoCd.length-6, 6);
- sPtNoCd = sPtNoCd.substr(0, sPtNoCd.length-8);
-
- //------------------------------------------------
- model.makeValue("/root/init/ptnocode", sPtNoCd);
- model.makeValue("/root/init/fromyear", sYear);
- model.makeValue("/root/init/fromptno", sNo);
- model.makeValue("/root/init/acptfromdd", "19000101");
- model.makeValue("/root/init/acpttodd", "99991231");
- model.makeValue("/root/init/scrno", opener.javascript.getParameter("SMLPP02000_scrno"));
- model.makeValue("/root/init/refval", "");
-
- cbo_ptnocd.disabled = true;
- ipt_seaval.disabled = true;
- ipt_cnclfromdd.disabled = true;
- ipt_cncltodd.disabled = true;
- btn_sea.disabled = true;
- cap_title.visible = false;
- bol_imgdisp.visible = false;
- } else {
- model.makeValue("/root/init/ptnocode", opener.javascript.getParameter("SMLPP02000_ptnocd"));
- model.makeValue("/root/init/fromyear", opener.javascript.getParameter("SMLPP02000_year"));
- model.makeValue("/root/init/fromptno", opener.javascript.getParameter("SMLPP02000_no"));
- model.makeValue("/root/init/acptfromdd", opener.javascript.getParameter("SMLPP02000_rgstdd"));
- model.makeValue("/root/init/acpttodd", opener.javascript.getParameter("SMLPP02000_rgstdd"));
- model.makeValue("/root/init/scrno", opener.javascript.getParameter("SMLPP02000_scrno"));
- model.makeValue("/root/init/refval", opener.javascript.getParameter("SMLPP02000_pid"));
- }
-
- //--------------
- fGetImgInfo("");
- }
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 전체이미지조회 화면
- * @ver : 2008.02.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 부가정보 표시처리 함수
- */
- function fExeColHidden(pBizFlagCd) {
-
- var bState = false;
-
- //----------------------
- if (pBizFlagCd == "1") {
- bState = false;
- } else {
- bState = true;
- }
-
- //----------------------------------
- grd_ptnolist.colHidden(4) = bState; // 등록번호
- grd_ptnolist.colHidden(5) = bState; // 환자명
- grd_ptnolist.colHidden(6) = bState; // 성별/나이
- grd_ptnolist.colHidden(7) = bState; // 병동/병실
- grd_ptnolist.colHidden(8) = bState; // 등록일자
- grd_ptnolist.colHidden(9) = bState; // 등록시간
- grd_ptnolist.colHidden(11) = bState; // 등록자명
-
- //---------------------
- grd_ptnolist.refresh();
- }
-
- /* @group : 전체이미지조회 화면
- * @ver : 2008.02.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 접수목록 조회 처리 함수
- */
- function fGetImgInfo(pPage) {
-
- var iWidth = 0;
- var iHeight = 0;
- var iBackWidth = 0;
- var sSize = "";
-
- var sNode = "/root/main/imginfo/imginfolist";
- var sTemp = "";
- var sFromDD = model.getValue("/root/init/acptfromdd");
- var sToDD = model.getValue("/root/init/acpttodd");
-
-
- //----------------------
- // 이상 페이지 번호 처리
- if(pPage == "") pPage = 1;
- if(pPage < 1) pPage = 1;
-
- if(pPage > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
- if (pPage == 0) page = 1;
-
- //------------------------------------------------
- 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");
- } else {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset(sNode);
-
- //----------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
- model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/page", pPage);
- model.makeValue("/root/send/itemlimit", "100");
-
- //-------------------
- submit("TRLPP02001");
-
- //----------------------
- //인적정보 set
- if(model.getValue("/root/init/refval") == "" && model.getValue("/root/init/ptnocode") != "-" && model.getValue("/root/init/ptnocode") != "") {
- model.setValue("/root/hidden/patinfo/ptno", model.getValue("/root/main/imginfo/imginfolist/ptno"));
- model.setValue("/root/hidden/patinfo/pid", model.getValue("/root/main/imginfo/imginfolist/pid"));
- model.setValue("/root/hidden/patinfo/patnm", model.getValue("/root/main/imginfo/imginfolist/patnm"));
- model.setValue("/root/hidden/patinfo/sexage", model.getValue("/root/main/imginfo/imginfolist/sexage"));
- model.setValue("/root/hidden/patinfo/relaptno", model.getValue("/root/main/imginfo/imginfolist/relaptno"));
- model.setValue("/root/hidden/patinfo/hospnm", "강남성모병원");
- model.setValue("/root/hidden/patinfo/orddeptnm", model.getValue("/root/main/imginfo/imginfolist/orddeptnm"));
- model.setValue("/root/hidden/patinfo/dispptno", model.getValue("/root/main/imginfo/imginfolist/dispptno"));
- model.setValue("/root/hidden/patinfo/disprelaptno", model.getValue("/root/main/imginfo/imginfolist/disprelaptno"));
- } else {
- model.resetInstanceNode("/root/hidden/patinfo");
- }
-
- //-----------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
- /*
- //---------------------------------------------
- setImageRefInstance(sNode+"["+iNo+"]/rsltimg");
- sSize = getBase64DataSize(sNode+"["+iNo+"]/rsltimg");
- iWidth = sSize.split("^")[0];
- iHeight = sSize.split("^")[1];
- grd_ptnolist.rowHeight(iNo) = iHeight;
-
- //----------------------------------------
- if (Number(iBackWidth) < Number(iWidth)) {
- grd_ptnolist.colWidth(12) = iWidth;
- iBackWidth = iWidth;
- }
- */
-
- var IMGE_SZ_WID = 1075;
- var IMGE_SZ_HEI = 1075;
- //var IMGE_SZ_HEI = 615;
-
- var imgcnts = model.getValue(sNode+"["+iNo+"]/rsltimg");
- obj_imge.SetViewMode(0);
- //obj_imge.DeleteAllShape();
- obj_imge.LoadImageBase64(imgcnts);
- var sz = obj_imge.GetImageSize();
- var imgewid = sz.split("|")[0];
- var imgehei = sz.split("|")[1];
- if ( !(imgewid < IMGE_SZ_WID && imgehei < IMGE_SZ_HEI) ){
- obj_imge.SetViewMode(3);
- }
- if ( !(imgewid < IMGE_SZ_WID && imgehei < IMGE_SZ_HEI) ) {
- sz = obj_imge.GetImageSizeEx(false);
- arrSz = sz.split("|");
- imgewid = arrSz[0];
- imgehei = arrSz[1];
- }
- grd_ptnolist.rowHeight(iNo) = imgehei;
- //grd_ptnolist.colWidth(12) = imgewid;
- var strBase64 = obj_imge.SaveImageBase64();
- model.setValue(sNode+"["+iNo+"]/rsltimg", strBase64, true);
- setImageRefInstance(sNode+"["+iNo+"]/rsltimg");
-
- }
-
- //----------------------
- ipt_paval.value = pPage;
-
- }
-
-
- /* @group : 전체이미지조회
- * @ver : 2007.11.14 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검색값을 입력하고 Enter키를 누를 경우 처리 Function
- */
- function fExeInputKey() {
- if(event.keyCode == 13) {
- model.makeValue("/root/init/refval", ipt_seaval.currentText);
- ipt_seaval.refresh();
- //--------------
- fGetImgInfo("");
- }
- }
-
- /************************************************************************************************
- 함수명 : getBase64DataSize ()
- 인자 :
- String xPath - Base64Data 이미지 파일 xPath
- 결과값 : String width^height
- 예) 20^20)
- 함수설명 : 이미지 Width, Height 반환 함수
- ************************************************************************************************
- 작 성 자 :
- 작 성 일 :
- ************************************************************************************************/
- function getBase64DataSize(xPath) {
-
- if(document.controls("_image_forSize") == null) {
- var newCtrObj = body.createChild("xforms:img", "id:_image_forSize; left:0px; top:0px; width:1px; height:1px;");
- newCtrObj.visible = false;
- newCtrObj.attribute("ref") = xPath;
- }
-
- else{
- //_image_forSize.visible = true;
- _image_forSize.attribute("ref") = xPath;
- }
-
- _image_forSize.attribute("width") = null;
- _image_forSize.attribute("height") = null;
-
- _image_forSize.visible = false;
-
- var imgW = _image_forSize.attribute("width").replace("px", "");
- var imgH = _image_forSize.attribute("height").replace("px", "");
-
- return imgW + "^" + imgH;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body visibility="visible">
- <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="button1" class="btn4_letter2" style="left:250px; top:5px; width:56px; height:22px; ">
- <caption>다음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetImgInfo(Number(model.getValue("/root/hidden/paval")) + 1);
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter2" style="left:2px; top:4px; width:56px; height:22px; ">
- <caption>처음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetImgInfo(1);
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:309px; top:5px; width:56px; height:22px; ">
- <caption>최종</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetImgInfo(model.getValue("/root/main/imginfo/lastpage/lastpage"));
- ]]>
- </script>
- </button>
- <input id="ipt_paval" ref="/root/hidden/paval" class="input_search" style="left:120px; top:5px; width:65px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetImgInfo(model.getValue("/root/hidden/paval"));
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13 && ipt_paval.currentText != ipt_paval.value) {
- model.setValue("/root/hidden/paval", ipt_paval.currentText);
- ipt_paval.dispatch("xforms-value-changed");
- }
- else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
- event.defaultAction = "cancel";
- }
- ]]>
- </script>
- </input>
- <caption id="cap_lastPage" ref="/root/main/imginfo/lastpage/lastpage" style="left:195px; top:5px; width:60px; height:20px; font-size:9pt; font-weight:bold; ">1</caption>
- <caption id="caption7" style="left:187px; top:5px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
- <button id="btn_prntexcel" class="btn3_letter2" style="left:61px; top:4px; width:56px; height:22px; ">
- <caption>이전</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetImgInfo(Number(model.getValue("/root/hidden/paval")) - 1);
- ]]>
- </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:0; top:40; width:1195; height:744; ">
- <datagrid id="grd_ptnolist" nodeset="/root/main/imginfo/imginfolist" class="datagrid2" autoresize="false" caption="기관코드^병리번호^병리번호^등록번호^환자명^성별/
나이^병동/병실^등록일자^등록시간^rgstrid^등록자^이미지내용" colsep="^" colwidth="0, 0, 80, 80, 80, 60, 0, 70, 60, 0, 80, 1070" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="11" style="left:0px; top:120px; width:1194px; height:620px; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col class="text_center" ref="sexage"/>
- <col class="text_center" ref="wardroom"/>
- <col class="text_center" ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="rgsttm" format="hh:nn:ss"/>
- <col ref="rgstrid"/>
- <col class="text_center" ref="rgstrnm"/>
- <col ref="rsltimg"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ptnolist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <object id="obj_imge" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:110px; top:160px; width:1075px; height:575px; background-color:transparent; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:100px; width:146px; height:13px; ">이미지 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:115px; x2:1194px; y2:115px; "/>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_seaval" ref="/root/init/refval" class="input_search" navindex="6" maxlength="10" style="left:577px; top:8px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeInputKey();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:486px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetImgInfo("");
- ]]>
- </script>
- </button>
- <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="8" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="9" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; "/>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:156px; 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:298px; top:8px; width:50px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:268px; top:8px; width:27px; height:19px; "/>
- <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">등록일자 :</caption>
- </group>
- <bool id="bol_imgdisp" checkvalue="1,0" ref="/root/init/imgdisp" style="left:1095px; top:95px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeColHidden(model.getValue("/root/init/imgdisp"));
- ]]>
- </script>
- </bool>
- <caption id="cap_title" style="left:1115px; top:96px; width:79px; height:20px; ">부가정보 보기</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:140px; height:13px; ">인적사항</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1015px; y2:70px; "/>
- <output id="opt_pid" ref="/root/hidden/patinfo/pid" class="output_fix" style="left:280px; top:75px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <caption id="cap_pid" class="cell_1" style="left:217px; top:74px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
- <output id="opt_ptno" ref="/root/hidden/patinfo/dispptno" class="output_fix" style="left:98px; top:75px; width:115px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption8" class="cell_1" style="left:2px; top:74px; width:93px; height:23px; vertical-align:middle; ">병리번호</caption>
- <output id="opt_hngnm" ref="/root/hidden/patinfo/patnm" class="output_fix" style="left:430px; top:75px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <caption id="cap_hngnm" class="cell_1" style="left:367px; top:74px; width:60px; height:23px; vertical-align:middle; ">이 름</caption>
- <caption id="caption9" class="cell_1" style="left:517px; top:74; width:61px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <output id="output1" ref="/root/hidden/patinfo/sexage" class="output_fix" style="left:581px; top:75px; width:82px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption10" class="cell_1" style="left:670px; top:74; width:85px; height:23px; vertical-align:middle; ">관련병리번호</caption>
- <line id="line3" class="line_3" style="x1:0px; y1:96px; x2:1015px; y2:96px; "/>
- <caption id="caption12" class="cell_1" style="left:860px; top:74; width:60px; height:23px; vertical-align:middle; ">의뢰과</caption>
- <output id="output4" ref="/root/hidden/patinfo/orddeptnm" class="output_fix" style="left:925px; top:75px; width:90px; height:19px; border-color:#c0c0c0; "/>
- <button id="button3" class="btn6_letter5" navindex="14" style="left:95px; top:48px; width:56px; height:22px; ">
- <caption>출력(원내)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sHdrInfo = "/root/hidden/headerinfo";
- var sRsltHdrInfo = "/root/hidden/rslthdrinfo";
-
- if(model.getValue("/root/init/refval") == "" && model.getValue("/root/init/ptnocode") != "-" && model.getValue("/root/init/ptnocode") != "") {
- model.removenode("/root/hidden/prtninfo");
- model.removenode("/root/hidden/diaginfo");
- model.removenode("/root/hidden/headerinfo");
- model.removenode("/root/hidden/rslthdrinfo");
- model.removenode("/root/hidden/imginfo");
-
- //----------------------------------------------------------------------
- model.makeValue("/root/send/reqpatinfo/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqpatinfo/ptno", model.getValue("/root/hidden/patinfo/ptno"));
- model.makeValue("/root/send/reqpatinfo/acptdd", model.getValue("/root/main/imginfo/imginfolist/acptdd"));
-
- //-------------------
- if(submit("TRLPP02002")) {
- model.makeValue("/root/hidden/prtninfo/ptno", model.getValue("/root/hidden/patinfo/ptno"));
- model.makeValue("/root/hidden/prtninfo/pid", model.getValue("/root/hidden/patinfo/pid"));
- model.makeValue("/root/hidden/prtninfo/patnm", model.getValue("/root/hidden/patinfo/patnm"));
- model.makeValue("/root/hidden/prtninfo/sexage", model.getValue("/root/hidden/patinfo/sexage"));
- model.makeValue("/root/hidden/prtninfo/relaptno", model.getValue("/root/hidden/patinfo/relaptno"));
- model.makeValue("/root/hidden/prtninfo/hospnm", model.getValue("/root/hidden/patinfo/hospnm"));
- model.makeValue("/root/hidden/prtninfo/orddeptnm", model.getValue("/root/hidden/patinfo/orddeptnm"));
- model.makeValue("/root/hidden/prtninfo/dispptno", model.getValue("/root/hidden/patinfo/dispptno"));
- model.makeValue("/root/hidden/prtninfo/disprelaptno", model.getValue("/root/hidden/patinfo/disprelaptno"));
- //model.makeValue("/root/hidden/prtninfo/rsltimg", model.getValue("/root/main/imginfo/imginfolist/rsltimg"), true);
- model.makeNode("/root/hidden/imginfo");
- model.copyNode("/root/hidden/imginfo", "/root/main/imginfo");
-
-
- model.makeValue(sHdrInfo+"/patnm", model.getValue(sHdrInfo+"/patnm") + "["+model.getValue(sHdrInfo+"/sexage")+"]");
- model.makeValue(sHdrInfo+"/rrgstno", (model.getValue(sHdrInfo+"/rrgstno")).substr(0, 8) + "xxxxxx");
-
- model.makeValue(sHdrInfo+"/prcpdt", model.getValue(sHdrInfo+"/prcpdt") + " " + model.getValue(sHdrInfo+"/orddrnm"));
- model.makeValue(sHdrInfo+"/acptdt", model.getValue(sHdrInfo+"/acptdt") + " " + model.getValue(sHdrInfo+"/acptnm"));
- model.makeValue(sHdrInfo+"/grosdt", model.getValue(sHdrInfo+"/grosdt") + " " + model.getValue(sHdrInfo+"/grosdrnm"));
- model.makeValue(sRsltHdrInfo+"/inptdt", model.getValue(sRsltHdrInfo+"/inptdt") + " " + model.getValue(sRsltHdrInfo+"/inptnm"));
- model.makeValue(sRsltHdrInfo+"/readdt", model.getValue(sRsltHdrInfo+"/readdt") + " " + model.getValue(sRsltHdrInfo+"/readdrnm"));
-
- //exeReportPreview("RPLPP00700", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
- exeReportPreview("RPLPP00700", "XMLSTR", "", "", "", "", "", "", "", "", "", "");
- }
-
- //-------------------
-
- }
-
- ]]>
- </script>
- </button>
- <input id="inpt_relaptno" ref="/root/hidden/patinfo/disprelaptno" class="input_search" style="left:755px; top:75px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/hidden/prtninfo/disprelaptno", model.getValue("/root/hidden/patinfo/disprelaptno"));
- ]]>
- </script>
- </input>
- <button id="button5" class="btn6_letter5" navindex="14" style="left:190px; top:48px; width:92px; height:22px; ">
- <caption>출력(원외)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sHdrInfo = "/root/hidden/headerinfo";
- var sRsltHdrInfo = "/root/hidden/rslthdrinfo";
-
- if(model.getValue("/root/init/refval") == "" && model.getValue("/root/init/ptnocode") != "-" && model.getValue("/root/init/ptnocode") != "") {
- model.removenode("/root/hidden/prtninfo");
- model.removenode("/root/hidden/diaginfo");
- model.removenode("/root/hidden/headerinfo");
- model.removenode("/root/hidden/rslthdrinfo");
-
- //----------------------------------------------------------------------
- model.makeValue("/root/send/reqpatinfo/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqpatinfo/ptno", model.getValue("/root/hidden/patinfo/ptno"));
- model.makeValue("/root/send/reqpatinfo/acptdd", model.getValue("/root/main/imginfo/imginfolist/acptdd"));
-
- //-------------------
- if(submit("TRLPP02002")) {
- model.makeValue("/root/hidden/prtninfo/ptno", model.getValue("/root/hidden/patinfo/ptno"));
- model.makeValue("/root/hidden/prtninfo/pid", model.getValue("/root/hidden/patinfo/pid"));
- model.makeValue("/root/hidden/prtninfo/patnm", model.getValue("/root/hidden/patinfo/patnm"));
- model.makeValue("/root/hidden/prtninfo/sexage", model.getValue("/root/hidden/patinfo/sexage"));
- model.makeValue("/root/hidden/prtninfo/relaptno", model.getValue("/root/hidden/patinfo/relaptno"));
- model.makeValue("/root/hidden/prtninfo/hospnm", model.getValue("/root/hidden/patinfo/hospnm"));
- model.makeValue("/root/hidden/prtninfo/orddeptnm", model.getValue("/root/hidden/patinfo/orddeptnm"));
- model.makeValue("/root/hidden/prtninfo/dispptno", model.getValue("/root/hidden/patinfo/dispptno"));
- model.makeValue("/root/hidden/prtninfo/disprelaptno", model.getValue("/root/hidden/patinfo/disprelaptno"));
-
- if(grd_ptnolist.row <= 0) {
- grd_ptnolist.row = 1;
- }
- model.makeValue("/root/hidden/prtninfo/rsltimg", model.getValue("/root/main/imginfo/imginfolist["+ grd_ptnolist.row +"]/rsltimg"), true);
-
- model.makeValue(sHdrInfo+"/patnm", model.getValue(sHdrInfo+"/patnm") + "["+model.getValue(sHdrInfo+"/sexage")+"]");
- model.makeValue(sHdrInfo+"/rrgstno", (model.getValue(sHdrInfo+"/rrgstno")).substr(0, 8) + "xxxxxx");
-
- model.makeValue(sHdrInfo+"/prcpdt", model.getValue(sHdrInfo+"/prcpdt") + " " + model.getValue(sHdrInfo+"/orddrnm"));
- model.makeValue(sHdrInfo+"/acptdt", model.getValue(sHdrInfo+"/acptdt") + " " + model.getValue(sHdrInfo+"/acptnm"));
- model.makeValue(sHdrInfo+"/grosdt", model.getValue(sHdrInfo+"/grosdt") + " " + model.getValue(sHdrInfo+"/grosdrnm"));
- model.makeValue(sRsltHdrInfo+"/inptdt", model.getValue(sRsltHdrInfo+"/inptdt") + " " + model.getValue(sRsltHdrInfo+"/inptnm"));
- model.makeValue(sRsltHdrInfo+"/readdt", model.getValue(sRsltHdrInfo+"/readdt") + " " + model.getValue(sRsltHdrInfo+"/readdrnm"));
-
-
- //exeReportPreview("RPLPP00700", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
- exeReportPreview("RPLPP00800", "XMLSTR", "", "", "", "", "", "", "", "", "", "");
- }
-
- //-------------------
-
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|