123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <subordlist>
- <subordlist1>
- <pid/>
- <patnm/>
- <prcpgenrflag/>
- <prcpdt/>
- <acptdt/>
- <arvdt/>
- <excuexectodt/>
- <cnfmdt/>
- <prcpnm/>
- <examroomnm/>
- <rgstdepthngnm/>
- <rgstridnm/>
- <cnfmwait/>
- <execwait/>
- <inddcnt/>
- <indd/>
- <dschdd/>
- <dschnotidt/>
- <execrid1/>
- <execprcpuniqno/>
- <hisorderid/>
- </subordlist1>
- </subordlist>
- </main>
- <send>
- <pid/>
- <cdgrupid/>
- <offset/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <cmb_info2>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </cmb_info2>
- <cmb_lrgcd>
- <lrgcdlist>
- <cdid/>
- <cdnm/>
- </lrgcdlist>
- </cmb_lrgcd>
- <cmb_mdlcd>
- <mdlcdlist>
- <mdlcdid/>
- <mdlcdnm/>
- </mdlcdlist>
- </cmb_mdlcd>
- <cmb_smlcd>
- <smlcdlist>
- <smlcdid/>
- <smlcdnm/>
- </smlcdlist>
- </cmb_smlcd>
- <popupmenu>
- <grid01>
- <item>
- <name>PACS조회(등록번호)</name>
- <func>fPACSInfo</func>
- </item>
- <item>
- <name>PACS조회(처방기준)</name>
- <func>fPACSPrcpInfo</func>
- </item>
- </grid01>
- </popupmenu>
- </init>
- <hidden>
- <comcd/>
- <comcd2/>
- <comcd3/>
- </hidden>
- <temp>
- <userinfolist/>
- <userpopupinfo>
- <param/>
- <flag/>
- <searchitem/>
- </userpopupinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // instance 가져오기
- aezfSetSuppDeptcd();
-
- zbcfGetCodeList( new Array("M0011","M0010"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpgenrflagcd") );
- submit("TRZBC00101");
-
-
- aezfInsertInstance2("/root/hidden/comcd2", "M0011", "전체", "", "/root/init/baseinfo/initexecprcpstatcd");
- aezfInsertInstance2("/root/hidden/comcd", "M0010", "전체", "", "/root/init/baseinfo/initprcpgenrflagcd");
-
-
- model.removeNode("/root/hidden/comcd/M0010[cdid='-']"); // 외래,입원구분 : 공통
- model.removeNode("/root/hidden/comcd/M0010[cdnm='전체']"); // 외래,입원구분 : 공통
-
- model.removeNode("/root/hidden/comcd2/M0011[cdid='150']"); // 상태구분 : 처방전출력
- model.removeNode("/root/hidden/comcd2/M0011[cdid='160']"); // 상태구분 : 처방전미출력
- model.removeNode("/root/hidden/comcd2/M0011[cdid='170']"); // 상태구분 : 검수완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='180']"); // 상태구분 : 처방보류
- model.removeNode("/root/hidden/comcd2/M0011[cdid='200']"); // 상태구분 : 부분계산
- model.removeNode("/root/hidden/comcd2/M0011[cdid='210']"); // 상태구분 : 수납대기
- model.removeNode("/root/hidden/comcd2/M0011[cdid='220']"); // 상태구분 : 계산(입원용)
- model.removeNode("/root/hidden/comcd2/M0011[cdid='300']"); // 상태구분 : 조제보류
- model.removeNode("/root/hidden/comcd2/M0011[cdid='310']"); // 상태구분 : 조제완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='320']"); // 상태구분 : 불출
- model.removeNode("/root/hidden/comcd2/M0011[cdid='330']"); // 상태구분 : 미불출
- model.removeNode("/root/hidden/comcd2/M0011[cdid='400']"); // 상태구분 : 바코드발행
- model.removeNode("/root/hidden/comcd2/M0011[cdid='410']"); // 상태구분 : 채취/채혈
- model.removeNode("/root/hidden/comcd2/M0011[cdid='420']"); // 상태구분 : 전달/확인
- model.removeNode("/root/hidden/comcd2/M0011[cdid='430']"); // 상태구분 : 검체접수
- model.removeNode("/root/hidden/comcd2/M0011[cdid='500']"); // 상태구분 : 접수
- model.removeNode("/root/hidden/comcd2/M0011[cdid='510']"); // 상태구분 : 검사중
- model.removeNode("/root/hidden/comcd2/M0011[cdid='505']"); // 상태구분 : 준비
- model.removeNode("/root/hidden/comcd2/M0011[cdid='520']"); // 상태구분 : 검사완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='530']"); // 상태구분 : 출고
- model.removeNode("/root/hidden/comcd2/M0011[cdid='525']"); // 상태구분 : 불출요청
- model.removeNode("/root/hidden/comcd2/M0011[cdid='540']"); // 상태구분 : 반납의뢰
- model.removeNode("/root/hidden/comcd2/M0011[cdid='550']"); // 상태구분 : 반납완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='560']"); // 상태구분 : 폐기의뢰
- model.removeNode("/root/hidden/comcd2/M0011[cdid='570']"); // 상태구분 : 폐기완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='700']"); // 상태구분 : 판독중
- model.removeNode("/root/hidden/comcd2/M0011[cdid='720']"); // 상태구분 : 중간결과
- model.removeNode("/root/hidden/comcd2/M0011[cdid='305']"); // 상태구분 : 조제중
- model.removeNode("/root/hidden/comcd2/M0011[cdid='315']"); // 상태구분 : 특조완료
- model.removeNode("/root/hidden/comcd2/M0011[cdid='725']"); // 상태구분 : Confirm확인
-
- //공통코드 테이블에서 영상구분정보 가져오기
- model.setValue("/root/send/cdgrupid", "A0463");
- submit("TRAER01002", false);
-
- aezfInsertInstance2("/root/hidden/comcd3", "lrgcdlist", "전체", "", "/root/init/cmb_lrgcd");
-
- // 사용할때는 common.js 파일이 필요
- if (checkOpener()) { //opener 검사
- var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
- if(param != "") { // opener parameter value가 있는 경우
- //두번째 방법 parameter value를 이용하여 프로그램 수행
- condarray = param.split("▦");
- model.setValue("/root/send/pid", condarray[0]);
- }
- }
-
- grd_mainordlist.rebuild();
-
- // 부모창에서 등록번호 받아서 바로 조회하기
- btn_sea.dispatch("DOMActivate");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
- <submission id="TRAER01005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/subordlist"/>
- <submission id="TRAER01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
- <submission id="TRZBC00101"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript">
- <![CDATA[
- /* @group : 촬영현황조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 대량조회를 위한 Grid Scroll 제어 Function
- */
- function fSubmitOnScroll() {
- if(grd_mainordlist.vscroll.attribute("max") == grd_mainordlist.vscroll.attribute("pos")) {
- // end of scroll
- model.setValue("/root/send/offset", grd_mainordlist.rows-1); // grid의 header row는 제외
- //alert('offset->'+model.getValue("/root/send/offset"));
- //if ( messageBox("미조회된 건수가 존재합니다. 추가 조회를 하시겠습니까?","Q001")==6 ) {
- submit("TRAER01005");
- grd_mainordlist.dispatch("onmouseup");
- //}else {
- //}
- }
- }
-
-
- /* @group : 결과조회
- * @ver : 2009.10.14
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 실시와 결과상태 PACS 결과 조회 Function (등록번호 사용)
- */
- function fPACSInfo() {
- if ( grd_mainordlist.row == 0 ) return;
- fClickPACSPatResultList(grd_mainordlist);
-
- }
- /* @group : 결과조회
- * @ver : 2009.10.14
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 실시와 결과상태 PACS 결과 조회 Function (PRCPDD + EXECPRCPUNIQNO = HISORDERID 사용)
- */
- function fPACSPrcpInfo() {
- if ( grd_mainordlist.row == 0 ) return;
- if ( model.getValue("/root/main/subordlist/subordlist1["+ grd_mainordlist.row +"]/excuexectodt") == "" || model.getValue("/root/main/subordlist/subordlist1["+ grd_mainordlist.row +"]/excuexectodt") == "-") {
- messageBox("미실시된 검사 " , "E008");
- return;
- }
- fClickPACSPrcpResultList(grd_mainordlist);
- }
-
-
- /* @group : 결과조회
- * @ver : 2009.10.14
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 실시와 결과상태 PACS 결과 조회 Function (등록번호 사용 구현부분)
- */
- function fClickPACSPatResultList(grdobj) {
- //alert(grdobj.row)
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
- var pid = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/pid");
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pid);
- zepfpacsPatientID(pid);
- }
- }
-
- /* @group : 결과조회
- * @ver : 2009.10.14
- * @by : 박상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 실시와 결과상태 PACS 결과 조회 Function (PRCPDD + EXECPRCPUNIQNO = HISORDERID 사용 구현부분)
- */
- function fClickPACSPrcpResultList(grdobj) {
- //alert(grdobj.row)
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
- var pid = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/pid");
- var pacsorderid = model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/prcpdt")+model.getValue("/root/main/subordlist/subordlist1["+ rowidx +"]/execprcpuniqno");
- //"grd_subordlist1" nodeset="/root/main/subordlist/subordlist1"
- // PACS Viewer 호출
- //alert(pacsorderid);
- zepfpacsAll(pacsorderid, pid);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:747px; ">
- <group id="group2" style="left:0px; top:5px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:10px; top:10px; width:92px; height:17px; text-align:left; ">등록번호 :</caption>
- <input id="input6" ref="/root/send/pid" class="input_search" style="left:99px; top:10px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- btn_sea.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_sea" class="btn1_letter2" style="left:1055px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 대량조회-offset초기화
- model.removeNodeset("/root/main/subordlist/subordlist1");
- model.setValue("/root/send/offset","0");
- grd_mainordlist.rebuild();
-
- submit("TRAER01005");
- ]]>
- </script>
- </button>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:51px; x2:1195px; y2:51px; "/>
- <datagrid id="grd_mainordlist" nodeset="/root/main/subordlist/subordlist1" class="datagrid2" autoresize="true" caption="등록번호^환자명^구분^처방일시^접수일시^촬영시작^촬영일시^판독일시^처방명^촬영실^처방과^처방의^판독기간^검사
대기시간^검사시간^일수^입원일자^퇴원일자^퇴원통보일자^실시자^execprcpuniqno_h^hisorderid_h" colsep="^" colwidth="65, 60, 38, 70, 70, 70, 70, 65, 200, 67, 73, 60, 60, 60, 60, 40, 100, 100, 100, 80, 100, 100" datatype="xml" explorerbar="sortshowmove" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:55px; width:1195px; height:664px; text-align:center; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="arvdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="excuexectodt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="cnfmdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="examroomnm"/>
- <col ref="rgstdepthngnm"/>
- <col ref="rgstridnm"/>
- <col ref="cnfmwait"/>
- <col ref="execwait" format="hh:nn:ss"/>
- <col ref="phowait" format="hh:nn:ss"/>
- <col ref="inddcnt" style="text-align:center; "/>
- <col ref="indd" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col ref="dschnotidt" visibility="hidden"/>
- <col ref="execrid1" style="text-align:center; "/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="hisorderid" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_mainordlist", false, "/root/init/popupmenu/grid01/item", "name", "func");
- ]]>
- </script>
- </datagrid>
- <button id="button2" class="btn4_letter3" style="left:1118px; top:12px; width:68px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- grd_mainordlist.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">개인별 입원촬영 현황조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|