SPPIZ01900_심사환자메세지작성.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SPPIZ01900_심사환자메세지작성.xrw
  4. * 수정이력
  5. * - 2009.07.15 / 최초작성 / 박재형
  6. *
  7. -->
  8. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  9. <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">
  10. <xhtml:head>
  11. <xhtml:title>심사환자메세지작성</xhtml:title>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <patinfo>
  17. <instcd/>
  18. <msgwrtedd/>
  19. <msgwrteno/>
  20. <msgwrtehistno/>
  21. <histstat/>
  22. <pid/>
  23. <orddd/>
  24. <cretno/>
  25. <mskind/>
  26. <orddeptcd/>
  27. <orddrid/>
  28. <orddrnm/>
  29. <ordtype/>
  30. <kindflag/>
  31. <grupcalcscorcd/>
  32. <snglcalcscorcd/>
  33. <ordqty/>
  34. <ordtims/>
  35. <orddays/>
  36. <prcpdd/>
  37. <prcpno/>
  38. <prcppayflag/>
  39. <rgstrid/>
  40. <rgstdd/>
  41. <rgsttm/>
  42. <sendphone/>
  43. <anybodyyn/>
  44. <sendflag/>
  45. <senddate/>
  46. <sendid/>
  47. <deliveid/>
  48. <recvdate/>
  49. <recvid/>
  50. <recvcnfmyn/>
  51. <recvcnfmid/>
  52. <sendmsg/>
  53. <recvmsg/>
  54. <fstrgstrid/>
  55. <fstrgstdt/>
  56. <lastupdtrid/>
  57. <lastupdtdt/>
  58. </patinfo>
  59. <patinfo2>
  60. <delivenm/>
  61. <delivedeptnm/>
  62. <allcnt/>
  63. <row/>
  64. </patinfo2>
  65. <userpopupinfo>
  66. <param/>
  67. <flag/>
  68. <searchitem/>
  69. </userpopupinfo>
  70. <oneselect/>
  71. <patinfolist>
  72. <list>
  73. <listvalue/>
  74. </list>
  75. <stats>
  76. <statsvalue/>
  77. </stats>
  78. </patinfolist>
  79. <firstrefinfo>
  80. <grupinfo>
  81. <grupcalcscorcd/>
  82. <grupcalcscornm/>
  83. </grupinfo>
  84. <dridinfo>
  85. <orddrid/>
  86. <rgstrid/>
  87. <rgstrnm/>
  88. </dridinfo>
  89. </firstrefinfo>
  90. </main>
  91. <send>
  92. <patinfo>
  93. <instcd/>
  94. <msgwrtedd/>
  95. <msgwrteno/>
  96. <msgwrtehistno/>
  97. <histstat/>
  98. <pid/>
  99. <orddd/>
  100. <cretno/>
  101. <mskind/>
  102. <orddeptcd/>
  103. <orddrid/>
  104. <orddrnm/>
  105. <ordtype/>
  106. <kindflag/>
  107. <grupcalcscorcd/>
  108. <snglcalcscorcd/>
  109. <ordqty/>
  110. <ordtims/>
  111. <orddays/>
  112. <prcpdd/>
  113. <prcpno/>
  114. <prcppayflag/>
  115. <rgstrid/>
  116. <rgstdd/>
  117. <rgsttm/>
  118. <sendphone/>
  119. <anybodyyn/>
  120. <sendflag/>
  121. <senddate/>
  122. <sendid/>
  123. <deliveid/>
  124. <recvdate/>
  125. <recvid/>
  126. <recvcnfmyn/>
  127. <recvcnfmid/>
  128. <sendmsg/>
  129. <recvmsg/>
  130. <fstrgstrid/>
  131. <fstrgstdt/>
  132. <lastupdtrid/>
  133. <lastupdtdt/>
  134. </patinfo>
  135. <erdr>
  136. <orddrid/>
  137. <orddridnm/>
  138. </erdr>
  139. <msgref>
  140. <refyn/>
  141. <pid/>
  142. <orddd/>
  143. <cretno/>
  144. <mskind/>
  145. <orddeptcd/>
  146. <orddrid/>
  147. <orddrnm/>
  148. <ordtype/>
  149. </msgref>
  150. </send>
  151. <init>
  152. <openchk>
  153. <refyn/>
  154. <pid/>
  155. <orddd/>
  156. <cretno/>
  157. <mskind/>
  158. <orddeptcd/>
  159. <orddrid/>
  160. <orddrnm/>
  161. <ordtype/>
  162. </openchk>
  163. </init>
  164. <hidden>
  165. <msgrow>
  166. <row/>
  167. </msgrow>
  168. <sppiz00700>
  169. <cond>
  170. <judgrid/>
  171. <memoflag/>
  172. <memocls/>
  173. <ediitem1/>
  174. </cond>
  175. <rslt>
  176. <memocd/>
  177. <memo/>
  178. </rslt>
  179. </sppiz00700>
  180. </hidden>
  181. </root>
  182. </instance>
  183. <script type="javascript" ev:event="xforms-ready">
  184. <![CDATA[
  185. fInitialize(); // 화면을 초기화한다.
  186. fRefChk(); // 첫화면 오픈시 입력인지 조회성인지 확인(opener에서 값넘겨줌)
  187. ]]>
  188. </script>
  189. <submission id="TXPIZ01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/hidden/listval"/>
  190. <submission id="TRPIZ01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/msgref" resultref="/root/main/patinfolist"/>
  191. <submission id="TRPIZ01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/main/firstrefinfo"/>
  192. </model>
  193. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  194. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  195. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  196. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  197. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  198. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  199. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  200. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  201. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  202. <script type="javascript" src="../../../pam/bfjudgweb/js/SMPIJ00700.js"/>
  203. <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
  204. <script type="javascript">
  205. <![CDATA[
  206. // 화면을 초기화한다.
  207. function fInitialize() {
  208. if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  209. } else {
  210. messageBox("상위화면이 변경되어 데이터를 초기화 할 수", "I004"); ///상위화면이 변경되어 데이터를 초기화 할 수 없습니다.
  211. }
  212. }
  213. // opener에서 조회로 여는지 입력으로 여는지 확인, 입력으로 열면 해당 값이 없고 조회로 열면 값이 'Y'
  214. function fRefChk(){
  215. if(model.getValue("/root/init/openchk/refyn") == 'Y'){
  216. model.copyNode("/root/send/msgref", "/root/init/openchk");
  217. if(submit("TRPIZ01901")){
  218. messageBox("메세지리스트 조회 완료 ","I001");
  219. rdo_recvcnfmyn.disabled = true; // 연속확인 비활성
  220. rdo_sendflag.disabled = true; // 송신구분 비활성
  221. tar_recvmsg.disabled = false; // 수신메세지 활성
  222. bol_anybodyyn.disabled= true; // 애니바디 활성
  223. button1.visible= true; //다음메세지 보이기
  224. button2.visible= true; //이전메세지 보이기
  225. btn_confirm.disabled = true; //저장버튼 비활성
  226. fSetRef("A");
  227. }
  228. }else{
  229. // 주치의 처방의, 그룹코드명 조회
  230. model.copyNode("/root/send/patinfo","/root/main/patinfo");
  231. model.refresh();
  232. var cd = model.getValue("/root/send/patinfo/grupcalcscorcd");
  233. if(cd == "" || cd == " " || cd == null){
  234. var orddrid = model.getValue("/root/send/patinfo/orddrid");
  235. model.setValue("/root/main/patinfo/deliveid", orddrid);
  236. model.refresh();
  237. }else{
  238. if(submit("TRPIZ01902")){
  239. //messageBox("조회 완료 ","I001");
  240. // 처방시 메세지 기본 처방정보셋팅
  241. var dd = model.getValue("/root/send/patinfo/prcpdd");
  242. var dddd = dd.substring(0,4) + '/' + dd.substring(4,6) + '/' + dd.substring(6,8);
  243. var gcd = model.getValue("/root/main/firstrefinfo/grupinfo/grupcalcscorcd");
  244. var gnm = model.getValue("/root/main/firstrefinfo/grupinfo/grupcalcscornm");
  245. // 진료전송시 기본 수신자 id셋팅
  246. var flag = model.getValue("/root/send/patinfo/ordtype");
  247. var flag2 = model.getValue("/root/send/patinfo/kindflag");
  248. var drid = model.getValue("/root/send/patinfo/orddrid");
  249. var rgid = model.getValue("/root/main/firstrefinfo/dridinfo/rgstrid");
  250. if(flag == "I"){
  251. var firstmsg = gcd + ', ' + gnm + '\n';
  252. if(flag2 == "P"){
  253. model.setValue("/root/main/patinfo/deliveid", "");
  254. }else{
  255. model.setValue("/root/main/patinfo/deliveid", rgid);
  256. model.setValue("/root/main/patinfo/sendmsg", firstmsg);
  257. //처방의 셋팅(입원일때)
  258. // 주치의 명 셋팅. (외래일때)
  259. model.setValue("/root/main/patinfo2/delivenm", model.getValue("/root/main/firstrefinfo/dridinfo/rgstrnm"));
  260. }
  261. }else{
  262. var firstmsg = gcd + ', ' + gnm + ', 처방일(' + dddd + ') \n';
  263. // 주치의 명 셋팅. (외래일때)
  264. model.setValue("/root/main/patinfo2/delivenm", model.getValue("/root/send/patinfo/orddrnm"));
  265. if(flag2 == "P"){
  266. model.setValue("/root/main/patinfo/deliveid", drid);
  267. }else{
  268. model.setValue("/root/main/patinfo/deliveid", drid);
  269. model.setValue("/root/main/patinfo/sendmsg", firstmsg);
  270. }
  271. }
  272. model.refresh();
  273. }else{
  274. messageBox("조회 완료 되지 ","I011");
  275. }
  276. }
  277. }
  278. }
  279. // 메세지 보기 셋팅이다.
  280. function fSetRef(setrow) {
  281. if(setrow == "A"){
  282. var row = 1;
  283. model.setValue("/root/hidden/msgrow/row", 1);
  284. }else if(setrow == "B"){
  285. var row = model.getValue("/root/hidden/msgrow/row");
  286. var allrow = getNodesetCount("/root/main/patinfolist/list/listvalue");
  287. if(row == 1 ){
  288. var row = allrow;
  289. model.setValue("/root/hidden/msgrow/row", row);
  290. }else{
  291. var row = parseInt(row) - 1;
  292. model.setValue("/root/hidden/msgrow/row", row);
  293. }
  294. }else if(setrow == "N"){
  295. var row = model.getValue("/root/hidden/msgrow/row");
  296. var allrow = getNodesetCount("/root/main/patinfolist/list/listvalue");
  297. if(row == allrow ){
  298. var row = 1;
  299. model.setValue("/root/hidden/msgrow/row", row);
  300. }else{
  301. var row = parseInt(row) + 1;
  302. model.setValue("/root/hidden/msgrow/row", row);
  303. }
  304. }else{
  305. }
  306. model.setValue("/root/main/patinfo/deliveid", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/deliveid"));
  307. model.setValue("/root/main/patinfo/recvcnfmyn", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/recvcnfmyn"));
  308. model.setValue("/root/main/patinfo/sendflag", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/sendflag"));
  309. model.setValue("/root/main/patinfo/senddate", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/senddate"));
  310. model.setValue("/root/main/patinfo/sendid", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/sendid"));
  311. model.setValue("/root/main/patinfo/sendmsg", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/sendmsg"));
  312. model.setValue("/root/main/patinfo/recvid", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/recvid"));
  313. model.setValue("/root/main/patinfo/recvdate", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/recvdate"));
  314. model.setValue("/root/main/patinfo/recvmsg", model.getValue("/root/main/patinfolist/list/listvalue[" + row + "]/recvmsg"));
  315. caption4.visible= true; //전체 글자 보이기
  316. output3.visible= true; //전체 값 보이기
  317. caption5.visible= true; //현재 글자 보이기
  318. output4.visible= true; //현재 값 보이기
  319. model.setValue("/root/main/patinfo2/allcnt", model.getValue("/root/main/patinfolist/stats/statsvalue/allcnt"));
  320. model.setValue("/root/main/patinfo2/row", row);
  321. model.refresh();
  322. }
  323. //환자메세지 comment
  324. function fSetPatInfoMemoRefresh(){
  325. var bfmemo = model.getValue("/root/main/patinfo/sendmsg");
  326. var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
  327. model.setValue("/root/main/patinfo/sendmsg",bfmemo + (bfmemo.length > 0 ? "\n" : "") + memo);
  328. model.refresh();
  329. }
  330. //처방기준메세지 comment
  331. function fSetOrdJudgMemoRefresh(){
  332. var bfmemo = model.getValue("/root/main/patinfo/sendmsg");
  333. var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
  334. model.setValue("/root/main/patinfo/sendmsg",bfmemo + (bfmemo.length > 0 ? "\n" : "") + memo);
  335. model.refresh();
  336. }
  337. ]]>
  338. </script>
  339. </xhtml:head>
  340. <xhtml:body pagewidth="517" pageheight="480" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  341. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:420px; ">
  342. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:140px; height:13px; ">심사환자메세지작성</caption>
  343. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
  344. <caption id="caption2" class="cell_1" style="left:2px; top:122px; width:50px; height:118px; text-align:center; ">
  345. <![CDATA[송신
  346. 메세지]]>
  347. </caption>
  348. <caption id="caption3" class="cell_1" style="left:2px; top:266px; width:50px; height:118px; text-align:center; ">
  349. <![CDATA[수신
  350. 메세지]]>
  351. </caption>
  352. <line id="line4" class="line_3" style="x1:0px; y1:385px; x2:500px; y2:385px; "/>
  353. <caption id="caption6" class="cell_1" style="left:2px; top:387px; width:498px; height:30px; text-align:center; ">
  354. <hint>
  355. <![CDATA[MT016]]>
  356. </hint>
  357. </caption>
  358. <textarea id="tar_sendmsg" ref="/root/main/patinfo/sendmsg" maxlength="330" style="left:53px; top:123px; width:445px; height:116px; "/>
  359. <line id="line5" class="line_3" style="x1:0px; y1:418px; x2:500px; y2:418px; "/>
  360. <button id="btn_unselect" class="btn2_letter3" disabled="true" style="left:446px; top:5px; width:53px; height:19px; ">
  361. <caption>초기화</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. fInitialize();
  365. ]]>
  366. </script>
  367. </button>
  368. <textarea id="tar_recvmsg" ref="/root/main/patinfo/recvmsg" disabled="true" style="left:53px; top:267px; width:445px; height:116px; "/>
  369. <line id="line9" class="line_2" style="x1:0px; y1:120px; x2:500px; y2:120px; "/>
  370. <input id="ipt_sendid" ref="/root/main/patinfo/sendid" class="input_default" disabled="true" navindex="1" style="left:63px; top:100px; width:102px; height:19px; "/>
  371. <caption id="caption19" class="cell_1" style="left:2px; top:99px; width:60px; height:21px; vertical-align:middle; ">송신자</caption>
  372. <caption id="caption20" class="cell_1" style="left:168px; top:99px; width:60px; height:21px; vertical-align:middle; ">송신일</caption>
  373. <caption id="caption21" class="cell_1" style="left:168px; top:243px; width:60px; height:21px; vertical-align:middle; ">수신일</caption>
  374. <input id="ipt_redvid" ref="/root/main/patinfo/recvid" class="input_default" disabled="true" navindex="1" style="left:63px; top:244px; width:102px; height:19px; "/>
  375. <caption id="caption23" class="cell_1" style="left:2px; top:243px; width:60px; height:21px; vertical-align:middle; ">수신자</caption>
  376. <line id="line11" class="line_2" style="x1:0px; y1:264px; x2:500px; y2:264px; "/>
  377. <input id="ipt_senddate" ref="/root/main/patinfo/senddate" class="input_default" disabled="true" inputtype="date" style="left:229px; top:100px; width:102px; height:19px; "/>
  378. <input id="ipt_recvdate" ref="/root/main/patinfo/recvdate" class="input_default" disabled="true" inputtype="date" style="left:229px; top:244px; width:102px; height:19px; "/>
  379. <line id="line3" class="line_3" style="x1:0px; y1:241px; x2:500px; y2:241px; "/>
  380. <caption id="caption24" class="cell_1" style="left:2px; top:52px; width:60px; height:21px; vertical-align:middle; ">수신자</caption>
  381. <input id="ipt_deliveid" ref="/root/main/patinfo/deliveid" class="input_default" disabled="true" navindex="1" style="left:63px; top:53px; width:82px; height:19px; "/>
  382. <line id="line2" class="line_2" style="x1:0px; y1:50px; x2:500px; y2:50px; "/>
  383. <button id="btn_orddrid" class="icon_search" style="left:147px; top:55px; width:16px; height:16px; ">
  384. <caption/>
  385. <script type="javascript" ev:event="DOMActivate">
  386. <![CDATA[
  387. model.resetInstanceNode("/root/main/userpopupinfo");
  388. model.setValue("/root/main/userpopupinfo/param", "_OneS");
  389. modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103","/root/main/userpopupinfo","/root/main/temp");
  390. var iParam = getParameter("SPZSU10103_");
  391. if (getNodesetCount("/root/main/oneselect/list") > 0 ) {
  392. model.removenode("/root/main/oneselect/list");
  393. }
  394. setCSVToNode("/root/main/oneselect", iParam);
  395. clearParameter("SPZSU10103_");
  396. //---------------------------------------------
  397. //팝업에서 선택한 의사정보 화면에 표시
  398. //---------------------------------------------
  399. if (getNodesetCount("/root/main/patinfo/deliveid") < 1 ) {
  400. model.makeNode("/root/main/patinfo/deliveid");
  401. }
  402. if (getNodesetCount("/root/main/patinfo2/delivenm") < 1 ) {
  403. model.makeNode("/root/main/patinfo2/delivenm");
  404. model.makeNode("/root/main/patinfo2/delivedeptnm");
  405. }
  406. if(model.getValue("/root/main/oneselect/list/userid") == "" ||
  407. model.getValue("/root/main/oneselect/list/userid") == " " ||
  408. model.getValue("/root/main/oneselect/list/userid") == null){
  409. }else{
  410. model.setValue("/root/main/patinfo/deliveid",model.getValue("/root/main/oneselect/list/userid"));
  411. model.setValue("/root/main/patinfo2/delivenm",model.getValue("/root/main/oneselect/list/usernm"));
  412. model.setValue("/root/main/patinfo2/delivedeptnm",model.getValue("/root/main/oneselect/list/posdeptnm"));
  413. }
  414. model.refresh();
  415. ]]>
  416. </script>
  417. </button>
  418. <output id="output1" ref="/root/main/patinfo2/delivenm" style="left:167px; top:53px; width:60px; height:19px; background-color:#e9f5fe; "/>
  419. <output id="output2" ref="/root/main/patinfo2/delivedeptnm" style="left:229px; top:53px; width:102px; height:19px; background-color:#e9f5fe; "/>
  420. <caption id="caption4" visibility="hidden" style="left:5px; top:395px; width:35px; height:15px; ">전체 :</caption>
  421. <caption id="caption5" visibility="hidden" style="left:95px; top:395px; width:38px; height:15px; ">현재 :</caption>
  422. <output id="output3" ref="/root/main/patinfo2/allcnt" visibility="hidden" style="left:39px; top:393px; width:53px; height:19px; text-align:left; background-color:#cce8ff; "/>
  423. <output id="output4" ref="/root/main/patinfo2/row" visibility="hidden" style="left:129px; top:393px; width:53px; height:19px; text-align:left; background-color:#cce8ff; "/>
  424. <caption id="caption7" class="cell_1" style="left:2px; top:30px; width:60px; height:21px; vertical-align:middle; ">수신처</caption>
  425. <line id="line6" class="line_2" style="x1:0px; y1:73px; x2:500px; y2:73px; "/>
  426. <caption id="caption9" class="cell_1" style="left:2px; top:75px; width:60px; height:21px; vertical-align:middle; ">전송조건</caption>
  427. <select1 id="rdo_sendflag" ref="/root/main/patinfo/sendflag" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:64px; top:31px; width:206px; height:15px; border-style:none; ">
  428. <choices>
  429. <item>
  430. <label>진료</label>
  431. <value>O</value>
  432. </item>
  433. <item>
  434. <label>간호</label>
  435. <value>C</value>
  436. </item>
  437. <item>
  438. <label>원무</label>
  439. <value>P</value>
  440. </item>
  441. <item>
  442. <label>수납</label>
  443. <value>R</value>
  444. </item>
  445. </choices>
  446. </select1>
  447. <select1 id="rdo_recvcnfmyn" ref="/root/main/patinfo/recvcnfmyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:64px; top:78px; width:111px; height:15px; border-style:none; ">
  448. <choices>
  449. <item>
  450. <label>한번만</label>
  451. <value>N</value>
  452. </item>
  453. <item>
  454. <label>계속</label>
  455. <value>Y</value>
  456. </item>
  457. </choices>
  458. </select1>
  459. <line id="line8" class="line_3" style="x1:0px; y1:97px; x2:500px; y2:97px; "/>
  460. <bool id="bol_anybodyyn" checkvalue="Y,N" ref="/root/main/patinfo/anybodyyn" style="left:286px; top:31px; width:15px; height:15px; "/>
  461. <caption id="caption8" style="left:301px; top:32px; width:55px; height:13px; ">anybody</caption>
  462. <button id="button4" class="btn2_letter10" _auth="X" style="left:314px; top:5px; width:130px; height:19px; ">
  463. <caption>환자메세지 Comment</caption>
  464. <script type="javascript" ev:event="DOMActivate">
  465. <![CDATA[
  466. // SPPIZ00700_심사Comment조회.xrw 호출
  467. fGetJudgEdiComment("9", "");
  468. ]]>
  469. </script>
  470. </button>
  471. <button id="button3" class="btn2_letter12" _auth="X" style="left:160px; top:5px; width:130px; height:19px; ">
  472. <caption>처방기준메세지 Comment</caption>
  473. <script type="javascript" ev:event="DOMActivate">
  474. <![CDATA[
  475. // SPPIZ00700_심사Comment조회.xrw 호출
  476. fGetJudgEdiComment("10", "");
  477. ]]>
  478. </script>
  479. </button>
  480. </group>
  481. <group id="grp_btn" scroll="auto" style="left:0px; top:422px; width:501px; height:27px; ">
  482. <button id="btn_confirm" class="btn4_letter2" style="left:388px; top:5px; width:56px; height:22px; ">
  483. <caption>저장</caption>
  484. <script type="javascript" ev:event="DOMActivate">
  485. <![CDATA[
  486. if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  487. model.copyNode("/root/send/patinfo","/root/main/patinfo");
  488. model.refresh();
  489. if(submit("TXPIZ01901")){
  490. messageBox("메세지 전송 저장 ","I001");
  491. window.close(); // F5 실행시 IE를 종료시킨다.
  492. }else{
  493. messageBox("메세지가 전송 저장 되지 ","I011");
  494. }
  495. } else {
  496. messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
  497. }
  498. //window.close(); // F5 실행시 IE를 종료시킨다.
  499. ]]>
  500. </script>
  501. </button>
  502. <button id="btn_cancel" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
  503. <caption>닫기</caption>
  504. <close ev:event="DOMActivate"/>
  505. </button>
  506. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:501px; y2:0px; "/>
  507. <button id="button1" class="btn1_letter5" visibility="hidden" style="left:94px; top:5px; width:92px; height:22px; ">
  508. <caption>다음메세지</caption>
  509. <script type="javascript" ev:event="DOMActivate">
  510. <![CDATA[
  511. fSetRef("N");
  512. ]]>
  513. </script>
  514. </button>
  515. <button id="button2" class="btn3_letter5" visibility="hidden" style="left:2px; top:5px; width:92px; height:22px; ">
  516. <caption>이전메세지</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. fSetRef("B");
  520. ]]>
  521. </script>
  522. </button>
  523. </group>
  524. </xhtml:body>
  525. </xhtml:html>