123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646 |
- <?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>
- <list1>
- <iscl/>
- </list1>
- </main>
- <send>
- <cretno/>
- <ownbrate/>
- <insukind/>
- <suppkind/>
- <pid/>
- <indd/>
- <mskind/>
- <insukindcd/>
- <suppkindcd/>
- <fromdd/>
- <todd/>
- <insufromdd/>
- <insutodd/>
- <grupsnglflag/>
- <choicdsrch/>
- <calcscorcd/>
- <!-- <calcscorcdflag/>
- <past/>
- <cretno/>-->
- <srchflag/>
- <!-- <ordlist/>-->
- <instcd/>
- <ordtype/>
- <brateflag/>
- </send>
- <init>
- <!-- <sppid21600>
- <cond>
- <pid/>
- <indd/>
- <fromdd/>
- <todd/>
- <calcscorcd/>
- <insukindcd/>
- <insukind/>
- <suppkindcd/>
- <suppkind/>
- <ownbrate/>
- </cond>
- </sppid21600>-->
- <item1>
- <inpt>
- <mskind/>
- <insufromdd/>
- <ordtype/>
- <brateflag/>
- </inpt>
- </item1>
- </init>
- <hidden>
- <list1>
- <isclsrch>
- <!-- 처방 조회부 Radio, CheckBox 선택값 -->
- <selectedRdoItem/>
- <judgChanged/>
- </isclsrch>
- <isclitem1>
- <!-- 처방 목록에 해당하는 항목이 있는 경우 Radio item을 굵게 표시 -->
- <ediitem1_all/>
- <ediitem1_01/>
- <ediitem1_02/>
- <ediitem1_03/>
- <ediitem1_04/>
- <ediitem1_05/>
- <ediitem1_06/>
- <ediitem1_07/>
- <ediitem1_08/>
- <ediitem1_09/>
- <ediitem1_10/>
- <ediitem1_SS/>
- </isclitem1>
- <isclcond>
- <!-- 재행/급여/항목 구분 Radio 에서 선택된 값에 따라 처방 Grid에 보여질 값들의 조건식
- (수가 마스터에서 사용하는 구분값과 심사 화면에서 조건으로 사용되는 값들이 서로 맞지 않아 조건식을 조합하여 작성함 -->
- <judgadjtresncd/>
- <ediitem1/>
- </isclcond>
- </list1>
- <smpic00200>
- <judgsrch>
- <con1_dd/>
- <con2_gsflag/>
- <con3_search1/>
- <con4_search2/>
- <con5_insu/>
- <con6_calcscorcd/>
- <con7_todd/>
- <con8_instcd/>
- </judgsrch>
- </smpic00200>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRPIJ00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
- <submission id="TRPID21601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/item1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.setValue("/root/hidden/list1/isclsrch/selectedRdoItem", "-"); // 처방 필터링: 전체
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- fGetMainInfo();
- }
- }
- //Opener에서 기본 정보를 받아 온다.
- function fGetMainInfo(){
- // Output 표시용 data
- model.setValue("/root/send/insukindcd", opener.model.getValue("/root/hidden/sppid21600/cond/insukindcd"));
- model.setValue("/root/send/insukind", opener.model.getValue("/root/hidden/sppid21600/cond/insukind"));
- model.setValue("/root/send/suppkindcd", opener.model.getValue("/root/hidden/sppid21600/cond/suppkindcd"));
- model.setValue("/root/send/suppkind", opener.model.getValue("/root/hidden/sppid21600/cond/suppkind"));
- // 세부내역 화면 표시용
- model.setValue("/root/send/ownbrate", opener.model.getValue("/root/hidden/sppid21600/cond/ownbrate")); // 요율
- // submit("TRPID21601") 용 조건 data
- model.setValue("/root/send/pid", opener.model.getValue("/root/hidden/sppid21600/cond/pid"));
- model.setValue("/root/send/indd", opener.model.getValue("/root/hidden/sppid21600/cond/indd"));
- model.setValue("/root/send/cretno", opener.model.getValue("/root/hidden/sppid21600/cond/cretno")); // 환자 일자별 일련번호
- submit("TRPID21601");
- // submit("TRPIJ00401") 용 조건 data
- model.setValue("/root/send/mskind", model.getValue("/root/init/item1/inpt/mskind"));
- model.setValue("/root/send/fromdd", opener.model.getValue("/root/hidden/sppid21600/cond/fromdd"));
- model.setValue("/root/send/todd", opener.model.getValue("/root/hidden/sppid21600/cond/todd"));
- model.setValue("/root/send/insufromdd", model.getValue("/root/init/item1/inpt/insufromdd"));
- // model.setValue("/root/send/insufromdd", opener.model.getValue("/root/hidden/sppid21600/cond/indd"));
- model.setValue("/root/send/insutodd", ""); // 사용x
- model.setValue("/root/send/grupsnglflag", opener.model.getValue("/root/hidden/sppid21600/cond/grupsnglflag"));
- model.setValue("/root/send/choicdsrch", "calcscorcd");
- model.setValue("/root/send/calcscorcd", opener.model.getValue("/root/hidden/sppid21600/cond/calcscorcd"));
- model.setValue("/root/send/srchflag", ""); // 사용x
- model.setValue("/root/send/instcd", ""); // 사용x
- model.setValue("/root/send/ordtype", model.getValue("/root/init/item1/inpt/ordtype"));
- model.setValue("/root/send/brateflag", model.getValue("/root/init/item1/inpt/brateflag"));
- fGetIsclList();
- }
-
- // 사후심사 입원세부계산내역 조회
- function fGetIsclList(){
- model.setValue("/root/hidden/list1/isclsrch/selectedRdoItem", "-"); // 처방 필터링: 전체
- model.resetInstanceNode("/root/hidden/list1/isclsrch/judgChanged");
- model.resetInstanceNode("/root/hidden/list1/isclitem1");
- model.resetInstanceNode("/root/hidden/list1/isclcond");
- // model.setValue("/root/send/choicdsrch", "calcscorcd");
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list1/isclitem1");
- var itemNode = itemRadioList.childNodes;
- for (var i = 0; i < itemNode.length; i++) {
- rdo_item1.item(i).attribute("font-weight") = "normal";
- }
- var mskind = model.getValue("/root/send/mskind");
- if (mskind) { // submit("TRPID21601") 조회 결과가 있는 경우임
- submit("TRPIJ00401");
- if (grd_ordlist.rows > 1) {
- // var rowcnt = getNodesetCount("/root/main/list1/iscl");
- // rowcnt = eval(rowcnt) + 1;
- // for (var i=1; i<rowcnt; i++) {
- for (var i = 1; i < grd_ordlist.rows; i++) {
- var estmmncd = model.getValue("/root/main/list1/iscl["+ i + "]/estmmncd");
- var estmmnnm = model.getValue("/root/main/list1/iscl["+ i + "]/estmmnnm");
- if (estmmnnm != "") {
- grd_ordlist.tooltipText(i, grd_ordlist.colref("estmmncd")) = "[산정의미코드:" + estmmncd + "]" + estmmnnm;
- }
- }
-
- fGetSelectedOrderData(); // 처방 조회부 - 항목구분 Radio / 심사변경 CheckBox 선택에 따라 처방 내역을 보여준다.
- // fSetColorSpclJudgOrder();
- } else {
- messageBox("조회된 결과가", "I004"); ///조회된 결과가 없습니다.
- }
- } else {
- messageBox("세부 계산내역을 조회할 입원정보가", "I004"); ///세부 계산내역을 조회할 입원정보가 없습니다.
- }
- }
-
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //조회항목 Filter기능 코딩 //
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 처방 조회부 - 항목구분 Radio / 심사변경 CheckBox 선택에 따라 처방 내역을 보여준다.
- function fGetSelectedOrderData() {
- var selectedCond = "";
- var judgadjtresncd = model.getValue("/root/hidden/list1/isclcond/judgadjtresncd");
- if (judgadjtresncd) {
- selectedCond = judgadjtresncd;
- }
- var ediitem1 = model.getValue("/root/hidden/list1/isclcond/ediitem1");
- if (ediitem1) {
- if (selectedCond) {
- selectedCond += " and " + ediitem1;
- } else {
- selectedCond = ediitem1;
- }
- }
- if (selectedCond) {
- grd_ordlist.attribute("nodeset") = "/root/main/list1/iscl[" + selectedCond + "]";
- } else {
- grd_ordlist.attribute("nodeset") = "/root/main/list1/iscl";
- }
-
- grd_ordlist.rebuild();
- grd_ordlist.row = 0; // 그리드의 첫줄부터 표시되도록 포커스를 0으로 설정한다.
-
- // 처방 Grid의 내용이 변경된 경우, 선별심사 처방 색깔 구분을 다시 처리한다.
- fSetColorSpclJudgOrder();
- model.refresh();
- }
-
- function fSetColorSpclJudgOrder() {
- for (var i = 1; i < grd_ordlist.rows; i++) { // Grid 필터링 이후 Grid 상에 표시된 처방 개수만큼 돌면서
- //Color 표시 범례
- //1. 문제처방 : #fcd2c1
- //2. 선별심사 : #ffe79d
- //3. 선별심사 + 문제처방 : #7BE6B7
- //4. 기왕증 : #b9e5fb
- //5. CP처방 : #c8e67b
- var spcljudgyn = grd_ordlist.valuematrix(i, grd_ordlist.colRef("spcljudgyn")); //선별심사 체크
- var probordyn = grd_ordlist.valuematrix(i, grd_ordlist.colRef("probordyn")); //문제처방 체크
-
- if (spcljudgyn == "Y" && probordyn == "Y" ) { //둘다 체크된경우
- grd_ordlist.rowStyle(i,"data","background-color") = "#7BE6B7";
- } else if (spcljudgyn == "Y" && probordyn == "N" ) { //선별심사만 체크된경우
- grd_ordlist.rowStyle(i,"data","background-color") = "#ffe79d";
- } else if (spcljudgyn == "N" && probordyn == "Y" ) { //문제처방만 체크된경우
- grd_ordlist.rowStyle(i,"data","background-color") = "#fcd2c1";
- } else { //둘다체크 안된경우 원래대로
- var chk_digit = i % 2; //2로 나눠서 나머지가 0 이면 짝수줄 이란 소리
- if (chk_digit != 0) {
- grd_ordlist.rowStyle(i, "data", "background-color") = "#ffffff"; //짝수는 연한 회식
- } else {
- grd_ordlist.rowStyle(i, "data", "background-color") = "#f4f4f4"; //홀수는 그냥 힌색
- }
- }
-
- // 항목구분 조회부 Radio에 해당하는 처방이 있는지 여부를 확인한다.
- var ediitem1 = model.getValue("/root/main/list1/iscl["+ i +"]/ediitem1");
- if (ediitem1) {
- var path = "/root/hidden/list1/isclitem1/ediitem1_" + ediitem1;
- var node = instance1.selectSingleNode(path);
- if (node != null) {
- model.setValue(path, ediitem1);
- }
- }
- }
- // 처방 조회부 항목구분 Radio에서 해당 처방이 있는 item을 굵게 표시한다.
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list1/isclitem1");
- var itemNode = itemRadioList.childNodes;
- rdo_item1.item(0).attribute("font-weight") = "bold"; // "전체" 항목은 default 로 굵게 표시한다.
- for (var i = 1; i < itemNode.length; i++) {
- var ediitem1 = itemNode.item(i).value;
- if (ediitem1) {
- rdo_item1.item(i).attribute("font-weight") = "bold";
- } else {
- rdo_item1.item(i).attribute("font-weight") = "normal";
- }
- }
- }
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //조회항목 Filter기능 코딩 끝 //
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1116" pageheight="544" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1100px; height:509px; ">
- <caption id="caption10" class="tit_2" style="left:5px; top:69px; width:131px; height:13px; ">입원 세부 계산내역</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:84px; x2:1099px; y2:84px; "/>
- <datagrid id="grd_ordlist" nodeset="/root/main/list1/iscl" class="datagrid2" caption="선
별^문
제^S^I/O^항^목^진료일자^시행일시^시
행^항목^G^그룹코드^수가코드^EDI코드^산정
분류^산정
의미^산정
코드^한글명^급비^재료
행위^퇴^단가^1회량^횟수^1일량
(일투)^일수
(총투)^금액^선
택^종별가산
단가^선택가산
단가^가산단가^총진료비^본인
부담금^종별가산
SUM^선택진료
SUM^가산
SUM^처방
상태^처방일시^처방과^입력자^최종
수정자^최종수정일시^처방명^수정
사유^치식^확인
코드^CP
여부^PRN^포터블^기왕증
(진료)^마취
시간^수정사유
명칭^edicdflag^ediunitcost^적용일자^pid^indd^cretno^calcseqno^calcscorseqno^mskind^그룹
항목^가산금액^가산
점수^퇴장방지
금액^퇴장방지
여부^처방
수량^처방
횟수^처방
일수^급여총액^급여보험자
부담금^급여본인
부담금^급여본인
부담율^점당단가^전액본인^비급여
금액^NC^용법^예약일시^그룹
순번^특진^보험유형^보조유형^수가
급비^처방분류1^처방분류2^처방분류3" colsep="^" colwidth="20, 20, 18, 25, 28, 22, 70, 115, 18, 18, 18, 84, 80, 65, 30, 30, 30, 200, 30, 30, 18, 58, 40, 30, 40, 40, 58, 18, 58, 58, 58, 58, 58, 58, 58, 58, 60, 115, 60, 43, 43, 115, 150, 30, 100, 53, 30, 30, 42, 42, 30, 54, 56, 70, 50, 44, 40, 43, 65, 89, 46, 30, 58, 46, 58, 56, 30, 30, 30, 58, 67, 58, 58, 60, 58, 58, 30, 80, 115, 30, 30, 64, 64, 30, 70, 70, 70" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="13" mergecellsfixedrows="byrow" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:1px; top:89px; width:1099px; height:420px; ">
- <col ref="spcljudgyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="probordyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seq"/>
- <col ref="ordtype" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="ediitem1"/>
- <col ref="ediitem2"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="execdd" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="execstat"/>
- <col ref="snglcalcscorcls" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="grupflag"/>
- <col ref="grupcalcscorcd"/>
- <col ref="snglcalcscorcd"/>
- <col ref="edicd"/>
- <col ref="estmcls" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="estmmncd" maxlength="5"/>
- <col ref="estmcd"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="calcpayflag" type="combo">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="matractflag" type="combo">
- <choices>
- <item>
- <label>원외</label>
- <value>0</value>
- </item>
- <item>
- <label>재료</label>
- <value>1</value>
- </item>
- <item>
- <label>가O</label>
- <value>2</value>
- </item>
- <item>
- <label>가X</label>
- <value>3</value>
- </item>
- <item>
- <label>약제</label>
- <value>4</value>
- </item>
- <item>
- <label>위탁</label>
- <value>5</value>
- </item>
- <item>
- <label>약제</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col ref="dschdrugflag"/>
- <col ref="appunitcost" format="(-)#,###" style="text-align:right; "/>
- <col ref="calcqty" format="###.00" style="text-align:right; "/>
- <col ref="calctims" style="text-align:right; "/>
- <col ref="daydrugqty" format="###.00" style="text-align:right; "/>
- <col ref="calcdays" style="text-align:right; "/>
- <col ref="calcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="unitspecyn"/>
- <col ref="unithospaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="unitspecamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="unitaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hospaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="specamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="estmamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="execprcpstatcd"/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="orddeptnm"/>
- <col ref="fstrgstrid"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="ordnm"/>
- <col ref="judgadjtresncd"/>
- <col ref="tootfact"/>
- <col ref="cnfmcd"/>
- <col ref="cpflag"/>
- <col ref="prnprcpflag"/>
- <col ref="portprcpflag"/>
- <col ref="anamneflag"/>
- <col ref="ansttm"/>
- <col ref="judgadjtresncdnm" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="edicdflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="ediunitcost" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="updtdd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="pid" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="indd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="cretno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="calcseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="calcscorseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="mskind" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="grupcalcscorcls" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="calcscorpnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="estmpnt" format="###.00" style="text-align:right; "/>
- <col ref="exitprvntdrugamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="exitprvntdrugyn" style="text-align:right; "/>
- <col ref="ordqty" style="text-align:right; "/>
- <col ref="ordtims" style="text-align:right; "/>
- <col ref="orddays" style="text-align:right; "/>
- <col ref="payamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payinsubamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payownbrate" style="text-align:right; "/>
- <col ref="pntunitcost" format="(-)#,###" style="text-align:right; "/>
- <col ref="allownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="nopyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="freeflag"/>
- <col ref="drugmthdspccd"/>
- <col ref="rsrvdd" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="grupseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="specordyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="insukind" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="suppkind" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col disabled="true" ref="pynpy" type="combo">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="earncls1"/>
- <col ref="earncls2"/>
- <col ref="earncls3"/>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:1100px; height:59px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrerct_search" appearance="roundrect" style="left:0px; top:0px; width:1099px; height:59px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1028px; top:31px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetIsclList();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:587px; top:9px; width:60px; height:17px; ">기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:650px; top:8px; width:85px; height:19px; "/>
- <caption id="caption6" style="left:738px; top:8px; width:11px; height:18px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:752px; top:8px; width:85px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:587px; top:33px; width:86px; height:17px; ">코드조회 :</caption>
- <input id="ipt_cd" ref="/root/send/calcscorcd" class="input_search" inputtype="button" style="left:819px; top:32px; width:112px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
- model.setValue("/root/hidden/smpic00200/judgsrch/con2_gsflag", "S");
- model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", model.getValue("/root/send/choicdsrch" ));
- model.setValue("/root/hidden/smpic00200/judgsrch/con4_search2", model.getValue("/root/send/calcscorcd")); // SMPIC00200_수가조회 용
- var insukindcd = model.getValue("/root/send/insukindcd");
- if (insukindcd == "11") {
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "insu");
- }
- else if (insukindcd == "21" || insukindcd == "22") {
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "proc");
- }
- else if (insukindcd == "31") {
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "autm");
- }
- else if (insukindcd == "41") {
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "indus");
- } else {
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "insu");
- }
- modal("SMPIC00200", 1, 150, 150, "SMPIC00200", "root/hidden/smpic00200", "/root/temp", "", "");
- var mechSelect = instance1.selectSingleNode("/root/temp/mech");
- if (mechSelect == null) { // 선택한 코드가 없는 경우
- } else {
- model.setValue("/root/send/calcscorcd", model.getValue("/root/temp/picmmech/picmmech_calcscorcd"));
- model.setValue("/root/send/choicdsrch", "calcscorcd");
- model.removeNodeset("/root/temp"); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <output id="opt_pid" ref="/root/send/pid" class="output_fix" style="left:104px; top:8px; width:80px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_indd" ref="/root/send/indd" class="input_default" inputtype="date" style="left:358px; top:8px; width:85px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:269px; top:9px; width:86px; height:17px; ">입원일자 :</caption>
- <!-- rdo_mchrgcode : 세부계산내역 조회용이 아닌 "코드조회" 에 사용될 수가코드 검색용 Radio 구분임 -->
- <select1 id="rdo_mchrgcode" ref="/root/send/choicdsrch" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:676px; top:36px; width:140px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>수가</label>
- <value>calcscorcd</value>
- </item>
- <item>
- <label>EDI</label>
- <value>edicd</value>
- </item>
- <item>
- <label>명칭</label>
- <value>hngnm</value>
- </item>
- </choices>
- </select1>
- <output id="opt_insukindnm" ref="/root/send/insukind" class="output_fix" style="left:124px; top:32px; width:80px; height:19px; "/>
- <output id="opt_insukind" ref="/root/send/insukindcd" class="output_fix" style="left:104px; top:32px; width:17px; height:19px; "/>
- <output id="opt_suppkind" ref="/root/send/suppkindcd" class="output_fix" style="left:358px; top:32px; width:17px; height:19px; "/>
- <output id="opt_suppkindnm" ref="/root/send/suppkind" class="output_fix" style="left:378px; top:32px; width:122px; height:19px; "/>
- <output id="opt_ownrate" ref="/root/send/ownbrate" class="output_fix" style="left:503px; top:32px; width:25px; height:19px; text-align:right; "/>
- <caption id="caption4" class="search_name" style="left:269px; top:33px; width:86px; height:17px; ">유형보조 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">보험유형 :</caption>
- <caption id="caption1" class="tit_3" style="left:531px; top:36px; width:13px; height:14px; ">%</caption>
- <line id="line1" class="line_4" style="x1:1013px; y1:31px; x2:1013px; y2:53px; "/>
- </group>
- <select1 id="rdo_item1" ref="/root/hidden/list1/isclsrch/selectedRdoItem" class="radio_search" overflow="visible" appearance="full" cols="13" style="left:427px; top:67px; width:585px; height:15px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>진찰</label>
- <value>01</value>
- </item>
- <item>
- <label>입원</label>
- <value>02</value>
- </item>
- <item>
- <label>투약</label>
- <value>03</value>
- </item>
- <item>
- <label>주사</label>
- <value>04</value>
- </item>
- <item>
- <label>마취</label>
- <value>05</value>
- </item>
- <item>
- <label>이학</label>
- <value>06</value>
- </item>
- <item>
- <label>정신</label>
- <value>07</value>
- </item>
- <item>
- <label>수술</label>
- <value>08</value>
- </item>
- <item>
- <label>검사</label>
- <value>09</value>
- </item>
- <item>
- <label>방서선</label>
- <value>10</value>
- </item>
- <item>
- <label>특수</label>
- <value>SS</value>
- </item>
- <item>
- <label>원외</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var selectedRdoItem = model.getValue("/root/hidden/list1/isclsrch/selectedRdoItem");
- if (selectedRdoItem == "" || selectedRdoItem == "-") { // 전체
- model.setValue("/root/hidden/list1/isclcond/ediitem1","");
- } else {
- model.setValue("/root/hidden/list1/isclcond/ediitem1", "ediitem1='"+selectedRdoItem+"'");
- }
- fGetSelectedOrderData(); // 처방 조회부 - 항목구분 Radio / 심사변경 CheckBox 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- </select1>
- <select id="chk_judgadjtresncd" ref="/root/hidden/list1/isclsrch/judgChanged" class="checkbox_search" overflow="visible" appearance="full" style="left:1032px; top:67px; width:67px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>심사변경</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.setValue("/root/hidden/list1/isclcond/judgadjtresncd", "");
- fGetSelectedOrderData(); // 처방 조회부 - 항목구분 Radio / 심사변경 CheckBox 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/hidden/list1/isclcond/judgadjtresncd", "judgadjtresncd != '-'");
- fGetSelectedOrderData(); // 처방 조회부 - 항목구분 Radio / 심사변경 CheckBox 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- </select>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:509px; width:1100px; height:35px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1099px; y2:0px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:1043px; top:8px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close(); // F5 실행시 IE를 종료시킨다.
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:8px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_exl" class="btn6_letter2" style="left:58px; top:8px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_ordlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- }
- ]]>
- </script>
- </button>
- <shape id="roundrect3" class="roundrect_example" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:121px; top:5px; width:514px; height:25px; "/>
- <caption id="caption11" class="cell_2" style="left:130px; top:9px; width:40px; height:17px; ">범 례</caption>
- <caption id="caption12" class="color_1" style="left:190px; top:10px; width:20px; height:17px; "/>
- <caption id="caption13" style="left:215px; top:10px; width:50px; height:17px; ">문제처방</caption>
- <caption id="caption14" class="color_2" style="left:275px; top:10px; width:20px; height:17px; "/>
- <caption id="caption15" style="left:300px; top:10px; width:50px; height:17px; ">선별심사</caption>
- <caption id="caption16" class="color_4" style="left:360px; top:10px; width:20px; height:17px; "/>
- <caption id="caption17" style="left:385px; top:10px; width:60px; height:17px; ">문제+선별</caption>
- <caption id="caption18" class="color_5" style="left:450px; top:10px; width:20px; height:17px; "/>
- <caption id="caption19" style="left:475px; top:10px; width:75px; height:17px; ">기왕증(처방)</caption>
- <caption id="caption20" class="color_9" style="left:555px; top:10px; width:20px; height:17px; "/>
- <caption id="caption21" style="left:580px; top:10px; width:45px; height:17px; ">CP처방</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|