SPPRF02600_원무통합서식뷰어.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. <patformlist/>
  11. </main>
  12. <send>
  13. <iemr>
  14. </iemr>
  15. <cond>
  16. <pid/>
  17. <orddd/>
  18. <docucd/>
  19. <ordtype/>
  20. <insukind/>
  21. <insutype/>
  22. </cond>
  23. </send>
  24. <init>
  25. <prncd/>
  26. <basecdlist>
  27. <disccd>
  28. <cdnm/>
  29. <cdid/>
  30. <cls/>
  31. </disccd>
  32. <insukind>
  33. <cdnm/>
  34. <cdid/>
  35. </insukind>
  36. <suppkind>
  37. <cdnm/>
  38. <cdid/>
  39. <insukind/>
  40. <ioflag/>
  41. </suppkind>
  42. <orddeptcd>
  43. <cdnm/>
  44. <cdid/>
  45. <deptengabbr/>
  46. <reqdeptno/>
  47. </orddeptcd>
  48. <orddrid>
  49. <cdnm/>
  50. <cdid/>
  51. <dutplcecd/>
  52. <specordyn/>
  53. </orddrid>
  54. <reducd>
  55. <cdnm/>
  56. <cdid/>
  57. <cls/>
  58. </reducd>
  59. <uncocd>
  60. <cdnm/>
  61. <cdid/>
  62. <cls/>
  63. </uncocd>
  64. <hospopenday>
  65. <cdnm/>
  66. <cdid/>
  67. </hospopenday>
  68. </basecdlist>
  69. </init>
  70. <hidden/>
  71. </root>
  72. </instance>
  73. <script type="javascript">
  74. <![CDATA[
  75. ]]>
  76. </script>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. imgemrviewer.window.javaScript.setChartViewerSize(788, 688);
  80. model.setValue("/root/send/cond/orddd", getCurrentDate());
  81. model.refresh();
  82. //개인정보이용동의서 출력을 위한 서식코드 취득
  83. reqHardCodeInfo("/root/send/reqdata", "/root/init/prncd", "5604");
  84. submit("TRPAO00102");
  85. ]]>
  86. </script>
  87. <submission id="TRPRF02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/patformlist"/>
  88. <submission id="TRPAO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" resultref="/root/init/basecdlist"/>
  89. </model>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  93. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  94. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  95. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  96. </xhtml:head>
  97. <xhtml:body guideline="1,1211;2,780;">
  98. <group id="group1" overflow="visible" style="left:0px; top:17px; width:1210px; height:38px; font-size:10pt; ">
  99. <shape id="roundrect2" appearance="roundrect" style="left:5px; top:1px; width:1203px; height:35px; "/>
  100. <caption id="caption1" class="search_name" style="left:9px; top:9px; width:66px; height:17px; ">구분 :</caption>
  101. <caption id="caption14" class="search_name" style="left:166px; top:9px; width:87px; height:17px; ">진료일자 :</caption>
  102. <caption id="caption18" class="search_name" style="left:826px; top:9px; width:87px; height:17px; ">서식명칭 :</caption>
  103. <caption id="caption19" class="search_name" style="left:367px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  104. <input id="ipt_pid" ref="/root/send/cond/pid" class="input_search" navindex="3" style="left:455px; top:9px; width:72px; height:19px; ">
  105. <script type="javascript" ev:event="onkeyup">
  106. <![CDATA[
  107. ]]>
  108. </script>
  109. </input>
  110. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1145px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  111. <caption>조회</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. if (model.getValue("/root/send/cond/orddd") == null
  115. || model.getValue("/root/send/cond/orddd") == "") {
  116. alert("진료일자는 필수입니다.");
  117. return ;
  118. }
  119. submit("TRPRF02601");
  120. ]]>
  121. </script>
  122. </button>
  123. <line id="line13" style="x1:1134px; y1:7px; x2:1134px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  124. <input id="input1" ref="/root/send/cond/orddd" class="input_s_essential" navindex="2" inputtype="date" style="left:253px; top:9px; width:100px; height:19px; text-align:center; "/>
  125. <select1 id="combo1" ref="/root/send/cond/docucd" navindex="5" appearance="minimal" style="left:913px; top:9px; width:210px; height:19px; ">
  126. <choices>
  127. <itemset nodeset="/root/init/prncd/hardcd">
  128. <label ref="hardcdnm"/>
  129. <value ref="hardcd"/>
  130. </itemset>
  131. </choices>
  132. </select1>
  133. <select1 id="combo2" ref="/root/send/cond/ordtype" navindex="1" appearance="minimal" style="left:70px; top:9px; width:80px; height:19px; ">
  134. <choices>
  135. <item>
  136. <label>전체</label>
  137. <value/>
  138. </item>
  139. <item>
  140. <label>외래</label>
  141. <value>O</value>
  142. </item>
  143. <item>
  144. <label>입원</label>
  145. <value>I</value>
  146. </item>
  147. <item>
  148. <label>응급</label>
  149. <value>E</value>
  150. </item>
  151. <item>
  152. <label>DSC/CHEMO</label>
  153. <value>D</value>
  154. </item>
  155. </choices>
  156. </select1>
  157. <select1 id="combo3" ref="/root/send/cond/insukind" navindex="4" appearance="minimal" style="left:628px; top:9px; width:132px; height:19px; ">
  158. <choices>
  159. <itemset nodeset="/root/init/basecdlist/insukind">
  160. <label ref="cdnm"/>
  161. <value ref="cdid"/>
  162. </itemset>
  163. </choices>
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. var insukind = model.getValue("/root/send/cond/insukind");
  167. // 보험자구분(직장/지역)은 건강보험의 경우에만 표시
  168. if (insukind == "11") {
  169. combo4.disabled= false;
  170. } else {
  171. combo4.disabled=true;
  172. }
  173. model.refresh();
  174. ]]>
  175. </script>
  176. </select1>
  177. <caption id="caption2" class="search_name" style="left:540px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
  178. <select1 id="combo4" ref="/root/send/cond/insutype" disabled="true" visibility="visible" appearance="minimal" style="left:760px; top:9px; width:52px; height:19px; ">
  179. <choices>
  180. <item>
  181. <label>전체</label>
  182. <value/>
  183. </item>
  184. <item>
  185. <label>지역</label>
  186. <value>A</value>
  187. </item>
  188. <item>
  189. <label>직장</label>
  190. <value>C</value>
  191. </item>
  192. </choices>
  193. </select1>
  194. </group>
  195. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:1207px; height:20px; ">원무통합서식뷰어</caption>
  196. <datagrid id="datagrid1" nodeset="/root/main/patformlist" caption="구분^진료일자^차트번호^성명^서식명칭^보험유형^보험유형^서식코드^OCR태그" colsep="^" colwidth="53, 72, 63, 57, 172, 56, 57, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:60px; width:405px; height:690px; ">
  197. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  198. <choices>
  199. <item>
  200. <label>외래</label>
  201. <value>O</value>
  202. </item>
  203. <item>
  204. <label>입원</label>
  205. <value>I</value>
  206. </item>
  207. <item>
  208. <label>응급</label>
  209. <value>E</value>
  210. </item>
  211. <item>
  212. <label>DSC/CHEMO</label>
  213. <value>D</value>
  214. </item>
  215. </choices>
  216. </col>
  217. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  218. <col ref="pid" style="text-align:center; "/>
  219. <col ref="hngnm" style="text-align:center; "/>
  220. <col disabled="true" ref="docucd" type="combo">
  221. <choices>
  222. <itemset nodeset="/root/init/prncd/hardcd">
  223. <label ref="hardcdnm"/>
  224. <value ref="hardcd"/>
  225. </itemset>
  226. </choices>
  227. </col>
  228. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  229. <choices>
  230. <itemset nodeset="/root/init/basecdlist/insukind">
  231. <label ref="cdnm"/>
  232. <value ref="cdid"/>
  233. </itemset>
  234. </choices>
  235. </col>
  236. <col disabled="true" ref="suppkind" type="combo" visibility="hidden" style="text-align:center; ">
  237. <choices>
  238. <itemset nodeset="/root/init/basecdlist/suppkind">
  239. <label ref="cdnm"/>
  240. <value ref="cdid"/>
  241. </itemset>
  242. </choices>
  243. </col>
  244. <col ref="docucd" visibility="hidden"/>
  245. <col ref="ocrcode"/>
  246. <script type="javascript" ev:event="ondblclick">
  247. <![CDATA[
  248. var row = datagrid1.row;
  249. model.resetInstanceNode("/root/send/iemr");
  250. model.makeValue("/root/send/iemr/pid", model.getValue("/root/main/patformlist[" + row + "]/pid"));
  251. model.makeValue("/root/send/iemr/docucd", model.getValue("/root/main/patformlist[" + row + "]/docucd"));
  252. model.makeValue("/root/send/iemr/ocrcode", model.getValue("/root/main/patformlist[" + row + "]/ocrcode"));
  253. var iemrNode = instance1.selectSingleNode("/root/send/iemr");
  254. imgemrviewer.window.javaScript.reloadChart(iemrNode);
  255. ]]>
  256. </script>
  257. <script type="javascript" ev:event="onaftersort">
  258. <![CDATA[
  259. datagrid1.gridToInstance();
  260. ]]>
  261. </script>
  262. </datagrid>
  263. <button id="button1" class="btn4_letter3" style="left:1126px; top:754px; width:68px; height:22px; ">
  264. <caption>초기화</caption>
  265. <script type="javascript" ev:event="DOMActivate">
  266. <![CDATA[
  267. model.resetInstanceNode("/root/main/patformlist");
  268. model.setValue("/root/send/cond/pid", "");
  269. model.setValue("/root/send/cond/orddd", getCurrentDate());
  270. model.setValue("/root/send/cond/docucd", "");
  271. model.setValue("/root/send/cond/ordtype", "");
  272. model.setValue("/root/send/cond/insukind", "");
  273. model.refresh();
  274. imgemrviewer.window.javaScript.fInitilize();
  275. ]]>
  276. </script>
  277. </button>
  278. <iviewer id="imgemrviewer" src="../../../emr/imgemrweb/xrw/SSMRC03130.xrw" style="left:418px; top:60px; width:790px; height:690px; "/>
  279. </xhtml:body>
  280. </xhtml:html>