123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- <?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>
- <list>
- </list>
- <list2>
- <resultKDRC2Lookup>
- <description/>
- <!--kfda용법용량-->
- </resultKDRC2Lookup>
- </list2>
- <list3>
- </list3>
- <selecteddrug>
- <edi_nm/>
- </selecteddrug>
- <selectedDrugInfo>
- <pYakpumCd/>
- <pGcnSeqNo/>
- </selectedDrugInfo>
- <data/>
- </main>
- <send>
- <req>
- <pYakpumCd/>
- <!--약품코드-->
- <pGcnSeqNo/>
- <!--성분명(제형,함량구분)약품코드※용량주의사항정보와약품과의연결-->
- </req>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /*
- 화면을 초기화 합니다.
- 선택된 약품리스트를 불러온다. zcnfGetDurgList();
- 선택된 약품리스트중에 선택되어진 약픔정보를 가져온다.zcnfGetDurgInfo();
- 선택된 약품정보를 가지고 화면에 출력할 용법용량, 효능효과, 사용상의 주의사항을 조회 한다.getDetailDrugInfo();
- */
- zcnfGetDurgList();
- zcnfGetDurgInfo();
- var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
- var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
- var selecredRow = model.getValue("/root/main/selectedDrugInfo/pSelectRow");
- getDetailDrugInfo(param1,param2, selecredRow);
- // model.refresh();
- if(selecredRow == ""){
- selecredRow = 1;
- }
- model.setFocus("left_datagrid1");
- left_datagrid1.select(selecredRow,1) = true;
- ]]>
- </script>
- <submission id="TRZCR01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/data"/>
- <submission id="TRZCR02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZCR02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list3"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화 작업을 합니다.
- */
- function fInitialize(){
- fInitialize1();
- fInitialize2();
- fInitialize3();
-
- // zcnfGetDurgList();
- model.refresh();
- }
- /*
- 약물상호작용 탭 초기화
- */
- function fInitialize1(){
- model.removeNodeset("/root/main/list");
- model.removeNodeset("/root/main/selecteditem");
- }
- /*
- 약물상호작용검사탭 초기화
- */
- function fInitialize2(){
- model.removeNodeset("/root/main/selecteditem2");
- }
- /*
- 음식물 상호작용 탭 초기화
- */
- function fInitialize3(){
- model.removeNodeset("/root/main/list3/resultDFIMLookup");
- model.removeNodeset("/root/main/selecteditem3");
- }
- /*
- model.getValue(); 를 함수로 만들었습니다.
- param1 : node는 grid의 xPath입니다.
- param2 : row는 grid에서 선택한 row값입니다.
- param3 : element는 getvalue할 해당 element 명입니다.
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
- function fGetValue(node, row, element) {
- var rtnValue = model.getValue(node + "[" + row + "]/" + element);
- return rtnValue;
- }
- /*
- model.reqGetDetailInfo(); 를 함수로 만들었습니다.
- param1 : 선택된 약품 grid에서 선택된 약품코드 입니다.
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
- function reqGetDetailInfo(param1,param2) {
- /*
- 1. 선택된 약품 instance setvalue
- --> "/root/main/selecteddrug"
- -->"/root/send/req/pGcnSeqNo"
- 2. 첫번째 탭 클릭 이벤트 강제 발생
- --> 조회 부분은 탭버튼에 기술
- */
- model.makeValue("/root/send/req/pYakpumCd",param1);
- model.makeValue("/root/send/req/pGcnSeqNo",param2);
- model.removeNodeset("/root/main/selecteddrug/edi_nm");
- model.makeValue("/root/main/selecteddrug/edi_nm", model.getValue("/root/main/list4/resultDrugSearchDetail/edi_nm"));
- if(case1.selected == true){
- fInitialize1();
- opt_DrugNm1.refresh();
- objBrower1.Navigate2(getActionURL("TRZCR02801")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2);
- }else if(case2.selected == true){
- fInitialize2();
- opt_DrugNm2.refresh();
- objBrower2.Navigate2(getActionURL("TRZCR01901")+ "&pYakpumCd=" + param1);
- }else if(case3.selected == true){
- fInitialize3();
- opt_DrugNm3.refresh();
- objBrower3.Navigate2(getActionURL("TRZCR02901")+ "&pYakpumCd=" + param1);
- }
- // model.refresh();
- }
- // 인자로 넘어온 값을 label 로 같은 아이템의 인덱스를 반환
- function labelToIndex(label, tree)
- {
- for(var i=0; i<tree.length; i++)
- {
- if(tree.item(i).label == label)
- return i;
- }
-
- return -1;
- }
- function FirstDIS_Request(){
- model.makeValue("/root/firstDISsend/drugcode",model.getValue("/root/main/selectedDrugInfo/pYakpumCd"));
- if(case1.selected == true){
- model.makeValue("/root/firstDISsend/refno","12");
- }else if(case2.selected == true){
- model.makeValue("/root/firstDISsend/refno","9");
- }else if(case3.selected == true){
- model.makeValue("/root/firstDISsend/refno","15");
- }
- modal("../../referenceweb/xrw/SPZCR00301_주의사항문의", "", "", "", "SPZCR00301","/root/firstDISsend","/root/main/req");
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1280" pageheight="990" guideline="2,299;1,1200;2,743;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">한국 식약청 허가기준</caption>
- <import id="import1" instancetype="merge" src="../../../com/navigationweb/xrw/SMZCN00201_선택약품.xrw" style="left:5px; top:15px; width:360px; height:765px; "/>
- <switch id="switch1" style="left:370px; top:61px; width:831px; height:682px; ">
- <case id="case1" style="left:0px; top:0px; width:830px; height:700px; ">
- <button id="button10" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/send/req/pYakpumCd");
- var param2 = model.getValue("/root/send/req/pGcnSeqNo");
- var pPrintYn = "Y";
- var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
- objBrowerPrint.Navigate2(getActionURL("TRZCR02801")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
- <caption id="caption5" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
- <line id="line3" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
- <output id="opt_DrugNm1" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
- <caption id="caption4" class="tit_2" style="left:19px; top:102px; width:591px; height:13px; ">KFDA 유지용량</caption>
- <line id="line1" class="line_1" style="x1:15px; y1:117px; x2:814px; y2:117px; "/>
- <line id="line6" class="line_3" style="x1:15px; y1:63px; x2:814px; y2:63px; "/>
- <line id="line4" class="line_2" style="x1:15px; y1:62px; x2:814px; y2:62px; "/>
- <object id="objBrower1" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" style="left:15px; top:102px; width:799px; height:570px; font-family:굴림; font-size:7pt; padding-left:0; padding-top:0; padding-right:0; padding-bottom:0; background-image:../../../com/commonweb/images/grid_bg.gif; "/>
- <caption id="caption7" class="tit_2" style="left:19px; top:82px; width:591px; height:13px; ">KFDA 허가기준 효능효과</caption>
- <line id="line2" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
- </case>
- <case id="case2" selected="true" style="left:0px; top:0px; width:815px; height:701px; ">
- <button id="button11" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/send/req/pYakpumCd");
- var pPrintYn = "Y";
- var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
- objBrowerPrint.Navigate2(getActionURL("TRZCR01901")+ "&pYakpumCd=" + param1 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
- <caption id="caption2" class="tit_2" style="left:19px; top:82px; width:591px; height:13px; ">KFDA 허가기준 용법용량</caption>
- <line id="line5" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
- <caption id="caption8" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
- <line id="line7" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
- <line id="line17" class="line_3" style="x1:15px; y1:63px; x2:814px; y2:63px; "/>
- <output id="opt_DrugNm2" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
- <object id="objBrower2" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" style="left:15px; top:102px; width:799px; height:570px; font-family:굴림; font-size:7pt; padding-left:0; padding-top:0; padding-right:0; padding-bottom:0; background-image:../../../com/commonweb/images/grid_bg.gif; "/>
- </case>
- <case id="case3">
- <button id="button12" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/send/req/pYakpumCd");
- var pPrintYn = "Y";
- var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
- objBrowerPrint.Navigate2(getActionURL("TRZCR02901")+ "&pYakpumCd=" + param1 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
- ]]>
- </script>
- </button>
- <caption id="caption12" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
- <caption id="caption14" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
- <line id="line10" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
- <output id="opt_DrugNm3" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
- <line id="line11" class="line_3" style="x1:15px; y1:62px; x2:814px; y2:62px; "/>
- <caption id="caption9" class="tit_2" style="left:19px; top:82px; width:591px; height:14px; ">KFDA 허가기준 사용상의 주의사항</caption>
- <line id="line8" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
- <object id="objBrower3" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" style="left:15px; top:102px; width:799px; height:570px; font-family:굴림; font-size:7pt; padding-left:0; padding-top:0; padding-right:0; padding-bottom:0; background-image:../../../com/commonweb/images/grid_bg.gif; "/>
- </case>
- </switch>
- <button id="btn_KFDA3" class="btn_sw" group="tab" style="left:925px; top:40px; width:276px; height:22px; ">
- <caption>사용상의 주의사항</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- 1. submission id : TRZCR01101
- 2. "/root/send/reqDDIM/pCodeType" 을 16으로 setValue할것
- */
- var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
- var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
- reqGetDetailInfo(param1,param2,0)
- ]]>
- </script>
- </button>
- <button id="btn_KFDA1" class="btn_sw" group="tab" style="left:647px; top:40px; width:278px; height:22px; ">
- <caption>효능효과</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- 1. Submission ID : TRZCR01801
- 2. KFDA 유지용량과 First DataBank 유지용량을 objectAssembler로 받아야 함
- 3. Submission(TRZCR01801) --> reqKDOSELookup --> 1) getKDOSELookup
- --> 2) getKDOSELookup
- 4. app layer에서 reqFDBDOSELookup 메서드는 삭제할것.
- */
- var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
- var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
- reqGetDetailInfo(param1,param2,0)
-
- ]]>
- </script>
- </button>
- <button id="btn_KFDA2" class="btn_sw" group="tab" selected="true" style="left:370px; top:40px; width:277px; height:22px; ">
- <caption>용법용량</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- 1. Submission ID : TRZCR01901
- 2. 리턴데이터의 형태가 HTML 태그임
- */
- var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
- var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
- model.makeValue("/root/send/req/pYakpumCd",param1);
- model.makeValue("/root/send/req/pGcnSeqNo",param2);
- reqGetDetailInfo(param1,param2,0)
- // browser 연동
- //objBrower.Navigate2(getActionURL("TRZCR01901")+ getUserSessionString());
- ]]>
- </script>
- </button>
- <import id="import2" src="../../../com/navigationweb/xrw/SPZCN00101_Copyright.xrw" style="left:370px; top:752px; width:833px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|