SMZCR01001_KFDA.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>식약청 허가기준</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. </list>
  12. <list2>
  13. <resultKDRC2Lookup>
  14. <description/>
  15. <!--kfda용법용량-->
  16. </resultKDRC2Lookup>
  17. </list2>
  18. <list3>
  19. </list3>
  20. <selecteddrug>
  21. <edi_nm/>
  22. </selecteddrug>
  23. <selectedDrugInfo>
  24. <pYakpumCd/>
  25. <pGcnSeqNo/>
  26. </selectedDrugInfo>
  27. <data/>
  28. </main>
  29. <send>
  30. <req>
  31. <pYakpumCd/>
  32. <!--약품코드-->
  33. <pGcnSeqNo/>
  34. <!--성분명(제형,함량구분)약품코드※용량주의사항정보와약품과의연결-->
  35. </req>
  36. </send>
  37. <init/>
  38. <hidden/>
  39. <temp/>
  40. </root>
  41. </instance>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. /*
  45. 화면을 초기화 합니다.
  46. 선택된 약품리스트를 불러온다. zcnfGetDurgList();
  47. 선택된 약품리스트중에 선택되어진 약픔정보를 가져온다.zcnfGetDurgInfo();
  48. 선택된 약품정보를 가지고 화면에 출력할 용법용량, 효능효과, 사용상의 주의사항을 조회 한다.getDetailDrugInfo();
  49. */
  50. zcnfGetDurgList();
  51. zcnfGetDurgInfo();
  52. var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
  53. var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
  54. var selecredRow = model.getValue("/root/main/selectedDrugInfo/pSelectRow");
  55. getDetailDrugInfo(param1,param2, selecredRow);
  56. // model.refresh();
  57. if(selecredRow == ""){
  58. selecredRow = 1;
  59. }
  60. model.setFocus("left_datagrid1");
  61. left_datagrid1.select(selecredRow,1) = true;
  62. ]]>
  63. </script>
  64. <submission id="TRZCR01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/data"/>
  65. <submission id="TRZCR02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  66. <submission id="TRZCR02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list3"/>
  67. </model>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
  70. <script type="javascript">
  71. <![CDATA[
  72. /*
  73. 초기화 작업을 합니다.
  74. */
  75. function fInitialize(){
  76. fInitialize1();
  77. fInitialize2();
  78. fInitialize3();
  79. // zcnfGetDurgList();
  80. model.refresh();
  81. }
  82. /*
  83. 약물상호작용 탭 초기화
  84. */
  85. function fInitialize1(){
  86. model.removeNodeset("/root/main/list");
  87. model.removeNodeset("/root/main/selecteditem");
  88. }
  89. /*
  90. 약물상호작용검사탭 초기화
  91. */
  92. function fInitialize2(){
  93. model.removeNodeset("/root/main/selecteditem2");
  94. }
  95. /*
  96. 음식물 상호작용 탭 초기화
  97. */
  98. function fInitialize3(){
  99. model.removeNodeset("/root/main/list3/resultDFIMLookup");
  100. model.removeNodeset("/root/main/selecteditem3");
  101. }
  102. /*
  103. model.getValue(); 를 함수로 만들었습니다.
  104. param1 : node는 grid의 xPath입니다.
  105. param2 : row는 grid에서 선택한 row값입니다.
  106. param3 : element는 getvalue할 해당 element 명입니다.
  107. 해당 getvalue값을 return 해줍니다.
  108. return 하지 않으면 해당값을 가져올 수 없습니다.
  109. */
  110. function fGetValue(node, row, element) {
  111. var rtnValue = model.getValue(node + "[" + row + "]/" + element);
  112. return rtnValue;
  113. }
  114. /*
  115. model.reqGetDetailInfo(); 를 함수로 만들었습니다.
  116. param1 : 선택된 약품 grid에서 선택된 약품코드 입니다.
  117. 해당 getvalue값을 return 해줍니다.
  118. return 하지 않으면 해당값을 가져올 수 없습니다.
  119. */
  120. function reqGetDetailInfo(param1,param2) {
  121. /*
  122. 1. 선택된 약품 instance setvalue
  123. --> "/root/main/selecteddrug"
  124. -->"/root/send/req/pGcnSeqNo"
  125. 2. 첫번째 탭 클릭 이벤트 강제 발생
  126. --> 조회 부분은 탭버튼에 기술
  127. */
  128. model.makeValue("/root/send/req/pYakpumCd",param1);
  129. model.makeValue("/root/send/req/pGcnSeqNo",param2);
  130. model.removeNodeset("/root/main/selecteddrug/edi_nm");
  131. model.makeValue("/root/main/selecteddrug/edi_nm", model.getValue("/root/main/list4/resultDrugSearchDetail/edi_nm"));
  132. if(case1.selected == true){
  133. fInitialize1();
  134. opt_DrugNm1.refresh();
  135. objBrower1.Navigate2(getActionURL("TRZCR02801")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2);
  136. }else if(case2.selected == true){
  137. fInitialize2();
  138. opt_DrugNm2.refresh();
  139. objBrower2.Navigate2(getActionURL("TRZCR01901")+ "&pYakpumCd=" + param1);
  140. }else if(case3.selected == true){
  141. fInitialize3();
  142. opt_DrugNm3.refresh();
  143. objBrower3.Navigate2(getActionURL("TRZCR02901")+ "&pYakpumCd=" + param1);
  144. }
  145. // model.refresh();
  146. }
  147. // 인자로 넘어온 값을 label 로 같은 아이템의 인덱스를 반환
  148. function labelToIndex(label, tree)
  149. {
  150. for(var i=0; i<tree.length; i++)
  151. {
  152. if(tree.item(i).label == label)
  153. return i;
  154. }
  155. return -1;
  156. }
  157. function FirstDIS_Request(){
  158. model.makeValue("/root/firstDISsend/drugcode",model.getValue("/root/main/selectedDrugInfo/pYakpumCd"));
  159. if(case1.selected == true){
  160. model.makeValue("/root/firstDISsend/refno","12");
  161. }else if(case2.selected == true){
  162. model.makeValue("/root/firstDISsend/refno","9");
  163. }else if(case3.selected == true){
  164. model.makeValue("/root/firstDISsend/refno","15");
  165. }
  166. modal("../../referenceweb/xrw/SPZCR00301_주의사항문의", "", "", "", "SPZCR00301","/root/firstDISsend","/root/main/req");
  167. }
  168. ]]>
  169. </script>
  170. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  171. <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
  172. </xhtml:head>
  173. <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; ">
  174. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">한국 식약청 허가기준</caption>
  175. <import id="import1" instancetype="merge" src="../../../com/navigationweb/xrw/SMZCN00201_선택약품.xrw" style="left:5px; top:15px; width:360px; height:765px; "/>
  176. <switch id="switch1" style="left:370px; top:61px; width:831px; height:682px; ">
  177. <case id="case1" style="left:0px; top:0px; width:830px; height:700px; ">
  178. <button id="button10" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
  179. <caption>출력</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. var param1 = model.getValue("/root/send/req/pYakpumCd");
  183. var param2 = model.getValue("/root/send/req/pGcnSeqNo");
  184. var pPrintYn = "Y";
  185. var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
  186. objBrowerPrint.Navigate2(getActionURL("TRZCR02801")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
  187. ]]>
  188. </script>
  189. </button>
  190. <caption id="caption3" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
  191. <caption id="caption5" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
  192. <line id="line3" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
  193. <output id="opt_DrugNm1" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
  194. <caption id="caption4" class="tit_2" style="left:19px; top:102px; width:591px; height:13px; ">KFDA 유지용량</caption>
  195. <line id="line1" class="line_1" style="x1:15px; y1:117px; x2:814px; y2:117px; "/>
  196. <line id="line6" class="line_3" style="x1:15px; y1:63px; x2:814px; y2:63px; "/>
  197. <line id="line4" class="line_2" style="x1:15px; y1:62px; x2:814px; y2:62px; "/>
  198. <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; "/>
  199. <caption id="caption7" class="tit_2" style="left:19px; top:82px; width:591px; height:13px; ">KFDA 허가기준 효능효과</caption>
  200. <line id="line2" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
  201. </case>
  202. <case id="case2" selected="true" style="left:0px; top:0px; width:815px; height:701px; ">
  203. <button id="button11" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
  204. <caption>출력</caption>
  205. <script type="javascript" ev:event="DOMActivate">
  206. <![CDATA[
  207. var param1 = model.getValue("/root/send/req/pYakpumCd");
  208. var pPrintYn = "Y";
  209. var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
  210. objBrowerPrint.Navigate2(getActionURL("TRZCR01901")+ "&pYakpumCd=" + param1 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
  211. ]]>
  212. </script>
  213. </button>
  214. <caption id="caption1" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
  215. <caption id="caption2" class="tit_2" style="left:19px; top:82px; width:591px; height:13px; ">KFDA 허가기준 용법용량</caption>
  216. <line id="line5" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
  217. <caption id="caption8" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
  218. <line id="line7" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
  219. <line id="line17" class="line_3" style="x1:15px; y1:63px; x2:814px; y2:63px; "/>
  220. <output id="opt_DrugNm2" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
  221. <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; "/>
  222. </case>
  223. <case id="case3">
  224. <button id="button12" class="btn2_letter2" style="left:765px; top:72px; width:42px; height:19px; ">
  225. <caption>출력</caption>
  226. <script type="javascript" ev:event="DOMActivate">
  227. <![CDATA[
  228. var param1 = model.getValue("/root/send/req/pYakpumCd");
  229. var pPrintYn = "Y";
  230. var pDrugNm = model.getValue("/root/main/selecteddrug/edi_nm");
  231. objBrowerPrint.Navigate2(getActionURL("TRZCR02901")+ "&pYakpumCd=" + param1 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
  232. ]]>
  233. </script>
  234. </button>
  235. <caption id="caption12" class="tit_2" style="left:19px; top:20px; width:205px; height:13px; ">선택된 약품</caption>
  236. <caption id="caption14" class="cell_1" style="left:15px; top:40px; width:132px; height:23px; text-align:center; ">약품명</caption>
  237. <line id="line10" class="line_1" style="x1:15px; y1:35px; x2:814px; y2:35px; "/>
  238. <output id="opt_DrugNm3" ref="/root/main/selecteddrug/edi_nm" class="output_fix" style="left:150px; top:41px; width:664px; height:19px; "/>
  239. <line id="line11" class="line_3" style="x1:15px; y1:62px; x2:814px; y2:62px; "/>
  240. <caption id="caption9" class="tit_2" style="left:19px; top:82px; width:591px; height:14px; ">KFDA 허가기준 사용상의 주의사항</caption>
  241. <line id="line8" class="line_1" style="x1:15px; y1:97px; x2:814px; y2:97px; "/>
  242. <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; "/>
  243. </case>
  244. </switch>
  245. <button id="btn_KFDA3" class="btn_sw" group="tab" style="left:925px; top:40px; width:276px; height:22px; ">
  246. <caption>사용상의 주의사항</caption>
  247. <toggle case="case3" ev:event="onclick"/>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. /*
  251. 1. submission id : TRZCR01101
  252. 2. "/root/send/reqDDIM/pCodeType" 을 16으로 setValue할것
  253. */
  254. var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
  255. var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
  256. reqGetDetailInfo(param1,param2,0)
  257. ]]>
  258. </script>
  259. </button>
  260. <button id="btn_KFDA1" class="btn_sw" group="tab" style="left:647px; top:40px; width:278px; height:22px; ">
  261. <caption>효능효과</caption>
  262. <toggle case="case1" ev:event="onclick"/>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. /*
  266. 1. Submission ID : TRZCR01801
  267. 2. KFDA 유지용량과 First DataBank 유지용량을 objectAssembler로 받아야 함
  268. 3. Submission(TRZCR01801) --> reqKDOSELookup --> 1) getKDOSELookup
  269. --> 2) getKDOSELookup
  270. 4. app layer에서 reqFDBDOSELookup 메서드는 삭제할것.
  271. */
  272. var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
  273. var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
  274. reqGetDetailInfo(param1,param2,0)
  275. ]]>
  276. </script>
  277. </button>
  278. <button id="btn_KFDA2" class="btn_sw" group="tab" selected="true" style="left:370px; top:40px; width:277px; height:22px; ">
  279. <caption>용법용량</caption>
  280. <toggle case="case2" ev:event="onclick"/>
  281. <script type="javascript" ev:event="DOMActivate">
  282. <![CDATA[
  283. /*
  284. 1. Submission ID : TRZCR01901
  285. 2. 리턴데이터의 형태가 HTML 태그임
  286. */
  287. var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
  288. var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
  289. model.makeValue("/root/send/req/pYakpumCd",param1);
  290. model.makeValue("/root/send/req/pGcnSeqNo",param2);
  291. reqGetDetailInfo(param1,param2,0)
  292. // browser 연동
  293. //objBrower.Navigate2(getActionURL("TRZCR01901")+ getUserSessionString());
  294. ]]>
  295. </script>
  296. </button>
  297. <import id="import2" src="../../../com/navigationweb/xrw/SPZCN00101_Copyright.xrw" style="left:370px; top:752px; width:833px; height:27px; "/>
  298. </xhtml:body>
  299. </xhtml:html>