SPMRI00800_열람요청.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  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. <reasonlist>
  11. <reason>
  12. 진료.검사예약 확인/변경
  13. </reason>
  14. <a>true</a>
  15. </reasonlist>
  16. <reasonlist>
  17. <reason>
  18. 검사결과조회
  19. </reason>
  20. </reasonlist>
  21. <reasonlist>
  22. <reason>
  23. 집담회용
  24. </reason>
  25. </reasonlist>
  26. <reasonlist>
  27. <reason>
  28. 미비기록작성_전자서명포함
  29. </reason>
  30. </reasonlist>
  31. <reasonlist>
  32. <reason>
  33. 추가오더 입력
  34. </reason>
  35. </reasonlist>
  36. <reasonlist>
  37. <reason>
  38. 판독
  39. </reason>
  40. </reasonlist>
  41. <reasonlist>
  42. <reason>
  43. 예정환자 파악
  44. </reason>
  45. </reasonlist>
  46. <reasonlist>
  47. <reason>
  48. 전과
  49. </reason>
  50. </reasonlist>
  51. <reasonlist>
  52. <reason>
  53. 타과 consult
  54. </reason>
  55. </reasonlist>
  56. <reasonlist>
  57. <reason>
  58. 진단서
  59. </reason>
  60. </reasonlist>
  61. <reasonlist>
  62. <reason>
  63. 연구용
  64. </reason>
  65. </reasonlist>
  66. <reasonlist>
  67. <reason>
  68. 기타
  69. </reason>
  70. </reasonlist>
  71. <patinfo>
  72. <patinfolist>
  73. <pid/>
  74. <hngnm/>
  75. <engnm/>
  76. <chinm/>
  77. <rrgstno1/>
  78. <rrgstno2/>
  79. <brthdd/>
  80. <sex/>
  81. <age/>
  82. <bindpid/>
  83. <hometel/>
  84. <mpphontel/>
  85. <etctel1/>
  86. <etctel2/>
  87. <smsaprvyn/>
  88. <email/>
  89. <zipcd1/>
  90. <zipcd2/>
  91. <zipcdseq/>
  92. <addr/>
  93. <detladdr/>
  94. <btype/>
  95. <rh/>
  96. <forgeryn/>
  97. <nati/>
  98. <psptno/>
  99. <recmyn/>
  100. <recmerid/>
  101. <recmerrela/>
  102. <vipyn/>
  103. <viprem/>
  104. <religncd/>
  105. <baptnm/>
  106. <chchnm/>
  107. <dethyn/>
  108. <dethdt/>
  109. <chosresn/>
  110. <animyn/>
  111. <exptresncd/>
  112. <inhospyn/>
  113. <remfact/>
  114. <outuncoamt/>
  115. <dschuncoamt/>
  116. <fstrgstrid/>
  117. <fstrgstdt/>
  118. <lastupdtrid/>
  119. <lastupdtdt/>
  120. </patinfolist>
  121. </patinfo>
  122. <popupendflag/>
  123. <result>
  124. <patinfo/>
  125. </result>
  126. <reqlist>
  127. <reqdd>2007-08-10</reqdd>
  128. <reqtm>15:00</reqtm>
  129. <requser>아무개</requser>
  130. <reqdept>가정의학과</reqdept>
  131. <reqstat>승인</reqstat>
  132. <reqreason>연구용</reqreason>
  133. </reqlist>
  134. <reqlist>
  135. <reqdd>2007-08-11</reqdd>
  136. <reqtm>10:00</reqtm>
  137. <requser>홍길동</requser>
  138. <reqdept>진단방사선의학과</reqdept>
  139. <reqstat>요청</reqstat>
  140. <reqreason>판독</reqreason>
  141. </reqlist>
  142. </main>
  143. <send>
  144. <ioflag/>
  145. <reckind/>
  146. <orddept/>
  147. </send>
  148. <hide/>
  149. <source>
  150. <srchcond/>
  151. <pid/>
  152. <hngnm/>
  153. <rrgstno1/>
  154. <rrgstno2/>
  155. </source>
  156. <init>
  157. <reqmedireclist>
  158. <recfromdt/>
  159. <rectodt/>
  160. <diffdt>3</diffdt>
  161. </reqmedireclist>
  162. <deptlist/>
  163. </init>
  164. </root>
  165. </instance>
  166. <script type="javascript" ev:event="xforms-ready">
  167. <![CDATA[
  168. //fInitalize();
  169. reqGetDeptList("/root/init/reqdata", "/root/init/deptlist", "", "012");
  170. model.setValue("/root/send/orddept", "-");
  171. //ivw_reason.window.javascript.fInitPage(parseInt(ivw_reason.attribute("height")), parseInt(ivw_reason.attribute("width")));
  172. model.refresh();
  173. ]]>
  174. </script>
  175. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  176. <submission id="TRMMO04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
  177. </model>
  178. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  179. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  180. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  181. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  182. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  183. <script type="javascript" src="../../../emr/chrtmngtweb/js/SMMRI00400.js"/>
  184. </xhtml:head>
  185. <xhtml:body pagewidth="585" pageheight="578">
  186. <line id="line17" class="line_1" style="x1:0px; y1:20px; x2:585px; y2:20px; "/>
  187. <output id="opt_sex" ref="/root/main/patinfo/patinfolist/sex" class="output_fix" style="left:529px; top:26px; width:49px; height:19px; "/>
  188. <input id="ipt_pid" ref="/root/main/patinfo/patinfolist/pid" class="input_s_essential" navindex="1" autonext="false" format="9999999999" style="left:65px; top:26px; width:75px; height:19px; ">
  189. <script type="javascript" ev:event="onkeypress">
  190. <![CDATA[
  191. if(event.keyCode == "13") {
  192. model.setValue("/root/source/srchcond", "1");
  193. model.setValue("/root/source/pid", ipt_pid.currentText);
  194. //inputEnterKey("btn_search", "DOMActivate");
  195. //환자등록번호 체크
  196. if(ipt_pid.currentText.length >= 1 ){
  197. model.resetInstanceNode("/root/main/result");
  198. model.makeNode("/root/main/result/patinfo");
  199. if(submit("TRPMC02500")){
  200. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  201. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  202. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  203. model.setValue("/root/main/popupendflag", "ok");
  204. model.refresh();
  205. //fSearch();
  206. }else{
  207. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  208. messageBox("없는 환자 번호 입니다.", "E999", "");
  209. model.refresh();
  210. }
  211. }
  212. }else{
  213. messageBox("환자등록번호를 정확히", "C001");
  214. }
  215. }
  216. ]]>
  217. </script>
  218. </input>
  219. <caption id="caption21" class="cell_1" style="left:3px; top:25px; width:60px; height:23px; text-align:center; ">등록번호</caption>
  220. <caption id="caption1" class="cell_1" style="left:466px; top:25px; width:60px; height:23px; text-align:center; ">성별</caption>
  221. <caption id="caption23" class="cell_1" style="left:167px; top:25px; width:60px; height:23px; text-align:center; ">성명</caption>
  222. <input id="ipt_hngnm" ref="/root/main/patinfo/patinfolist/hngnm" class="input_s_essential" navindex="2" autonext="false" imemode="hangul" style="left:231px; top:26px; width:115px; height:19px; ">
  223. <script type="javascript" ev:event="onkeypress">
  224. <![CDATA[
  225. model.setValue("/root/source/srchcond", "2");
  226. model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
  227. inputEnterKey("btn_search", "DOMActivate");
  228. ]]>
  229. </script>
  230. </input>
  231. <caption id="caption57" class="cell_1" style="left:350px; top:25px; width:60px; height:23px; text-align:center; ">나이</caption>
  232. <output id="opt_age" ref="/root/main/patinfo/patinfolist/age" class="output_fix" style="left:414px; top:26px; width:48px; height:19px; "/>
  233. <line id="line61" class="line_2" style="x1:0px; y1:48px; x2:585px; y2:48px; "/>
  234. <caption id="caption5" class="cell_1" style="left:3px; top:50px; width:60px; height:23px; text-align:center; ">진료유형</caption>
  235. <line id="line1" class="line_2" style="x1:0px; y1:73px; x2:585px; y2:73px; "/>
  236. <select id="checkbox1" ref="/root/send/ioflag" overflow="visible" appearance="full" cellspacing="50" cols="4" style="left:70px; top:52px; width:435px; height:20px; border-style:none; ">
  237. <choices>
  238. <item>
  239. <label>전체</label>
  240. <value/>
  241. </item>
  242. <item>
  243. <label>외래</label>
  244. <value/>
  245. </item>
  246. <item>
  247. <label>입원</label>
  248. <value/>
  249. </item>
  250. <item>
  251. <label>응급</label>
  252. <value/>
  253. </item>
  254. </choices>
  255. </select>
  256. <select id="checkbox2" ref="/root/send/reckind" overflow="visible" appearance="full" cellspacing="50" cols="4" style="left:70px; top:77px; width:435px; height:20px; border-style:none; ">
  257. <choices>
  258. <item>
  259. <label>전체</label>
  260. <value/>
  261. </item>
  262. <item>
  263. <label>진료기록</label>
  264. <value/>
  265. </item>
  266. <item>
  267. <label>간호기록</label>
  268. <value/>
  269. </item>
  270. <item>
  271. <label>검사결과</label>
  272. <value/>
  273. </item>
  274. </choices>
  275. </select>
  276. <line id="line2" class="line_2" style="x1:0px; y1:98px; x2:585px; y2:98px; "/>
  277. <caption id="caption7" class="cell_1" style="left:3px; top:75px; width:60px; height:23px; text-align:center; ">기록종류</caption>
  278. <line id="line3" class="line_2" style="x1:0px; y1:123px; x2:585px; y2:123px; "/>
  279. <caption id="caption8" class="cell_1" style="left:3px; top:100px; width:60px; height:23px; text-align:center; ">진 료 과</caption>
  280. <line id="line4" class="line_2" style="x1:0px; y1:348px; x2:585px; y2:348px; "/>
  281. <caption id="caption9" class="cell_1" style="left:3px; top:125px; width:60px; height:222px; text-align:center; ">사 유</caption>
  282. <iviewer id="ivw_reason" visibility="visible" src="../../../emr/chrtmngtweb/xrw/SPMRI00500.xrw" style="left:65px; top:125px; width:515px; height:220px; "/>
  283. <button id="button43" class="btn4_letter2" style="left:525px; top:351px; width:56px; height:22px; ">
  284. <caption>취소</caption>
  285. </button>
  286. <button id="button44" class="btn4_letter2" style="left:465px; top:351px; width:56px; height:22px; ">
  287. <caption>요청</caption>
  288. </button>
  289. <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:134px; height:14px; ">열람요청</caption>
  290. <caption id="caption3" class="tit_2" style="left:0px; top:361px; width:134px; height:13px; ">요청 현황</caption>
  291. <line id="line5" class="line_1" style="x1:0px; y1:381px; x2:585px; y2:381px; "/>
  292. <datagrid id="datagrid1" nodeset="/root/main/reqlist" caption="^요청일자^시간^요청자^소속부서^상태^사유" colsep="^" colwidth="24, 70, 41, 64, 107, 41, 226" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:387px; width:580px; height:190px; ">
  293. <col type="checkbox"/>
  294. <col ref="reqdd" style="text-align:center; "/>
  295. <col ref="reqtm" style="text-align:center; "/>
  296. <col ref="requser" style="text-align:center; "/>
  297. <col ref="reqdept" style="text-align:center; "/>
  298. <col ref="reqstat" style="text-align:center; "/>
  299. <col ref="reqreason"/>
  300. </datagrid>
  301. <button id="btn_search" class="icon_search" navindex="5" style="left:145px; top:27px; width:16px; height:16px; ">
  302. <caption/>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  306. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  307. //fSearch();
  308. model.resetInstanceNode("/root/source");
  309. ]]>
  310. </script>
  311. </button>
  312. <select1 id="cmb_recdept" ref="/root/send/orddept" navindex="1" appearance="minimal" degnitemno="2" style="left:65px; top:101px; width:195px; height:19px; ">
  313. <choices>
  314. <itemset nodeset="/root/init/deptlist/orddept">
  315. <label ref="deptnm"/>
  316. <value ref="deptcd"/>
  317. </itemset>
  318. </choices>
  319. <script type="javascript" ev:event="xforms-value-changed">
  320. <![CDATA[
  321. fChngDept(2);
  322. ]]>
  323. </script>
  324. </select1>
  325. </xhtml:body>
  326. </xhtml:html>