123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- <?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>
- <gridlist>
- <pidlist>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <hopedd/>
- <cmpycd/>
- <cmpynm/>
- <bizoffccd/>
- <dgflag/>
- <zipcd11/>
- <zipcd12/>
- <detladdr1/>
- <telno/>
- <mpphon/>
- <emailid/>
- <emailtype/>
- <insuid/>
- <insucorpbrchcd/>
- <insutrgtflag/>
- <insuflag/>
- <plceflag/>
- <jobkindflag/>
- <jobkindcd/>
- <insucorpbrchcd/>
- <healcntrcd/>
- <schlgrde/>
- <clsid/>
- <studid/>
- <deptcd/>
- <clntdeptnm/>
- <clntempid/>
- <entcodd/>
- <junibdd/>
- <oraltestyn/>
- <fsthptstrgtyn/>
- <scndhptstrgtyn/>
- <stmccncrflag/>
- <largeintescncrflag/>
- <livcncrflag/>
- <mamcncrflag/>
- <cervcncrflag/>
- <visano/>
- <workproccd/>
- <dayspclworktm/>
- <spclhealexamflag/>
- <prodcd/>
- <duptype/>
- <medioph/>
- <mediotor/>
- <mediskin/>
- <medidental/>
- <mdclhstr/>
- <fmlhstr/>
- <workcause/>
- <dietcnstyn/>
- <healexamflag/>
- <healexamdetlflag/>
- <remcnts/>
- </pidlist>
- <pkglist>
- <hopedd/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <healexamdetlflag/>
- <gubun/>
- <testcd/>
- <testnm/>
- <uncocd/>
- </pkglist>
- <rsrtlist>
- <hopedd/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <testcd/>
- <testnm/>
- <rslt1/>
- <rslt2/>
- <rslt2_nm/>
- <rslt3/>
- <rslt3_nm/>
- </rsrtlist>
- </gridlist>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchcmpycd/>
- <srchcmpynm/>
- <srchinstcd/>
- <srchplceflag/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchrsltyn/>
- <save>
- <instcd/>
- <pidsave/>
- </save>
- <srchtestcd/>
- </send>
- <init>
- <baseinfo>
- <healexamflaglist/>
- <healexamdetlflaglist>
- <item/>
- </healexamdetlflaglist>
- <chedetlflaglst/>
- <ghedetlflaglst/>
- <plceflag/>
- </baseinfo>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <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" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAHR00951" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gridlist"/>
- <submission id="TXAHR00951" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitInfo();
- fGetBasicCdList();
- fGetPidList();
- model.toggle("case1");
- btn_clam.selected = true;
- bool1.value = "Y"
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
- /**========================================================================================================================================
- * 초기화 조회
- =========================================================================================================================================*/
- function fInitInfo(){
- var curDt = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.setValue(ipt_srchtodd.attribute("ref") , curDt);
- model.refresh();
- }
-
- /**===================================================================================
- *기본코드 내역 가져오기
- =====================================================================================*/
- function fGetBasicCdList(){
- if( m_vHealexamflag == "" ) {
- var sFlag = getScreenMenuParameter();
- if(sFlag == "") {
- m_vHealexamflag = "G";
- m_vHealexamdetlflag = "G";
- }else {
- m_vHealexamflag = sFlag.substr(0,1);
- m_vHealexamdetlflag = sFlag.substr(0,1);
- }
- }
-
- zbcfGetCodeList( new Array("A0068","A0069" ,"A0070", "A0110" ),
- new Array("/root/init/baseinfo/healexamflaglist"
- ,"/root/init/baseinfo/chedetlflaglst"
- , "/root/init/baseinfo/ghedetlflaglst"
- ,"/root/init/baseinfo/plceflag" ) );
-
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglist/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
- addComboItem("cmb_srchplceflag","전체","","above");
- submit("TRZBC00101");
-
- model.makeValue("/root/send/srchhealexamflag", m_vHealexamflag);
- model.makeValue("/root/send/srchhealexamdetlflag", m_vHealexamdetlflag );
- }
- /**========================================================================================================================================
- * 환자정보 조회
- =========================================================================================================================================*/
- function fGetPidList(){
- var cmpycd = model.getValue("/root/send/srchcmpycd");
-
- if (cmpycd ==""){
- model.resetInstanceNode("/root/send/srchcmpynm");
- }
- model.resetInstanceNode("/root/main/gridlist/pidlist");
- model.resetInstanceNode("/root/main/gridlist/pkglist");
- model.resetInstanceNode("/root/main/gridlist/rsrtlist");
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- submit("TRAHR00951");
-
-
- }
-
- /**========================================================================================================================================
- * 저장
- =========================================================================================================================================*/
- function fSaveList(){
- //var pidStat = getGridUpdateData(datagrid1);
-
- datagrid1.clearStatus();
- if(messageBox("환자정보를","Q002") == 6){
- model.setValue("/root/send/save/instcd", model.getValue("dutplceinstcd"));
-
- for(var i = 1; i < datagrid1.rows; i++){
- datagrid1.valueMatrix(i, datagrid1.colRef("dietcnstyn")) = "-";
- datagrid1.addStatus(i, "update");
- }
- model.setValue("/root/send/save/pidsave", datagrid1.getUpdateData());
- if (submit("TXAHR00951")){
- fGetPidList();
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:22px; width:1194px; height:33px; "/>
- <line id="line8" class="line_4" style="x1:1110px; y1:25px; x2:1110px; y2:50px; "/>
- <button id="btn_selcmpy" class="icon_search" style="left:475px; top:29px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "09" , "cd", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"),opt_cmpynm.attribute("ref"));
- ]]>
- </script>
- </button>
- <output id="opt_cmpynm" ref="/root/send/srchcmpynm" class="output_fix" style="left:495px; top:28px; width:95px; height:19px; "/>
- <button id="btn_srchtrgtman" class="btn1_letter2" style="left:1125px; top:28px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPidList();
- ]]>
- </script>
- </button>
- <caption id="caption42" class="search_name" style="left:310px; top:28px; width:79px; height:17px; ">사업체 :</caption>
- <input id="ipt_cmpycd" ref="/root/send/srchcmpycd" class="input_search" style="left:389px; top:28px; width:81px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:15px; top:28px; width:100px; height:17px; ">조회기간 :</caption>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:188px; height:14px; ">메디컴결과인터페이스</caption>
- </group>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:28px; width:90px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:210px; top:28px; width:90px; height:19px; "/>
- <group id="group1" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_prntcustspec" class="btn6_letter4" style="left:1050px; top:3px; width:80px; 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 (case1.selected == true){
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }else if (case2.selected == true) {
- datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }else if (case3.selected == true) {
- datagrid3.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveList();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption93" class="search_n_b" style="left:198px; top:28px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <switch id="switch1" style="left:0px; top:85px; width:1195px; height:670px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid1" nodeset="/root/main/gridlist/pidlist" caption="환자번호^성명^주민번호^주민번호^검진일자^사업장코드^사업장명^영업소코드^1/2차구분^우편번호^우편번호^상세주소^전화번호^휴대전화^E-MAIL^E-MAIL 주소^보험증번호^건강보험지사^직역구분^가입구분^출장/내원^직종구분^직종코드^보험지사^보건소코드^학년^반^번호^부서코드^부서명^사번^입사일자^전입일자^생애여부^1차간염대상구분^2차간염대상자구분^위암검사구분^대장암검사구분^간암검사구분^유방암검사구분^자궁경부함검사구분^차트번호^작업공정^1일 폭로시간^특검구분^생산코드^근무형태^임상진찰(안과)^임상진찰(이비인후과)^임상진찰(피부)^임상진찰(치아)^과거병력^가족력^업무기인성^비고^dietcnstyn^healexamflag^healexamdetlflag" colsep="^" colwidth="70, 70, 70, 70, 100, 91, 130, 80, 66, 50, 50, 200, 100, 100, 60, 150, 80, 80, 60, 60, 70, 70, 100, 70, 70, 35, 35, 35, 62, 100, 70, 100, 100, 60, 100, 107, 100, 100, 100, 100, 110, 70, 69, 80, 70, 70, 70, 100, 128, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
- <col ref="pid" type="output"/>
- <col ref="hngnm" type="output"/>
- <col ref="rrgstno1" type="output" style="text-align:center; "/>
- <col ref="rrgstno2" type="output" style="text-align:center; "/>
- <col ref="hopedd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cmpycd" type="output"/>
- <col ref="cmpynm"/>
- <col ref="bizoffccd"/>
- <col ref="dgflag" style="text-align:center; "/>
- <col ref="zipcd11" style="text-align:center; "/>
- <col ref="zipcd12" style="text-align:center; "/>
- <col ref="detladdr1"/>
- <col ref="telno" style="text-align:center; "/>
- <col ref="mpphon" style="text-align:center; "/>
- <col ref="emailid"/>
- <col ref="emailtype"/>
- <col ref="insuid"/>
- <col ref="insucorpbrchcd"/>
- <col ref="insutrgtflag"/>
- <col ref="insuflag"/>
- <col ref="plceflag" style="text-align:center; "/>
- <col ref="jobkindflag" style="text-align:center; "/>
- <col ref="jobkindcd" style="text-align:center; "/>
- <col ref="insucorpbrchcd" style="text-align:center; "/>
- <col ref="healcntrcd"/>
- <col ref="schlgrde"/>
- <col ref="clsid"/>
- <col ref="studid"/>
- <col ref="deptcd"/>
- <col ref="clntdeptnm"/>
- <col ref="clntempid" style="text-align:center; "/>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="junibdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oraltestyn" style="text-align:center; "/>
- <col ref="fsthptstrgtyn" style="text-align:center; "/>
- <col ref="scndhptstrgtyn"/>
- <col ref="stmccncrflag" style="text-align:center; "/>
- <col ref="largeintescncrflag" style="text-align:center; "/>
- <col ref="livcncrflag" style="text-align:center; "/>
- <col ref="mamcncrflag" style="text-align:center; "/>
- <col ref="cervcncrflag" style="text-align:center; "/>
- <col ref="visano" style="text-align:center; "/>
- <col ref="workproccd" style="text-align:center; "/>
- <col ref="dayspclworktm"/>
- <col ref="spclhealexamflag" style="text-align:center; "/>
- <col ref="prodcd"/>
- <col ref="duptype"/>
- <col ref="medioph"/>
- <col ref="mediotor"/>
- <col ref="mediskin"/>
- <col ref="medidental"/>
- <col ref="mdclhstr"/>
- <col ref="fmlhstr"/>
- <col ref="workcause"/>
- <col ref="remcnts"/>
- <col ref="dietcnstyn" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid1.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid2" nodeset="/root/main/gridlist/pkglist" caption="건진일자^환자번호^성명^주민등록번호^주민등록번호^건진구분^패키지검사구분^패키지코드^패키지명^청구대상" colsep="^" colwidth="100, 100, 100, 80, 80, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno1" style="text-align:center; "/>
- <col ref="rrgstno2" style="text-align:center; "/>
- <col ref="healexamdetlflag"/>
- <col ref="gubun"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="uncocd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid2.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="datagrid3" nodeset="/root/main/gridlist/rsrtlist" caption="건진일자^환자번호^성명^주민등록번호^주민등록번호^검사코드^검사명^외래결과^공단결과^공단결과명^특검결과^특검결과명" colsep="^" colwidth="100, 100, 100, 80, 80, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:1183px; height:657px; ">
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno1" style="text-align:center; "/>
- <col ref="rrgstno2" style="text-align:center; "/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="rslt1"/>
- <col ref="rslt2"/>
- <col ref="rslt2_nm"/>
- <col ref="rslt3"/>
- <col ref="rslt3_nm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid3.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_clam" class="btn_sw" group="sub_tab" selected="true" style="left:5px; top:65px; width:70px; height:22px; ">
- <caption>환자정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- btn_save.disabled = false;
- // 선택된 메인 스위치의 인덱스 정보를 가져온다.
- ]]>
- </script>
- </button>
- <button id="btn_incm" class="btn_sw" group="sub_tab" style="left:75px; top:65px; width:75px; height:22px; ">
- <caption>패키지정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- btn_save.disabled = true;
- // 선택된 메인 스위치의 인덱스 정보를 가져온다.
- ]]>
- </script>
- </button>
- <button id="button1" class="btn_sw" group="sub_tab" style="left:150px; top:65px; width:70px; height:22px; ">
- <caption>결과정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case3");
- btn_save.disabled = true;
- // 선택된 메인 스위치의 인덱스 정보를 가져온다.
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:605px; top:28px; width:103px; height:17px; ">출장/내원 :</caption>
- <select1 id="cmb_srchplceflag" ref="/root/send/srchplceflag" appearance="minimal" style="left:705px; top:28px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetPidList();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:995px; top:28px; width:90px; height:17px; ">결과완료 :</caption>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/srchrsltyn" style="left:1080px; top:28px; width:25px; height:20px; "/>
- <caption id="caption4" class="search_name" style="left:780px; top:28px; width:103px; height:17px; ">검사코드 :</caption>
- <input id="input1" ref="/root/send/srchtestcd" class="input_search" style="left:875px; top:28px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|