SMADC01800_질의응답등록.xrw 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <qnalist>
  11. <item>
  12. <qestkind/>
  13. <answtit/>
  14. <name/>
  15. <hospindrug/>
  16. <qnadd/>
  17. <qnaseqno/>
  18. <instcd/>
  19. <repldd/>
  20. <cnstdeptcd/>
  21. <cnstdeptnm/>
  22. <cnstdrid/>
  23. <cnstdrnm/>
  24. <qestmthd/>
  25. <hosinoutflag/>
  26. <idtype/>
  27. <cntctel/>
  28. <qestcnts/>
  29. <empid/>
  30. <cnsttm/>
  31. <answmthd/>
  32. <answcnts/>
  33. <drugcd/>
  34. <refcnts/>
  35. </item>
  36. </qnalist>
  37. <data>
  38. <qnadd/>
  39. <qnaseqno/>
  40. <instcd/>
  41. <repldd/>
  42. <cnstdeptcd/>
  43. <cnstdeptnm/>
  44. <cnstdrid/>
  45. <cnstdrnm/>
  46. <qestmthd/>
  47. <hosinoutflag/>
  48. <idtype/>
  49. <name/>
  50. <cntctel/>
  51. <qestkind/>
  52. <qestcnts/>
  53. <empid/>
  54. <cnsttm/>
  55. <answmthd/>
  56. <answtit/>
  57. <answcnts/>
  58. <drugcd/>
  59. <hospindrug/>
  60. <refcnts/>
  61. <m/>
  62. </data>
  63. </main>
  64. <send>
  65. <req>
  66. <srchinfo>
  67. <srchfromdd/>
  68. <srchtodd/>
  69. <srchqestkind/>
  70. <srchhospindrug/>
  71. <srchanswtit/>
  72. </srchinfo>
  73. <srchinfo2>
  74. <srchdrugcd/>
  75. </srchinfo2>
  76. </req>
  77. </send>
  78. <init>
  79. <data>
  80. <qnadd/>
  81. <qnaseqno/>
  82. <instcd/>
  83. <repldd/>
  84. <cnstdeptcd/>
  85. <cnstdeptnm/>
  86. <cnstdrid/>
  87. <cnstdrnm/>
  88. <qestmthd>1</qestmthd>
  89. <hosinoutflag>I</hosinoutflag>
  90. <idtype>1</idtype>
  91. <name/>
  92. <cntctel/>
  93. <qestkind/>
  94. <qestcnts/>
  95. <empid/>
  96. <cnsttm/>
  97. <answmthd>1</answmthd>
  98. <answtit/>
  99. <answcnts/>
  100. <drugcd/>
  101. <hospindrug/>
  102. <refcnts/>
  103. <m>i</m>
  104. </data>
  105. <deptlist>
  106. <item>
  107. <label>전체</label>
  108. <value>T</value>
  109. </item>
  110. <item>
  111. <label>임신,수유시 적용</label>
  112. <value>K</value>
  113. </item>
  114. <item>
  115. <label>성분,함량</label>
  116. <value>L</value>
  117. </item>
  118. <item>
  119. <label>임상약</label>
  120. <value>M</value>
  121. </item>
  122. <item>
  123. <label>독성, 중독</label>
  124. <value>N</value>
  125. </item>
  126. <item>
  127. <label>상호작용</label>
  128. <value>O</value>
  129. </item>
  130. <item>
  131. <label>약물평가, 비교</label>
  132. <value>P</value>
  133. </item>
  134. <item>
  135. <label>약품식별</label>
  136. <value>Q</value>
  137. </item>
  138. <item>
  139. <label>약리,약물치료약</label>
  140. <value>R</value>
  141. </item>
  142. <item>
  143. <label>사용가능성</label>
  144. <value>S</value>
  145. </item>
  146. <item>
  147. <label>기타</label>
  148. <value>Z</value>
  149. </item>
  150. <item>
  151. <label>코드</label>
  152. <value>A</value>
  153. </item>
  154. <item>
  155. <label>대체약물</label>
  156. <value>B</value>
  157. </item>
  158. <item>
  159. <label>격응증,금기</label>
  160. <value>C</value>
  161. </item>
  162. <item>
  163. <label>문헌</label>
  164. <value>D</value>
  165. </item>
  166. <item>
  167. <label>약물등역학</label>
  168. <value>E</value>
  169. </item>
  170. <item>
  171. <label>투여경로,용량,용법</label>
  172. <value>F</value>
  173. </item>
  174. <item>
  175. <label>제조회사,상품명</label>
  176. <value>G</value>
  177. </item>
  178. <item>
  179. <label>의료보험</label>
  180. <value>H</value>
  181. </item>
  182. <item>
  183. <label>안정성, 혼합가능여부</label>
  184. <value>I</value>
  185. </item>
  186. <item>
  187. <label>부작용</label>
  188. <value>J</value>
  189. </item>
  190. </deptlist>
  191. </init>
  192. <hidden>
  193. <temp/>
  194. <item/>
  195. <drugitem/>
  196. <receivedrugcd>/root/main/data/drugcd</receivedrugcd>
  197. </hidden>
  198. <temp>
  199. <receivedata>
  200. <receiveref/>
  201. <srchflag/>
  202. <srchcnts/>
  203. <drugkind/>
  204. </receivedata>
  205. <userpopupinfo>
  206. <param/>
  207. <flag/>
  208. <searchitem/>
  209. </userpopupinfo>
  210. <useroneselect/>
  211. <srchinfo>
  212. <ward/>
  213. <wardcd/>
  214. </srchinfo>
  215. </temp>
  216. </root>
  217. </instance>
  218. <script type="javascript" ev:event="xforms-ready">
  219. <![CDATA[
  220. model.setValue("/root/send/req/srchinfo/srchfromdd", getCurrentDate());
  221. model.setValue("/root/send/req/srchinfo/srchtodd" , getCurrentDate());
  222. fResetForm();
  223. model.refresh();
  224. ]]>
  225. </script>
  226. <submission id="TRADC01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/srchinfo" replace="instance" resultref="/root/main/qnalist"/>
  227. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  228. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  229. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  230. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  231. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  232. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  233. <submission id="TXADC01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/data" replace="instance" resultref="/root/hidden/item"/>
  234. <submission id="TRADB02604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/srchinfo2" replace="instance" resultref="/root/hidden/drugitem"/>
  235. </model>
  236. <script type="javascript">
  237. <![CDATA[
  238. function fResetForm() {
  239. model.setValue("/root/init/data/empid",getUserId());
  240. model.setValue("/root/init/data/name" ,getUserName());
  241. model.copyNode("/root/main/data","/root/init/data");
  242. model.refresh();
  243. }
  244. function fValidateDelData(){
  245. var qnadd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnadd");
  246. var qnaseqno = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnaseqno");
  247. var instcd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/instcd");
  248. if( qnadd == null || qnadd =="" || qnaseqno ==null || qnaseqno == "" || instcd ==null || instcd == ""){
  249. messageBox("삭제할 데이터를" , "C002");
  250. return false;
  251. }
  252. return true;
  253. }
  254. function fValidateMainData(){
  255. var answtit = model.getValue("/root/main/data/answtit");
  256. if( answtit == null || answtit =="" ){
  257. messageBox("답변제목을" , "C001");
  258. model.setFocus("ipt_answtit");
  259. return false;
  260. }
  261. setZeroValue("/root/main/data/cnsttm");
  262. return true;
  263. }
  264. function setZeroValue(path) {
  265. if (model.getValue(path) == "") {
  266. model.setValue(path,0);
  267. }
  268. }
  269. ]]>
  270. </script>
  271. </xhtml:head>
  272. <xhtml:body guideline="1,1194;2,758;1,354;1,450;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  273. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  274. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:185px; height:14px; ">질의응답등록</caption>
  275. </group>
  276. <group id="rdo_hosinhosoutflag" scroll="auto" style="left:0px; top:13px; width:1195px; height:745px; ">
  277. <caption id="caption20" class="cell_1" style="left:355px; top:723px; width:95px; height:18px; text-align:center; vertical-align:middle; ">참 고 문 헌</caption>
  278. <caption id="caption31" class="cell_1" style="left:354px; top:286px; width:97px; height:18px; text-align:center; vertical-align:middle; ">방 법</caption>
  279. <group id="group2" style="left:0px; top:30px; width:1195px; height:62px; ">
  280. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  281. <input id="ipt_wardcd" ref="/root/temp/srchinfo/wardcd" class="input_search" visibility="hidden" style="left:331px; top:10px; width:140px; height:19px; "/>
  282. <caption id="caption1" style="left:181px; top:8px; width:20px; height:20px; vertical-align:middle; ">~</caption>
  283. <caption id="caption2" class="search_name" style="left:394px; top:8px; width:86px; height:17px; ">질문종류</caption>
  284. <caption id="caption3" class="search_name" style="left:9px; top:8px; width:101px; height:17px; ">조회일자</caption>
  285. <caption id="caption4" class="search_name" style="left:792px; top:8px; width:101px; height:17px; ">해당 원내약</caption>
  286. <caption id="caption5" class="search_name" style="left:9px; top:31px; width:101px; height:17px; ">회신제목</caption>
  287. <button id="btn_sea" class="btn1_letter2" style="left:1130px; top:21px; width:56px; height:22px; ">
  288. <caption>조회</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. var success = submit("TRADC01801");
  292. ]]>
  293. </script>
  294. </button>
  295. <line id="line13" style="x1:1116px; y1:7px; x2:1116px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  296. <input id="ipt_srchhospindrugcd" ref="/root/send/req/srchinfo/srchhospindrug" class="input_search" style="left:890px; top:8px; width:100px; height:19px; "/>
  297. <input id="ipt_srchfromdd" ref="/root/send/req/srchinfo/srchfromdd" class="input_search" inputtype="date" style="left:90px; top:8px; width:86px; height:19px; "/>
  298. <input id="ipt_srchtodd" ref="/root/send/req/srchinfo/srchtodd" class="input_search" inputtype="date" style="left:197px; top:8px; width:86px; height:19px; "/>
  299. <input id="ipt_srchanswtit" ref="/root/send/req/srchinfo/srchanswtit" class="input_search" style="left:92px; top:31px; width:273px; height:19px; "/>
  300. <input id="ipt_wardnm" ref="/root/send/req/srchinfo/srchqestkind" class="input_search" disabled="true" style="left:476px; top:8px; width:174px; height:19px; "/>
  301. <button id="button4" class="icon_search" style="left:657px; top:8px; width:16px; height:16px; ">
  302. <caption/>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. if(chk_ward.visible){
  306. chk_ward.visible = false;
  307. }else {
  308. chk_ward.visible = true;
  309. }
  310. model.refresh();
  311. ]]>
  312. </script>
  313. </button>
  314. <select id="checkbox1" overflow="visible" appearance="full" style="left:287px; top:8px; width:80px; height:20px; border-style:none; ">
  315. <choices>
  316. <item>
  317. <label>회신제외</label>
  318. <value>Y</value>
  319. </item>
  320. </choices>
  321. </select>
  322. <select1 id="radio1" appearance="full" cols="2" overflow="visible" style="left:677px; top:8px; width:90px; height:20px; border-style:none; ">
  323. <choices>
  324. <item>
  325. <label>포함</label>
  326. <value>0</value>
  327. </item>
  328. <item>
  329. <label>일치</label>
  330. <value>1</value>
  331. </item>
  332. </choices>
  333. </select1>
  334. </group>
  335. <caption id="caption10" class="tit_2" style="left:355px; top:377px; width:82px; height:13px; ">회신정보</caption>
  336. <caption id="caption76" class="cell_1" style="left:0px; top:398px; width:95px; height:18px; text-align:center; vertical-align:middle; ">질문종류</caption>
  337. <caption id="caption11" class="cell_1" style="left:355px; top:398px; width:95px; height:31px; text-align:center; vertical-align:middle; ">회신종류</caption>
  338. <caption id="caption22" class="tit_2" style="left:0px; top:265px; width:82px; height:14px; ">환자정보</caption>
  339. <line id="line1" class="line_1" style="x1:0px; y1:280px; x2:345px; y2:280px; "/>
  340. <caption id="caption15" class="cell_1" style="left:355px; top:453px; width:95px; height:18px; text-align:center; vertical-align:middle; ">회신제목</caption>
  341. <line id="line2" class="line_1" style="x1:355px; y1:392px; x2:1195px; y2:392px; "/>
  342. <caption id="caption6" class="cell_1" style="left:650px; top:286px; width:82px; height:18px; text-align:center; vertical-align:middle; ">구 분</caption>
  343. <caption id="caption16" class="cell_1" style="left:355px; top:474px; width:95px; height:18px; text-align:center; vertical-align:middle; ">회신내용</caption>
  344. <caption id="caption7" class="cell_1" style="left:354px; top:328px; width:97px; height:18px; text-align:center; vertical-align:middle; ">이 름</caption>
  345. <select1 id="radio3" ref="/root/main/data/hosinoutflag" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:734px; top:287px; width:85px; height:15px; border-style:none; ">
  346. <choices>
  347. <item>
  348. <label>원내</label>
  349. <value>I</value>
  350. </item>
  351. <item>
  352. <label>원외</label>
  353. <value>O</value>
  354. </item>
  355. </choices>
  356. </select1>
  357. <caption id="caption17" class="cell_1" style="left:520px; top:475px; width:95px; height:18px; text-align:center; vertical-align:middle; ">해당 원내약</caption>
  358. <caption id="caption8" class="cell_1" style="left:354px; top:349px; width:97px; height:18px; text-align:center; vertical-align:middle; ">연락처</caption>
  359. <caption id="caption18" style="left:939px; top:475px; width:255px; height:20px; vertical-align:middle; ">원내약에 대한 내용일 경우, 코드입력(1품목만)</caption>
  360. <caption id="caption9" class="cell_1" style="left:0px; top:545px; width:95px; height:18px; text-align:center; vertical-align:middle; ">질문내용</caption>
  361. <button id="btn_srch2" class="icon_search" style="left:541px; top:329px; width:16px; height:16px; ">
  362. <caption/>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. model.removeNodeset("/root/temp/useroneselect/list");
  366. model.resetInstanceNode("/root/temp/userpopupinfo");
  367. model.setValue("/root/temp/userpopupinfo/param", "_OneS");
  368. modal("../../userdeptinfoweb/xrw/SPZSU10103", "", "200", "200", "SPZSU10103","/root/temp/userpopupinfo","/root/main/temp");
  369. var iParam = getParameter("SPZSU10103_");
  370. setCSVToNode("/root/temp/useroneselect", iParam);
  371. clearParameter("SPZSU10103_");
  372. model.setValue("/root/main/data/cnstdrnm" , model.getValue("/root/temp/useroneselect/list/usernm"));
  373. model.setValue("/root/main/data/cnstdeptcd" , model.getValue("/root/temp/useroneselect/list/posdeptcd"));
  374. model.setValue("/root/main/data/cnstdeptnm" , model.getValue("/root/temp/useroneselect/list/posdeptnm"));
  375. model.setValue("/root/main/data/cnstdrid" , model.getValue("/root/temp/useroneselect/list/userid"));
  376. model.refresh();
  377. ]]>
  378. </script>
  379. </button>
  380. <group id="group4" scroll="auto" style="left:0px; top:0px; width:1195px; height:27px; ">
  381. <button id="btn_save" class="btn4_letter2" style="left:1014px; top:5px; width:56px; height:22px; ">
  382. <caption>저장</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. var ret = fValidateMainData();
  386. if (ret == false) return;
  387. var qnadd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnadd");
  388. var qnaseqno = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnaseqno");
  389. var instcd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/instcd");
  390. var repldd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/repldd");
  391. model.setValue("/root/main/data/qnadd", qnadd);
  392. model.setValue("/root/main/data/qnaseqno", qnaseqno);
  393. model.setValue("/root/main/data/instcd", instcd);
  394. model.setValue("/root/main/data/repldd", repldd);
  395. if (qnaseqno == null || qnaseqno == "") {
  396. model.setValue("/root/main/data/m","i");
  397. }
  398. submit("TXADC01801");
  399. submit("TRADC01801");
  400. ]]>
  401. </script>
  402. </button>
  403. <button id="btn_del" class="btn4_letter2" style="left:1134px; top:5px; width:56px; height:22px; ">
  404. <caption>삭제</caption>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. var ret = fValidateDelData();
  408. if (ret == false) return;
  409. var qnadd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnadd");
  410. var qnaseqno = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/qnaseqno");
  411. var instcd = model.getValue("/root/main/qnalist/item["+grd_qnalist.row+"]/instcd");
  412. model.setValue("/root/main/data/qnadd", qnadd);
  413. model.setValue("/root/main/data/qnaseqno", qnaseqno);
  414. model.setValue("/root/main/data/instcd", instcd);
  415. model.setValue("/root/main/data/m" ,"d");
  416. var result = messageBox( "해당 데이터를 삭제", "S001");
  417. if( result==7 || result == 2 ) return;
  418. var success = submit("TXADC01801");
  419. if (success) {
  420. fResetForm();
  421. submit("TRADC01801");
  422. }
  423. ]]>
  424. </script>
  425. </button>
  426. <button id="btn_cle" class="btn4_letter2" style="left:954px; top:5px; width:56px; height:22px; ">
  427. <caption>신규</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. fResetForm();
  431. ]]>
  432. </script>
  433. </button>
  434. <button id="button2" class="btn4_letter2" style="left:1074px; top:5px; width:56px; height:22px; ">
  435. <caption>회신</caption>
  436. <script type="javascript" ev:event="DOMActivate">
  437. <![CDATA[
  438. fResetForm();
  439. ]]>
  440. </script>
  441. </button>
  442. </group>
  443. <caption id="caption21" class="cell_1" style="left:354px; top:307px; width:97px; height:18px; text-align:center; vertical-align:middle; ">신 원</caption>
  444. <button id="button1" class="icon_search" style="left:724px; top:476px; width:16px; height:16px; ">
  445. <caption/>
  446. <script type="javascript" ev:event="DOMActivate">
  447. <![CDATA[
  448. var drugcode = "";
  449. model.setValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
  450. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  451. drugcode = model.getValue("/root/main/data/drugcd");
  452. if (drugcode != "") {
  453. model.setValue("/root/send/req/srchinfo2/srchdrugcd",drugcode);
  454. submit("TRADB02604");
  455. model.setValue("/root/main/data/hospindrug",model.getValue("/root/hidden/drugitem/drugnm"));
  456. model.refresh();
  457. }
  458. ]]>
  459. </script>
  460. </button>
  461. <datagrid id="grd_qnalist" nodeset="/root/main/qnalist/item" caption="상태^질문종류^답변제목^의뢰자^등록번호^해당원내약^회신일자" colsep="^" colwidth="73, 145, 510, 100, 100, 145, 120" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1194px; height:165px; ">
  462. <col/>
  463. <col ref="qestkind"/>
  464. <col ref="answtit"/>
  465. <col ref="name"/>
  466. <col/>
  467. <col ref="hospindrug"/>
  468. <col ref="repldd" format="yyyy-mm-dd" style="text-align:center; "/>
  469. <script type="javascript" ev:event="onclick">
  470. <![CDATA[
  471. var row = grd_qnalist.row;
  472. if (row > 0) {
  473. model.copyNode("/root/main/data","root/main/qnalist/item["+row+"]");
  474. model.makeNode("/root/main/data/m");
  475. model.setValue("/root/main/data/m","u");
  476. model.refresh();
  477. }
  478. ]]>
  479. </script>
  480. </datagrid>
  481. <select1 id="rdo_qestmthd" ref="/root/main/data/qestmthd" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:451px; top:287px; width:210px; height:15px; border-style:none; ">
  482. <choices>
  483. <item>
  484. <label>전화</label>
  485. <value>1</value>
  486. </item>
  487. <item>
  488. <label>서면</label>
  489. <value>2</value>
  490. </item>
  491. <item>
  492. <label>방문</label>
  493. <value>3</value>
  494. </item>
  495. <item>
  496. <label>기타</label>
  497. <value>4</value>
  498. </item>
  499. </choices>
  500. </select1>
  501. <select1 id="rdo_idtype" ref="/root/main/data/idtype" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:451px; top:307px; width:195px; height:15px; border-style:none; ">
  502. <choices>
  503. <item>
  504. <label>의사</label>
  505. <value>1</value>
  506. </item>
  507. <item>
  508. <label>약사</label>
  509. <value>2</value>
  510. </item>
  511. <item>
  512. <label>간호사</label>
  513. <value>3</value>
  514. </item>
  515. <item>
  516. <label>기타</label>
  517. <value>9</value>
  518. </item>
  519. </choices>
  520. </select1>
  521. <input id="ipt_cnstdrnm" ref="/root/main/data/name" class="input_search" style="left:451px; top:327px; width:86px; height:19px; "/>
  522. <input id="ipt_cnstdeptnm" ref="/root/main/data/cnstdeptnm" class="input_search" style="left:559px; top:327px; width:86px; height:19px; "/>
  523. <input id="ipt_cntctel" ref="/root/main/data/cntctel" class="input_search" style="left:451px; top:350px; width:192px; height:19px; "/>
  524. <select id="lst_qestkind" ref="/root/main/data/qestkind" overflow="scroll" appearance="full" cols="3" style="left:0px; top:421px; width:345px; height:125px; ">
  525. <choices>
  526. <item>
  527. <label>임신,수유시 적용</label>
  528. <value>K</value>
  529. </item>
  530. <item>
  531. <label>성분,함량</label>
  532. <value>L</value>
  533. </item>
  534. <item>
  535. <label>임상약</label>
  536. <value>M</value>
  537. </item>
  538. <item>
  539. <label>독성, 중독</label>
  540. <value>N</value>
  541. </item>
  542. <item>
  543. <label>상호작용</label>
  544. <value>O</value>
  545. </item>
  546. <item>
  547. <label>약물평가, 비교</label>
  548. <value>P</value>
  549. </item>
  550. <item>
  551. <label>약품식별</label>
  552. <value>Q</value>
  553. </item>
  554. <item>
  555. <label>약리,약물치료약</label>
  556. <value>R</value>
  557. </item>
  558. <item>
  559. <label>사용가능성</label>
  560. <value>S</value>
  561. </item>
  562. <item>
  563. <label>기타</label>
  564. <value>Z</value>
  565. </item>
  566. <item>
  567. <label>코드</label>
  568. <value>A</value>
  569. </item>
  570. <item>
  571. <label>대체약물</label>
  572. <value>B</value>
  573. </item>
  574. <item>
  575. <label>격응증,금기</label>
  576. <value>C</value>
  577. </item>
  578. <item>
  579. <label>문헌</label>
  580. <value>D</value>
  581. </item>
  582. <item>
  583. <label>약물등역학</label>
  584. <value>E</value>
  585. </item>
  586. <item>
  587. <label>투여경로,용량,용법</label>
  588. <value>F</value>
  589. </item>
  590. <item>
  591. <label>제조회사,상품명</label>
  592. <value>G</value>
  593. </item>
  594. <item>
  595. <label>의료보험</label>
  596. <value>H</value>
  597. </item>
  598. <item>
  599. <label>안정성, 혼합가능여부</label>
  600. <value>I</value>
  601. </item>
  602. <item>
  603. <label>부작용</label>
  604. <value>J</value>
  605. </item>
  606. </choices>
  607. </select>
  608. <textarea id="tar_answcnts" ref="/root/main/data/qestcnts" style="left:0px; top:565px; width:350px; height:177px; "/>
  609. <input id="ipt_cnsttm" ref="/root/main/data/cnsttm" class="input_search" style="left:930px; top:305px; width:69px; height:19px; text-align:right; "/>
  610. <input id="ipt_answtit" ref="/root/main/data/answtit" class="input_essential" style="left:454px; top:454px; width:740px; height:19px; "/>
  611. <input id="ipt_drugcd" ref="/root/main/data/drugcd" class="input_search" style="left:620px; top:475px; width:100px; height:19px; "/>
  612. <input id="ipt_hospindrug" ref="/root/main/data/hospindrug" class="input_search" style="left:745px; top:475px; width:180px; height:19px; "/>
  613. <textarea id="ipt_answcnts" ref="/root/main/data/answcnts" style="left:355px; top:495px; width:839px; height:225px; "/>
  614. <input id="ipt_refcnts" ref="/root/main/data/refcnts" class="input_search" style="left:454px; top:723px; width:502px; height:19px; "/>
  615. <select id="chk_ward" ref="/root/temp/srchinfo/ward" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" sep="|" style="left:475px; top:60px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
  616. <choices>
  617. <itemset nodeset="/root/init/deptlist/item">
  618. <label ref="label"/>
  619. <value ref="value"/>
  620. </itemset>
  621. </choices>
  622. <script type="javascript" ev:event="onclick">
  623. <![CDATA[
  624. if(chk_ward.mouseRow == 0){
  625. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  626. model.setValue("/root/temp/srchinfo/ward", "T|K|L|M|N|O|P|Q|R|S|Z|A|B|C|D|E|F|G|H|I|J");
  627. } else {
  628. model.setValue("/root/temp/srchinfo/ward", "");
  629. }
  630. model.refresh();
  631. }
  632. if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
  633. ipt_wardcd.value = chk_ward.value.substr(2,chk_ward.value.length);
  634. ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
  635. } else {
  636. ipt_wardcd.value = chk_ward.value;
  637. ipt_wardnm.value = chk_ward.label;
  638. }
  639. ]]>
  640. </script>
  641. </select>
  642. <caption id="caption23" class="tit_2" style="left:0px; top:377px; width:82px; height:13px; ">문의정보</caption>
  643. <line id="line3" class="line_1" style="x1:0px; y1:392px; x2:345px; y2:392px; "/>
  644. <caption id="caption24" class="tit_2" style="left:355px; top:265px; width:82px; height:14px; ">의뢰자정보</caption>
  645. <line id="line4" class="line_1" style="x1:355px; y1:280px; x2:820px; y2:280px; "/>
  646. <caption id="caption25" class="tit_2" style="left:830px; top:265px; width:82px; height:14px; ">회신자정보</caption>
  647. <line id="line5" class="line_1" style="x1:830px; y1:280px; x2:1196px; y2:280px; "/>
  648. <caption id="caption26" class="cell_1" style="left:650px; top:328px; width:82px; height:18px; text-align:center; vertical-align:middle; ">의뢰일시</caption>
  649. <input id="input1" style="left:650px; top:306px; width:167px; height:19px; "/>
  650. <caption id="caption27" class="cell_1" style="left:0px; top:286px; width:95px; height:18px; text-align:center; vertical-align:middle; ">등록번호</caption>
  651. <caption id="caption28" class="cell_1" style="left:0px; top:306px; width:95px; height:18px; text-align:center; vertical-align:middle; ">이름</caption>
  652. <caption id="caption29" class="cell_1" style="left:0px; top:326px; width:95px; height:18px; text-align:center; vertical-align:middle; ">진료과</caption>
  653. <caption id="caption30" class="cell_1" style="left:0px; top:346px; width:95px; height:18px; text-align:center; vertical-align:middle; ">문의대상</caption>
  654. <caption id="caption32" class="cell_1" style="left:186px; top:286px; width:86px; height:18px; text-align:center; vertical-align:middle; ">성별/나이</caption>
  655. <caption id="caption33" class="cell_1" style="left:186px; top:306px; width:86px; height:18px; text-align:center; vertical-align:middle; ">병실</caption>
  656. <caption id="caption34" class="cell_1" style="left:186px; top:326px; width:86px; height:18px; text-align:center; vertical-align:middle; ">진료의</caption>
  657. <select id="checkbox2" overflow="visible" appearance="full" cols="4" style="left:99px; top:347px; width:235px; height:20px; border-style:none; ">
  658. <choices>
  659. <item>
  660. <label>입원약</label>
  661. <value>checkbox2</value>
  662. </item>
  663. <item>
  664. <label>퇴원약</label>
  665. <value/>
  666. </item>
  667. <item>
  668. <label>외래약</label>
  669. <value/>
  670. </item>
  671. <item>
  672. <label>기타</label>
  673. <value/>
  674. </item>
  675. </choices>
  676. </select>
  677. <input id="input2" style="left:98px; top:286px; width:70px; height:19px; "/>
  678. <input id="input3" style="left:98px; top:306px; width:85px; height:19px; "/>
  679. <input id="input4" style="left:98px; top:326px; width:85px; height:19px; "/>
  680. <button id="button3" class="icon_search" style="left:168px; top:286px; width:16px; height:16px; ">
  681. <caption/>
  682. <script type="javascript" ev:event="DOMActivate">
  683. <![CDATA[
  684. ]]>
  685. </script>
  686. </button>
  687. <input id="input5" style="left:274px; top:286px; width:70px; height:19px; "/>
  688. <input id="input6" style="left:274px; top:306px; width:70px; height:19px; "/>
  689. <input id="input7" style="left:274px; top:326px; width:70px; height:19px; "/>
  690. <caption id="caption35" class="cell_1" style="left:830px; top:286px; width:97px; height:18px; text-align:center; vertical-align:middle; ">방 법</caption>
  691. <caption id="caption36" class="cell_1" style="left:830px; top:307px; width:97px; height:18px; text-align:center; vertical-align:middle; ">소요시간</caption>
  692. <caption id="caption37" class="cell_1" style="left:830px; top:328px; width:97px; height:18px; text-align:center; vertical-align:middle; ">작성자</caption>
  693. <caption id="caption38" class="cell_1" style="left:830px; top:349px; width:97px; height:18px; text-align:center; vertical-align:middle; ">작성일시</caption>
  694. <caption id="caption39" class="cell_1" style="left:1024px; top:328px; width:87px; height:18px; text-align:center; vertical-align:middle; ">회신자</caption>
  695. <caption id="caption40" class="cell_1" style="left:1024px; top:349px; width:87px; height:18px; text-align:center; vertical-align:middle; ">회신일시</caption>
  696. <select1 id="radio2" ref="/root/main/data/answmthd" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:931px; top:286px; width:195px; height:15px; border-style:none; ">
  697. <choices>
  698. <item>
  699. <label>전화</label>
  700. <value>1</value>
  701. </item>
  702. <item>
  703. <label>서면</label>
  704. <value>2</value>
  705. </item>
  706. <item>
  707. <label>방문</label>
  708. <value>3</value>
  709. </item>
  710. <item>
  711. <label>기타</label>
  712. <value>4</value>
  713. </item>
  714. </choices>
  715. </select1>
  716. <select1 id="radio4" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:1003px; top:306px; width:122px; height:20px; border-style:none; ">
  717. <choices>
  718. <item>
  719. <label>분</label>
  720. <value>radio4</value>
  721. </item>
  722. <item>
  723. <label>시간</label>
  724. <value/>
  725. </item>
  726. <item>
  727. <label>일</label>
  728. <value/>
  729. </item>
  730. </choices>
  731. </select1>
  732. <select id="checkbox3" overflow="visible" appearance="full" cols="6" style="left:454px; top:398px; width:712px; height:32px; border-style:none; ">
  733. <choices>
  734. <item>
  735. <label>약품정보 제공</label>
  736. <value>checkbox3</value>
  737. </item>
  738. <item>
  739. <label>환자교육 추천</label>
  740. <value/>
  741. </item>
  742. <item>
  743. <label>대체약품 추천</label>
  744. <value/>
  745. </item>
  746. <item>
  747. <label>투약중지</label>
  748. <value/>
  749. </item>
  750. <item>
  751. <label>처방추가</label>
  752. <value/>
  753. </item>
  754. <item>
  755. <label>용량감소, 증가</label>
  756. <value/>
  757. </item>
  758. <item>
  759. <label>용법변경</label>
  760. <value/>
  761. </item>
  762. <item>
  763. <label>제형변경</label>
  764. <value/>
  765. </item>
  766. <item>
  767. <label>투여경로 변경</label>
  768. <value/>
  769. </item>
  770. <item>
  771. <label>투여기간 변경</label>
  772. <value/>
  773. </item>
  774. </choices>
  775. </select>
  776. <caption id="caption12" class="cell_1" style="left:355px; top:432px; width:95px; height:18px; text-align:center; vertical-align:middle; ">회신결과</caption>
  777. <select1 id="radio5" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:454px; top:433px; width:257px; height:20px; border-style:none; ">
  778. <choices>
  779. <item>
  780. <label>완전수용</label>
  781. <value>radio5</value>
  782. </item>
  783. <item>
  784. <label>부분수용</label>
  785. <value/>
  786. </item>
  787. <item>
  788. <label>수용안함</label>
  789. <value/>
  790. </item>
  791. <item>
  792. <label>기타</label>
  793. <value/>
  794. </item>
  795. </choices>
  796. </select1>
  797. <input id="input8" style="left:706px; top:432px; width:199px; height:19px; "/>
  798. <caption id="caption13" class="cell_1" style="left:960px; top:723px; width:95px; height:18px; text-align:center; vertical-align:middle; ">첨부파일</caption>
  799. <input id="input9" style="left:1059px; top:722px; width:110px; height:19px; "/>
  800. <button id="button5" class="icon_search" style="left:1173px; top:724px; width:16px; height:16px; ">
  801. <caption/>
  802. <script type="javascript" ev:event="DOMActivate">
  803. <![CDATA[
  804. ]]>
  805. </script>
  806. </button>
  807. <button id="button6" class="btn2_letter4" style="left:454px; top:474px; width:64px; height:19px; ">
  808. <caption>확대보기</caption>
  809. </button>
  810. <button id="button7" class="btn2_letter4" style="left:99px; top:545px; width:64px; height:19px; ">
  811. <caption>확대보기</caption>
  812. </button>
  813. <output id="output1" ref="/root/main/data/qnadd" class="output_fix" style="left:735px; top:328px; width:83px; height:19px; "/>
  814. <output id="output2" class="output_fix" style="left:931px; top:327px; width:90px; height:19px; "/>
  815. <output id="output3" class="output_fix" style="left:931px; top:348px; width:90px; height:19px; "/>
  816. <output id="output4" ref="/root/main/data/empid" class="output_fix" style="left:1113px; top:327px; width:80px; height:19px; "/>
  817. <output id="output5" ref="/root/main/data/repldd" class="output_fix" style="left:1113px; top:348px; width:80px; height:19px; "/>
  818. </group>
  819. </xhtml:body>
  820. </xhtml:html>