SMADT40100_처방확인.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMADT40100_처방확인.xrw
  4. * 설 명 : 의사처방과 약국에 접수된 처방 데이터 비교
  5. * 설 계 자 : 박중규
  6. * 작 성 자 : 박중규
  7. * 작 성 일 : 2007.11.12
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>처방확인</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <patinfo>
  20. <patlist>
  21. <drugno/>
  22. <pid/>
  23. <hngnm/>
  24. <roomcd/>
  25. <deptnm/>
  26. <srchorddd/>
  27. <srchcretno/>
  28. <drugdd/>
  29. <ordcnt/>
  30. <pharmcnt/>
  31. </patlist>
  32. </patinfo>
  33. <prcpinfo>
  34. <patdetlinfoout>
  35. <pid/>
  36. <orddeptnm/>
  37. <orddrnm/>
  38. <tel/>
  39. <hngnm/>
  40. <orddd/>
  41. <liceseno/>
  42. <hostinprcpresnm/>
  43. <age/>
  44. <rsvdd/>
  45. <diagnm/>
  46. <rrgstno/>
  47. <insukind/>
  48. <detladdr/>
  49. </patdetlinfoout>
  50. <prcplist>
  51. <prcpmixno/>
  52. <prcpcd/>
  53. <prcpnm/>
  54. <mthdhngnm/>
  55. <prcpqty/>
  56. <prcptims/>
  57. <prcpdayno/>
  58. <prnprcp/>
  59. <hosinhosoutflagnm/>
  60. <exedeptnm/>
  61. <actflag/>
  62. <prcpno/>
  63. </prcplist>
  64. <druglist>
  65. <prcpmixno/>
  66. <prcpcd/>
  67. <prcpnm/>
  68. <mthdhngnm/>
  69. <prcpqty/>
  70. <prcptims/>
  71. <prcpdayno/>
  72. <prnprcp/>
  73. <hosinhosoutflagnm/>
  74. <exedeptnm/>
  75. <sumflag/>
  76. <prcpno/>
  77. </druglist>
  78. <patdetlinfoin>
  79. <pid/>
  80. <indd/>
  81. <hometel/>
  82. <mpphontel/>
  83. <hngnm/>
  84. <age/>
  85. <diagnm/>
  86. <medispclnm/>
  87. <atdocnm/>
  88. <pdano/>
  89. <orddeptnm/>
  90. <rrgstno/>
  91. <insukind/>
  92. <detladdr/>
  93. </patdetlinfoin>
  94. </prcpinfo>
  95. </main>
  96. <send>
  97. <req>
  98. <srchprcpdd/>
  99. <ioflag>O</ioflag>
  100. <srchpid/>
  101. <srchorddd/>
  102. <srchcretno/>
  103. <srchdrugno/>
  104. <srchdrugdd/>
  105. <srchroomno/>
  106. <srchiptdrugno/>
  107. <srchiptpid/>
  108. <deptflag/>
  109. <drugflag/>
  110. </req>
  111. </send>
  112. <init>
  113. <deptlist>
  114. <ward>
  115. <wardcd/>
  116. <wardnm/>
  117. </ward>
  118. </deptlist>
  119. <cmbinfo>
  120. <execprcpstatcd>
  121. <M0011/>
  122. </execprcpstatcd>
  123. </cmbinfo>
  124. </init>
  125. </root>
  126. </instance>
  127. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  130. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  131. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  132. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  133. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  134. <script type="javascript">
  135. <![CDATA[
  136. ]]>
  137. </script>
  138. <script type="javascript" ev:event="xforms-ready">
  139. <![CDATA[
  140. cmb_ward.disabled = true;
  141. checkbox1.disabled = true;
  142. grd_ordlist.colhidden(1) = true;
  143. grd_pharmlist.colhidden(1) = true;
  144. switch1.selectedIndex = 0;
  145. model.setValue("/root/send/req/srchprcpdd", getCurrentDate());
  146. //병동 Combo 조회
  147. model.setValue("/root/send/req/deptflag", "W");
  148. submit("TRADT10203");
  149. //처방상태 콤보
  150. zbcfGetCodeList( new Array("M0011"), new Array("/root/init/cmbinfo/execprcpstatcd"));
  151. model.makeNode("/root/temp/ward");
  152. model.makeValue("/root/temp/ward/wardcd", "");
  153. model.makeValue("/root/temp/ward/wardnm", "");
  154. model.duplicate("/root/init/deptlist", "/root/temp/ward", "*[1]"); //위치를 지정해서 복사한다.
  155. model.refresh();
  156. ]]>
  157. </script>
  158. <submission id="TRADT40101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/patinfo"/>
  159. <submission id="TRADT40102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/prcpinfo"/>
  160. <submission id="TRADT40103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/patinfo"/>
  161. <submission id="TRADT40104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/prcpinfo"/>
  162. <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/deptflag" resultref="/root/init/deptlist"/>
  163. <submission id="TRZBC00101"/>
  164. </model>
  165. <script type="javascript">
  166. <![CDATA[
  167. /* @group :
  168. * @ver : 2007.11.20 (CMCDEV-0001)
  169. * @by :
  170. * @-----------------------------------
  171. * @type : function
  172. * @access : public
  173. * @desc :
  174. */
  175. function fSelectPrcp(){
  176. if(rdo_div.value == 'O') {
  177. submit("TRADT40101");
  178. } else if(rdo_div.value == 'I' || rdo_div.value == 'E') {
  179. submit("TRADT40103");
  180. }
  181. }
  182. /* @group : 두 grid의 data 비교
  183. * @ver : 2007.11.20 (CMCDEV-0001)
  184. * @by : 박중규
  185. * @-----------------------------------
  186. * @type : function
  187. * @access : public
  188. * @desc : 두 grid의 data를 비교하여 값이 불일치 하는 로우를 발견하면 grid1의 해당 로우를 노란색으로 표시
  189. */
  190. function fCompareGrid(grid1, grid2) {
  191. var rows_count;
  192. for (var i = 1 ; i<(grid1.rows) ; i++) {
  193. rows_count = 0;
  194. for(var j = 1 ; j<(grid2.rows) ; j++) {
  195. if(model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpcd") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpcd")
  196. // && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpnm")
  197. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/mthdhngnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/mthdhngnm")
  198. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpqty") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpqty")
  199. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcptims") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcptims")
  200. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpdayno") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpdayno")
  201. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prnprcp") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prnprcp")
  202. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/hosinhosoutflagnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/hosinhosoutflagnm")
  203. && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpno") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpno")
  204. // && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/exedeptnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/exedeptnm")
  205. ) {
  206. rows_count++; //두 grid의 각 컬럼들을 비교하여 일치하는 로우를 발견하면 카운트
  207. break;
  208. }
  209. }
  210. if (rows_count < 1) {
  211. grid1.rowstyle(i, "all", "background-color") = "#FFF000"; //일치하는 로우를 발견하지 못하였을 경우 해당 로우의 색을 노란색으로 표시.
  212. }
  213. }
  214. }
  215. function fCompareGrid2(grid1, grid2) {
  216. var rows_count;
  217. for (var i = 1 ; i<(grid1.rows) ; i++) {
  218. rows_count = 0;
  219. for(var j = 1 ; j<(grid2.rows) ; j++) {
  220. if(model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prcpcd") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prcpcd")
  221. // && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/prcpnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/prcpnm")
  222. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/mthdhngnm") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/mthdhngnm")
  223. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prcpqty") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prcpqty")
  224. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prcptims") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prcptims")
  225. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prcpdayno") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prcpdayno")
  226. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prnprcp") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prnprcp")
  227. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/hosinhosoutflagnm") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/hosinhosoutflagnm")
  228. && model.getValue("/root/main/prcpinfo/prcplist["+ j +"]/prcpno") == model.getValue("/root/main/prcpinfo/druglist["+ i +"]/prcpno")
  229. // && model.getValue("/root/main/prcpinfo/prcplist["+ i +"]/exedeptnm") == model.getValue("/root/main/prcpinfo/druglist["+ j +"]/exedeptnm")
  230. ) {
  231. rows_count++; //두 grid의 각 컬럼들을 비교하여 일치하는 로우를 발견하면 카운트
  232. break;
  233. }
  234. }
  235. if (rows_count < 1) {
  236. grid1.rowstyle(i, "all", "background-color") = "#FFF000"; //일치하는 로우를 발견하지 못하였을 경우 해당 로우의 색을 노란색으로 표시.
  237. }
  238. }
  239. }
  240. /* @group : 두 컬럼 비교
  241. * @ver : 2007.11.21 (CMCDEV-0001)
  242. * @by : 박중규
  243. * @-----------------------------------
  244. * @type : function
  245. * @access : public
  246. * @desc : 두 컬럼을 비교하여 data가 불일치하면 해당로우를 노란색으로 표시
  247. */
  248. function fCompareCol() {
  249. for (var i = 1 ; i<(grd_chklist.rows) ; i++) {
  250. if ( model.getValue("/root/main/patinfo/patlist["+ i +"]/drugno") >0 ){
  251. if(model.getValue("/root/main/patinfo/patlist["+ i +"]/ordcnt") != model.getValue("/root/main/patinfo/patlist["+ i +"]/pharmcnt")) {
  252. grd_chklist.rowstyle(i, "all", "background-color") = "#FFF000";
  253. }
  254. }
  255. }
  256. }
  257. /* @group : 화면 리셋
  258. * @ver : 2007.11.21 (CMCDEV-0001)
  259. * @by : 박중규
  260. * @-----------------------------------
  261. * @type : function
  262. * @access : public
  263. * @desc : 화면리셋
  264. */
  265. function fDisplayReset() {
  266. model.removeNodeset("/root/main/patinfo");
  267. model.removeNodeset("/root/main/prcpinfo");
  268. grd_chklist.rebuildStyle();
  269. grd_ordlist.rebuildStyle();
  270. grd_pharmlist.rebuildStyle();
  271. }
  272. ]]>
  273. </script>
  274. </xhtml:head>
  275. <xhtml:body guideline="1,1191;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  276. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  277. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">처방확인</caption>
  278. </group>
  279. <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1195px; height:769px; ">
  280. <line id="line2" class="line_1" style="x1:385px; y1:10px; x2:1192px; y2:10px; "/>
  281. <group id="grp_srch" style="left:0px; top:10px; width:385px; height:120px; ">
  282. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:380px; height:115px; background-color:#fffbf2; border-color:#ffd799; "/>
  283. <button id="btn_srch" class="btn1_letter2" style="left:315px; top:89px; width:56px; height:22px; ">
  284. <caption>조회</caption>
  285. <script type="javascript" ev:event="DOMActivate">
  286. <![CDATA[
  287. fDisplayReset();
  288. fSelectPrcp();
  289. fCompareCol();
  290. ]]>
  291. </script>
  292. </button>
  293. <input id="ipt_srchprcpdd" ref="/root/send/req/srchprcpdd" class="input_s_essential" inputtype="date" style="left:100px; top:9px; width:115px; height:19px; ">
  294. <script type="javascript" ev:event="onkeyup">
  295. <![CDATA[
  296. // 키엔터시 조회버튼 클릭
  297. if(event.keyCode == "13") {
  298. setInputNodeCurText();
  299. btn_srch.dispatch("DOMActivate");
  300. }
  301. ]]>
  302. </script>
  303. </input>
  304. <caption id="caption5" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">검색일자 :</caption>
  305. <line id="line13" style="x1:310px; y1:89px; x2:310px; y2:109px; border-color:#ffe4bb; border-left-style:solid; "/>
  306. <caption id="caption15" class="search_name" style="left:215px; top:61px; width:99px; height:17px; ">투약번호 :</caption>
  307. <caption id="caption13" class="search_name" style="left:5px; top:89px; width:85px; height:17px; ">구분 :</caption>
  308. <caption id="caption17" class="search_name" style="left:5px; top:61px; width:95px; height:17px; ">등록번호 :</caption>
  309. <caption id="caption19" class="search_name" style="left:5px; top:35px; width:85px; height:17px; ">병동 :</caption>
  310. <input id="ipt_drugno" ref="/root/send/req/srchiptdrugno" class="input_search" style="left:310px; top:61px; width:60px; height:19px; ">
  311. <script type="javascript" ev:event="onkeyup">
  312. <![CDATA[
  313. // 키엔터시 조회버튼 클릭
  314. if(event.keyCode == "13") {
  315. setInputNodeCurText();
  316. btn_srch.dispatch("DOMActivate");
  317. }
  318. ]]>
  319. </script>
  320. </input>
  321. <input id="ipt_pid" ref="/root/send/req/srchiptpid" class="input_search" style="left:100px; top:61px; width:105px; height:19px; ">
  322. <script type="javascript" ev:event="onkeyup">
  323. <![CDATA[
  324. // 키엔터시 조회버튼 클릭
  325. if(event.keyCode == "13") {
  326. setInputNodeCurText();
  327. btn_srch.dispatch("DOMActivate");
  328. }
  329. ]]>
  330. </script>
  331. </input>
  332. <select1 id="rdo_div" ref="/root/send/req/ioflag" class="radio_search" appearance="full" cols="3" itemwidth="47" rows="1" overflow="visible" style="left:95px; top:89px; width:145px; height:25px; border-style:none; ">
  333. <choices>
  334. <item>
  335. <label>외래</label>
  336. <value>O</value>
  337. </item>
  338. <item>
  339. <label>입원</label>
  340. <value>I</value>
  341. </item>
  342. <item>
  343. <label>응급</label>
  344. <value>E</value>
  345. </item>
  346. </choices>
  347. <script type="javascript" ev:event="xforms-select">
  348. <![CDATA[
  349. if(rdo_div.value == 'O') {
  350. cmb_ward.disabled = true;
  351. checkbox1.disabled = true;
  352. grd_ordlist.colhidden(1) = true;
  353. grd_pharmlist.colhidden(1) = true;
  354. switch1.selectedIndex = 0;
  355. cmb_ward.select(0);
  356. } else if(rdo_div.value == 'I' ) {
  357. cmb_ward.disabled = false;
  358. checkbox1.disabled = false;
  359. grd_ordlist.colhidden(1) = false;
  360. grd_pharmlist.colhidden(1) = false;
  361. switch1.selectedIndex = 1;
  362. } else if(rdo_div.value == 'E' ) {
  363. cmb_ward.disabled = true;
  364. checkbox1.disabled = true;
  365. grd_ordlist.colhidden(1) = true;
  366. grd_pharmlist.colhidden(1) = true;
  367. switch1.selectedIndex = 1;
  368. }
  369. cmb_ward.value = "";
  370. checkbox1.value = "";
  371. fDisplayReset();
  372. model.refresh();
  373. //btn_srch.dispatch("DOMActivate");
  374. ]]>
  375. </script>
  376. </select1>
  377. <select1 id="cmb_ward" ref="/root/send/req/srchroomno" class="combo_search" appearance="minimal" cols="2" style="left:100px; top:35px; width:115px; height:19px; ">
  378. <choices>
  379. <itemset nodeset="/root/init/deptlist/ward">
  380. <label ref="wardnm"/>
  381. <value ref="wardcd"/>
  382. </itemset>
  383. </choices>
  384. <script type="javascript" ev:event="onkeyup">
  385. <![CDATA[
  386. // 키엔터시 조회버튼 클릭
  387. if(event.keyCode == "13") {
  388. setInputNodeCurText();
  389. btn_srch.dispatch("DOMActivate");
  390. }
  391. ]]>
  392. </script>
  393. </select1>
  394. <select id="checkbox1" ref="/root/send/req/drugflag" class="checkbox_search" overflow="visible" appearance="full" style="left:237px; top:90px; width:70px; height:15px; border-style:none; ">
  395. <choices>
  396. <item>
  397. <label>특수조제</label>
  398. <value>S</value>
  399. </item>
  400. </choices>
  401. </select>
  402. </group>
  403. <datagrid id="grd_chklist" nodeset="/root/main/patinfo/patlist" caption="투약번호^등록번호^환자이름^병실^진료과" colsep="^" colwidth="56, 68, 59, 49, 102" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:155px; width:345px; height:612px; text-align:center; ">
  404. <col ref="drugno"/>
  405. <col ref="pid"/>
  406. <col ref="hngnm"/>
  407. <col ref="roomcd"/>
  408. <col ref="deptnm"/>
  409. <script type="javascript" ev:event="onclick">
  410. <![CDATA[
  411. model.setValue("/root/send/req/srchpid" , model.getValue("/root/main/patinfo/patlist["+grd_chklist.row+"]/pid"));
  412. model.setValue("/root/send/req/srchorddd" , model.getValue("/root/main/patinfo/patlist["+grd_chklist.row+"]/srchorddd"));
  413. model.setValue("/root/send/req/srchcretno" , model.getValue("/root/main/patinfo/patlist["+grd_chklist.row+"]/srchcretno"));
  414. model.setValue("/root/send/req/srchdrugdd" , model.getValue("/root/main/patinfo/patlist["+grd_chklist.row+"]/drugdd"));
  415. model.setValue("/root/send/req/srchdrugno" , model.getValue("/root/main/patinfo/patlist["+grd_chklist.row+"]/drugno"));
  416. if(model.getValue("/root/send/req/srchpid") != "")
  417. {
  418. if(rdo_div.value == 'O') {
  419. submit("TRADT40102");
  420. } else if(rdo_div.value == 'I' || rdo_div.value == 'E') {
  421. submit("TRADT40104");
  422. }
  423. grd_ordlist.rebuildStyle();
  424. grd_pharmlist.rebuildStyle();
  425. fCompareGrid(grd_ordlist, grd_pharmlist);
  426. fCompareGrid2(grd_pharmlist, grd_ordlist);
  427. }
  428. ]]>
  429. </script>
  430. </datagrid>
  431. <caption id="caption1" class="tit_2" style="left:350px; top:135; width:144px; height:13px; ">처방내역</caption>
  432. <datagrid id="grd_pharmlist" nodeset="/root/main/prcpinfo/druglist" caption="Mix no^처방코드^처방명^용법^수량^횟수^일수^PRN^원내^수행부서^집계여부" colsep="^" colwidth="47, 88, 138, 114, 30, 30, 30, 30, 34, 58, 66" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:773px; top:155px; width:419px; height:612px; text-align:center; ">
  433. <col ref="prcpmixno"/>
  434. <col ref="prcpcd" style="text-align:center; "/>
  435. <col ref="prcpnm" style="text-align:left; "/>
  436. <col ref="mthdhngnm" style="text-align:left; "/>
  437. <col ref="prcpqty" style="text-align:right; "/>
  438. <col ref="prcptims" style="text-align:right; "/>
  439. <col ref="prcpdayno" style="text-align:right; "/>
  440. <col ref="prnprcp" style="text-align:right; "/>
  441. <col ref="hosinhosoutflagnm"/>
  442. <col ref="exedeptnm" style="text-align:left; "/>
  443. <col ref="sumflag" style="text-align:left; "/>
  444. </datagrid>
  445. <caption id="caption2" class="tit_2" style="left:773px; top:135; width:144px; height:13px; ">약국접수자료</caption>
  446. <caption id="caption3" class="tit_2" style="left:0px; top:135; width:144px; height:13px; ">대상자</caption>
  447. <line id="line5" class="line_1" style="x1:0px; y1:150px; x2:345px; y2:150px; "/>
  448. <line id="line6" class="line_1" style="x1:350px; y1:150px; x2:1192px; y2:150px; "/>
  449. <datagrid id="grd_ordlist" nodeset="/root/main/prcpinfo/prcplist" caption="Mix no^처방코드^처방명^용법^수량^횟수^일수^PRN^원내^수행부서^처방상태" colsep="^" colwidth="47, 88, 138, 114, 30, 30, 30, 30, 34, 58, 66" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:350px; top:155px; width:419px; height:612px; ">
  450. <col ref="prcpmixno" style="text-align:center; vertical-align:middle; "/>
  451. <col ref="prcpcd" style="text-align:center; "/>
  452. <col ref="prcpnm"/>
  453. <col ref="mthdhngnm" style="text-align:left; "/>
  454. <col ref="prcpqty" style="text-align:right; "/>
  455. <col ref="prcptims" style="text-align:right; "/>
  456. <col ref="prcpdayno" style="text-align:right; "/>
  457. <col ref="prnprcp" style="text-align:right; "/>
  458. <col ref="hosinhosoutflagnm"/>
  459. <col ref="exedeptnm" style="text-align:left; "/>
  460. <col disabled="true" ref="actflag" type="combo" style="text-align:left; ">
  461. <choices>
  462. <itemset nodeset="/root/init/cmbinfo/execprcpstatcd/M0011">
  463. <label ref="cdnm"/>
  464. <value ref="cdid"/>
  465. </itemset>
  466. </choices>
  467. </col>
  468. </datagrid>
  469. </group>
  470. <switch id="switch1" style="left:384px; top:30px; width:808px; height:110px; ">
  471. <case id="외래">
  472. <output id="output6" ref="/root/main/prcpinfo/patdetlinfoout/hngnm" class="output_fix" appearance="output" style="left:88px; top:32px; width:92px; height:19px; "/>
  473. <caption id="cap_detladdr" class="cell_1" style="left:367px; top:80px; width:80px; height:23px; ">주소</caption>
  474. <caption id="cap_licenseno" class="cell_1" style="left:367px; top:31px; width:80px; height:23px; vertical-align:middle; ">면허번호</caption>
  475. <caption id="cap_insukind" class="cell_1" style="left:186px; top:80px; width:80px; height:23px; ">보험유형</caption>
  476. <output id="output7" ref="/root/main/prcpinfo/patdetlinfoout/liceseno" class="output_fix" appearance="output" style="left:450px; top:32px; width:92px; height:19px; "/>
  477. <output id="output8" ref="/root/main/prcpinfo/patdetlinfoout/orddrnm" class="output_fix" appearance="output" style="left:450px; top:6px; width:92px; height:19px; "/>
  478. <output id="output9" ref="/root/main/prcpinfo/patdetlinfoout/tel" class="output_fix" appearance="output" style="left:629px; top:6px; width:170px; height:19px; "/>
  479. <line id="line1" class="line_3" style="x1:5px; y1:102px; x2:799px; y2:102px; "/>
  480. <caption id="cap_age" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; ">나이/성별</caption>
  481. <output id="output10" ref="/root/main/prcpinfo/patdetlinfoout/pid" class="output_fix" appearance="output" style="left:88px; top:6px; width:92px; height:19px; "/>
  482. <caption id="cap_hostin" class="cell_1" style="left:547px; top:31px; width:80px; height:23px; ">원내사유</caption>
  483. <caption id="cap_pid" class="cell_1" style="left:5px; top:5px; width:80px; height:23px; ">등록번호</caption>
  484. <output id="output11" ref="/root/main/prcpinfo/patdetlinfoout/rsvdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:270px; top:55px; width:92px; height:19px; "/>
  485. <caption id="cap_orddrnm" class="cell_1" style="left:367px; top:5px; width:80px; height:23px; ">담당의</caption>
  486. <line id="line3" class="line_2" style="x1:5px; y1:53px; x2:799px; y2:53px; "/>
  487. <caption id="cap_hngnm" class="cell_1" style="left:5px; top:31px; width:80px; height:23px; ">환자명</caption>
  488. <caption id="cap_orddeptnm" class="cell_1" style="left:187px; top:5px; width:80px; height:23px; ">진료과</caption>
  489. <caption id="cap_rsvdd" class="cell_1" style="left:186px; top:55px; width:80px; height:23px; ">예약일</caption>
  490. <output id="output12" ref="/root/main/prcpinfo/patdetlinfoout/orddeptnm" class="output_fix" appearance="output" style="left:270px; top:6px; width:92px; height:19px; "/>
  491. <line id="line4" class="line_2" style="x1:15px; y1:80px; x2:804px; y2:80px; "/>
  492. <output id="output13" ref="/root/main/prcpinfo/patdetlinfoout/diagnm" class="output_fix" appearance="output" style="left:450px; top:55px; width:349px; height:19px; "/>
  493. <line id="line7" class="line_2" style="x1:5px; y1:29px; x2:799px; y2:29px; "/>
  494. <output id="output14" ref="/root/main/prcpinfo/patdetlinfoout/age" class="output_fix" appearance="output" style="left:88px; top:55px; width:92px; height:19px; "/>
  495. <caption id="cap_diagnm" class="cell_1" style="left:367px; top:55px; width:80px; height:23px; ">상병</caption>
  496. <caption id="cap_tel" class="cell_1" style="left:547px; top:5px; width:80px; height:23px; ">연락처</caption>
  497. <caption id="cap_orddd" class="cell_1" style="left:186px; top:31px; width:80px; height:23px; ">진료일자</caption>
  498. <output id="output15" ref="/root/main/prcpinfo/patdetlinfoout/orddd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:270px; top:32px; width:92px; height:19px; "/>
  499. <output id="output16" ref="/root/main/prcpinfo/patdetlinfoout/hostinprcpresnm" class="output_fix" appearance="output" style="left:629px; top:32px; width:170px; height:19px; "/>
  500. <caption id="cap_rrgstno" class="cell_1" style="left:5px; top:80px; width:80px; height:23px; ">주민등록번호</caption>
  501. <output id="output17" ref="/root/main/prcpinfo/patdetlinfoout/insukind" class="output_fix" appearance="output" style="left:270px; top:80px; width:92px; height:19px; "/>
  502. <output id="output18" ref="/root/main/prcpinfo/patdetlinfoout/detladdr" class="output_fix" appearance="output" style="left:450px; top:80px; width:349px; height:19px; "/>
  503. <secret id="secret1" ref="/root/main/prcpinfo/patdetlinfoout/rrgstno" class="output_fix" editable="false" imemode="disabled" secretendposition="14" secretmark="*" secretstartposition="8" style="left:88px; top:80px; width:92px; height:19px; "/>
  504. </case>
  505. <case id="입원" selected="true">
  506. <output id="stw_output18" ref="/root/main/prcpinfo/patdetlinfoin/detladdr" class="output_fix" appearance="output" style="left:450px; top:80px; width:349px; height:19px; "/>
  507. <caption id="stw_caption12" class="cell_1" style="left:367px; top:5px; width:80px; height:23px; ">전화번호</caption>
  508. <line id="stw_line3" class="line_2" style="x1:5px; y1:53px; x2:799px; y2:53px; "/>
  509. <line id="stw_line4" class="line_2" style="x1:5px; y1:75px; x2:799px; y2:75px; "/>
  510. <caption id="stw_caption8" class="cell_1" style="left:186px; top:80px; width:80px; height:23px; ">보험유형</caption>
  511. <caption id="stw_caption26" class="cell_1" style="left:582px; top:5px; width:80px; height:23px; ">핸드폰</caption>
  512. <caption id="stw_caption9" class="cell_1" style="left:5px; top:55px; width:80px; height:23px; ">전문의사명</caption>
  513. <caption id="stw_caption27" class="cell_1" style="left:186px; top:30px; width:80px; height:23px; ">나이/성별</caption>
  514. <caption id="stw_caption16" class="cell_1" style="left:5px; top:30px; width:80px; height:23px; ">환자명</caption>
  515. <line id="stw_line7" class="line_2" style="x1:5px; y1:28px; x2:799px; y2:28px; "/>
  516. <caption id="stw_caption28" class="cell_1" style="left:5px; top:80px; width:80px; height:23px; ">주민등록번호</caption>
  517. <caption id="stw_caption18" class="cell_1" style="left:187px; top:5px; width:80px; height:23px; ">입원일자</caption>
  518. <output id="stw_output10" ref="/root/main/prcpinfo/patdetlinfoin/pid" class="output_fix" appearance="output" style="left:88px; top:6px; width:92px; height:19px; "/>
  519. <output id="stw_output6" ref="/root/main/prcpinfo/patdetlinfoin/hngnm" class="output_fix" appearance="output" style="left:88px; top:31px; width:92px; height:19px; "/>
  520. <output id="stw_output11" ref="/root/main/prcpinfo/patdetlinfoin/atdocnm" class="output_fix" appearance="output" style="left:270px; top:55px; width:92px; height:19px; "/>
  521. <output id="stw_output8" ref="/root/main/prcpinfo/patdetlinfoin/hometel" class="output_fix" appearance="output" style="left:450px; top:6px; width:127px; height:19px; "/>
  522. <output id="stw_output12" ref="/root/main/prcpinfo/patdetlinfoin/indd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:270px; top:6px; width:92px; height:19px; "/>
  523. <output id="stw_output9" ref="/root/main/prcpinfo/patdetlinfoin/mpphontel" class="output_fix" appearance="output" style="left:664px; top:6px; width:135px; height:19px; "/>
  524. <output id="stw_output13" ref="/root/main/prcpinfo/patdetlinfoin/diagnm" class="output_fix" appearance="output" style="left:450px; top:31px; width:349px; height:19px; "/>
  525. <output id="stw_output14" ref="/root/main/prcpinfo/patdetlinfoin/medispclnm" class="output_fix" appearance="output" style="left:88px; top:55px; width:92px; height:19px; "/>
  526. <output id="stw_output15" ref="/root/main/prcpinfo/patdetlinfoin/age" class="output_fix" appearance="output" style="left:270px; top:31px; width:92px; height:19px; "/>
  527. <caption id="stw_caption21" class="cell_1" style="left:186px; top:55px; width:80px; height:23px; ">주치의사명</caption>
  528. <line id="stw_line1" class="line_3" style="x1:5px; y1:102px; x2:799px; y2:102px; "/>
  529. <caption id="stw_caption4" class="cell_1" style="left:367px; top:80px; width:80px; height:23px; ">주소</caption>
  530. <output id="stw_output17" ref="/root/main/prcpinfo/patdetlinfoin/insukind" class="output_fix" appearance="output" style="left:270px; top:80px; width:92px; height:19px; "/>
  531. <caption id="stw_caption22" class="cell_1" style="left:367px; top:30px; width:80px; height:23px; ">상병</caption>
  532. <caption id="stw_caption11" class="cell_1" style="left:5px; top:5px; width:80px; height:23px; ">등록번호</caption>
  533. <caption id="swt_caption2" class="cell_1" style="left:582px; top:55px; width:80px; height:23px; ">진료과</caption>
  534. <output id="swt_output1" ref="/root/main/prcpinfo/patdetlinfoin/pdano" class="output_fix" appearance="output" style="left:450px; top:55px; width:127px; height:19px; "/>
  535. <output id="swt_output2" ref="/root/main/prcpinfo/patdetlinfoin/orddeptnm" class="output_fix" appearance="output" style="left:664px; top:55px; width:135px; height:19px; "/>
  536. <caption id="swt_caption1" class="cell_1" style="left:367px; top:55px; width:80px; height:23px; vertical-align:middle; ">주치의 PDA</caption>
  537. <secret id="secret2" ref="/root/main/prcpinfo/patdetlinfoin/rrgstno" class="output_fix" editable="false" imemode="disabled" secretendposition="14" secretmark="*" secretstartposition="8" style="left:88px; top:80px; width:92px; height:19px; "/>
  538. </case>
  539. <case id="응급실">
  540. <caption id="caption14" style="left:75px; top:40px; width:100px; height:20px; ">응급실</caption>
  541. </case>
  542. </switch>
  543. </xhtml:body>
  544. </xhtml:html>