123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603 |
- <?xml version="1.0" encoding="UTF-16"?>
- <!--
- * 화면 : SPPAO02300_시행일자별계산내역조회.xrw
- * 설명 : 시행일자별계산내역조회
- * 작성자 : 조영상
- * 작성일 : 2007/12/09
- -->
- <?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>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </patinfolist>
- </patinfo>
- <h_ioscl>
- <ioscl>
- <ioscl_orddd/>
- <ioscl_execdd/>
- <ioscl_pid/>
- <ioscl_grupsnglflag/>
- <ioscl_calcscorcd/>
- <ioscl_hngnm/>
- <ioscl_calcpayflag/>
- <ioscl_calcqty/>
- <ioscl_calctims/>
- <ioscl_calcdays/>
- <ioscl_calcamt/>
- <ioscl_hospaddamt/>
- <ioscl_specamt/>
- <ioscl_ownbamt/>
- <ioscl_payownbrate/>
- <ioscl_exectm/>
- <ioscl_undersixageyn/>
- <ioscl_hosoutexptresncd/>
- <ioscl_insuedicd/>
- <ioscl_rcptexecdd/>
- </ioscl>
- </h_ioscl>
- </main>
- <send>
- <data1>
- <pid/>
- <ioflag/>
- <ordrcptflag/>
- <fromdd/>
- <todd/>
- <ordtype/>
- <orddeptcd/>
- <orddeptnm/>
- <srch_flag/>
- <snglcalcscorcd/>
- <con/>
- <execfromdd/>
- <exectodd/>
- </data1>
- </send>
- <hidden>
- <session>
- <userid/>
- <usernm/>
- <posinstcd/>
- <posinstnm/>
- <dutplcecd/>
- <dutplcenm/>
- <dutinstnm/>
- </session>
- <temp/>
- </hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- <temp>
- <receipt/>
- </temp>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <nm/>
- <cd/>
- </orddeptcdlist>
- </orddeptcd>
- </init>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/receivamtlist/receivamtstats" calculate="now() + ."/>
- <bind id="bind2" ref="/root/main/receivamtsumlist/receivamtsumstats/uncnt" calculate="sum(/root/main/receivamtlist/receivamtstats/uncnt);"/>
- <bind id="bind3" ref="/root/main/receivamtsumlist/receivamtsumstats/uncoamt" calculate="sum(/root/main/receivamtlist/receivamtstats/uncoamt);"/>
- <submission id="TRPAO02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/h_ioscl"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
- <submission id="TRPAM00107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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 type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- makeReportPreview(0,0,0,0,"");
-
- fInitialize();
-
- fGetUserInfo2();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var vcheck_pid;
-
- //로그인한 사용자 정보조회
- function fGetUserInfo2(){
- var sUserInfosS = getUserInfos();
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var dutplcecd = UserInfosS_Array[4]; //근무지부서코드
- var dutplcenm = UserInfosS_Array[5]; //근무지부서명
- var dutinstnm = UserInfosS_Array[7]; //근무지기관명
-
- /*
- model.makeNode("/root/hidden/session/" + "userid");
- model.makeNode("/root/hidden/session/" + "usernm");
- model.makeNode("/root/hidden/session/" + "posinstcd");
- model.makeNode("/root/hidden/session/" + "posinstnm");
- model.makeNode("/root/hidden/session/" + "dutplcecd");
- model.makeNode("/root/hidden/session/" + "dutplcenm");
- model.makeNode("/root/hidden/session/" + "dutinstnm");
- */
- model.setValue("/root/hidden/session/userid",userid);
- model.setValue("/root/hidden/session/usernm",usernm);
- model.setValue("/root/hidden/session/posinstcd",posinstcd);
- model.setValue("/root/hidden/session/posinstnm",posinstnm);
- model.setValue("/root/hidden/session/dutplcecd",dutplcecd);
- model.setValue("/root/hidden/session/dutplcenm",dutplcenm);
- model.setValue("/root/hidden/session/dutinstnm",dutinstnm);
- }
-
- function fInitialize() {
- model.setvalue("/root/send/data1/pid", "");
- model.setvalue("/root/send/data1/ioflag", "O");
- model.setvalue("/root/send/data1/ordrcptflag", "orddd");
- model.setvalue("/root/send/data1/fromdd", getCurrentDate());
- model.setvalue("/root/send/data1/todd", getCurrentDate());
- model.setvalue("/root/send/data1/execfromdd", getCurrentDate());
- model.setvalue("/root/send/data1/exectodd", getCurrentDate());
- model.setvalue("/root/send/data1/ordtype", "시행일자별영수증");
- model.setvalue("/root/send/data1/snglcalcscorcd", "");
- model.setvalue("/root/send/data1/srch_flag", "%");
- ipt_calccd.disabled = true;
-
- //진료과코드 진료의사ID 조회
- pamGetDeptCDDrIDListAll();
- addComboItem("combo1" , "전체","","above");
- model.setValue("/root/send/data1/orddeptnm", "");
-
- model.setFocus("ipt_pid");
- model.refresh();
- }
-
- function fSearch() {
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var srch_flag = model.getValue("/root/send/data1/srch_flag");
- var calccd = model.getValue("/root/send/data1/snglcalcscorcd");
-
- if(srch_flag == "calccd" && calccd == ""){
- messageBox("검색조건이 수가코드일시에는 반드시 코드가 있어야합니다.", "E999","");
-
- model.setFocus("ipt_fromdd");
- model.setFocus("ipt_pid");
- return;
- }
-
- if(srch_flag == "calcnm" && calccd == ""){
- messageBox("검색조건이 수가명칭일시에는 반드시 명칭이 있어야합니다.", "E999","");
- model.setFocus("ipt_fromdd");
- model.setFocus("ipt_pid");
- return;
- }
-
- if(srch_flag == "%" && pid == ""){
- messageBox("환자번호와 수가검색조건 둘중에 하나는 선택하셔야 합니다,(시스템에 부하가 갑니다.)", "E999","");
- model.setFocus("ipt_fromdd");
- model.setFocus("ipt_pid");
- return;
- }
-
- submit("TRPAO02301");
-
- grd_ioscl.subtotalposition = "below";
- grd_ioscl.multitotals = true;
- grd_ioscl.subtotal("sum", -1, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계", true); //단가
- grd_ioscl.subtotal("sum", -1, 10, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계 ", true); //가산금액
- grd_ioscl.subtotal("sum", -1, 11, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계 ", true); //지정료
- grd_ioscl.subtotal("sum", -1, 12, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 0, "합계 ", true); //본인부담
- grd_ioscl.subtotalPosition = "below";
- model.refresh();
- }
-
- function fGetPid() {
-
- model.setvalue("/root/send/data1/pid",model.getvalue("/root/main/patinfo/patinfolist/pid"));
-
- vcheck_pid = model.getvalue("/root/send/data1/pid");
-
- //환자번호 null체크
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- messageBox("환자등록번호가 입력되지","E007");
- return;
- }
- //환자번호 조건으로 인적정보 조회
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
-
- //환자등록번호 체크
- if(submit("TRPMC02500")){
- var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- //조회내역 체크
- messageBox("존재하지 않는 등록번호","E008");//E008=입니다
-
- model.makevalue("/root/main/patinfo/patinfolist/pid","");
- model.makevalue("/root/main/patinfo/patinfolist/hngnm","");
- model.makevalue("/root/main/patinfo/patinfolist/rrgstno1","");
- model.makevalue("/root/main/patinfo/patinfolist/rrgstno2","");
-
- model.setFocus("ipt_fromdd");
- model.setFocus("ipt_pid");
- return;
-
- }else{
- fSearch();
- }
- }
- }
-
- //조회
- function fBtn_Run(){
-
- var pid = model.getvalue("/root/main/patinfo/patinfolist/pid");
-
- if(pid != ""){
- fGetPid();
- }else{
- model.setvalue("/root/send/data1/pid","");
- model.makevalue("/root/main/patinfo/patinfolist/pid","");
- model.makevalue("/root/main/patinfo/patinfolist/hngnm","");
- model.makevalue("/root/main/patinfo/patinfolist/rrgstno1","");
- model.makevalue("/root/main/patinfo/patinfolist/rrgstno2","");
- fSearch();
- }
- }
-
- function fSpecBillPrint() {
-
- model.makeValue("/root/temp/receipt/ordtype" , "실시일자별외래진료비세부내역서" );
-
- model.makeValue("/root/temp/receipt/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.makeValue("/root/temp/receipt/orddeptcd" , model.getValue("/root/send/data1/orddeptcd") );
- model.makeValue("/root/temp/receipt/fromdd" , model.getValue("/root/send/data1/fromdd") );
- model.makeValue("/root/temp/receipt/todd" , model.getValue("/root/send/data1/todd") );
- model.makeValue("/root/temp/receipt/calcpayflag" , "-','0','2','1','5");
- model.makeValue("/root/temp/receipt/calcsum" , "Y" );
- //영수증 팝업화면 호출
- modal("SPPAO01900");
- }
-
- function fPrintCon(param) {
-
- if (model.getValue("/root/main/patinfo/patinfolist/pid") == null
- || model.getValue("/root/main/patinfo/patinfolist/pid") == "") {
-
- messageBox("연속출력의 경우 반드시 환자를 조회해야 합니다.", "C000");
- return;
- }
-
- if (messageBox("해당 기간에 대하여 조회와 영수증/내역서 재출력이 반복됩니다.\r\n모든 출력이 종료될 때까지 다른 작업은 하실 수 없습니다.\r\n진행하시겠습니까?", "S000") == "6") {
-
- var todd = model.getValue("/root/send/data1/exectodd");
- var execdd = model.getValue("/root/send/data1/execfromdd");
-
- // 로딩창 열기
- callLoadingWindow("영수증 출력중");
-
- while (execdd <= todd) {
-
- model.setValue("/root/send/data1/fromdd", execdd);
- model.setValue("/root/send/data1/todd", execdd);
- model.refresh();
-
- // 조회
- fBtn_Run();
-
- // 검색 결과가 있는 경우에만 영수증 출력 호출
- if (getNodesetCount("/root/main/h_ioscl/ioscl") > 0) {
-
- if (param == "R") {
- model.setvalue("/root/send/data1/pid", model.getvalue("/root/main/patinfo/patinfolist/pid"));
- model.copyNode( "/root/temp/receipt" , "/root/send/data1" );
- modal("SPPAO01900");
- } else {
- fSpecBillPrint();
- }
- }
-
- execdd = getDateTime(execdd.toDate("YYYYMMDD").getAddDate(1), "D");
- }
-
- // 로딩창 닫기
- removeLoadingWindow();
-
- messageBox("영수증 연속출력이 종료되었습니다.", "I000");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784">
- <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:215px; height:14px; font-family:돋움; vertical-align:middle; ">시행일자별계산내역조회</caption>
- </group>
- <group id="group2" style="left:4px; top:23px; width:1203px; height:62px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption9" class="search_name" style="left:730px; top:6px; width:55px; height:17px; text-align:left; vertical-align:middle; ">연속</caption>
- <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBtn_Run();
-
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn4_letter6" style="left:1010px; top:7px; width:104px; height:22px; ">
- <caption>영수증재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 영수증 재출력
- if (model.getValue("/root/send/data1/con") != "true") {
- model.setvalue("/root/send/data1/pid", model.getvalue("/root/main/patinfo/patinfolist/pid"));
- model.copyNode( "/root/temp/receipt" , "/root/send/data1" );
- open("SPPAO01900");
-
- } else {
-
- // 영수증 연속 출력
- fPrintCon("R");
- }
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/send/data1/ioflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:448px; top:7px; width:87px; height:19px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var ioflag = model.getValue("/root/send/data1/ioflag");
- var ordrcptflag = model.getValue("/root/send/data1/ordrcptflag");
-
- if (ioflag == "O" && ordrcptflag == "execdd") {
- btn_sbprnt.visible = true;
- } else {
- btn_sbprnt.visible = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/send/data1/ordrcptflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:600px; top:7px; width:115px; height:19px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>시행일</label>
- <value>execdd</value>
- </item>
- <item>
- <label>진료일</label>
- <value>orddd</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var ioflag = model.getValue("/root/send/data1/ioflag");
- var ordrcptflag = model.getValue("/root/send/data1/ordrcptflag");
-
- if (ioflag == "O" && ordrcptflag == "execdd") {
- btn_sbprnt.visible = true;
- } else {
- btn_sbprnt.visible = false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_todd" ref="/root/send/data1/todd" autonext="false" inputtype="date" style="left:192px; top:33px; width:87px; height:19px; text-align:center; vertical-align:middle; "/>
- <caption id="caption4" style="left:179px; top:34px; width:16px; height:19px; text-align:center; vertical-align:middle; ">~</caption>
- <caption id="caption2" class="search_name" style="left:388px; top:6px; width:60px; height:17px; text-align:center; vertical-align:middle; ">구분:</caption>
- <caption id="caption5" class="search_name" style="left:545px; top:6px; width:55px; height:17px; text-align:left; vertical-align:middle; ">기준:</caption>
- <caption id="caption6" class="search_name" style="left:10px; top:35px; width:85px; height:15px; text-align:left; vertical-align:middle; ">기 간:</caption>
- <caption id="caption3" class="search_name" style="left:10px; top:6px; width:85px; height:17px; text-align:center; vertical-align:middle; ">환자번호:</caption>
- <output id="output1" ref="/root/main/patinfo/patinfolist/hngnm" class="output_fix" style="left:167px; top:6px; width:70px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfo/patinfolist/rrgstno1" class="output_fix" style="left:239px; top:6px; width:50px; height:19px; "/>
- <output id="output3" ref="/root/main/patinfo/patinfolist/rrgstno2" class="output_fix" style="left:291px; top:6px; width:60px; height:19px; "/>
- <button id="btn_pid" class="icon_search" style="left:355px; top:6px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" autonext="false" maxlength="10" style="left:95px; top:6px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
-
- setInputNodeCurText();
-
- fBtn_Run();
- }
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:289px; top:33px; width:71px; height:17px; text-align:left; vertical-align:middle; ">진료과:</caption>
- <select1 id="combo1" ref="/root/send/data1/orddeptcd" appearance="minimal" style="left:358px; top:33px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 2010.2.24 강태훈 진료과 선택시 전료과명 send로 보냄
- var orddeptnm = "";
- var orddeptcd = model.getValue("/root/send/data1/orddeptcd");
- for(i=1;i<=combo1.length;i++){
- if( orddeptcd == model.getValue("/root/init/orddeptcd/orddeptcdlist["+i+"]/cd") ){
- orddeptnm = model.getValue("/root/init/orddeptcd/orddeptcdlist["+i+"]/nm");
- if(orddeptnm == "전체"){
- model.setValue("/root/send/data1/orddeptnm", "");
- }else{
- model.setValue("/root/send/data1/orddeptnm", orddeptnm);
- }
- }
- }
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" style="left:468px; top:35px; width:81px; height:17px; ">검색조건:</caption>
- <select1 id="radio3" ref="/root/send/data1/srch_flag" appearance="full" cols="3" overflow="visible" style="left:553px; top:35px; width:177px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>없음</label>
- <value>%</value>
- </item>
- <item>
- <label>수가코드</label>
- <value>calccd</value>
- </item>
- <item>
- <label>수가명칭</label>
- <value>calcnm</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getValue("/root/send/data1/srch_flag") == "%"){
- ipt_calccd.disabled = true;
- }else{
- ipt_calccd.disabled = false;
- }
-
- ]]>
- </script>
- </select1>
- <input id="ipt_calccd" ref="/root/send/data1/snglcalcscorcd" autonext="false" style="left:735px; top:33px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- fBtn_Run()
- }
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/send/data1/fromdd" autonext="false" inputtype="date" style="left:95px; top:33px; width:87; height:19px; text-align:center; vertical-align:middle; "/>
- <button id="btn_sbprnt" class="btn4_letter10" visibility="hidden" style="left:1010px; top:33px; width:152px; height:22px; ">
- <caption>외래진료비세부내역서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (model.getValue("/root/send/data1/con") != "true") {
-
- // 세부내역서 출력
- fSpecBillPrint();
-
- } else {
-
- // 세부내역서 연속 출력
- fPrintCon("D");
- }
-
- ]]>
- </script>
- </button>
- <bool id="bool1" ref="/root/send/data1/con" style="left:780px; top:8px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/data1/con") == "true") {
- ipt_execfromdd.disabled = false;
- ipt_exectodd.disabled = false;
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- } else {
- ipt_execfromdd.disabled = true;
- ipt_exectodd.disabled = true;
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- }
- ]]>
- </script>
- </bool>
- <caption id="caption10" style="left:884px; top:7px; width:16px; height:19px; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_exectodd" ref="/root/send/data1/exectodd" disabled="true" autonext="false" inputtype="date" style="left:897px; top:6px; width:87px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_execfromdd" ref="/root/send/data1/execfromdd" disabled="true" autonext="false" inputtype="date" style="left:800px; top:6px; width:87px; height:19px; text-align:center; vertical-align:middle; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:19px; top:757px; width:1180px; height:27px; ">
- <caption id="caption1" style="left:5px; top:5px; width:380px; height:15px; color:#ff0000; ">참고: 환자번호가 없을시에는 조회 속도가 상당히 느립니다.</caption>
- </group>
- <button id="btn_init" class="btn4_letter3" style="left:1129px; top:760px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <datagrid id="grd_ioscl" nodeset="/root/main/h_ioscl/ioscl" caption="진료일자^실시일자^환자번호^그룹^수가코드^수가명칭^급여^수량^횟수^일수^단가^가산금액^지정료^본인부담^%^야간^나이^원외예외사유코드^EDI코드^수납일자" colsep="^" colwidth="70, 70, 60, 40, 95, 300, 50, 35, 35, 35, 70, 70, 70, 70, 35, 60, 60, 100, 100, 100" mergecellsfixedrows="bycolrec" multitotal="true" rowsep="|" subtotalposition="below" style="left:5px; top:95px; width:1197px; height:656px; ">
- <col ref="ioscl_orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ioscl_execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ioscl_pid" style="text-align:left; "/>
- <col ref="ioscl_grupsnglflag" style="text-align:center; "/>
- <col ref="ioscl_calcscorcd" style="text-align:left; "/>
- <col ref="ioscl_hngnm" style="text-align:left; "/>
- <col ref="ioscl_calcpayflag" format="#,###" style="text-align:center; "/>
- <col ref="ioscl_calcqty" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_calctims" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_calcdays" style="text-align:right; "/>
- <col ref="ioscl_calcamt" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_hospaddamt" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_specamt" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_ownbamt" format="#,###" style="text-align:right; "/>
- <col ref="ioscl_payownbrate" style="text-align:center; "/>
- <col ref="ioscl_exectm" style="text-align:center; "/>
- <col ref="ioscl_undersixageyn" style="text-align:center; "/>
- <col ref="ioscl_hosoutexptresncd" style="text-align:center; "/>
- <col ref="ioscl_insuedicd" style="text-align:left; "/>
- <col ref="ioscl_rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var temp = grd_ioscl.row ;
-
- model.setvalue("/root/send/data1/snglcalcscorcd" , model.getvalue("/root/main/h_ioscl/ioscl["+ temp +"]/ioscl_calcscorcd" ));
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|