123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <rsrvprescond>
- <rsrvlist>
- <srchpid/>
- <hngnm/>
- <rsrvdt/>
- <prcpcd/>
- <prcpnm/>
- <prcpstatcd/>
- <prcpdd/>
- <orddeptnm/>
- <orddrnm/>
- <excuroomnm/>
- <execrid/>
- <usernm/>
- </rsrvlist>
- </rsrvprescond>
- <ordprescond>
- <ordlist>
- <ordno/>
- <actorddd/>
- <orddeptnm/>
- <orddrnm/>
- </ordlist>
- </ordprescond>
- <popupendflag/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <gbstat>
- </gbstat>
- <wardpatinfo>
- <wardpatlist>
- <roomcd/>
- <patnm/>
- <sexage/>
- <pid/>
- <indd/>
- <cretno/>
- <seqno/>
- <instcd/>
- <wardcd/>
- </wardpatlist>
- <settingrn>
- <settingrnid/>
- <settingrnnm/>
- </settingrn>
- </wardpatinfo>
- <paminfo>
- <pamlist>
- <checked/>
- <class/>
- <pid/>
- <outdate/>
- <indate/>
- <clincode/>
- <depthngnm/>
- <doccode/>
- <usernm/>
- <cretno/>
- <cmc_cretno/>
- <treatno/>
- <initflag/>
- <upflag/>
- </pamlist>
- </paminfo>
- <excuinfo>
- <exculist>
- <prcpdd/>
- <excucd/>
- <excucdnm/>
- <excuexectodt/>
- <cnfmdt/>
- </exculist>
- </excuinfo>
- </main>
- <send>
- <srchpid/>
- <frdt/>
- <todt/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <srchflag/>
- <srchindate/>
- <srchindate2/>
- <srchdschdd/>
- <pamlist/>
- </send>
- <init>
- <baseinfo>
- <initexecprcpstatcd/>
- </baseinfo>
- <wardinfo>
- <ward>
- <deptcd/>
- <deptnm/>
- </ward>
- </wardinfo>
- <pidinfo>
- <pidlist>
- <pidlistno/>
- <pidlistnm/>
- </pidlist>
- </pidinfo>
- </init>
- <hidden>
- <source>
- <pathngnm/>
- <rbogb>1</rbogb>
- <hsrchpid/>
- <hwardcd/>
- </source>
- </hidden>
- <temp>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- <message>
- <optmessage/>
- </message>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fGetPatList(){
- submit("TRAEA00306");
- model.resetInstanceNode("/root/main/prcpinfo/prcplist");
- model.resetInstanceNode("/root/main/patlistflag");
- model.refresh();
- }
- function fPatlistVisible(){
- // 재원환자목록 보여주기
- cap_rsrvprescondtitle.attribute("left") = "274";
- lin_rsrvprescond.attribute("x1") = "274";
- grd_rsrvprescond.attribute("left") = "274";
- grd_rsrvprescond.attribute("width") = "661";
- cap_patlisttitle.visible = true;
- lin_patlist.visible = true;
- grd_patlist.visible = true;
- }
- function fPatlisthidden(){
- // 재원환자목록 보이지 않게하기
- cap_rsrvprescondtitle.attribute("left") = "5";
- lin_rsrvprescond.attribute("x1") = "5";
- grd_rsrvprescond.attribute("left") = "5";
- grd_rsrvprescond.attribute("width") = "930";
- cap_patlisttitle.visible = false;
- lin_patlist.visible = false;
- grd_patlist.visible = false;
- }
- ]]>
- </script>
- <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/numericHelper.js"/>
- <!-- 사용자의 기본부서코드를 가져오기 위한 script (검사실에 한정)-->
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <submission id="TRAEA00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
- <bind id="bind_prcpstatcd" ref="/root/main/rsrvprescond/rsrvlist/prcpstatcd" readonly="../prcpstatcd!=''"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 콤보에 전체선택 추가
- //addComboItem("combo1", "-전체-", "-", "above");
- //combo1.select(0);
- //combo2.select(0);
- // 세션에서 부서 코드를 받아온다.
- var dutplcecd = getUserInfo("dutplcecd") ;
-
- aezfSetSuppDeptcd();
-
- model.setValue("/root/send/srchindate","20070101");
- model.setValue("/root/send/srchdschdd",getCurrentDate());
-
- model.removeNodeset("/root/main/paminfo/pamlist");//수진내역
- model.removeNodeset("/root/main/excuinfo/exculist"); // 수진 처방내역
-
- model.refresh();
-
- model.setFocus("ipt_pid");
-
-
- ]]>
- </script>
- <submission id="TRAEA04308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/paminfo"/>
- <submission id="TRAEA04309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excuinfo"/>
- <submission id="TXAEA04306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1193;2,769;2,783;2,91;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1174px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">개인별 통합기록서식 검증</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1175px; height:729px; ">
- <datagrid id="grd_patlist" nodeset="/root/main/wardpatinfo/wardpatlist" visibility="hidden" backcoloralternate="#ffffff" caption="병실^환자번호^환자명^S/A" colsep="^" colwidth="50, 66, 66, 53" defaultrows="0" frozencols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:271px; height:649px; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:left; "/>
- <col ref="sexage" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("root/send/srchpid",model.getValue("/root/main/wardpatinfo/wardpatlist[" + grd_patlist.row + "]/pid"));
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </datagrid>
- <caption id="cap_rsrvprescondtitle" class="tit_2" style="left:5px; top:54px; width:155px; height:13px; ">수진내역별 판독현황</caption>
- <group id="grp_sea" style="left:0px; top:10px; width:1174px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- /*
- var _str = ipt_pid.currentText;
-
- if ( _str.isNumber() == false ) {
- messageBox("등록번호는 숫자만 입력이 가능합니다.", "I999");
- ipt_pid.value = "";
- }
-
- inputEnterKey("btn_sea", "DOMActivate");
- */
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- opt_pathngnm.value = "";
- ]]>
- </script>
- <line id="line13" class="line_4" style="x1:1108px; y1:9px; x2:1108px; y2:31px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="8" style="left:1113px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/excuinfo/exculist"); // 수진 처방내역
- model.makeValue("/root/send/pid", model.getValue("root/send/srchpid"));
- model.setValue("/root/send/srchflag","S");
- submit("TRAEA00204");
-
- submit("TRAEA04308");
-
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/send/srchpid" class="input_search" navindex="3" maxlength="10" style="left:106px; top:8px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_sea","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_pathngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:232px; top:8px; width:95px; height:19px; text-align:center; "/>
- <caption id="cap_pidtext" class="search_name" visibility="visible" style="left:14px; top:9px; width:86px; height:17px; ">환자번호:</caption>
- <button id="btn_pidsearch" class="icon_search" navindex="4" style="left:208px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* @group : 개인별 예약현황조회
- * @ver : 2007.7.25
- * @by : 조원영
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호를 통한 환자 이름 조회
- */
- model.makeNode("/root/main/patinfo/patinfolist");
- modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/srchpid", "/root/send");
- model.setValue( "/root/send/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
- model.setValue( "/root/main/patinfo/patinfolist/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") ); // 환자 이름
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:400px; top:9px; width:117px; height:17px; ">수진일자 :</caption>
- <input id="input3" ref="/root/send/srchindate" class="input_s_essential" inputtype="date" style="left:494px; top:8px; width:102px; height:19px; "/>
- <input id="input1" ref="/root/send/srchdschdd" class="input_s_essential" inputtype="date" style="left:630px; top:8px; width:102px; height:19px; "/>
- <caption id="caption1" style="left:605px; top:10px; width:20px; height:20px; ">~</caption>
- </group>
- <datagrid id="grd_ordprescond" nodeset="/root/main/excuinfo/exculist" caption="처방일^처방코드^처방명^촬영일시^판독일시^진료의" colsep="^" colwidth="70, 83, 207, 120, 120" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:535px; top:74px; width:628px; height:651px; ">
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="excucd"/>
- <col ref="excucdnm"/>
- <col ref="excuexectodt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cnfmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:535px; y1:72px; x2:1162px; y2:71px; "/>
- <caption id="caption3" class="tit_2" style="left:532px; top:53px; width:170px; height:14px; ">수진내역별 판독 상세내역</caption>
- <line id="lin_rsrvprescond" class="line_1" style="x1:0px; y1:70px; x2:529px; y2:71px; "/>
- <datagrid id="grd_pamlist" nodeset="/root/main/paminfo/pamlist" caption="선택^구분^등록번호^퇴(내)원일^입원일^진료과코드^진료과^진료의^진료의^cretno^cmc_creatno^treatno^initflag^upflag^등록번호^환자명^검사/치료실^검사/실시자^예약자^치료사^병동" colsep="^" colwidth="32, 30, 61, 70, 70, 46, 66, 52, 45, 65, 78, 51, 42, 39" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:74px; width:530px; height:651px; ">
- <col checkvalue="Y,N" ref="checked" type="checkbox"/>
- <col ref="class"/>
- <col ref="pid"/>
- <col ref="outdate" format="yyyy-mm-dd"/>
- <col ref="indate" format="yyyy-mm-dd"/>
- <col ref="clincode" visibility="hidden"/>
- <col ref="depthngnm"/>
- <col ref="doccode" visibility="hidden"/>
- <col ref="usernm"/>
- <col ref="cretno"/>
- <col ref="cmc_cretno" type="input"/>
- <col ref="treatno" visibility="hidden"/>
- <col ref="initflag" type="input"/>
- <col ref="upflag" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pamlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var colidx = grd_pamlist.col;
- if ( grd_pamlist.isCell(event.target) && grd_pamlist.row >= grd_pamlist.fixedRows ){
- if(grd_pamlist.colAttribute(colidx, "ref") != "checked" && grd_pamlist.colAttribute(colidx, "ref") != "cmc_cretno"
- &&grd_pamlist.colAttribute(colidx, "ref") != "initflag"){
- model.setValue("/root/send/srchflag","H");
- if(model.getValue("/root/main/paminfo/pamlist["+grd_pamlist.row+"]/class") == "외래"){
- model.setValue("/root/send/srchindate2",model.getValue("/root/main/paminfo/pamlist["+grd_pamlist.row+"]/outdate"));
- }else{
- model.setValue("/root/send/srchindate2",model.getValue("/root/main/paminfo/pamlist["+grd_pamlist.row+"]/indate"));
- }
- submit("TRAEA04309");
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:741px; width:1175px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="9" style="left:1109px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- for (var i = 1; i < grd_pamlist.rows; i ++){
- if(model.getValue("/root/main/paminfo/pamlist["+i+"]/checked") == "Y") {
- model.setValue("/root/main/paminfo/pamlist["+i+"]/upflag","U");
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/paminfo/pamlist[checked='Y']");
-
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("수진내역을 ","C002");
- return "0";
- }
- model.setValue("/root/send/pamlist", rCSV);
- if (submit("TXAEA04306")){
- model.removeNodeset("/root/main/excuinfo/exculist"); // 수진 처방내역
- model.makeValue("/root/send/pid", model.getValue("root/send/srchpid"));
- model.setValue("/root/send/srchflag","S");
-
- submit("TRAEA04308");
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <output id="opt_message" ref="/root/temp/message/optmessage" class="input_search" style="left:0px; top:4px; width:1105px; height:19px; "/>
- <button id="button1" class="btn4_letter2" navindex="9" style="left:1050px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- for (var i = 1; i < grd_pamlist.rows; i ++){
- if(model.getValue("/root/main/paminfo/pamlist["+i+"]/checked") == "Y") {
- model.setValue("/root/main/paminfo/pamlist["+i+"]/upflag","D");
- }
- }
-
- var nodeList = instance1.selectNodes("/root/main/paminfo/pamlist[checked='Y']");
-
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("수진내역을 ","C002");
- return "0";
- }
- model.setValue("/root/send/pamlist", rCSV);
- if (submit("TXAEA04306")){
- model.removeNodeset("/root/main/excuinfo/exculist"); // 수진 처방내역
- model.makeValue("/root/send/pid", model.getValue("root/send/srchpid"));
- model.setValue("/root/send/srchflag","S");
-
- submit("TRAEA04308");
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|