123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <ordlist1>
- <mainordlist1/>
- </ordlist1>
- <subordlist>
- <subordlist1/>
- <subordlist2/>
- </subordlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- </main>
- <send>
- <data>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- </initexecroom>
- <initexecward>
- <execwardcdid/>
- </initexecward>
- <initioflag>
- <ioflag/>
- </initioflag>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- </initexcuroomgrp>
- </cmb_info>
- <srchpid/>
- <srchdate1/>
- <srchdate2/>
- <acptlistflag>M</acptlistflag>
- <srchtotal/>
- <grd_info>
- <grid_data>
- </grid_data>
- </grd_info>
- <tobeacptprcp>
- <tobeacptprcplist/>
- </tobeacptprcp>
- <tobeacptcnclprcp>
- <tobeacptcnclprcplist/>
- </tobeacptcnclprcp>
- <tobeholdprcp>
- <tobeholdprcplist/>
- </tobeholdprcp>
- <tobeholdcnclprcp>
- <tobeholdcnclprcplist/>
- </tobeholdcnclprcp>
- <srchrsrvpid/>
- <initexcuroomgrp/>
- <sortbase/>
- </data>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <windowloadinstance/>
- <data1>
- </data1>
- <patinfo>
- <srchpid/>
- <orddd/>
- <orddeptcd/>
- <suppdeptcd1/>
- <chkflag/>
- <data/>
- </patinfo>
- <examposuseyn/>
- </send>
- <init>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <initexecward>
- <execwardcdid/>
- <execwardcdnm/>
- </initexecward>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp>
- </cmb_info>
- <cmb_info2>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </cmb_info2>
- <baseinfo>
- <initexecprcpstatcd/>
- <initpayflagcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- </init>
- <init1>
- <baseinfo>
- <examposinfo/>
- </baseinfo>
- </init1>
- <hidden>
- <count/>
- <comcd/>
- <data>
- <srchdate1/>
- <srchdate2/>
- <srchflag/>
- </data>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
- model.removenode("/root/main/ordlist1");
- model.removenode("/root/main/subordlist");
-
- var excuroomgrpcdid = "영상검사실";
-
- model.makeValue("/root/send/data/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/send/data/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid", excuroomgrpcdid);
-
-
- submit("TRAEA01401", false);
-
- zbcfGetCodeList( new Array("M0010", "M0011","M0029"), new Array("/root/init/baseinfo/initprcpgenrflagcd", "/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initpayflagcd") );
- submit("TRZBC00101", false);
-
- var srchdate1 = model.getValue("/root/hidden/data/srchdate1");
- var srchdate2 = model.getValue("/root/hidden/data/srchdate2");
- var pid = model.getValue("/root/hidden/data/pid");
- var initexcuroomgrp = model.getValue("/root/hidden/data/initexcuroomgrp");
- if (initexcuroomgrp !="") {
- model.setValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid", initexcuroomgrp);
- }
-
- model.makeValue("root/send/data/srchpid", pid);
- model.makeValue("/root/send/data/acptlistflag","R");
- model.makeValue("/root/hidden/data/srchflag","1");
- model.setValue("/root/send/data/sortbase", "P");
-
- ipt_date1.value = getCurrentDate();
- ipt_date2.value = getCurrentDate();
- addComboItem("cmb_excuroomgrp","--전체--","","above");
- grd_mainordlist.fixedcellcheckbox(0,1)=true;
-
- astGetComboList( new Array("NM001"), new Array("/root/init1/baseinfo/examposinfo") );
- if (submit("TRAAA00001",false)) {
- var nodeCnt = getNodesetCount("/root/init1/baseinfo/examposinfo/NM001");
- if (nodeCnt > 1) {
- model.setValue("/root/send/examposuseyn","Y");
- } else {
- model.setValue("/root/send/examposuseyn","N");
- }
- }
-
- model.refresh();
-
- // 검사실 그룹 변경 시 이벤트
- fExcuRoomGrpChoi(excuroomgrpcdid);
-
- if (pid != "") {
- fGetExamCureAcptList();
-
- var rowcnt = getNodesetCount("/root/main/ordlist1/mainordlist1");
- if (rowcnt > 0) {
- fGetExamCurePrcpList(grd_mainordlist);
- }
- }
-
- ]]>
- </script>
- <bind id="bind_execprcpstatcd" ref="/root/main/subordlist/subordlist/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
- <bind id="bind_payflagcd" ref="/root/main/subordlist/subordlist/payflagcd" readonly="../payflagcd!=''"/>
- <bind id="bind_wardcd" ref="/root/main/ordlist/mainordlist/wardcd" readonly="../wardcd!=''"/>
- <bind id="bind_wardcd2" ref="/root/main/ordlist/mainordlist2/wardcd" readonly="../wardcd!=''"/>
- <bind id="bind_prcpgenrflagcd" ref="/root/main/subordlist/subordlist/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd2" ref="/root/main/ordlist/mainordlist/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAEA01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA01418" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/cmb_info"/>
- <submission id="TRAEA03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist"/>
- <submission id="TRAER00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAEA03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/subordlist"/>
- <submission id="TRAAA00001"/>
- </model>
- <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="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Grid 초기화를 위한 Function
- */
- function fInitGrid() {
-
- model.resetInstanceNode("/root/main/ordlist/mainordlist");
- model.resetInstanceNode("/root/main/subordlist/subordlist");
- model.resetInstanceNode("/root/main/subordlist/subordlist2");
- model.resetInstanceNode("/root/send/data/grd_info/grid_data/pid");
- model.resetInstanceNode("/root/send/data/grd_info/grid_data/prcpgenrflag");
- model.resetInstanceNode("/root/send/data/grd_info/grid_data/orddeptcd");
- model.resetInstanceNode("/root/send/data/grd_info/grid_data/prcpdd");
-
- model.resetInstanceNode("/root/send/data/grd_info/grid_data/calcscorcd");
- model.refresh();
- }
-
-
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Toggle선택 조회를 위한 선택 Function
- */
- function fGetToggleAcptList() {
- fInitGrid();
- fGetExamCureAcptList();
- }
-
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회 Submission Function
- */
- function fGetExamCureAcptList() {
-
- // flag Setting
- model.removenode("/root/main/ordlist1");
- model.removenode("/root/main/ordlist2");
- model.removenode("/root/main/subordlist");
-
- model.makeValue("/root/send/data/srchflag", 'P');
-
- grp_pirnt.visible = false;
-
- grd_mainordlist.fixedcellischeck(0,1) = false;
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- // if ( acptlistflag == "R" ) {
- // submit("TRAEA01402");
- // } else if ( acptlistflag == "S" ) {
- // submit("TRAEA03501");
- // }
- submit("TRAEA03501");
- var srchpid = model.getValue("/root/send/data/srchpid");
- if ( srchpid != "") {
- var rowcnt = getNodesetCount("/root/main/ordlist1/mainordlist1");
- if (rowcnt > 0) {
- model.setValue("/root/main/ordlist1/mainordlist1[" + 1 + "]/check","Y");
- grd_mainordlist.row = 1;
- }
- }
- model.refresh();
- }
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 상병 조회를 위한 선택 Function
- */
- function fGetExamCureDiagList(maingridlistid) {
-
- if ( grd_mainordlist.row == 0 ) return;
-
- var row = grd_mainordlist.row;
-
- var pid = maingridlistid.valueMatrix(row, maingridlistid.colRef("pid"));
- var prcpgenrflag = maingridlistid.valueMatrix(row, maingridlistid.colRef("prcpgenrflag")); // 상병조회에서 사용 pid, prcpgenrflag,orddeptcd,prcpdd
- var orddeptcd = maingridlistid.valueMatrix(row, maingridlistid .colRef("orddeptcd"));
- var prcpdd = maingridlistid.valueMatrix(row, maingridlistid .colRef("prcpdd"));
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", prcpgenrflag);
- model.makeValue("/root/send/data/grd_info/grid_data/orddeptcd", orddeptcd);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpdd", prcpdd);
- //alert('Diag Instance->>>>'+model.getValue("/root/send/data/grd_info/grid_data/pid")+'-'+model.getValue("/root/send/data/grd_info/grid_data/prcpgenrflag"));
- submit("TRAEA01410");
-
- }
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자기준 전체 처방내역 조회를 위한 선택 Function
- */
- function fGetExamCurePidPrcpList() {
- model.removenode("/root/main/ordlist1");
- model.removenode("/root/main/ordlist2");
- model.removenode("/root/main/subordlist");
-
- var pid = model.getValue("/root/send/data/srchpid");
-
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/srchflag", 'P');
- model.makeValue("/root/send/data/acptlistflag", "R");
-
- submit("TRAEA03501");
- //model.makeValue("/root/send/data/acptlistflag", flag);
- // 그리드 세팅
- //fSetSubDetailGrid2("/root/main/subordlist/subordlist");
-
- model.refresh();
- }
- /* @group : 영상검사관리(핵의학체내)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방내역/타과처방/상병/코멘트 조회를 위한 선택 Function
- */
- function fGetExamCurePrcpList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
-
- var row = maingridlistid.row;
-
- var acptlistflag = model.getValue("/root/send/data/acptlistflag");
-
- var pid = model.getValue("/root/main/ordlist1/mainordlist1["+ row +"]/pid");
- var orddd = model.getValue("/root/main/ordlist1/mainordlist1["+ row +"]/orddd");
- var orddeptcd = model.getValue("/root/main/ordlist1/mainordlist1["+ row +"]/orddeptcd");
- var prcpgenrflag = model.getValue("/root/main/ordlist1/mainordlist1["+ row +"]/prcpgenrflag");
-
- model.makeValue("/root/send/data/grd_info/grid_data/pid", pid);
- model.makeValue("/root/send/data/grd_info/grid_data/prcpgenrflag", prcpgenrflag);
- model.makeValue("/root/send/data/grd_info/grid_data/largeclass", "M3");
- model.makeValue("/root/send/data/grd_info/grid_data/initexcuroomgrp", model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid"));
- model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid"));
- model.makeValue("/root/send/data/grd_info/grid_data/orddd", orddd);
- model.makeValue("/root/send/data/grd_info/grid_data/orddeptcd", orddeptcd);
-
- //model.makeValue("/root/send/data/grd_info/grid_data/initexcuroom", "NM01");
- if (submit("TRAEA03502")) {
- maingridlistid.row = row;
- }
- }
-
- /* @group : 출력 환자 리스트 생성
- * @ver :
- * @by :
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Function
- */
- function fSetPrintSrch(src) {
- // var nodeList = instance1.selectNodes("/root/main/ordlist1/mainordlist1[check='Y' ]");
- // var rCSV = getNodeListCSV(nodeList);
- // if ( rCSV == null ) {
- // messageBox("처방전을 출력할 환자를","C002");
- // return 0;
- // }
-
- model.removenode("/root/tmpdata");
- var rexnm = "";
- var excuroomcdid = model.getValue("/root/send/data/cmb_info/initexecroom/excuroomcdid");
-
- model.makeValue("/root/tmpdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/tmpdata/initexcuroomgrp", model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid"));
- model.makeValue("/root/tmpdata/initexcuroom", excuroomcdid);
-
- var posinstcd = getUserInfo("posinstcd");
- model.makeValue("/root/tmpdata/instcd", posinstcd);
-
- if (src == "1") {
-
- model.makeValue("/root/tmpdata/srchdate1", model.getValue("/root/send/data/srchdate1"));
- model.makeValue("/root/tmpdata/srchdate2", model.getValue("/root/send/data/srchdate2"));
- model.makeValue("/root/tmpdata/dutplceinstnm", getUserInfo("dutplceinstnm"));
-
- var pidlist = "";
- var loop = grd_mainordlist.rows - grd_mainordlist.fixedRows;
-
- var nodeList = instance1.selectNodes("/root/main/ordlist1/mainordlist1[check='Y' ]");
- var rCSV = getNodeListCSV(nodeList);
- if ( rCSV == null ) {
- messageBox("출력할 자료가 없습니다.", "I999");
- return;
- } else {
- for( var i = 1 ; i <= loop ; i++ ) {
- var check = model.getValue("/root/main/ordlist1/mainordlist1[" + i + "]/check");
- var pid = model.getValue("/root/main/ordlist1/mainordlist1[" + i + "]/pid");
- if ( check == "Y" ) {
- pidlist = pidlist + "'" + pid + "',";
- }
- }
- pidlist = pidlist.substring(0, pidlist.length-1);
- }
-
- model.makeValue("/root/tmpdata/pid", pidlist);
- exeReportPreview("RPAEA01400", "XML", "/root/tmpdata");
-
- } else if (src == "2") {
- model.makeValue("/root/tmpdata/srchdate1", model.getValue("/root/hidden/data/srchdate1"));
- model.makeValue("/root/tmpdata/srchdate2", model.getValue("/root/hidden/data/srchdate2"));
- rexnm = cmb_excuroomgrp.label;
- if (excuroomcdid != "") {
- rexnm = rexnm + " - " + cmb_excuroom.label;
- }
- rexnm = rexnm + " 검사";
- model.makeValue("/root/tmpdata/rexnm", rexnm);
-
- exeReportPreview("RPAEA03600", "XML", "/root/tmpdata");
-
- } else if (src == "3") {
- model.makeValue("/root/tmpdata/srchdate1", model.getValue("/root/send/data/srchdate1"));
- model.makeValue("/root/tmpdata/srchdate2", model.getValue("/root/send/data/srchdate2"));
- model.makeValue("/root/tmpdata/sortbase", model.getValue("/root/send/data/sortbase"));
- rexnm = cmb_excuroomgrp.label;
- if (excuroomcdid != "") {
- rexnm = rexnm + " - " + cmb_excuroom.label;
- }
- rexnm = rexnm + " 예약";
- model.makeValue("/root/tmpdata/rexnm", rexnm);
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
-
- if ( excuroomgrpcdid == "PET-CT실") {
- var examposuseyn = model.getValue("/root/send/examposuseyn");
-
- if (examposuseyn == "Y") {
- exeReportPreview("RPAEA03502", "XML", "/root/tmpdata");
- } else {
- exeReportPreview("RPAEA03501", "XML", "/root/tmpdata");
- }
- } else {
- exeReportPreview("RPAEA03500", "XML", "/root/tmpdata");
- }
-
- }
- }
-
- /* @group : 접수관리
- * @ver :
- * @by : 김건기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사실 그룹 변경
- */
- function fExcuRoomGrpChoi(excuroomgrpcdid) {
- if (excuroomgrpcdid == "") {
- cmb_excuroom.disabled = true;
- } else {
- cmb_excuroom.disabled = false;
-
- if (submit("TRAEA01418", false)) {
- copyNodeType("/root/init/cmb_info/excuroom","/root/hidden/cmb_info/excuroom","replace");
- copyNodeType("/root/init/cmb_info/examcurecd","/root/hidden/cmb_info/examcurecd","replace");
- model.setValue("/root/send/data/cmb_info/initexecroom/excuroomcdid","");
- }
- }
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="684" guideline="1,1196;2,654;2,628;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:170px; height:13px; ">처방전 및 실시완료 출력</caption>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1192px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:546px; top:22px; width:91px; height:17px; ">적용일자 :</caption>
- <caption id="caption1" class="search_name" style="left:836px; top:22px; width:91px; height:17px; ">등록번호 :</caption>
- <datagrid id="grd_subordlist2" nodeset="/root/main/subordlist/subordlist2" caption="일자^상병명^상병코드^진료과^등록의사" colsep="^" colwidth="90, 459, 100, 100, 96" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:327px; top:406px; width:865px; height:220px; ">
- <col ref="diagdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagengnm" style="left:100px; top:20px; width:454px; height:20px; "/>
- <col ref="diagcd"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- </datagrid>
- <caption id="caption22" class="tit_2" style="left:327px; top:386px; width:82px; height:13px; ">상병</caption>
- <line id="line1" class="line_1" style="x1:326px; y1:401px; x2:1192px; y2:401px; "/>
- <line id="line2" class="line_1" style="x1:326px; y1:70px; x2:1191px; y2:70px; "/>
- <datagrid id="grd_subordlist" nodeset="/root/main/subordlist/subordlist1" caption="처방일자^검사코드^검사명^예약일자^I/O^진료과^진료의^전달사항^진료일자^진료과코드" colsep="^" colwidth="68, 90, 320, 102, 31, 68, 52, 100, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:327px; top:75px; width:865px; height:300px; text-align:center; ">
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="calcscorcd"/>
- <col ref="prcpnm" style="font-weight:bold; text-align:left; "/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddepthngnm"/>
- <col ref="orddrnm"/>
- <col ref="prcpremfact"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="actorddd" visibility="hidden"/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:4px; y1:70px; x2:320px; y2:70px; "/>
- <line id="line4" class="line_2" style="x1:4px; y1:68px; x2:320px; y2:68px; "/>
- <button id="btn_holdcncl" class="btn4_letter2" style="left:1135px; top:630px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_hold" class="btn4_letter2" style="left:1075px; top:630px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_pirnt.visible = false;
- // 출력 조건 설정
- fSetPrintSrch("1");
-
-
- // var row = grd_mainordlist.rows;
- //
- // if (row > 1) {
- //
- // model.makeValue("/root/tmpdata/srchdate1", model.getValue("/root/send/data/srchdate1"));
- // model.makeValue("/root/tmpdata/srchdate2", model.getValue("/root/send/data/srchdate2"));
- // model.makeValue("/root/tmpdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- // model.makeValue("/root/tmpdata/excuroomcd", model.getValue("/root/send/data/initexcuroom"));
- // model.makeValue("/root/tmpdata/pid", fSetPid());
- // var posinstcd = getUserInfo("posinstcd");
- // model.makeValue("/root/tmpdata/instcd", posinstcd);
- //
- // exeReportPreview("RPAEA01400", "XML", "/root/tmpdata");
- // } else {
- // messageBox("출력할 자료가 없습니다.", "I999");
- // return "0";
- // }
-
- ]]>
- </script>
- </button>
- <input id="ipt_date1" ref="/root/send/data/srchdate1" class="input_default" inputtype="date" style="left:636px; top:22px; width:90px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/data/srchdate2" class="input_default" inputtype="date" style="left:728px; top:22px; width:90px; height:19px; "/>
- <input id="ipt_pid" ref="/root/send/data/srchpid" class="input_search" maxlength="10" style="left:930px; top:22px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- if ( event.keyCode == 13 ) {
-
- setInputNodeCurText();
- fGetExamCurePidPrcpList();
- }
- ]]>
- </script>
- </input>
- <button id="button61" class="icon_search" style="left:1012px; top:23px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_pirnt.visible = false;
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/srchpid","/root/main/send");
- model.setValue("/root/send/data/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="ipt_patnm" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:1029px; top:22px; width:71px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- grp_pirnt.visible = false;
- fGetExamCureAcptList();
- ]]>
- </script>
- </button>
- <shape id="roundrect1" class="roundrect_example" visibility="visible" appearance="roundrect" ellipsewidth="10" ellipseheight="7" style="left:327px; top:49px; width:535px; height:19px; "/>
- <output id="opt_patientinfo" ref="/root/main/patinfo/patinfolist" visibility="visible" style="left:327px; top:49px; width:535px; height:19px; "/>
- <datagrid id="grd_mainordlist" nodeset="/root/main/ordlist1/mainordlist1" autoresize="true" caption="^등록번호^환자명^구분^병동^과^execprcpuniqno^orddeptcd^rsrvdd^execprcpstatcd^prcpdd^roomcd^orddrid^rcptyn^type^진료(입원)일자^환자일련번호" colsep="^" colwidth="26, 63, 52, 35, 58, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:75px; width:315px; height:550px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col disabled="true" ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecward">
- <label ref="execwardcdnm"/>
- <value ref="execwardcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="depthngnm" style="left:230px; top:20px; width:32px; height:20px; "/>
- <col ref="execprcpuniqno"/>
- <col ref="orddeptcd"/>
- <col ref="rsrvdd"/>
- <col ref="execprcpstatcd"/>
- <col ref="prcpdd"/>
- <col ref="roomcd"/>
- <col ref="orddrid"/>
- <col ref="rcptyn"/>
- <col ref="type"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- grp_pirnt.visible = false;
-
- if ( (grd_mainordlist.row >= grd_mainordlist.fixedRows) && (grd_mainordlist.isCell(event.target))) {
- fGetExamCurePrcpList(grd_mainordlist);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_mainordlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:5px; top:50px; width:82px; height:13px; ">예약 환자</caption>
- <button id="button4" class="btn3_letter9" style="left:4px; top:630px; width:164px; height:22px; ">
- <caption>날짜별실시완료출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/data/srchdate1",getCurrentDate());
- model.setValue("/root/hidden/data/srchdate2",getCurrentDate());
- grp_pirnt.visible = true;
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter7" style="left:147px; top:630px; width:116px; height:22px; ">
- <caption>날짜별예약출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- grp_pirnt.visible = false;
-
- // 출력 조건 설정
- fSetPrintSrch("3");
-
- // model.removenode("/root/tmpdata");
- //
- // model.makeValue("/root/tmpdata/rsrvdd", getCurrentDate());
- // model.makeValue("/root/tmpdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- // model.makeValue("/root/tmpdata/excuroomcd", model.getValue("/root/send/data/initexcuroom"));
- //
- // var posinstcd = getUserInfo("posinstcd");
- // model.makeValue("/root/tmpdata/instcd", posinstcd);
-
- ]]>
- </script>
- </button>
- <group id="grp_pirnt" visibility="hidden" style="left:90px; top:470px; width:315px; height:105px; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:300px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="rdo_srch" ref="/root/hidden/data/srchflag" appearance="full" cols="2" overflow="visible" style="left:95px; top:15px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>당일</label>
- <value>1</value>
- </item>
- <item>
- <label>기간별</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var srchflag = model.getValue("/root/hidden/data/srchflag");
-
- if ( srchflag == "1") {
- model.setValue("/root/hidden/data/srchdate1",getCurrentDate());
- model.setValue("/root/hidden/data/srchdate2",getCurrentDate());
- ipt_srchdate1.disabled = true;
- ipt_srchdate2.disabled = true;
- model.refresh();
- } else {
- model.setValue("/root/hidden/data/srchdate1",getCurrentDate());
- model.setValue("/root/hidden/data/srchdate2",getCurrentDate());
- ipt_srchdate1.disabled = false;
- ipt_srchdate2.disabled = false;
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:6px; top:42px; width:91px; height:17px; ">적용일자 :</caption>
- <input id="ipt_srchdate1" ref="/root/hidden/data/srchdate1" class="input_default" disabled="true" inputtype="date" style="left:96px; top:42px; width:90px; height:19px; "/>
- <input id="ipt_srchdate2" ref="/root/hidden/data/srchdate2" class="input_default" disabled="true" inputtype="date" style="left:196px; top:42px; width:90px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:6px; top:15px; width:91px; height:17px; ">조회구분 :</caption>
- <button id="button1" class="btn4_letter2" style="left:249px; top:75px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_pirnt.visible = false;
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:190px; top:75px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 출력 조건 설정
- fSetPrintSrch("2");
-
- // model.removenode("/root/tmpdata");
- //
- // model.makeValue("/root/tmpdata/srchdate1", model.getValue("/root/hidden/data/srchdate1"));
- // model.makeValue("/root/tmpdata/srchdate2", model.getValue("/root/hidden/data/srchdate2"));
- // model.makeValue("/root/tmpdata/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- // model.makeValue("/root/tmpdata/excuroomcd", model.getValue("/root/send/data/initexcuroom"));
- // var posinstcd = getUserInfo("posinstcd");
- // model.makeValue("/root/tmpdata/instcd", posinstcd);
-
-
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:310px; height:102px; "/>
- </group>
- <select1 id="cmb_excuroomgrp" ref="/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid" class="combo_default" appearance="minimal" style="left:275px; top:22px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var excuroomgrpcdid = model.getValue("/root/send/data/cmb_info/initexcuroomgrp/excuroomgrpcdid");
-
- model.removenode("/root/main/ordlist1");
- model.removenode("/root/main/ordlist2");
- model.removenode("/root/main/subordlist");
-
- model.makeValue("/root/send/data/excuroomgrp", excuroomgrpcdid);
-
- // 검사실 그룹 변경 시 이벤트
- fExcuRoomGrpChoi(excuroomgrpcdid);
-
- grp_pirnt.visible = false;
-
- grd_mainordlist.fixedcellischeck(0,2) = false;
-
- fGetExamCureAcptList();
-
- ]]>
- </script>
- </select1>
- <caption id="caption6" class="search_name" style="left:195px; top:23px; width:80px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/data/cmb_info/initexecroom/excuroomcdid" class="combo_default" appearance="minimal" style="left:395px; top:22px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/excuroom/initexcuroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fInitGrid();
- fGetExamCureAcptList()
- ]]>
- </script>
- </select1>
- <select1 id="cmb_acptlistflag" ref="/root/send/data/acptlistflag" appearance="minimal" style="left:75px; top:22px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>예약</label>
- <value>R</value>
- </item>
- <item>
- <label>실시완료</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- grp_pirnt.visible = false;
-
- grd_mainordlist.fixedcellischeck(0,2) = false;
-
- fGetExamCureAcptList();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:10px; top:23px; width:65px; height:17px; ">상태 :</caption>
- <select1 id="radio1" ref="/root/send/data/sortbase" appearance="full" cols="2" overflow="visible" style="left:275px; top:632px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>검사별</label>
- <value>P</value>
- </item>
- <item>
- <label>예약시간별</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var srchflag = model.getValue("/root/hidden/data/srchflag");
-
- if ( srchflag == "1") {
- model.setValue("/root/hidden/data/srchdate1",getCurrentDate());
- model.setValue("/root/hidden/data/srchdate2",getCurrentDate());
- ipt_srchdate1.disabled = true;
- ipt_srchdate2.disabled = true;
- model.refresh();
- } else {
- model.setValue("/root/hidden/data/srchdate1",getCurrentDate());
- model.setValue("/root/hidden/data/srchdate2",getCurrentDate());
- ipt_srchdate1.disabled = false;
- ipt_srchdate2.disabled = false;
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|