SMMRC01100_사본발급관리.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  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. <send>
  10. <cond>
  11. <fromdd/>
  12. <todd/>
  13. <pid/>
  14. <orddeptcd/>
  15. <atdoctid/>
  16. <prcsflag/>
  17. <rrgstno1/>
  18. <rrgstno2/>
  19. <hngnm/>
  20. <issgoalcd/>
  21. <issgoalnm/>
  22. </cond>
  23. <search/>
  24. <savedata/>
  25. <reqdata/>
  26. </send>
  27. <main>
  28. <common>
  29. <dept>
  30. <deptcd/>
  31. <depthngnm/>
  32. </dept>
  33. <drlist>
  34. <drid/>
  35. <drnm/>
  36. </drlist>
  37. </common>
  38. <paminfo>
  39. <list/>
  40. </paminfo>
  41. <isshist>
  42. <isslist>
  43. <issno/>
  44. <ioflagnm/>
  45. <pid/>
  46. <hngnm/>
  47. <rrgstno1/>
  48. <rrgstno2/>
  49. <orddeptnm/>
  50. <atdoctnm/>
  51. <appdrnm/>
  52. <appmannm/>
  53. <issgoalcd/>
  54. <trustyn/>
  55. <rcptyn/>
  56. <totalcopies/>
  57. <issnm/>
  58. <issdt/>
  59. <appdt/>
  60. <prntlim/>
  61. <unprepyn/>
  62. <orddd/>
  63. <cretno/>
  64. <ioflag/>
  65. <orddeptcd/>
  66. <orddrid/>
  67. <copyseqno/>
  68. </isslist>
  69. <issbasinfolist>
  70. <hospnm/>
  71. <addr/>
  72. </issbasinfolist>
  73. </isshist>
  74. <issinfo>
  75. <copyinfo>
  76. <pid/>
  77. <appdd/>
  78. <apptm/>
  79. <issno/>
  80. <appmanflag/>
  81. <appmannm/>
  82. <appmanetc/>
  83. <trustyn/>
  84. <issgoalcd/>
  85. <issgoalnm/>
  86. <issgoaletc/>
  87. <issgoaletccd/>
  88. <issgoaletcnm/>
  89. <emrordflag/>
  90. <emrorddeptcd/>
  91. <emrappcopies/>
  92. <delivefact/>
  93. <paperscopcd/>
  94. <paperdocunm/>
  95. <orddd/>
  96. <cretno/>
  97. <status/>
  98. <ioflag/>
  99. <orddeptcd/>
  100. <orddrid/>
  101. <copyseqno/>
  102. <memo/>
  103. </copyinfo>
  104. <emrapplist>
  105. <chrtflag/>
  106. <ioflag/>
  107. <orddd/>
  108. <dschdd/>
  109. <orddeptnm/>
  110. <atdoctnm/>
  111. <formrecdt/>
  112. <formnm/>
  113. <formcd/>
  114. <reckeyno/>
  115. <formrecextnnm/>
  116. <formrecseq/>
  117. <instcd/>
  118. <pid/>
  119. <appdd/>
  120. <apptm/>
  121. <appseq/>
  122. <medirecno/>
  123. <status/>
  124. </emrapplist>
  125. <rcptlist>
  126. <prcpstatcd/>
  127. <calcscorcd/>
  128. <calcscornm/>
  129. <shtno/>
  130. <unitcost/>
  131. <rcptyn/>
  132. <prcpdd/>
  133. <prcpno/>
  134. <prcphistno/>
  135. <pid/>
  136. <orddd/>
  137. <cretno/>
  138. <prcpqty/>
  139. <oldshtno/>
  140. <prcpcd/>
  141. <issseqno/>
  142. <copyseqno/>
  143. <issno/>
  144. <prcptims/>
  145. <oldprcptims/>
  146. </rcptlist>
  147. </issinfo>
  148. <patinfo>
  149. <patinfolist/>
  150. </patinfo>
  151. <popupendflag/>
  152. </main>
  153. <init>
  154. <deptlist>
  155. <dept>
  156. <depthngnm>전체</depthngnm>
  157. <deptcd>%</deptcd>
  158. </dept>
  159. </deptlist>
  160. <ioflag>
  161. <P0001/>
  162. </ioflag>
  163. <issgoalcd>
  164. </issgoalcd>
  165. <issscopcd>
  166. <M0333/>
  167. </issscopcd>
  168. <prcpstatcd>
  169. <M0011/>
  170. </prcpstatcd>
  171. <emrapplistclik>
  172. <mouserght>
  173. <label>통합기록조회</label>
  174. <func>fMedirecListCall</func>
  175. <label>검사결과조회</label>
  176. <func>fExamRultListCall</func>
  177. </mouserght>
  178. </emrapplistclik>
  179. <doctor>
  180. <drlist>
  181. <userid/>
  182. <usernm/>
  183. </drlist>
  184. </doctor>
  185. </init>
  186. <temp>
  187. <crtfctinfo>
  188. <issno/>
  189. <hngnm/>
  190. <pid/>
  191. <issgoalnm/>
  192. <totalcopies/>
  193. <issdd/>
  194. <hospnm/>
  195. <addr/>
  196. </crtfctinfo>
  197. <cnfminfo>
  198. <issinfo>
  199. <issno/>
  200. <orddeptnm/>
  201. <atdoctnm/>
  202. <pid/>
  203. <hngnm/>
  204. <rrgstno1/>
  205. <rrgstno2/>
  206. <totalcopies/>
  207. <issgoalcd/>
  208. <issgoaletcnm/>
  209. <inflag/>
  210. <formnm/>
  211. <appdd/>
  212. <issdd/>
  213. <outflag/>
  214. <erflag/>
  215. <hospnm/>
  216. </issinfo>
  217. </cnfminfo>
  218. <patcond/>
  219. </temp>
  220. <hidden>
  221. <calcscorcd/>
  222. <deptcd/>
  223. </hidden>
  224. </root>
  225. </instance>
  226. <script type="javascript" ev:event="xforms-ready">
  227. <![CDATA[
  228. grd_emrapplist.attribute("height") = 221;
  229. fInit();
  230. ]]>
  231. </script>
  232. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  233. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  234. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  235. <submission id="TRMRF02303" mediatype="application/x-www-form-urlencoded" method="post"/>
  236. <submission id="TRMRC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/isshist"/>
  237. <submission id="TRMRC01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/issinfo"/>
  238. <submission id="TXMRC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
  239. <submission id="TRZSU10117" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  240. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  241. </model>
  242. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  243. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  244. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  245. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  246. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  247. <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
  248. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  249. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  250. <script type="javascript" src="../../../emr/chrtmngtweb/js/SMMRC01100.js"/>
  251. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  252. <script type="javascript" src="../../../emr/formmngtweb/js/MRF02301.js"/>
  253. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  254. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  255. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  256. </xhtml:head>
  257. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  258. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  259. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">사본발급관리</caption>
  260. </group>
  261. <line id="line1" class="line_1" style="x1:0px; y1:108px; x2:1194px; y2:108px; "/>
  262. <caption id="caption24" class="tit_2" style="left:3px; top:93px; width:134px; height:13px; ">사본발급관리내역</caption>
  263. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:25px; width:1195px; height:65px; "/>
  264. <caption id="caption19" class="search_name" style="left:15px; top:35px; width:87px; height:17px; ">신청일자 :</caption>
  265. <caption id="caption20" style="left:210px; top:35px; width:15px; height:20px; ">~</caption>
  266. <caption id="caption21" class="search_name" style="left:350px; top:35px; width:86px; height:17px; ">등록번호 :</caption>
  267. <caption id="caption25" class="search_name" style="left:580px; top:61px; width:86px; height:17px; ">발행여부 :</caption>
  268. <line id="line8" class="line_2" style="x1:0px; y1:425px; x2:1194px; y2:425px; "/>
  269. <line id="line6" class="line_3" style="x1:0px; y1:505px; x2:1195px; y2:505px; "/>
  270. <textarea id="textarea1" ref="/root/main/issinfo/copyinfo/memo" style="left:1015px; top:685px; width:173px; height:71px; "/>
  271. <caption id="caption16" class="cell_1" style="left:931px; top:685px; width:80px; height:70px; vertical-align:middle; ">메모</caption>
  272. <caption id="caption1" class="tit_2" style="left:641px; top:515px; width:139px; height:13px; ">코드별내역</caption>
  273. <button id="button10" class="btn2_letter2" visibility="hidden" style="left:940px; top:510px; width:42px; height:19px; ">
  274. <caption>검색</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. ]]>
  278. </script>
  279. </button>
  280. <caption id="caption2" class="cell_1" style="left:409px; top:480px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
  281. <caption id="caption7" class="cell_1" style="left:0px; top:480px; width:130px; height:23px; vertical-align:middle; ">진료구분</caption>
  282. <caption id="caption10" class="tit_2" style="left:0px; top:435px; width:190px; height:13px; ">서식범위 신청내역</caption>
  283. <line id="line3" class="line_1" style="x1:0px; y1:450px; x2:1195px; y2:450px; "/>
  284. <line id="line4" class="line_2" style="x1:0px; y1:477px; x2:592px; y2:477px; "/>
  285. <line id="line7" class="line_1" style="x1:641px; y1:530px; x2:1191px; y2:530px; "/>
  286. <input id="ipt_fromdd" ref="/root/send/cond/fromdd" class="input_s_essential" inputtype="date" style="left:105px; top:34px; width:100; height:19px; "/>
  287. <input id="ipt_todd" ref="/root/send/cond/todd" class="input_s_essential" inputtype="date" style="left:225px; top:34px; width:100; height:19px; "/>
  288. <input id="ipt_pid" ref="/root/send/cond/pid" class="input_search" style="left:440px; top:34px; width:97px; height:19px; ">
  289. <script type="javascript" ev:event="onkeydown">
  290. <![CDATA[
  291. if (event.keyCode == 13)
  292. {
  293. inputEnterKey("btn_pat", "DOMActivate");
  294. }
  295. /*
  296. if (event.keyCode == 13)
  297. {
  298. fHistSearch();
  299. model.refresh();
  300. }
  301. */
  302. ]]>
  303. </script>
  304. </input>
  305. <datagrid id="grd_isshist" nodeset="/root/main/isshist/isslist" class="datagrid2" caption="발행번호^등록번호^환자성명^주민번호^주민번호^진료과^주치의^신청의^신청인^발행목적^위임장유무^수납^총매수^발급자^발급일시^신청일시^사본발급제한^미비여부^사본신청일련번호^내원구분^신청경로" colsep="^" colwidth="62, 69, 68, 55, 48, 86, 67, 71, 68, 80, 70, 35, 45, 60, 69, 64, 54, 35, 100, 100, 51" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:113px; width:1195px; height:305px; ">
  306. <col ref="issno"/>
  307. <col ref="pid"/>
  308. <col ref="hngnm"/>
  309. <col ref="rrgstno1"/>
  310. <col ref="rrgstno2"/>
  311. <col ref="orddeptnm"/>
  312. <col ref="atdoctnm"/>
  313. <col ref="appdrnm"/>
  314. <col ref="appmannm"/>
  315. <col disabled="true" ref="issgoalcd" type="combo">
  316. <choices>
  317. <itemset nodeset="/root/init/issgoalcd/M0332">
  318. <label ref="cdnm"/>
  319. <value ref="cdid"/>
  320. </itemset>
  321. </choices>
  322. </col>
  323. <col ref="trustyn" style="text-align:center; "/>
  324. <col ref="rcptyn" style="text-align:center; "/>
  325. <col ref="totalcopies" format="#,###" style="text-align:right; "/>
  326. <col ref="issnm"/>
  327. <col ref="issdt" format="yyyy-mm-dd hh:ss"/>
  328. <col ref="appdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  329. <col ref="prntlim" style="text-align:center; "/>
  330. <col ref="unprepyn" style="text-align:center; "/>
  331. <col ref="copyseqno" visibility="hidden"/>
  332. <col ref="ioflag" visibility="hidden"/>
  333. <col ref="ioflagnm"/>
  334. <script type="javascript" ev:event="onclick">
  335. <![CDATA[
  336. if(grd_isshist.isCell(event.target)){
  337. fIssSearch();
  338. model.refresh();
  339. }
  340. ]]>
  341. </script>
  342. <script type="javascript" ev:event="onaftersort">
  343. <![CDATA[
  344. grd_isshist.gridToInstance();
  345. ]]>
  346. </script>
  347. </datagrid>
  348. <input id="ipt_emrappcopies" ref="/root/main/issinfo/copyinfo/emrappcopies" class="input_default" format="#,###" style="left:742px; top:482px; width:100px; height:19px; text-align:right; ">
  349. <script type="javascript" ev:event="xforms-value-changed">
  350. <![CDATA[
  351. fChangedAppCopies();
  352. ]]>
  353. </script>
  354. </input>
  355. <caption id="caption28" class="cell_1" style="left:660px; top:480px; width:80px; height:23px; vertical-align:middle; ">신청부수</caption>
  356. <caption id="caption29" class="cell_1" style="left:845px; top:480px; width:25px; height:23px; vertical-align:middle; ">부</caption>
  357. <select id="chk_paperordflag" ref="/root/main/issinfo/copyinfo/emrordflag" disabled="true" overflow="visible" appearance="full" cols="13" rows="1" style="left:135px; top:482px; width:275px; height:20px; border-style:none; ">
  358. <choices>
  359. <item>
  360. <label>외래</label>
  361. <value>O</value>
  362. </item>
  363. <item>
  364. <label>입원</label>
  365. <value>I</value>
  366. </item>
  367. <item>
  368. <label>응급</label>
  369. <value>E</value>
  370. </item>
  371. <item>
  372. <label>건진</label>
  373. <value>S</value>
  374. </item>
  375. <item>
  376. <label>DSC/CHEMO</label>
  377. <value>D</value>
  378. </item>
  379. </choices>
  380. <script type="javascript" ev:event="xforms-value-changed">
  381. <![CDATA[
  382. //alert(chk_paperordflag.value);
  383. //alert(chk_paperordflag.label);
  384. //alert(chk_paperordflag.item(chk_paperordflag.focusIndex).value);
  385. //fPaperOrdFlagCheck(chk_paperordflag);
  386. ]]>
  387. </script>
  388. <script type="javascript" ev:event="xforms-select">
  389. <![CDATA[
  390. ]]>
  391. </script>
  392. </select>
  393. <datagrid id="grd_emrapplist" nodeset="/root/main/issinfo/emrapplist" caption="챠트구분^진료구분^내원일자^퇴원일자^진료과^주치의^진료일자^서식명^서식코드^기록번호" colsep="^" colwidth="52, 52, 75, 80, 86, 83, 92, 90, 100, 100" dataheight="24" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:534px; width:635px; height:221px; ">
  394. <col disabled="true" ref="chrtflag" type="combo" style="text-align:center; ">
  395. <choices>
  396. <item>
  397. <label>종이</label>
  398. <value>P</value>
  399. </item>
  400. <item>
  401. <label>영상</label>
  402. <value>I</value>
  403. </item>
  404. <item>
  405. <label>EMR</label>
  406. <value>E</value>
  407. </item>
  408. </choices>
  409. </col>
  410. <col disabled="true" ref="ioflag" type="combo">
  411. <choices>
  412. <itemset nodeset="/root/init/ioflag/P0001">
  413. <label ref="cdnm"/>
  414. <value ref="cdid"/>
  415. </itemset>
  416. </choices>
  417. </col>
  418. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  419. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  420. <col ref="orddeptnm"/>
  421. <col ref="atdoctnm"/>
  422. <col ref="formrecdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  423. <col ref="formnm"/>
  424. <col ref="formcd" visibility="hidden"/>
  425. <col ref="reckeyno" visibility="hidden"/>
  426. <script type="javascript" ev:event="onmousedown">
  427. <![CDATA[
  428. if(grd_emrapplist.isCell(event.target) && (grd_emrapplist.mouserow >= grd_emrapplist.fixedrows))
  429. {
  430. setPopupMenu("grd_emrapplist", false, "/root/init/emrapplistclik/mouserght", "label", "func");
  431. }
  432. ]]>
  433. </script>
  434. <script type="javascript" ev:event="DOMFocusOut">
  435. <![CDATA[
  436. window.setPopupMenu(false);
  437. ]]>
  438. </script>
  439. </datagrid>
  440. <button id="btn_save" class="btn5_letter2" style="left:1103px; top:510px; width:42px; height:19px; ">
  441. <caption>저장</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. var iIssHistRow = grd_isshist.row;
  445. if(model.getValue("/root/main/isshist/isslist["+iIssHistRow+"]/prntlim") == "Y"){
  446. fSaveExcp();
  447. }else{
  448. fSave();
  449. }
  450. ]]>
  451. </script>
  452. </button>
  453. <button id="btn_rcptdel" class="btn2_letter4" visibility="hidden" style="left:751px; top:511px; width:64px; height:19px; ">
  454. <caption>수가삭제</caption>
  455. <script type="javascript" ev:event="DOMActivate">
  456. <![CDATA[
  457. //grd_rcptlist.removeRow(grd_rcptlist.row);
  458. //grd_rcptlist.deleteitem(grd_rcptlist.row);
  459. //grd_rcptlist.removestatus(grd_rcptlist.row, "delete");
  460. grd_rcptlist.addStatus(grd_rcptlist.row,"delete");
  461. //fRcptRowDel();
  462. ]]>
  463. </script>
  464. </button>
  465. <button id="btn_rcptadd" class="btn2_letter4" visibility="hidden" style="left:816px; top:511px; width:64px; height:19px; ">
  466. <caption>수가추가</caption>
  467. <script type="javascript" ev:event="DOMActivate">
  468. <![CDATA[
  469. fRcptPopUp();
  470. //modal("SMPIC00200_수가조회");
  471. //modal("SPPMC02500", 1,10, 10);
  472. ]]>
  473. </script>
  474. </button>
  475. <select1 id="cmb_paperorddeptcd" ref="/root/main/issinfo/copyinfo/emrorddeptcd" class="combo_default" disabled="true" appearance="minimal" style="left:492px; top:482px; width:163px; height:19px; ">
  476. <choices>
  477. <itemset nodeset="/root/init/deptlist/dept">
  478. <label ref="depthngnm"/>
  479. <value ref="deptcd"/>
  480. </itemset>
  481. </choices>
  482. </select1>
  483. <button id="btn_search" class="btn1_letter2" style="left:1133px; top:47px; width:56px; height:22px; ">
  484. <caption>조회</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. fHistSearch();
  488. model.refresh();
  489. ]]>
  490. </script>
  491. </button>
  492. <datagrid id="grd_rcptlist" nodeset="/root/main/issinfo/rcptlist" caption="상태^수가코드^수가명칭^매수^단가^수납상태^prcpdd^prcpno^prcphistno^pid^orddd^cretno^prcpqty^oldshtno^prcpcd^issseqno^copyseqno^issno^부수^oldprcptims" colsep="^" colwidth="84, 146, 176, 50, 100, 100, 62, 66, 71, 68, 65, 100, 100, 100, 100, 100, 100, 100, 50, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:641px; top:534px; width:550px; height:149px; ">
  493. <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
  494. <choices>
  495. <itemset nodeset="/root/init/prcpstatcd/M0011">
  496. <label ref="cdnm"/>
  497. <value ref="cdid"/>
  498. </itemset>
  499. </choices>
  500. </col>
  501. <col ref="calcscorcd"/>
  502. <col ref="calcscornm"/>
  503. <col ref="shtno" type="input" format="#,###" style="text-align:right; "/>
  504. <col ref="unitcost" visibility="hidden"/>
  505. <col ref="rcptyn" visibility="hidden"/>
  506. <col ref="prcpdd" visibility="hidden"/>
  507. <col ref="prcpno" visibility="hidden"/>
  508. <col ref="prcphistno" visibility="hidden"/>
  509. <col ref="pid" visibility="hidden"/>
  510. <col ref="orddd" visibility="hidden"/>
  511. <col ref="cretno" visibility="hidden"/>
  512. <col ref="prcpqty" visibility="hidden"/>
  513. <col ref="oldshtno" visibility="hidden"/>
  514. <col ref="prcpcd" visibility="hidden"/>
  515. <col ref="issseqno" visibility="hidden"/>
  516. <col ref="copyseqno" visibility="hidden"/>
  517. <col ref="issno" visibility="hidden"/>
  518. <col ref="prcptims" style="text-align:right; "/>
  519. <col ref="oldprcptims" visibility="hidden"/>
  520. <script type="javascript" ev:event="xforms-value-changed">
  521. <![CDATA[
  522. fChangedGridRow();
  523. ]]>
  524. </script>
  525. </datagrid>
  526. <button id="btn_pat" class="icon_search" visibility="visible" style="left:540px; top:35px; width:16px; height:16px; ">
  527. <caption/>
  528. <script type="javascript" ev:event="DOMActivate">
  529. <![CDATA[
  530. fPatPopUp("1");
  531. ]]>
  532. </script>
  533. </button>
  534. <line id="line5" class="line_2" style="x1:0px; y1:479px; x2:1195px; y2:479px; "/>
  535. <select1 id="cmb_trustyn" ref="/root/main/issinfo/copyinfo/trustyn" class="combo_default" disabled="true" appearance="minimal" style="left:742px; top:456px; width:100px; height:19px; ">
  536. <choices>
  537. <item>
  538. <label>유</label>
  539. <value>Y</value>
  540. </item>
  541. <item>
  542. <label>무</label>
  543. <value>N</value>
  544. </item>
  545. </choices>
  546. </select1>
  547. <caption id="caption3" class="cell_1" style="left:0px; top:454px; width:130px; height:23px; vertical-align:middle; ">사본발행 신청인</caption>
  548. <caption id="caption4" class="cell_1" style="left:600px; top:455px; width:140px; height:23px; vertical-align:middle; ">위임장/인감증명서 유무</caption>
  549. <caption id="caption5" class="cell_1" style="left:845px; top:455px; width:110px; height:23px; vertical-align:middle; ">사본발행목적</caption>
  550. <input id="ipt_appmannm" ref="/root/main/issinfo/copyinfo/appmanetc" class="input_default" disabled="true" imemode="hangul" maxlength="33" appearance="input" style="left:465px; top:456px; width:130px; height:19px; "/>
  551. <select1 id="rdo_appmanflag" ref="/root/main/issinfo/copyinfo/appmanflag" disabled="true" appearance="full" cols="5" rows="1" overflow="visible" style="left:135px; top:456px; width:333px; height:20px; border-style:none; ">
  552. <choices>
  553. <item>
  554. <label>환자본인</label>
  555. <value>1</value>
  556. </item>
  557. <item>
  558. <label>직계가족</label>
  559. <value>2</value>
  560. </item>
  561. <item>
  562. <label>보험회사직원</label>
  563. <value>3</value>
  564. </item>
  565. <item>
  566. <label>대리인</label>
  567. <value>4</value>
  568. </item>
  569. <item>
  570. <label>기타</label>
  571. <value>9</value>
  572. </item>
  573. </choices>
  574. <script type="javascript" ev:event="xforms-value-changed">
  575. <![CDATA[
  576. fAppManNmSetting();
  577. ]]>
  578. </script>
  579. </select1>
  580. <select1 id="cmb_orddept1" ref="/root/send/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:105px; top:60px; width:100; height:19px; ">
  581. <choices>
  582. <itemset nodeset="/root/init/deptlist/dept">
  583. <label ref="depthngnm"/>
  584. <value ref="deptcd"/>
  585. </itemset>
  586. </choices>
  587. <script type="javascript" ev:event="xforms-select">
  588. <![CDATA[
  589. zsufGetOrdDeptDoctorList("none", getUserInfo("dutplceinstcd"), cmb_orddept1.value, "/root/init/doctor/drlist", "usernm", "asc")//해당 주치의
  590. cmb_orddept2.refresh();
  591. ]]>
  592. </script>
  593. </select1>
  594. <select1 id="cmb_orddept2" ref="/root/send/cond/atdoctid" class="combo_search" appearance="minimal" style="left:440px; top:60px; width:97px; height:19px; ">
  595. <choices>
  596. <itemset nodeset="/root/init/doctor/drlist/user">
  597. <label ref="usernm"/>
  598. <value ref="userid"/>
  599. </itemset>
  600. </choices>
  601. <script type="javascript" ev:event="xforms-value-changed">
  602. <![CDATA[
  603. fHistSearch();
  604. model.refresh();
  605. ]]>
  606. </script>
  607. </select1>
  608. <caption id="caption8" class="search_name" style="left:14px; top:61px; width:73px; height:17px; ">진료과 :</caption>
  609. <caption id="caption9" class="search_name" style="left:350px; top:61px; width:75px; height:17px; ">진료의 :</caption>
  610. <input id="ipt_issgoalnm" ref="/root/main/issinfo/copyinfo/issgoaletc" class="input_default" disabled="true" imemode="hangul" maxlength="33" appearance="input" style="left:960px; top:456px; width:115px; height:19px; "/>
  611. <button id="btn_smmri00400" class="btn2_letter4" style="left:505px; top:510px; width:64px; height:19px; ">
  612. <caption>통합기록</caption>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. fMedirecListCall();
  616. ]]>
  617. </script>
  618. </button>
  619. <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  620. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  621. </group>
  622. <line id="line9" class="line_2" style="x1:0px; y1:503px; x2:592px; y2:503px; "/>
  623. <line id="line10" class="line_2" style="x1:0px; y1:532px; x2:592px; y2:532px; "/>
  624. <caption id="caption11" class="tit_2" style="left:0px; top:515px; width:139px; height:13px; ">서식범위 선택정보</caption>
  625. <line id="line11" class="line_1" style="x1:0px; y1:530px; x2:635px; y2:530px; "/>
  626. <caption id="caption12" class="search_name" style="left:580px; top:35px; width:86px; height:17px; ">환자명 :</caption>
  627. <caption id="caption13" class="search_name" style="left:815px; top:35px; width:86px; height:17px; ">주민번호 :</caption>
  628. <line id="line13" class="line_4" style="x1:1120px; y1:35px; x2:1120px; y2:78px; "/>
  629. <input id="ipt_hngnm" ref="/root/send/cond/hngnm" class="input_search" style="left:670px; top:34px; width:100px; height:19px; ">
  630. <script type="javascript" ev:event="onkeydown">
  631. <![CDATA[
  632. if (event.keyCode == 13)
  633. {
  634. inputEnterKey("btn_hngnm", "DOMActivate");
  635. }
  636. /*
  637. if (event.keyCode == 13)
  638. {
  639. fHistSearch();
  640. model.refresh();
  641. }
  642. */
  643. ]]>
  644. </script>
  645. </input>
  646. <input id="ipt_rrgstno1" ref="/root/send/cond/rrgstno1" class="input_search" maxlength="6" style="left:929px; top:34px; width:80px; height:19px; ">
  647. <script type="javascript" ev:event="onkeydown">
  648. <![CDATA[
  649. if (event.keyCode == 13)
  650. {
  651. inputEnterKey("btn_rrgstno", "DOMActivate");
  652. }
  653. /*
  654. if (event.keyCode == 13)
  655. {
  656. fHistSearch();
  657. model.refresh();
  658. }
  659. */
  660. ]]>
  661. </script>
  662. </input>
  663. <input id="ipt_rrgstno2" ref="/root/send/cond/rrgstno2" class="input_search" maxlength="7" style="left:1011px; top:34px; width:80px; height:19px; ">
  664. <script type="javascript" ev:event="onkeydown">
  665. <![CDATA[
  666. if (event.keyCode == 13)
  667. {
  668. inputEnterKey("btn_rrgstno", "DOMActivate");
  669. }
  670. /*
  671. if (event.keyCode == 13)
  672. {
  673. fHistSearch();
  674. model.refresh();
  675. }
  676. */
  677. ]]>
  678. </script>
  679. </input>
  680. <button id="btn_hngnm" class="icon_search" visibility="visible" style="left:775px; top:35px; width:16px; height:16px; ">
  681. <caption/>
  682. <script type="javascript" ev:event="DOMActivate">
  683. <![CDATA[
  684. fPatPopUp("2");
  685. ]]>
  686. </script>
  687. </button>
  688. <button id="btn_rrgstno" class="icon_search" visibility="visible" style="left:1095px; top:35px; width:16px; height:16px; ">
  689. <caption/>
  690. <script type="javascript" ev:event="DOMActivate">
  691. <![CDATA[
  692. fPatPopUp("3");
  693. ]]>
  694. </script>
  695. </button>
  696. <button id="btn_issgoaletc" class="icon_search" disabled="true" style="left:926px; top:457px; width:16px; height:16px; ">
  697. <caption/>
  698. <script type="javascript" ev:event="DOMActivate">
  699. <![CDATA[
  700. fIssGoalPopUp( "/root/main/issinfo/copyinfo/issgoaletc","/root/main/issinfo/copyinfo/issgoaletccd");
  701. ]]>
  702. </script>
  703. </button>
  704. <select1 id="cmb_prcsflag" ref="/root/send/cond/prcsflag" class="combo_search" appearance="minimal" style="left:670px; top:60px; width:100px; height:19px; ">
  705. <choices>
  706. <item>
  707. <label>전체</label>
  708. <value>%</value>
  709. </item>
  710. <item>
  711. <label>미발행</label>
  712. <value>N</value>
  713. </item>
  714. <item>
  715. <label>발행완료</label>
  716. <value>Y</value>
  717. </item>
  718. </choices>
  719. <script type="javascript" ev:event="xforms-value-changed">
  720. <![CDATA[
  721. fHistSearch();
  722. model.refresh();
  723. ]]>
  724. </script>
  725. </select1>
  726. <caption id="caption14" class="cell_1" style="left:642px; top:685px; width:110px; height:70px; vertical-align:middle; ">의료정보 전달사항</caption>
  727. <textarea id="textarea2" ref="/root/main/issinfo/copyinfo/delivefact" disabled="true" style="left:755px; top:685px; width:173px; height:71px; "/>
  728. <button id="btn_delete" class="btn5_letter2" style="left:1147px; top:510px; width:42px; height:19px; ">
  729. <caption>삭제</caption>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. fDelete();
  733. ]]>
  734. </script>
  735. </button>
  736. <button id="btn_cnfm" class="btn2_letter3" style="left:1081px; top:429px; width:57px; height:19px; ">
  737. <caption>승낙서</caption>
  738. <script type="javascript" ev:event="DOMActivate">
  739. <![CDATA[
  740. fPrnt("cnfm");
  741. ]]>
  742. </script>
  743. </button>
  744. <button id="btn_crtfct" class="btn2_letter3" style="left:1137px; top:429px; width:53px; height:19px; ">
  745. <caption>증명서</caption>
  746. <script type="javascript" ev:event="DOMActivate">
  747. <![CDATA[
  748. fPrnt("crtfct");
  749. ]]>
  750. </script>
  751. </button>
  752. <button id="btn_issapp" class="btn2_letter4" style="left:1015px; top:430px; width:64px; height:19px; ">
  753. <caption>사본수정</caption>
  754. <script type="javascript" ev:event="DOMActivate">
  755. <![CDATA[
  756. fPopUpIssApp();
  757. ]]>
  758. </script>
  759. </button>
  760. <input id="ipt_issgoaletcnm" ref="/root/main/issinfo/copyinfo/issgoaletcnm" class="input_default" disabled="true" imemode="hangul" maxlength="33" appearance="input" style="left:1077px; top:456px; width:115px; height:19px; "/>
  761. <button id="button1" class="icon_search" style="left:1047px; top:61px; width:16px; height:16px; ">
  762. <caption/>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. fIssGoalPopUp("/root/send/cond/issgoalnm", "/root/send/cond/issgoalcd");
  766. if(model.getValue("/root/send/cond/issgoalcd") != ""){
  767. fHistSearch();
  768. model.refresh();
  769. }
  770. ]]>
  771. </script>
  772. </button>
  773. <caption id="caption15" class="search_name" style="left:815px; top:60px; width:112px; height:17px; ">사본발급목적 :</caption>
  774. <input id="input1" ref="/root/send/cond/issgoalnm" class="input_default" disabled="true" imemode="hangul" maxlength="33" appearance="input" style="left:930px; top:60px; width:115px; height:19px; "/>
  775. <button id="button2" class="btn2_letter3" style="left:1048px; top:510px; width:53px; height:19px; ">
  776. <caption>초기화</caption>
  777. <script type="javascript" ev:event="DOMActivate">
  778. <![CDATA[
  779. fClearView();
  780. ]]>
  781. </script>
  782. </button>
  783. <button id="btn_srchprcphist" class="btn2_letter4" style="left:982px; top:510px; width:64px; height:19px; ">
  784. <caption>처방이력</caption>
  785. <script type="javascript" ev:event="DOMActivate">
  786. <![CDATA[
  787. fPopUpPrcpHist();
  788. ]]>
  789. </script>
  790. </button>
  791. <button id="btn_smaer00800" class="btn2_letter4" style="left:440px; top:510px; width:64px; height:19px; ">
  792. <caption>검사결과</caption>
  793. <script type="javascript" ev:event="DOMActivate">
  794. <![CDATA[
  795. fExamRultListCall();
  796. ]]>
  797. </script>
  798. </button>
  799. <button id="button3" class="btn2_letter4" style="left:570px; top:510px; width:64px; height:19px; ">
  800. <caption>서식출력</caption>
  801. <script type="javascript" ev:event="DOMActivate">
  802. <![CDATA[
  803. fViewer();
  804. ]]>
  805. </script>
  806. </button>
  807. <button id="button38" class="btn4_letter8" style="left:1066px; top:0px; width:128px; height:22px; ">
  808. <caption>조회구분 초기화</caption>
  809. <script type="javascript" ev:event="DOMActivate">
  810. <![CDATA[
  811. model.resetInstanceNode("/root/send/cond");
  812. // 오늘 날짜로 세팅
  813. var currentdate = getCurrentDate();
  814. model.setValue("/root/send/cond/fromdd", currentdate.substr(0, 6) + "01");
  815. model.setValue("/root/send/cond/todd", currentdate);
  816. model.setValue("/root/send/cond/prcsflag","N");
  817. model.refresh();
  818. ]]>
  819. </script>
  820. </button>
  821. </xhtml:body>
  822. </xhtml:html>