123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>진찰료 산정 여부 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- </init>
- <main>
- <otptlist>
- <otptinfo>
- <pid/>
- <hngnm/>
- <orddd/>
- <ordtm/>
- <cretno/>
- <orddeptcd/>
- <orddeptnm/>
- <orddrid/>
- <orddrnm/>
- <jobkindnm/>
- <diaginfo/>
- <fsexamflag/>
- <fsexamflagnm/>
- <medamtestmyn/>
- <medamtestmyn_org/>
- <specordyn/>
- <specordyn_org/>
- <specordyn_usrd/>
- </otptinfo>
- </otptlist>
- </main>
- <send>
- <srch>
- <pid/>
- </srch>
- <save/>
- </send>
- <temp>
- <rslt>
- <cnt/>
- </rslt>
- </temp>
- <paminfo/>
- </root>
- </instance>
- <submission id="TRPMO00141" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/otptlist/otptinfo"/>
- <submission id="TXPMO00141" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/otptlist/otptinfo" resultref="/root/temp/rslt"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </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" ev:event="xforms-ready">
- <![CDATA[
- var sPid = opener.javascript.getParameter("SPPAO00103_PID");
-
- if (!isNull(sPid)) {
- model.setValue("/root/send/srch/pid", sPid);
- ipt_pid.refresh();
- btn_search.dispatch("DOMActivate");
- opener.javascript.setParameter("SPPAO00103_PID", "");
- } else {
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- if(pamInfoCvs != null){ //cvs가 null이 아닌 경우에만 처리함.
- model.removeNodeSet ( "/root/paminfo/list" );
- setCSVToNode ( "/root/paminfo", pamInfoCvs );
- sPid = model.getValue ( "/root/paminfo/list/pid" );
- model.setValue("/root/send/srch/pid", sPid);
- ipt_pid.refresh();
- btn_search.dispatch("DOMActivate");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pageheight="530" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:155px; height:13px; font-family:돋움; vertical-align:middle; ">진찰료 산정 여부 관리</caption>
- <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:110px; height:13px; font-weight:bold; ">외래 접수 내역</caption>
- <button id="btn_rgst" class="btn4_letter6" style="left:1091px; top:495px; width:104px; height:22px; ">
- <caption>변경사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXPMO00141");
-
- var cnt = parseInt(model.getValue("/root/temp/rslt/cnt"));
-
- if (cnt > 0) {
- messageBox("[ " + cnt + " ] 건이 변경되었습니다.", "I999");
- btn_search.dispatch("DOMActivate");
- } else {
- messageBox("변경된 내역이 없습니다.", "E999");
- }
-
-
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption35" class="search_name" style="left:5px; top:33px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/send/srch/pid") == "") {
- messageBox("등록번호를 입력해 주십시오.", "C999");
- return;
- }
-
- submit("TRPMO00141");
-
- var cnt = instance1.selectNodes("/root/main/otptlist/otptinfo").length;
-
- for (var i = 1; i <= cnt; i++) {
- if (model.getValue("/root/main/otptlist/otptinfo[" + i + "]/specordyn_usrd") != "Y") {
- grd_otpt.cellAttribute("disabled", i, grd_otpt.colRef("specordyn")) = "true";
- grd_otpt.cellStyle("color", i, grd_otpt.colRef("specordyn")) = "gray";
- } else {
- grd_otpt.cellAttribute("disabled", i, grd_otpt.colRef("specordyn")) = "false";
- grd_otpt.cellStyle("color", i, grd_otpt.colRef("specordyn")) = "black";
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:1115px; y1:30px; x2:1115px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
- <datagrid id="grd_otpt" nodeset="/root/main/otptlist/otptinfo" caption="등록번호^환자명^진료일시^진료일시^진료과^진료의^직종^진단명^초/재진여부^진찰료산정여부^선택진료여부" colsep="^" colwidth="55, 60, 75, 40, 100, 60, 120, 380, 75, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1195px; height:400px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="ordtm" format="hh:nn"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="jobkindnm"/>
- <col ref="diaginfo" style="text-align:left; padding-left:1; "/>
- <col ref="fsexamflagnm"/>
- <col checkvalue="Y,N" ref="medamtestmyn" type="checkbox"/>
- <col ref="specordyn" type="combo">
- <choices>
- <item>
- <label>산정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미산정</label>
- <value>N</value>
- </item>
- <item>
- <label>진찰료미산정</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_otpt.col != grd_otpt.colRef("medamtestmyn")) {
- return;
- }
-
- var path = "/root/main/otptlist/otptinfo[" + grd_otpt.row + "]/";
-
- // 진찰료 산정 여부가 체크되지 않으면 선택 진료도 체크 해제
- if (model.getValue(path + "medamtestmyn") != "Y") {
- model.setValue(path + "specordyn", "N");
- grd_otpt.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_pid" ref="/root/send/srch/pid" class="input_search" style="left:95px; top:32px; width:70px; height:19px; font-weight:bold; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:180px; top:32px; width:464px; height:20px; font-weight:bold; ">※ [진찰료산정여부] 변경 후, [선택진료여부] 항목도 함께 확인해 주십시오.</caption>
- <caption id="caption3" style="left:742px; top:65px; width:453px; height:19px; ">※ 해당 진료의가 선택 진료의가 아니면 [선택진료여부]가 회색 글자로 표시됩니다.</caption>
- <caption id="caption2" style="left:640px; top:32px; width:392px; height:20px; ">( 체크를 해제하면 선택 진료 여부는 자동으로 미산정으로 변경됩니다. )</caption>
- </xhtml:body>
- </xhtml:html>
|