SPMMO08200_관심환자등록.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. <concpatinfo>
  11. <concpatinfo>
  12. <status/>
  13. <genrdd/>
  14. <genrno/>
  15. <instcd/>
  16. <conckindcd>P</conckindcd>
  17. <conctrgtcd/>
  18. <conctypecd/>
  19. <conctypenm/>
  20. <valifromdd/>
  21. <valitodd/>
  22. <concremfact/>
  23. <pid/>
  24. <hngnm/>
  25. <dd/>
  26. </concpatinfo>
  27. </concpatinfo>
  28. <concpatinfohist>
  29. <concpatinfohist>
  30. <status/>
  31. <genrdd/>
  32. <genrno/>
  33. <instcd/>
  34. <conckindcd/>
  35. <conctrgtcd/>
  36. <conctypecd/>
  37. <conctypenm/>
  38. <valifromdd/>
  39. <valitodd/>
  40. <concremfact/>
  41. <pid/>
  42. <hngnm/>
  43. <dd/>
  44. </concpatinfohist>
  45. </concpatinfohist>
  46. <cond>
  47. <status/>
  48. <statusnm/>
  49. <dd/>
  50. </cond>
  51. </main>
  52. <send>
  53. <reqdata/>
  54. <savedata/>
  55. <cond1/>
  56. <cond2/>
  57. <cond3/>
  58. <cond4/>
  59. <cond5/>
  60. <cond6/>
  61. <cond7/>
  62. <cond8/>
  63. <cond9/>
  64. <cond10/>
  65. <cond11/>
  66. <cond12/>
  67. <cond13/>
  68. <cond14/>
  69. <cond15/>
  70. <cond16/>
  71. <cond17/>
  72. <cond18/>
  73. <cond99/>
  74. <erflag/>
  75. </send>
  76. <hidden>
  77. <patinfo>
  78. <pid/>
  79. <dd/>
  80. <hngnm/>
  81. <instcd/>
  82. </patinfo>
  83. <cccinfo>
  84. <ccclist/>
  85. </cccinfo>
  86. </hidden>
  87. <init>
  88. <today/>
  89. <af90day/>
  90. </init>
  91. <paminfo/>
  92. </root>
  93. </instance>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. fInitialize();
  97. ]]>
  98. </script>
  99. <bind id="bind1" ref="/root/hidden/concpatinfo" calculate="&quot;now()+.&quot;"/>
  100. <submission id="TRMMO08301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/cccinfo"/>
  101. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  102. <submission id="TXMMO08203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/concpatinfohist"/>
  103. <submission id="TRMMO08203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/concpatinfohist"/>
  104. <submission id="TRMMO00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/patordinfo"/>
  105. </model>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  108. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08200.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. </xhtml:head>
  112. <xhtml:body pagewidth="601" pageheight="361" guideline="1,576;2,344;1,584;1,206;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  113. <caption id="caption1" class="cell_1" style="left:241px; top:22px; width:101px; height:23px; vertical-align:middle; ">환자명</caption>
  114. <caption id="caption2" class="cell_1" style="left:241px; top:71px; width:101px; height:23px; vertical-align:middle; ">관심분류명</caption>
  115. <caption id="caption4" class="cell_1" style="left:0px; top:118px; width:101px; height:90px; vertical-align:middle; ">참고사항</caption>
  116. <output id="opt_unitcd" ref="/root/main/concpatinfo/concpatinfo/hngnm" class="output_fix" appearance="output" style="left:344px; top:23px; width:101px; height:19px; "/>
  117. <select1 id="cmb_unitflag" ref="/root/main/concpatinfo/concpatinfo/conctypecd" class="combo_search" disabled="false" appearance="minimal" style="left:344px; top:72px; width:101px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/hidden/cccinfo/ccclist">
  120. <label ref="conctypenm"/>
  121. <value ref="conctypecd"/>
  122. </itemset>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. fSetUpdtStatus();
  127. ]]>
  128. </script>
  129. </select1>
  130. <textarea id="textarea1" ref="/root/main/concpatinfo/concpatinfo/concremfact" disabled="false" style="left:103px; top:120px; width:474px; height:86px; ">
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. fSetUpdtStatus();
  134. ]]>
  135. </script>
  136. </textarea>
  137. <caption id="caption5" class="cell_1" style="left:0px; top:94px; width:101px; height:23px; vertical-align:middle; ">적용시작일자</caption>
  138. <input id="ipt_fromdd" ref="/root/main/concpatinfo/concpatinfo/valifromdd" class="input_default" disabled="false" inputtype="date" style="left:103px; top:96px; width:101px; height:19px; ">
  139. <script type="javascript" ev:event="xforms-value-changed">
  140. <![CDATA[
  141. fSetUpdtStatus();
  142. ]]>
  143. </script>
  144. </input>
  145. <caption id="caption6" class="cell_1" style="left:241px; top:95px; width:101px; height:23px; vertical-align:middle; ">적용종료일자</caption>
  146. <input id="input1" ref="/root/main/concpatinfo/concpatinfo/valitodd" class="input_default" disabled="false" inputtype="date" style="left:344px; top:97px; width:100px; height:19px; ">
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. fSetUpdtStatus();
  150. ]]>
  151. </script>
  152. </input>
  153. <caption id="caption7" class="cell_1" style="left:0px; top:70px; width:101px; height:23px; vertical-align:middle; ">분류구분</caption>
  154. <caption id="caption3" class="cell_1" style="left:0px; top:22px; width:101px; height:23px; vertical-align:middle; ">등록번호</caption>
  155. <input id="ipt_pid" ref="/root/main/concpatinfo/concpatinfo/pid" style="left:103px; top:24px; width:101px; height:19px; ">
  156. <script type="javascript" ev:event="onkeypress">
  157. <![CDATA[
  158. inputEnterKey ( "btn_search", "DOMActivate" );
  159. ]]>
  160. </script>
  161. </input>
  162. <caption id="caption8" class="cell_1" style="left:0px; top:46px; width:101px; height:23px; vertical-align:middle; ">진료일자</caption>
  163. <output id="output2" ref="/root/main/cond/dd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:103px; top:48px; width:101px; height:19px; "/>
  164. <caption id="caption24" class="tit_2" style="left:0px; top:2px; width:134px; height:14px; ">관심환자등록</caption>
  165. <line id="line1" class="line_1" style="x1:0px; y1:17px; x2:584px; y2:17px; "/>
  166. <caption id="caption9" class="tit_2" style="left:0px; top:222px; width:134px; height:13px; ">관심환자 기존내역</caption>
  167. <line id="line2" class="line_1" style="x1:0px; y1:237px; x2:584px; y2:237px; "/>
  168. <button id="button1" class="btn4_letter2" style="left:521px; top:208px; width:56px; height:22px; ">
  169. <caption>저장</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. fSaveConcPatInfo();
  173. ]]>
  174. </script>
  175. </button>
  176. <button id="button2" class="btn4_letter2" style="left:464px; top:208px; width:56px; height:22px; ">
  177. <caption>삭제</caption>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. var status = model.getValue("/root/main/concpatinfo/concpatinfo/status");
  181. if(status == "i"){
  182. model.resetInstanceNode("/root/main/concpatinfo");
  183. model.refresh();
  184. }else{
  185. model.setValue("/root/main/concpatinfo/concpatinfo/status", "d");
  186. model.refresh();
  187. model.copyNode("/root/send/savedata", "/root/main/concpatinfo/concpatinfo");
  188. submit("TXMMO08203");
  189. }
  190. ]]>
  191. </script>
  192. </button>
  193. <button id="button3" class="btn4_letter3" style="left:395px; top:208px; width:68px; height:22px; ">
  194. <caption>초기화</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. fRgstNewConcPatInfo();
  198. ]]>
  199. </script>
  200. </button>
  201. <datagrid id="grd_concpatinfohist" nodeset="/root/main/concpatinfohist/concpatinfohist" caption="처리구분^발생일자^발생번호^기관코드^관심종류코드^관심대상코드^관심분류코드^관심분류명^환자명^유효시작일자^유효종료일자^참고사항^환자번호^진료일자^생성번호^발생구분코드" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 100, 100, 80, 87, 189, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:242px; width:584px; height:103px; ">
  202. <col ref="status"/>
  203. <col ref="genrdd"/>
  204. <col ref="genrno"/>
  205. <col ref="instcd"/>
  206. <col ref="conckindcd"/>
  207. <col ref="conctrgtcd"/>
  208. <col ref="conctypecd"/>
  209. <col ref="conctypenm"/>
  210. <col ref="hngnm"/>
  211. <col ref="valifromdd" format="yyyy-mm-dd"/>
  212. <col ref="valitodd" format="yyyy-mm-dd"/>
  213. <col ref="concremfact"/>
  214. <col ref="kornm"/>
  215. <col ref="orddd"/>
  216. <col ref="cretno"/>
  217. <col ref="genrflagcd"/>
  218. <script type="javascript" ev:event="ondblclick">
  219. <![CDATA[
  220. if(isDataCell()){
  221. fSelectConcPatInfo();
  222. }
  223. ]]>
  224. </script>
  225. </datagrid>
  226. <button id="button4" class="btn3_letter4" style="left:447px; top:70px; width:80px; height:22px; ">
  227. <caption>분류등록</caption>
  228. <script type="javascript" ev:event="DOMActivate">
  229. <![CDATA[
  230. setParameter("conckindcd", model.getValue("/root/main/concpatinfo/concpatinfo/conckindcd"));
  231. modal("SPMMO08300");
  232. var conctypecd = getParameter("conctypecd");
  233. var conckindcd = getParameter("conckindcd");
  234. model.setValue(sCONCPATINFO_PATH + "/conckindcd", conckindcd);
  235. fReqConcTypeCd();
  236. model.setValue(sCONCPATINFO_PATH + "/conctypecd", conctypecd);
  237. model.refresh();
  238. ]]>
  239. </script>
  240. </button>
  241. <select1 id="radio1" ref="/root/main/concpatinfo/concpatinfo/conckindcd" appearance="full" cellspacing="15" cols="2" rows="1" overflow="visible" style="left:104px; top:74px; width:100px; height:20px; border-style:none; ">
  242. <choices>
  243. <item>
  244. <label>개인</label>
  245. <value>P</value>
  246. </item>
  247. <item>
  248. <label>과</label>
  249. <value>D</value>
  250. </item>
  251. </choices>
  252. <script type="javascript" ev:event="xforms-value-changed">
  253. <![CDATA[
  254. fReqConcTypeCd();
  255. fReqConcPatInfo(grd_concpatinfohist);
  256. ]]>
  257. </script>
  258. </select1>
  259. <caption id="caption11" ref="/root/main/cond/status" visibility="hidden" style="left:345px; top:48px; width:96px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; "/>
  260. <button id="button5" class="btn1_letter2" style="left:338px; top:208px; width:56px; height:22px; ">
  261. <caption>조회</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. fReqConcPatInfo(grd_concpatinfohist);
  265. ]]>
  266. </script>
  267. </button>
  268. <button id="button6" class="btn2_letter6" style="left:130px; top:217px; width:86px; height:19px; ">
  269. <caption>관심환자조회</caption>
  270. <script type="javascript" ev:event="DOMActivate">
  271. <![CDATA[
  272. var mainObj = getMainViewer();
  273. mainObj.window.javascript.open("SMMMO08100");
  274. ]]>
  275. </script>
  276. </button>
  277. <button id="btn_search" class="icon_search" style="left:210px; top:25px; width:100px; height:20px; ">
  278. <caption/>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fAfSignPatSrch();
  282. ]]>
  283. </script>
  284. </button>
  285. </xhtml:body>
  286. </xhtml:html>