1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?xml version="1.0" encoding="utf-8"?>
- <Script type="xscript4.0"><![CDATA[var KYOUNGBUK_PACS_VIEWER_PATH = zepfGetIE32Path();
- /**
- * @group :
- * @ver : 2007.05.15
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @Param : bool useCommonID
- * @access : public
- * @desc : PatientID 방식으로 카디악 PACS Viewer 를 호출하는 함수
- * @return : void
- * @---------------------------------------------------
- */
- function zepfCadiacPacsPatientID(PatientID) {
- //강남
- //alert("환자아이디" + CADIAC_PACS_VIEWER_PATH);
- //var param = " -P"+ PatientID +" -AWorkServer -Wnexus -Dnexus";
- //window.exec(CADIAC_PACS_VIEWER_PATH, param);
- //경북 pacs
- //칠곡
- //alert("환자아이디 : 999999 테스트중");
- if (sysf_getUserInfo("dutplceinstcd") == "032") {
- //1)http://192.168.100.161/ami/html/webviewer.html?showlist&un=openapi&pw=OpenAP1@&wlname=radstore-study&pid=[PatientID]
- //2)http://192.168.100.160/TestPage.asp?PID=[PatientID]&Server1=on
- var param = " http://192.168.100.161/ami/html/webviewer.html?showlist&un=openapi&pw=OpenAP1@&wlname=radstore-study&pid="
- + PatientID;
- //본원
- } else {
- var param = " http://192.168.100.161/ami/html/webviewer.html?showlist&un=openapi&pw=OpenAP1@&wlname=radstore-study&pid="
- + PatientID;
- }
- //var param = " http://192.168.100.161/ami/html/webviewer.html?showlist&un=openapi&pw=OpenAP1@&wlname=radstore-study&pid=999999"
- //window.exec(KYOUNGBUK_PACS_VIEWER_PATH, param);
- system.execBrowser(param);
- }
- /**
- * @group :
- * @ver : 2012.03.28
- * @by : 최병진
- * @---------------------------------------------------
- * @type : function
- * @Param :
- * @access : public
- * @desc : Internet Explorer 경로를 반환하는 함수(32bit, 64bit 차이)
- * @return : String
- * @---------------------------------------------------
- */
- function zepfGetIE32Path() {
- var defaultPath = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
- var x86Path = "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe";
-
- // 64bit OS check
- // if (htmlwindow.navigator.userAgent.indexOf("WOW64") != -1
- // || htmlwindow.navigator.userAgent.indexOf("Win64") != -1) {
- //
- // return x86Path;
- // }
-
- return defaultPath;
- }
- /**
- * @group :
- * @---------------------------------------------------
- * @type : function
- * @Param : bool useCommonID
- * @access : public
- * @desc : PatientID 방식으로 카디악 PACS Viewer 를 호출하는 함수
- * @return : void
- * @---------------------------------------------------
- */
- function zepfCadiacPacsRptPatientID(PatientID) {
- //칠곡
- //alert("환자아이디 : 999999 테스트중");
- if (sysf_getUserInfo("dutplceinstcd") == "032") {
- var param = " http://192.168.100.160/TestPage.asp?PID="
- + PatientID + "&Server1=on";
- //본원
- } else {
- var param = " http://192.168.100.160/TestPage.asp?PID="
- + PatientID + "&Server1=on";
- }
- //var param = " http://192.168.100.161/ami/html/webviewer.html?showlist&un=openapi&pw=OpenAP1@&wlname=radstore-study&pid=999999"
-
- system.execBrowser(param);
- }
- ]]></Script>
|