SPPMC02800_산재기간관리이력조회.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  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. <beficmtlist>
  11. <icmtlist/>
  12. </beficmtlist>
  13. </main>
  14. <send>
  15. <chospresn/>
  16. <ordflag/>
  17. <orddeptcd/>
  18. <orddrid/>
  19. <aprydd/>
  20. <apryfromdd/>
  21. <aprytodd/>
  22. <pid/>
  23. <hngnm/>
  24. <mngtno/>
  25. <inducsbrchcd/>
  26. </send>
  27. <hidden>
  28. <uid>
  29. <myself/>
  30. <opener/>
  31. </uid>
  32. </hidden>
  33. <init>
  34. <hidden>
  35. <suppkind>
  36. <up/>
  37. <nm/>
  38. <cd/>
  39. <ios/>
  40. </suppkind>
  41. <chosresn>
  42. <nm/>
  43. <cd/>
  44. </chosresn>
  45. <endcnts>
  46. <nm/>
  47. <cd/>
  48. </endcnts>
  49. <mtrtamtflag>
  50. <nm/>
  51. <cd/>
  52. </mtrtamtflag>
  53. <orddeptcd>
  54. <cd/>
  55. <nm/>
  56. <deptengabbr/>
  57. <io/>
  58. </orddeptcd>
  59. <orddrid>
  60. <cd/>
  61. <nm/>
  62. <dp/>
  63. <sp/>
  64. </orddrid>
  65. <specordyn>
  66. <item>
  67. <cd>Y</cd>
  68. <nm>Y</nm>
  69. </item>
  70. <item>
  71. <cd>N</cd>
  72. <nm>N</nm>
  73. </item>
  74. </specordyn>
  75. <insukind>
  76. <items>
  77. <cd>41</cd>
  78. <nm>산재</nm>
  79. </items>
  80. <items>
  81. <cd>42</cd>
  82. <nm>공상</nm>
  83. </items>
  84. </insukind>
  85. <bizplce>
  86. <nm/>
  87. <cd/>
  88. </bizplce>
  89. <indulist>
  90. <nm/>
  91. <cd/>
  92. </indulist>
  93. <profcd>
  94. <nm/>
  95. <cd/>
  96. </profcd>
  97. </hidden>
  98. <P0028list>
  99. <P0028>
  100. <cdid/>
  101. <cdnm/>
  102. </P0028>
  103. </P0028list>
  104. </init>
  105. <tmp>
  106. </tmp>
  107. </root>
  108. </instance>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. zbcfGetCodeList(new Array("P0028"),new Array("/root/init/P0028list"));
  112. submit("TRPMC02708");
  113. if (checkOpener()){
  114. }else{
  115. //초기화
  116. fInitialize();
  117. }
  118. model.refresh();
  119. ]]>
  120. </script>
  121. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  122. <submission id="TRPMC02708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instcd" resultref="/root/init/hidden"/>
  123. <submission id="TRPMC02711" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/beficmtlist"/>
  124. </model>
  125. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  127. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  130. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  131. <script type="javascript">
  132. <![CDATA[
  133. function fInitialize(){
  134. var curDate = getCurrentDate();
  135. model.resetInstanceNode("/root/main/beficmtlist/icmtlist");
  136. model.resetInstanceNode("/root/send/chospresn");
  137. model.resetInstanceNode("/root/send/ordflag");
  138. model.resetInstanceNode("/root/send/orddeptcd");
  139. model.resetInstanceNode("/root/send/orddrid");
  140. model.resetInstanceNode("/root/send/aprydd");
  141. model.resetInstanceNode("/root/send/apryfromdd");
  142. model.resetInstanceNode("/root/send/aprytodd");
  143. // 개인 팝업사용이니까 일단은 주석..
  144. //model.resetInstanceNode("/root/send/pid");
  145. //model.resetInstanceNode("/root/send/hngnm");
  146. //model.resetInstanceNode("/root/send/mngtno");
  147. //model.resetInstanceNode("/root/send/inducsbrchcd");
  148. }
  149. function fSearch(){
  150. submit("TRPMC02711");
  151. model.refresh();
  152. }
  153. ]]>
  154. </script>
  155. </xhtml:head>
  156. <xhtml:body pagewidth="1070" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  157. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1040px; height:465px; ">
  158. <group id="group2" style="left:0px; top:5px; width:1040px; height:55px; vertical-align:top; ">
  159. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1040px; height:50px; "/>
  160. <caption id="caption2" class="search_name" style="left:5px; top:6px; width:91px; height:17px; ">요양구분 :</caption>
  161. <line id="line13" class="line_4" style="x1:949px; y1:6px; x2:949px; y2:44px; "/>
  162. <button id="btn_patSearch" class="btn1_letter2" navindex="6" style="left:970px; top:15px; width:56px; height:22px; ">
  163. <caption>조회</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. fSearch();
  167. ]]>
  168. </script>
  169. </button>
  170. <caption id="caption3" class="search_name" style="left:5px; top:28px; width:91px; height:17px; ">진료구분 :</caption>
  171. <caption id="caption4" class="search_name" style="left:235px; top:5px; width:91px; height:17px; ">진료과 :</caption>
  172. <caption id="caption5" class="search_name" style="left:235px; top:25px; width:91px; height:17px; ">진료의 :</caption>
  173. <caption id="caption6" class="search_name" style="left:475px; top:18px; width:91px; height:17px; ">승인일자 :</caption>
  174. <caption id="caption7" class="search_name" style="left:674px; top:6px; width:104px; height:17px; ">승인시작일 :</caption>
  175. <caption id="caption8" class="search_name" style="left:674px; top:28px; width:104px; height:17px; ">승인종료일 :</caption>
  176. <select1 id="cmb_insukind" ref="/root/send/chospresn" class="combo_search" disabled="false" appearance="minimal" style="left:97px; top:5px; width:122px; height:19px; ">
  177. <choices>
  178. <itemset nodeset="/root/init/hidden/chosresn">
  179. <label ref="nm"/>
  180. <value ref="cd"/>
  181. </itemset>
  182. </choices>
  183. </select1>
  184. <select1 id="combo1" ref="/root/send/ordflag" class="combo_search" disabled="false" appearance="minimal" style="left:97px; top:27px; width:122px; height:19px; ">
  185. <choices>
  186. <itemset nodeset="/root/init/P0028list/P0028">
  187. <label ref="cdnm"/>
  188. <value ref="cdid"/>
  189. </itemset>
  190. </choices>
  191. </select1>
  192. <select1 id="combo2" ref="/root/send/orddeptcd" class="combo_search" disabled="false" appearance="minimal" style="left:310px; top:4px; width:142px; height:19px; ">
  193. <choices>
  194. <itemset nodeset="/root/init/hidden/orddeptcd">
  195. <label ref="nm"/>
  196. <value ref="cd"/>
  197. </itemset>
  198. </choices>
  199. </select1>
  200. <select1 id="combo3" ref="/root/send/orddrid" class="combo_search" disabled="false" appearance="minimal" style="left:310px; top:27px; width:142px; height:19px; ">
  201. <choices>
  202. <itemset nodeset="/root/init/hidden/orddrid">
  203. <label ref="nm"/>
  204. <value ref="cd"/>
  205. </itemset>
  206. </choices>
  207. </select1>
  208. <input id="input37" ref="/root/send/aprydd" class="input_default" inputtype="date" style="left:565px; top:17px; width:95px; height:19px; "/>
  209. <input id="input1" ref="/root/send/apryfromdd" class="input_default" inputtype="date" style="left:777px; top:5px; width:123px; height:19px; "/>
  210. <input id="input2" ref="/root/send/aprytodd" class="input_default" inputtype="date" style="left:777px; top:27px; width:123px; height:19px; "/>
  211. </group>
  212. <caption id="caption1" class="tit_2" style="left:5px; top:65px; width:133px; height:14px; ">기간이력 리스트</caption>
  213. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1040px; y2:80px; "/>
  214. <datagrid id="grd_vippatappinfo" nodeset="/root/main/beficmtlist/icmtlist" class="datagrid2" visibility="visible" caption="내원경위^내원경위상세^진료&#xA;구분^진료과^진료의^선택&#xA;진료^이력&#xA;상태^요양&#xA;일련번호^일련&#xA;번호^승인일자^승인시작일^승인종료일^산재지사^종료&#xA;여부^승인&#xA;일수^승인기관^요청일자^진료일자^진료시작일^진료종료일^산재기관참고사항^간병인&#xA;여부^수정일자^수정자" colsep="^" colwidth="61, 60, 41, 93, 57, 42, 43, 60, 38, 98, 100, 100, 77, 36, 33, 100, 100, 100, 101, 93, 266, 50, 94" dataheight="23" defaultrows="2" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="label" style="left:0px; top:85px; width:1040px; height:375px; ">
  215. <col disabled="true" ref="chospresn" type="combo" visibility="visible">
  216. <choices>
  217. <itemset nodeset="/root/init/hidden/chosresn">
  218. <label ref="nm"/>
  219. <value ref="cd"/>
  220. </itemset>
  221. </choices>
  222. </col>
  223. <col ref="chosresndetl" visibility="hidden"/>
  224. <col disabled="true" ref="ordflag" type="combo" visibility="visible">
  225. <choices>
  226. <itemset nodeset="/root/init/P0028list/P0028">
  227. <label ref="cdnm"/>
  228. <value ref="cdid"/>
  229. </itemset>
  230. </choices>
  231. </col>
  232. <col disabled="true" ref="orddeptcd" type="combo" visibility="visible">
  233. <choices>
  234. <itemset nodeset="/root/init/hidden/orddeptcd">
  235. <label ref="nm"/>
  236. <value ref="cd"/>
  237. </itemset>
  238. </choices>
  239. </col>
  240. <col disabled="true" ref="orddrid" type="combo" visibility="visible" style="text-align:center; ">
  241. <choices>
  242. <itemset nodeset="/root/init/hidden/orddrid">
  243. <label ref="nm"/>
  244. <value ref="cd"/>
  245. </itemset>
  246. </choices>
  247. </col>
  248. <col disabled="true" ref="specordyn" type="combo" visibility="visible">
  249. <choices>
  250. <item>
  251. <label>Y</label>
  252. <value>Y</value>
  253. </item>
  254. <item>
  255. <label>N</label>
  256. <value>N</value>
  257. </item>
  258. </choices>
  259. </col>
  260. <col disabled="true" ref="histstat" type="combo" visibility="visible">
  261. <choices>
  262. <item>
  263. <label>정상</label>
  264. <value>Y</value>
  265. </item>
  266. <item>
  267. <label>취소</label>
  268. <value>C</value>
  269. </item>
  270. </choices>
  271. </col>
  272. <col ref="mtrtseqno" visibility="visible"/>
  273. <col ref="seqno" visibility="visible"/>
  274. <col disabled="true" ref="aprydd" type="inputdate" visibility="visible"/>
  275. <col disabled="true" ref="apryfromdd" type="inputdate" visibility="visible"/>
  276. <col disabled="true" ref="aprytodd" type="inputdate" visibility="visible"/>
  277. <col ref="inducsbrchcd" type="combo" style="text-align:center; ">
  278. <choices>
  279. <itemset nodeset="/root/init/hidden/indulist">
  280. <label ref="nm"/>
  281. <value ref="cd"/>
  282. </itemset>
  283. </choices>
  284. </col>
  285. <col ref="endyn" type="combo" visibility="visible">
  286. <choices>
  287. <item>
  288. <label>Y</label>
  289. <value>Y</value>
  290. </item>
  291. <item>
  292. <label>N</label>
  293. <value>N</value>
  294. </item>
  295. </choices>
  296. </col>
  297. <col ref="aprydayno" visibility="visible"/>
  298. <col ref="aprtinstcd" visibility="visible"/>
  299. <col disabled="true" ref="reqdd" type="inputdate" visibility="visible"/>
  300. <col disabled="true" ref="orddd" type="inputdate" visibility="visible"/>
  301. <col disabled="true" ref="ordfromdd" type="inputdate" visibility="visible"/>
  302. <col disabled="true" ref="ordtodd" type="inputdate" visibility="visible"/>
  303. <col ref="inducstermrem" visibility="visible"/>
  304. <col disabled="true" ref="nurseflag" type="combo" visibility="visible">
  305. <choices>
  306. <item>
  307. <label>Y</label>
  308. <value>Y</value>
  309. </item>
  310. <item>
  311. <label>N</label>
  312. <value>N</value>
  313. </item>
  314. </choices>
  315. </col>
  316. <col disabled="true" ref="lastupdtdt" type="inputdate" visibility="visible"/>
  317. <col ref="lastupdtrid" visibility="visible"/>
  318. </datagrid>
  319. </group>
  320. <group id="group1" scroll="auto" style="left:0px; top:461px; width:1040px; height:27px; ">
  321. <button id="btn_confirm" class="btn4_letter2" disabled="true" navindex="7" style="left:857px; top:5px; width:56px; height:22px; ">
  322. <caption>확인</caption>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. if ( checkOpener() ) {
  326. row = grd_vippatappinfo.row;
  327. opener.model.makeNode("/root/main/popupendflag");
  328. opener.model.setValue("/root/main/popupendflag", "cancel");
  329. if( row > 0 ){
  330. if( getNodesetCount("/root/main/vippatbaseinfo/vippatbaseinfolist") > 0 ){
  331. /*
  332. //합번된 등록번호 메세지 처리
  333. var sPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/pid");
  334. var sHngnm = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/hngnm");
  335. var sBindPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/bindpid");
  336. if( sBindPid != '' && sBindPid != '-' ){
  337. alert(sPid + "(" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다.");
  338. return false;
  339. }
  340. */
  341. opener.model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", grd_vippatappinfo.getNode( row ));
  342. opener.model.makeNode("/root/main/popupendflag");
  343. opener.model.setValue("/root/main/popupendflag", "ok");
  344. }
  345. }else {
  346. messageBox("행이 정확히 선택되지", "E007");
  347. }
  348. } else {
  349. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  350. }
  351. opener.model.refresh();
  352. window.close();
  353. ]]>
  354. </script>
  355. </button>
  356. <button id="btn_cancel" class="btn4_letter2" navindex="8" style="left:981px; top:5px; width:56px; height:22px; ">
  357. <caption>닫기</caption>
  358. <script type="javascript" ev:event="DOMActivate">
  359. <![CDATA[
  360. opener.model.makeNode("/root/main/popupendflag");
  361. opener.model.setValue("/root/main/popupendflag", "cancel");
  362. window.close();
  363. ]]>
  364. </script>
  365. </button>
  366. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
  367. <caption id="caption9" class="search_name" style="left:5px; top:6px; width:91px; height:17px; ">환자번호 :</caption>
  368. <caption id="caption10" class="search_name" style="left:172px; top:6px; width:64px; height:17px; ">성명 :</caption>
  369. <caption id="caption11" class="search_name" style="left:302px; top:6px; width:91px; height:17px; ">관리번호 :</caption>
  370. <caption id="caption12" class="search_name" style="left:479px; top:6px; width:117px; height:17px; ">산재관리지사 :</caption>
  371. <output id="output1" ref="/root/send/pid" style="left:94px; top:4px; width:76px; height:19px; "/>
  372. <output id="output2" ref="/root/send/hngnm" style="left:234px; top:4px; width:66px; height:19px; "/>
  373. <output id="output3" ref="/root/send/mngtno" style="left:391px; top:4px; width:84px; height:19px; "/>
  374. <select1 id="cmb_inducsbrchcd" ref="/root/send/inducsbrchcd" class="combo_default" disabled="true" appearance="minimal" editmode="search" itemcount="30" style="left:594px; top:4px; width:116px; height:19px; ">
  375. <choices>
  376. <itemset nodeset="/root/init/hidden/indulist">
  377. <label ref="nm"/>
  378. <value ref="cd"/>
  379. </itemset>
  380. </choices>
  381. </select1>
  382. <button id="button1" class="btn4_letter3" navindex="8" style="left:913px; top:5px; width:68px; height:22px; ">
  383. <caption>초기화</caption>
  384. <script type="javascript" ev:event="DOMActivate">
  385. <![CDATA[
  386. fInitialize();
  387. ]]>
  388. </script>
  389. </button>
  390. </group>
  391. </xhtml:body>
  392. </xhtml:html>