123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682 |
- <?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">
- <script type="javascript">
- <![CDATA[
-
- // 초기화
- function fInitialize()
- {
- // 1. 기준정보 초기화
- model.resetInstanceNode("/root/main/item1/essc");
- model.setValue("/root/main/item1/essc/spclcd", "V191");
- model.setValue("/root/main/item1/essc/fromdd", getCurrentDate());
- model.setValue("/root/main/item1/essc/todd", "99991231");
- model.setValue("/root/main/item1/essc/srchflag", "B"); // 검색구분 : 상병+처방
- model.setValue("/root/main/item1/essc/spclflag", "2"); // 특례구분 : 중증환자
- model.setValue("/root/main/item1/essc/suppkindflag", "05"); // 보조유형 : 개심,개두10%
- model.setValue("/root/main/item1/essc/insukind", "-"); // 보험유형 : 전체
- model.setValue("/root/main/item1/essc/ioflag", "A"); // 내외유형 : 전체
- model.setValue("/root/main/item1/essc/minage", 0); // 최소나이 : 0
- model.setValue("/root/main/item1/essc/maxage", 999); // 최대나이 : 999
- // 2. 상병,처방 리스트 초기화
- model.removeNodeset("/root/main/list1");
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list1");
- model.makeNode("/root/main/list2");
- // 3. 처방목록조회 데이터 초기화
- model.setValue("/root/send/data1/srchflag", "B");
- // 4. 상위화면 전달 데이터 초기화
- model.removenode("/root/main/list3");
- model.makeNode("/root/main/list3");
-
- model.refresh();
- }
-
- // 중증처방과 연결시킬 상병목록 조회
- function fgetDiagList() {
- submit("TRPIB02301");
- }
-
- // 입력데이터의 유효성 검사
- function fCheckVariable() {
- if (model.getValue("/root/main/item1/essc/srchflag") == "" || model.getValue("/root/main/item1/essc/srchflag") == null)
- {
- messageBox("검색구분을 선택해 주십시요!","E999","");
- return false;
- }
-
- if (model.getValue("/root/main/item1/essc/spclcd") == "" || model.getValue("/root/main/item1/essc/spclcd") == null)
- {
- messageBox("특례기호를 입력해 주십시요!","E999","");
- return false;
- }
-
- if (model.getValue("/root/main/item1/essc/suppkindflag") == "" || model.getValue("/root/main/item1/essc/suppkindflag") == null)
- {
- messageBox("보조유형구분을 입력해 주십시요!","E999","");
- return false;
- }
-
- if (model.getValue("/root/main/item1/essc/fromdd") == "" || model.getValue("/root/main/item1/essc/fromdd") == null)
- {
- messageBox("시작일자를 입력해 주십시요!","E999","");
- return false;
- }
-
- if (model.getValue("/root/main/item1/essc/todd") == "" || model.getValue("/root/main/item1/essc/todd") == null)
- {
- messageBox("종료일자를 입력해 주십시요!","E999","");
- return false;
- }
-
- if (grd_prcplist.rows == 1)
- {
- messageBox("등록할 처방내역을 입력해 주십시요!","E999","");
- return false;
- }
-
- return true;
- }
-
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>산정특례기준정보관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <srchflag/>
- </data1>
- <data2>
- <srch/>
- <diagkind/>
- </data2>
- </send>
- <main>
- <item1>
- <essc>
- <srchflag/>
- <spclcd/>
- <spclflag/>
- <insukind/>
- <ioflag/>
- <suppkindflag/>
- <spclnm/>
- <fromdd/>
- <todd/>
- <minage/>
- <maxage/>
- </essc>
- </item1>
- <list1>
- <diag>
- <diagkind/>
- <diagcdfrom/>
- <diagnmfrom/>
- <diagcdto/>
- <diagnmto/>
- </diag>
- </list1>
- <list2>
- <prcp>
- <edicdflag/>
- <edicdfrom/>
- <edinmfrom/>
- <edicdto/>
- <edinmto/>
- </prcp>
- </list2>
- <list3>
- <grdspclcdlist/>
- </list3>
- </main>
- <init/>
- <hidden>
- <sppiz00400>
- <cond>
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- <flag/>
- </cond>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- <termcd/>
- </rslt>
- </sppiz00400>
- <smpic00200>
- <judgsrch>
- <con1_dd/>
- <con2_gsflag/>
- <con3_search1/>
- <con4_search2/>
- <con5_insu/>
- <con6_calcscorcd/>
- <con7_todd/>
- <con8_instcd/>
- </judgsrch>
- <rslt>
- <ediitem1/>
- <ediitem2/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <edicd/>
- <ordnm/>
- <edicdflag/>
- <ediunitcost/>
- </rslt>
- </smpic00200>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 1. 화면 초기화
- fInitialize();
- // 2. 등록할 중증상병과 연결시킬 처방목록 조회
- fgetDiagList();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <submission id="TRPIB00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/listrsltnm"/>
- <submission id="TRPIB02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list2"/>
- <submission id="TRPIB02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list1"/>
- <submission id="TXPIB02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main" replace="instance" resultref="/root/temp"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1220" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:219px; height:14px; ">중증질환 처방 기준자료 등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:412px; ">
- <group id="group5" scroll="auto" style="left:0px; top:0px; width:1195px; height:410px; ">
- <line id="line17" class="line_2" style="x1:0px; y1:51px; x2:1194px; y2:51px; "/>
- <caption id="caption22" class="tit_2" style="left:5px; top:8px; width:126px; height:13px; ">중증질환 기준정보</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:22px; x2:1194px; y2:22px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:27px; width:85px; height:23px; vertical-align:middle; ">검색구분</caption>
- <caption id="caption34" class="cell_1" style="left:207px; top:27px; width:85px; height:23px; vertical-align:middle; ">특례기호</caption>
- <caption id="caption42" class="cell_1" style="left:847px; top:52px; width:85px; height:23px; vertical-align:middle; ">종료일자</caption>
- <caption id="caption48" class="tit_2" style="left:5px; top:85px; width:214px; height:14px; ">중증질환 처방 기준정보 등록</caption>
- <line id="line20" class="line_1" style="x1:0px; y1:100px; x2:618px; y2:100px; "/>
- <datagrid id="grd_diaglist" nodeset="/root/main/list1/diag" caption="상병유형^시작상병^시작상병명^종료상병^종료상병명^특례명칭" colsep="^" colwidth="70, 70, 155, 70, 155" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:622px; top:105px; width:570px; height:270px; ">
- <col disabled="true" ref="diagkind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>ICD10</label>
- <value>1</value>
- </item>
- <item>
- <label>확장</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="diagcdfrom" type="input" _chartype="upper"/>
- <col disabled="true" ref="diagnmfrom" visibility="visible"/>
- <col disabled="true" ref="diagcdto" type="input" _chartype="upper"/>
- <col disabled="true" ref="diagnmto" visibility="visible"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- // 소트 후, 그리드와 인스턴스 매핑 다시 처리
- grd_diaglist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- var row = grd_diaglist.row;
- var col = grd_diaglist.col;
-
- if (event.keyCode == 13){
- grd_diaglist.endEditCell();
- if (col == grd_diaglist.colRef("diagcdfrom")) {
- // 1. 시작상병 엔터
- model.setValue("/root/send/data2/srch",model.getValue("/root/main/list1/diag["+row+"]/diagcdfrom"));
- model.setValue("/root/send/data2/diagkind",model.getValue("/root/main/list1/diag["+row+"]/diagkind"));
- submit("TRPIB00803");
- var hngnm = model.getValue("/root/hidden/listrsltnm/rsltnm/hngnm");
- // 상병코드로 상병명 조회가 된 경우
- if(hngnm != ""){
- model.setValue("/root/main/list1/diag["+row+"]/diagnmfrom", hngnm);
- model.setValue("/root/main/list1/diag["+row+"]/diagcdto", model.getValue("/root/main/list1/diag["+row+"]/diagcdfrom"));
- model.setValue("/root/main/list1/diag["+row+"]/diagnmto", hngnm);
- }
- // 상병코드로 상병명 조회가 안된 경우
- if(hngnm == ""){
- model.setValue("/root/main/list1/diag["+row+"]/diagnmfrom", "");
-
- // 상병조회 팝업 호출
- var diagkind = model.getValue("/root/main/list1/diag["+row+"]/diagkind");
- model.setvalue("/root/hidden/sppiz00400/rslt/diagcd", "");
- model.setvalue("/root/hidden/sppiz00400/rslt/diaghngnm", "");
- model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate());
- model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/main/list1/diag["+row+"]/diagcdfrom"));
- model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind", diagkind);
- model.setValue("/root/hidden/sppiz00400/cond/flag", "P");
-
- modal("../../../pam/insucomweb/xrw/SPPIZ00400", "", "200", "200" ,"SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", "");
-
- // 조회결과 뿌려주기
- var diagcd = model.getvalue("/root/hidden/sppiz00400/rslt/diagcd");
- if (diagcd !="") {
- if (diagkind == "1") {
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdfrom", diagcd);
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdto", diagcd);
- } else {
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdfrom", model.getvalue("/root/hidden/sppiz00400/rslt/termcd"));
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdto", model.getvalue("/root/hidden/sppiz00400/rslt/termcd"));
- }
- model.setvalue("/root/main/list1/diag["+row+"]/diagnmfrom", model.getvalue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- model.setvalue("/root/main/list1/diag["+row+"]/diagnmto", model.getvalue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- model.refresh();
- }
- }
- } else if (col == grd_diaglist.colRef("diagcdto")) {
- // 2. 종료상병 엔터
- model.setValue("/root/send/data2/srch",model.getValue("/root/main/list1/diag["+row+"]/diagcdto"));
- model.setValue("/root/send/data2/diagkind",model.getValue("/root/main/list1/diag["+row+"]/diagkind"));
- submit("TRPIB00803");
- var hngnm = model.getValue("/root/hidden/listrsltnm/rsltnm/hngnm");
- // 상병코드로 상병명 조회가 된 경우
- if(hngnm != ""){
- model.setValue("/root/main/list1/diag["+row+"]/diagnmto", hngnm);
- }
- // 상병코드로 상병명 조회가 안된 경우
- if(hngnm == ""){
- model.setValue("/root/main/list1/diag["+row+"]/diagnmto", "");
-
- // 상병조회 팝업 호출
- var diagkind = model.getValue("/root/main/list1/diag["+row+"]/diagkind");
- model.setvalue("/root/hidden/sppiz00400/rslt/diagcd", "");
- model.setvalue("/root/hidden/sppiz00400/rslt/diaghngnm", "");
- model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate());
- model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/main/list1/diag["+row+"]/diagcdto"));
- model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind", diagkind);
- model.setValue("/root/hidden/sppiz00400/cond/flag", "P");
-
- modal("../../../pam/insucomweb/xrw/SPPIZ00400", "", "200", "200" ,"SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", "");
-
- // 조회결과 뿌려주기
- var diagcd = model.getvalue("/root/hidden/sppiz00400/rslt/diagcd");
- if (diagcd !="") {
- if (diagkind == "1") {
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdto", diagcd);
- } else {
- model.setvalue("/root/main/list1/diag["+row+"]/diagcdto", model.getvalue("/root/hidden/sppiz00400/rslt/termcd"));
- }
- model.setvalue("/root/main/list1/diag["+row+"]/diagnmto", model.getvalue("/root/hidden/sppiz00400/rslt/diaghngnm"));
- model.refresh();
- }
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line24" class="line_3" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <button id="btn_close" class="btn4_letter2" navindex="21" style="left:1060px; top:380px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="23" style="left:1118px; top:380px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <select1 id="cmb_srchflag" ref="/root/main/item1/essc/srchflag" class="combo_essential" disabled="true" navindex="1" appearance="minimal" style="left:88px; top:28px; width:117px; height:19px; ">
- <choices>
- <item>
- <label>상병</label>
- <value>A</value>
- </item>
- <item>
- <label>상병+처방</label>
- <value>B</value>
- </item>
- <item>
- <label>상병+중증번호</label>
- <value>C</value>
- </item>
- <item>
- <label>처방+중증번호</label>
- <value>D</value>
- </item>
- <item>
- <label>상병+처방+중증번호</label>
- <value>E</value>
- </item>
- <item>
- <label>처방</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_spclcd" ref="/root/main/item1/essc/spclcd" class="input_essential" navindex="2" imemode="disabled" maxlength="4" _chartype="upper" style="left:293px; top:28px; width:100px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/item1/essc/fromdd" class="input_essential" navindex="8" inputtype="date" style="left:745px; top:54px; width:100px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:657px; top:52px; width:85px; height:23px; vertical-align:middle; ">시작일자</caption>
- <input id="ipt_todd" ref="/root/main/item1/essc/todd" class="input_essential" navindex="9" inputtype="date" style="left:934px; top:54px; width:100px; height:19px; "/>
- <select1 id="cmb_suppkindflag" ref="/root/main/item1/essc/suppkindflag" class="combo_essential" navindex="6" appearance="minimal" style="left:88px; top:54px; width:117px; height:19px; ">
- <choices>
- <item>
- <label>인공신장투석</label>
- <value>02</value>
- </item>
- <item>
- <label>복막관류술</label>
- <value>03</value>
- </item>
- <item>
- <label>장기이식</label>
- <value>04</value>
- </item>
- <item>
- <label>개심,개두 10%</label>
- <value>05</value>
- </item>
- <item>
- <label>등록암 10%</label>
- <value>06</value>
- </item>
- <item>
- <label>산정특례 20%</label>
- <value>07</value>
- </item>
- <item>
- <label>자연분만 0%</label>
- <value>09</value>
- </item>
- <item>
- <label>가정간호(등록암) 10%</label>
- <value>10</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:394px; top:27px; width:85px; height:23px; vertical-align:middle; ">특례구분</caption>
- <select1 id="cmb_spclflag" ref="/root/main/item1/essc/spclflag" class="combo_essential" navindex="3" appearance="minimal" style="left:482px; top:28px; width:172px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>자연분만</label>
- <value>1</value>
- </item>
- <!--<item>
- <label>암환자</label>
- <value>2</value>
- </item>-->
- <item>
- <label>중증환자</label>
- <value>2</value>
- </item>
- <item>
- <label>산정특례</label>
- <value>3</value>
- </item>
- <!--<item>
- <label>의약분업예외</label>
- <value>5</value>
- </item>-->
- <item>
- <label>장기이식</label>
- <value>4</value>
- </item>
- <item>
- <label>가정간호</label>
- <value>5</value>
- </item>
- <item>
- <label>희귀난치</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_spclnm" ref="/root/main/item1/essc/spclnm" class="input_default" navindex="7" maxlength="100" appearance="input" style="left:293px; top:54px; width:360px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:207px; top:52px; width:85px; height:23px; vertical-align:middle; ">특례명칭</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:52px; width:85px; height:23px; vertical-align:middle; ">보조유형구분</caption>
- <caption id="caption5" class="cell_1" style="left:847px; top:27px; width:85px; height:23px; vertical-align:middle; ">내외유형</caption>
- <caption id="caption7" class="cell_1" style="left:657px; top:27px; width:85px; height:23px; vertical-align:middle; ">보험유형</caption>
- <select1 id="cmb_insukind" ref="/root/main/item1/essc/insukind" class="combo_essential" navindex="4" appearance="minimal" style="left:745px; top:28px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여1종</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여2종</label>
- <value>22</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- <item>
- <label>일반</label>
- <value>51</value>
- </item>
- <item>
- <label>외국인</label>
- <value>61</value>
- </item>
- <item>
- <label>임상시험</label>
- <value>71</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_ioflag" ref="/root/main/item1/essc/ioflag" class="combo_essential" navindex="5" appearance="minimal" style="left:934px; top:28px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn4_letter2" navindex="21" style="left:1002px; top:380px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 0. 저장하시겠습니까?
- if (messageBox("중증질환 처방을 등록", "S001") != 6) return;
-
- // 1. 기준정보 입력 데이터 검사
- if (!fCheckVariable()) {
- return;
- }
-
- // 2. 저장한다.
- if (submit("TXPIB02301")) {
- messageBox("정상적으로 등록되었습니다.", "I999");
- }
-
- // 3. 화면 종료
- window.close();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:622px; y1:100px; x2:1192px; y2:100px; "/>
- <caption id="caption3" class="tit_2" style="left:625px; top:85px; width:214px; height:14px; ">중증질환 상병 기준정보 등록</caption>
- <datagrid id="grd_prcplist" nodeset="/root/main/list2/prcp" caption="EDI구분^시작EDI^시작EDI명^종료DEI^종료EDI명^특례명칭" colsep="^" colwidth="70, 100, 150, 100, 150" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:105px; width:618px; height:270px; ">
- <col disabled="false" ref="edicdflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>수가</label>
- <value>1</value>
- </item>
- <item>
- <label>약가</label>
- <value>3</value>
- </item>
- <item>
- <label>치료재료</label>
- <value>8</value>
- </item>
- </choices>
- </col>
- <col disabled="false" ref="edicdfrom" type="input" _chartype="upper"/>
- <col disabled="true" ref="edinmfrom" visibility="visible"/>
- <col disabled="false" ref="edicdto" type="input" _chartype="upper"/>
- <col disabled="true" ref="edinmto" visibility="visible"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- // 소트 후, 그리드와 인스턴스 매핑 다시 처리
- grd_prcplist.gridToInstance();
- grd_prcplist.row = 1;
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- var row = grd_prcplist.row;
- var col = grd_prcplist.col;
-
- if (event.keyCode == 13){
- grd_prcplist.endEditCell();
-
- if (col == grd_prcplist.colRef("edicdfrom")) {
- // 3. 시작EDI 엔터
- model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", getCurrentDate());
- model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "edicd");
- model.setValue("/root/hidden/smpic00200/judgsrch/con4_search2", model.getValue("/root/main/list2/prcp["+row+"]/edicdfrom"));
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "insu");
- model.removeNodeset("/root/hidden/smpic00200/rslt/picmmech"); // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로임
-
- modal("SMPIC00200", 1,150, 150, "SMPIC00200", "root/hidden/smpic00200", "/root/temp", "", "");
-
- var mechSelect = instance1.selectSingleNode("/root/temp/picmmech");
- if (mechSelect == null) { // 선택한 코드가 없는 경우
- messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
- return;
- }
- // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
- model.makeNode("/root/hidden/smpic00200/rslt/picmmech");
- model.copyNode("/root/hidden/smpic00200/rslt/picmmech", "/root/temp/picmmech");
- model.removeNodeset("/root/temp"); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- model.setValue("/root/main/list2/prcp["+row+"]/edicdfrom", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_insuedicd"));
- model.setValue("/root/main/list2/prcp["+row+"]/edinmfrom", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_hngnm"));
- model.setValue("/root/main/list2/prcp["+row+"]/edicdto", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_insuedicd"));
- model.setValue("/root/main/list2/prcp["+row+"]/edinmto", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_hngnm"));
- model.refresh();
-
- } else if (col == grd_prcplist.colRef("edicdto")) {
- // 4. 종료EDI 엔터
- model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", getCurrentDate());
- model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "edicd");
- model.setValue("/root/hidden/smpic00200/judgsrch/con4_search2", model.getValue("/root/main/list2/prcp["+row+"]/edicdto"));
- model.setValue("/root/hidden/smpic00200/judgsrch/con5_insu", "insu");
- model.removeNodeset("/root/hidden/smpic00200/rslt/picmmech"); // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로임
-
- modal("SMPIC00200", 1,150, 150, "SMPIC00200", "root/hidden/smpic00200", "/root/temp", "", "");
-
- var mechSelect = instance1.selectSingleNode("/root/temp/picmmech");
- if (mechSelect == null) { // 선택한 코드가 없는 경우
- messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
- return;
- }
- // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
- model.makeNode("/root/hidden/smpic00200/rslt/picmmech");
- model.copyNode("/root/hidden/smpic00200/rslt/picmmech", "/root/temp/picmmech");
- model.removeNodeset("/root/temp"); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
- model.setValue("/root/main/list2/prcp["+row+"]/edicdto", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_insuedicd")); // 임시로 건강보험 유형으로 고정시킴
- model.setValue("/root/main/list2/prcp["+row+"]/edinmto", model.getValue("/root/hidden/smpic00200/rslt/picmmech/picmmech_hngnm"));
- model.refresh();
-
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_deldiag" class="btn2_letter2" navindex="20" style="left:1148px; top:80px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_diaglist.deleteRow(grd_diaglist.row);
- ]]>
- </script>
- </button>
- <button id="btn_adddiag" class="btn2_letter2" navindex="20" style="left:1105px; top:80px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_diaglist.additem();
- model.setValue("/root/main/list1/diag["+grd_diaglist.row+"]/diagkind", "1");
- grd_diaglist.row = grd_diaglist.rows - 1;
- ]]>
- </script>
- </button>
- <button id="btn_addprcp" class="btn2_letter2" navindex="20" style="left:533px; top:80px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_prcplist.additem();
- model.setValue("/root/main/list2/prcp["+grd_prcplist.row+"]/edicdflag", "1");
- ]]>
- </script>
- </button>
- <button id="btn_delprcp" class="btn2_letter2" navindex="20" style="left:576px; top:80px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var rows = grd_prcplist.selectedRows;
- // for (var i = 0; i < rows; i++) {
- // var sel = grd_prcplist.selectedRow(i);
- // grd_prcplist.rowStatus(sel) = 4;
- // }
- grd_prcplist.deleteRow(grd_prcplist.row);
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:1035px; top:52px; width:85px; height:23px; vertical-align:middle; ">최대나이</caption>
- <caption id="caption8" class="cell_1" style="left:1035px; top:27px; width:85px; height:23px; vertical-align:middle; ">최소나이</caption>
- <input id="ipt_minage" ref="/root/main/item1/essc/minage" class="input_default" navindex="2" imemode="disabled" maxlength="3" format="999" _chartype="upper" style="left:1122px; top:28px; width:67px; height:19px; "/>
- <input id="ipt_maxage" ref="/root/main/item1/essc/maxage" class="input_default" navindex="2" imemode="disabled" maxlength="3" format="999" _chartype="upper" style="left:1122px; top:54px; width:67px; height:19px; "/>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|