SMMRH00300_뇌혈관환자등록.xrw 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <patinfo>
  11. <pid/>
  12. <hngnm/>
  13. <age/>
  14. <sex/>
  15. <mpphontel/>
  16. <hometel/>
  17. <orddd/>
  18. <chosflag/>
  19. <instcd/>
  20. <cretno/>
  21. </patinfo>
  22. <result>
  23. <paminfo>
  24. <list/>
  25. </paminfo>
  26. </result>
  27. <cond>
  28. <stemifromdd/>
  29. <stemitodd/>
  30. <recflag/>
  31. <srchpid/>
  32. <radio_select/>
  33. </cond>
  34. </main>
  35. <send>
  36. <stemi>
  37. <stemi1/>
  38. <stemi2/>
  39. <stemi3/>
  40. <stemi4/>
  41. <stemi5/>
  42. <stemi6/>
  43. <stemi7/>
  44. <stemi8/>
  45. <stemi9/>
  46. <stemi10/>
  47. <stemi11/>
  48. <stemi12/>
  49. <stemi13/>
  50. <stemi14/>
  51. <stemi15/>
  52. <stemi16/>
  53. <fstrgstrid/>
  54. <lastupdtrid/>
  55. <orddd/>
  56. <instcd/>
  57. <insrowcnt/>
  58. </stemi>
  59. <reqdata>
  60. <stemidd/>
  61. <srchflag/>
  62. </reqdata>
  63. </send>
  64. <hidden/>
  65. <init>
  66. <drinfolist/>
  67. <hardcditem/>
  68. <patstemiinfo/>
  69. <flag/>
  70. </init>
  71. <temp/>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-close">
  75. <![CDATA[
  76. if(model.getValue("/root/init/savechk")!="Y"){
  77. var chk=messageBox("", "Q002", ""); //예:6 아니오:7 취소:2
  78. if(chk=="6"){
  79. model.makeValue("/root/send/stemi/recflag", "2"); // 구분(스태미:2)
  80. if(model.getValue("/root/init/flag")=="U"){
  81. submit("TXMMR05802");
  82. }else{
  83. submit("TXMMR05801");
  84. }
  85. }
  86. }
  87. ]]>
  88. </script>
  89. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. fInitialize_SPMMR05800();
  93. model.refresh();
  94. ]]>
  95. </script>
  96. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  97. <submission id="TRMMR05800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  98. <submission id="TRMMR05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/drinfolist"/>
  99. <submission id="TRMMR05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi" resultref="/root/init/patstemiinfo"/>
  100. <submission id="TXMMR05800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  101. <submission id="TXMMR05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi"/>
  102. <submission id="TXMMR05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi"/>
  103. </model>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  107. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  108. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  109. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  111. <script type="javascript" src="../../../emr/medirecweb/js/SPMMR05800.js"/>
  112. </xhtml:head>
  113. <xhtml:body scroll="none" pagewidth="1188" pageheight="713" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  114. <group id="grp_1" visibility="visible" scroll="none" style="left:0px; top:0px; width:1188px; height:713px; font-family:바탕; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:15px; ">심혈관 환자등록</caption>
  116. <line id="line3" class="line_1" style="x1:0px; y1:15px; x2:520px; y2:15px; "/>
  117. <caption id="caption1" class="cell_1" style="left:225px; top:25px; width:75px; height:20px; vertical-align:middle; ">환자명</caption>
  118. <caption id="caption4" class="cell_1" style="left:20px; top:50px; width:74px; height:20px; vertical-align:middle; ">검색구분</caption>
  119. <caption id="caption27" class="cell_1" style="left:20px; top:25px; width:74px; height:20px; vertical-align:middle; ">등록번호</caption>
  120. <input id="ipt_hngnm" ref="/root/send/stemi/stemi2" disabled="true" style="left:305px; top:27px; width:102px; height:19px; "/>
  121. <line id="line4" class="line_1" style="x1:816px; y1:15px; x2:1170px; y2:15px; "/>
  122. <caption id="caption28" class="tit_2" style="left:817px; top:1px; width:180px; height:13px; vertical-align:middle; ">심혈관 환자검색</caption>
  123. <input id="ipt_pid" ref="/root/send/stemi/stemi1" disabled="true" autonext="false" imemode="disabled" maxlength="10" style="left:96px; top:27px; width:102px; height:19px; "/>
  124. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:520px; y2:75px; "/>
  125. <datagrid id="grd_stemipatlist" nodeset="/root/main/patinfo" caption="등록번호^환자명^수진일" colsep="^" colwidth="121, 107, 106" mergecellsfixedrows="bycolrec" rowsep="|" style="left:815px; top:85px; width:355px; height:275px; ">
  126. <col ref="pid"/>
  127. <col ref="hngnm"/>
  128. <col ref="orddd" format="yyyy-mm-dd"/>
  129. <script type="javascript" ev:event="onclick">
  130. <![CDATA[
  131. model.resetInstanceNode("/root/send/stemi");
  132. var iRow = grd_stemipatlist.row;
  133. if(iRow > 0){
  134. model.makeValue("/root/send/stemi/pid", model.getValue("/root/main/patinfo["+iRow+"]/pid"));
  135. model.makeValue("/root/send/stemi/orddd", model.getValue("/root/main/patinfo["+iRow+"]/orddd"));
  136. model.makeValue("/root/send/stemi/cretno",model.getValue("/root/main/patinfo["+iRow+"]/cretno"));
  137. model.makeValue("/root/send/stemi/chosflag", model.getValue("/root/main/patinfo["+iRow+"]/chosflag"));
  138. model.makeValue("/root/send/stemi/instcd", model.getValue("/root/main/patinfo["+iRow+"]/instcd"));
  139. model.makeValue("/root/send/stemi/fstrgstrid", getUserInfo("userid")); //등록자
  140. model.makeValue("/root/send/stemi/lastupdtrid", getUserInfo("userid")); //등록자
  141. model.makeValue("/root/send/stemi/recflag", "2"); // 구분(스태미:2)
  142. if(model.getValue("/root/main/cond/radio_select")=="0"){
  143. fLoadStemi();
  144. }
  145. //if(model.getValue("/root/init/patstemiinfo/pid")==""){
  146. if(model.getValue("/root/main/cond/radio_select")=="1"){
  147. model.resetInstanceNode("/root/init/flag");
  148. model.makeValue("/root/send/stemi/insrowcnt", model.getValue("/root/init/hardcditem/hardcd[cdseqno=5]/hardcd"));
  149. model.makeValue("/root/send/stemi/stemi1", model.getValue("/root/main/patinfo["+iRow+"]/pid"));
  150. model.makeValue("/root/send/stemi/stemi2", model.getValue("/root/main/patinfo["+iRow+"]/hngnm"));
  151. model.makeValue("/root/send/stemi/stemi3", model.getValue("/root/main/patinfo["+iRow+"]/age"));
  152. model.makeValue("/root/send/stemi/stemi4", model.getValue("/root/main/patinfo["+iRow+"]/sex"));
  153. if(model.getValue("/root/main/patinfo["+iRow+"]/mpphontel")!=""){
  154. model.makeValue("/root/send/stemi/stemi5", model.getValue("/root/main/patinfo["+iRow+"]/mpphontel"));
  155. }else{
  156. model.makeValue("/root/send/stemi/stemi5", model.getValue("/root/main/patinfo["+iRow+"]/hometel"));
  157. }
  158. }
  159. }
  160. model.refresh();
  161. ]]>
  162. </script>
  163. </datagrid>
  164. <caption id="caption5" class="search_name" style="left:809px; top:24px; width:87px; height:17px; text-align:left; vertical-align:middle; ">환자번호 :</caption>
  165. <input id="input2" ref="/root/main/cond/srchpid" autonext="false" imemode="disabled" maxlength="10" style="left:900px; top:25px; width:85px; height:19px; "/>
  166. <line id="line5" class="line_1" style="x1:0px; y1:690px; x2:1185px; y2:690px; "/>
  167. <select1 id="radio1" appearance="full" cols="2" overflow="visible" style="left:95px; top:50px; width:120px; height:20px; border-style:none; ">
  168. <choices>
  169. <item>
  170. <label>입원일</label>
  171. <value>I</value>
  172. </item>
  173. <item>
  174. <label>퇴원일</label>
  175. <value>D</value>
  176. </item>
  177. </choices>
  178. </select1>
  179. <caption id="caption2" class="cell_1" style="left:225px; top:50px; width:75px; height:20px; vertical-align:middle; ">검색기간</caption>
  180. <input id="input1" inputtype="date" style="left:305px; top:50px; width:80px; height:19px; "/>
  181. <input id="input3" inputtype="date" style="left:405px; top:50px; width:80px; height:19px; "/>
  182. <caption id="caption3" style="left:389px; top:50px; width:20px; height:20px; ">~</caption>
  183. <datagrid id="grd_1" caption="지표대상^CP대상^교육대상^등록번호^환자명^성별^나이^진단명^입원일시^퇴원일시^전화번호^F/U" colsep="^" colwidth="60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:85px; width:760px; height:600px; ">
  184. <col/>
  185. <col/>
  186. <col/>
  187. <col/>
  188. <col/>
  189. <col/>
  190. <col/>
  191. <col/>
  192. <col/>
  193. <col/>
  194. <col/>
  195. <col/>
  196. </datagrid>
  197. <line id="line2" class="line_1" style="x1:786px; y1:85px; x2:785px; y2:690px; "/>
  198. </group>
  199. <button id="button3" class="btn4_letter2" style="left:430px; top:25px; width:56px; height:22px; ">
  200. <caption>검색</caption>
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. ]]>
  204. </script>
  205. </button>
  206. <button id="button5" class="btn4_letter2" style="left:990px; top:23px; width:56px; height:22px; ">
  207. <caption>검색</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. ]]>
  211. </script>
  212. </button>
  213. </xhtml:body>
  214. </xhtml:html>