SSMRC03162_모바일전자동의서.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="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. <variable>
  10. <nowpage>0</nowpage>
  11. <totalpage>0</totalpage>
  12. <multiflag>FALSE</multiflag>
  13. <padlineid/>
  14. <padflag>FALSE</padflag>
  15. <padview>FASLE</padview>
  16. <RexpertPage/>
  17. <pencolor>
  18. <R/>
  19. <G/>
  20. <B/>
  21. </pencolor>
  22. <pensize/>
  23. <pentype/>
  24. </variable>
  25. <data>
  26. <savedata/>
  27. <itemdata/>
  28. <ocrdata/>
  29. <recorddata/>
  30. </data>
  31. <essential>
  32. <templatepath/>
  33. <imagepath/>
  34. <checkpath/>
  35. <guidepath/>
  36. <header/>
  37. <footer/>
  38. <savepath/>
  39. <gsaveip/>
  40. <gsaveport/>
  41. <Cport/>
  42. </essential>
  43. <send>
  44. <ocrtreat>
  45. <class/>
  46. <patid/>
  47. <cretno/>
  48. <indate/>
  49. <instcd/>
  50. <cuser/>
  51. <formcd/>
  52. <flag/>
  53. <orddeptcd/>
  54. </ocrtreat>
  55. <ltp>
  56. <alias/>
  57. <activeR/>
  58. <activeC/>
  59. <activeV/>
  60. <activeA/>
  61. </ltp>
  62. <delimage>
  63. <pageno/>
  64. </delimage>
  65. <ocrhistory>
  66. <ocrtag/>
  67. <delflag/>
  68. </ocrhistory>
  69. </send>
  70. <hidden>
  71. <paget>
  72. <treatno/>
  73. <pageno/>
  74. </paget>
  75. </hidden>
  76. <main>
  77. <treat>
  78. <docuname/>
  79. <patname/>
  80. <patnum/>
  81. <pataddress/>
  82. <patphone/>
  83. <patjumin/>
  84. <dept/>
  85. <doctorname/>
  86. <nursename/>
  87. <jindan1/>
  88. <jindan2/>
  89. <io/>
  90. <ocrleft/>
  91. <ocrright/>
  92. <operation2/>
  93. <operation1/>
  94. <doctor0/>
  95. <doctor1>
  96. </doctor1>
  97. <doctor2>
  98. </doctor2>
  99. <doctor3>
  100. </doctor3>
  101. <doctor4>
  102. </doctor4>
  103. <doctor5>
  104. </doctor5>
  105. <doctor6>
  106. </doctor6>
  107. <doctor7>
  108. </doctor7>
  109. <doctor8>
  110. </doctor8>
  111. <doctor9>
  112. </doctor9>
  113. <formtype/>
  114. <totalpage/>
  115. <treat/>
  116. <tag1/>
  117. <tag2/>
  118. <tag3/>
  119. <orddrid/>
  120. <orddeptcd/>
  121. <depthngnm/>
  122. <appdd/>
  123. <pathomephone/>
  124. <tag4/>
  125. <tag5/>
  126. <tag6/>
  127. <tag7/>
  128. <tag8/>
  129. <tag9/>
  130. <tag10/>
  131. <formfromdt/>
  132. <orddeptnm/>
  133. <depthngnm1/>
  134. <year/>
  135. <month/>
  136. <day/>
  137. <hosname/>
  138. <tag11/>
  139. <tag12/>
  140. <tag13/>
  141. <tag14/>
  142. <tag15/>
  143. <tag16/>
  144. <tag17/>
  145. <tag18/>
  146. <tag19/>
  147. <tag20/>
  148. <tag21/>
  149. <tag22/>
  150. <tag23/>
  151. <tag24/>
  152. <tag25/>
  153. <tag26/>
  154. <tag27/>
  155. <tag28/>
  156. <tag29/>
  157. <tag30/>
  158. </treat>
  159. <forminfo>
  160. <check/>
  161. <guide/>
  162. <template>
  163. <header/>
  164. <footer/>
  165. </template>
  166. </forminfo>
  167. <fileinfo>
  168. <filepath/>
  169. <ocrseq/>
  170. <formtype/>
  171. </fileinfo>
  172. <ltpindexinfo>
  173. <ltpindexserver/>
  174. <ltpindexport/>
  175. <ltpindexuser/>
  176. <ltpindexpath/>
  177. <pathid/>
  178. </ltpindexinfo>
  179. <now>
  180. <sysdate/>
  181. </now>
  182. <paget>
  183. <pageno/>
  184. <pathid/>
  185. <cdate/>
  186. <cuserid/>
  187. <filesize/>
  188. <extension/>
  189. <oldpageno/>
  190. <treatno>
  191. </treatno>
  192. <formcode/>
  193. <page/>
  194. <cdno/>
  195. <security/>
  196. <oldtreatno/>
  197. <pathid/>
  198. <ifmethod/>
  199. <ocrtag/>
  200. <instcd/>
  201. </paget>
  202. <ocrinfo>
  203. <ocrlist>
  204. <ocrfilenm/>
  205. <ocrseq/>
  206. <ocrfilesize/>
  207. </ocrlist>
  208. <ocrtag>
  209. <tag/>
  210. </ocrtag>
  211. </ocrinfo>
  212. <return>
  213. <key/>
  214. <value/>
  215. </return>
  216. <ltp>
  217. <img>
  218. <ltpindexserver/>
  219. <ltpindexport/>
  220. <ltpindexuser/>
  221. <ltpindexpath/>
  222. <pathid/>
  223. </img>
  224. <resource>
  225. <ltpindexserver/>
  226. <ltpindexport/>
  227. <ltpindexuser/>
  228. <ltpindexpath/>
  229. <pathid/>
  230. </resource>
  231. <validata>
  232. <ltpindexserver/>
  233. <ltpindexport/>
  234. <ltpindexuser/>
  235. <ltpindexpath/>
  236. <pathid/>
  237. </validata>
  238. <record>
  239. <ltpindexserver/>
  240. <ltpindexport/>
  241. <ltpindexuser/>
  242. <ltpindexpath/>
  243. <pathid/>
  244. </record>
  245. </ltp>
  246. <patinfo>
  247. <ipatlist/>
  248. </patinfo>
  249. <forminfo>
  250. <formlist/>
  251. </forminfo>
  252. </main>
  253. <dummy/>
  254. <reqdata>
  255. <pid/>
  256. <orddd/>
  257. <cretno/>
  258. <ordtype/>
  259. <formcd/>
  260. <flag/>
  261. <tmflag/>
  262. <pensize/>
  263. <pencolor1/>
  264. <pencolor2/>
  265. <pencolor3/>
  266. <penstyle/>
  267. <hngnm/>
  268. <orddept/>
  269. <newElement/>
  270. <ocrtag/>
  271. <formnm/>
  272. <formcd/>
  273. </reqdata>
  274. <head>
  275. <pid/>
  276. <orddd/>
  277. <cretno/>
  278. <ordtype/>
  279. <formcd/>
  280. <flag/>
  281. <tmflag/>
  282. <pensize/>
  283. <pencolor1/>
  284. <pencolor2/>
  285. <pencolor3/>
  286. <penstyle/>
  287. <hngnm/>
  288. <orddept/>
  289. <newElement/>
  290. <ocrtag/>
  291. <formnm/>
  292. <formcd/>
  293. <orddeptcd/>
  294. </head>
  295. </root>
  296. </instance>
  297. <script type="javascript" ev:event="xforms-ready">
  298. <![CDATA[
  299. fIni();
  300. ]]>
  301. </script>
  302. <submission id="TXMPL03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/data" resultref="/root/main/paget"/>
  303. <submission id="TRMPL04308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ocrtreat" resultref="/root/hidden/paget"/>
  304. <submission id="TRMPL04309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ocrtreat" resultref="/root/main/treat"/>
  305. <submission id="TRMPL04310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ocrtreat" resultref="/root/main/forminfo/forminfo"/>
  306. <submission id="TRMPL04311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ocrtreat" resultref="/root/main/fileinfo"/>
  307. <submission id="TRMPL03307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ltp" resultref="/root/main/ltpindexinfo"/>
  308. <submission id="TRMRF03806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ocrtag"/>
  309. <submission id="TRMRF03900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  310. <submission id="TRMRF03901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/forminfo"/>
  311. <script type="javascript" ev:event="xforms-close">
  312. <![CDATA[
  313. OcrPrintCheck();
  314. consent.SendProtocol("EVENT,CLOSE");
  315. consent.ShutDown();
  316. ]]>
  317. </script>
  318. <submission id="TXMPL03317" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delimage"/>
  319. <submission id="TXMPL03303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ocrhistory"/>
  320. <script type="javascript" ev:event="xforms-model-destruct">
  321. <![CDATA[
  322. consent.SendProtocol("EVENT,CLOSE");
  323. consent.ShutDown();
  324. ]]>
  325. </script>
  326. </model>
  327. <script type="javascript" src="../../../emr/imgemrweb/js/SSMRC03162.js"/>
  328. <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js">//</script>
  329. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  330. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  331. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  332. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  333. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  334. </xhtml:head>
  335. <xhtml:body pageheight="1024" guideline="2,6;" style="margin-left:1; margin-right:1; ">
  336. <group id="group1" style="left:170px; top:0px; width:780px; height:30px; ">
  337. <output id="output2" ref="/root/head/pid" class="output_fix" style="left:91px; top:5px; width:69px; height:19px; "/>
  338. <output id="output1" ref="/root/head/hngnm" class="output_fix" style="left:200px; top:5px; width:85px; height:19px; "/>
  339. <output id="output3" ref="/root/head/orddd" class="output_fix" format="yyyy-mm-dd" style="left:340px; top:5px; width:90px; height:19px; "/>
  340. <output id="output4" ref="/root/head/orddept" class="output_fix" style="left:485px; top:5px; width:100px; height:19px; "/>
  341. <caption id="caption12" class="cell_1" style="left:8px; top:3px; width:79px; height:23px; vertical-align:middle; ">등록번호</caption>
  342. <caption id="caption13" class="cell_1" style="left:163px; top:3px; width:35px; height:23px; vertical-align:middle; ">성명</caption>
  343. <caption id="caption14" class="cell_1" style="left:288px; top:3px; width:50px; height:23px; vertical-align:middle; ">진료일</caption>
  344. <caption id="caption16" class="cell_1" style="left:433px; top:3px; width:50px; height:23px; vertical-align:middle; ">진료과</caption>
  345. <caption id="caption1" class="cell_1" style="left:590px; top:3px; width:55px; height:23px; vertical-align:middle; ">서식명</caption>
  346. <output id="output5" ref="/root/head/formnm" class="output_fix" style="left:650px; top:6px; width:125px; height:19px; "/>
  347. </group>
  348. <group id="menu" style="left:170px; top:40px; width:785px; height:40px; background-image:../../../emr/imgemrweb/images/LC_bar.jpg; ">
  349. <img id="next" appearance="image" style="left:330px; top:5px; width:30px; height:27px; background-image:../../../emr/imgemrweb/images/LC_next.jpg; cursor:hand; ">
  350. <caption/>
  351. <script type="javascript" ev:event="onclick">
  352. <![CDATA[
  353. consent.page_next()
  354. ]]>
  355. </script>
  356. </img>
  357. <img id="prev" navindex="1" appearance="image" style="left:275px; top:5px; width:30px; height:27px; background-image:../../../emr/imgemrweb/images/LC_pre.jpg; cursor:hand; ">
  358. <caption/>
  359. <script type="javascript" ev:event="onclick">
  360. <![CDATA[
  361. consent.page_prev()
  362. ]]>
  363. </script>
  364. </img>
  365. <caption id="totalpage" ref="/root/variable/totalpage" style="left:158px; top:13px; width:15px; height:15px; vertical-align:middle; ">
  366. <![CDATA[0]]>
  367. <script type="javascript" ev:event="onclick">
  368. <![CDATA[
  369. alert(consent.GetCheckData());
  370. ]]>
  371. </script>
  372. </caption>
  373. <caption id="nowpage" ref="/root/variable/nowpage" style="left:130px; top:13px; width:15px; height:15px; vertical-align:middle; ">0</caption>
  374. <img id="init" navindex="3" appearance="image" style="left:186px; top:7px; width:29px; height:33px; background-image:../../../emr/imgemrweb/images/LC_new.jpg; cursor:hand; ">
  375. <caption/>
  376. <script type="javascript" ev:event="onclick">
  377. <![CDATA[
  378. consent.init()
  379. ]]>
  380. </script>
  381. </img>
  382. <img id="button7" appearance="image" style="left:441px; top:6px; width:30px; height:27px; background-image:../../../emr/imgemrweb/images/LC_undo.jpg; cursor:hand; ">
  383. <caption/>
  384. <script type="javascript" ev:event="onclick">
  385. <![CDATA[
  386. consent.undo();
  387. ]]>
  388. </script>
  389. </img>
  390. <img id="button8" appearance="image" style="left:495px; top:6px; width:30px; height:27px; background-image:../../../emr/imgemrweb/images/LC_redo.jpg; cursor:hand; ">
  391. <caption/>
  392. <script type="javascript" ev:event="onclick">
  393. <![CDATA[
  394. consent.redo();
  395. ]]>
  396. </script>
  397. </img>
  398. <img id="button10" visibility="hidden" appearance="image" style="left:375px; top:5px; width:30px; height:27px; background-image:../../../emr/imgemrweb/images/LC_multi.jpg; cursor:hand; ">
  399. <caption/>
  400. <script type="javascript" ev:event="onclick">
  401. <![CDATA[
  402. //멀티창 구현
  403. consent.SendProtocol("EVENT,CLOSE");
  404. consent.Sever_start(9999);
  405. var fso = new ActiveXObject("Scripting.FileSystemObject");
  406. var path = "C:\\Program Files\\himed\\components\\LCTech\\ConsentWriterC.exe";
  407. if (fso.FileExists(path))
  408. {
  409. var oShell = new ActiveXObject("Shell.Application");
  410. oShell.ShellExecute(path, "", "", "open", "0");
  411. }
  412. else
  413. {
  414. path = "C:\\Program files (x86)\\himed\\components\\LCTech\\ConsentWriterC.exe"
  415. if (fso.FileExists(path))
  416. {
  417. var oShell = new ActiveXObject("Shell.Application");
  418. oShell.ShellExecute(path, "", "", "open", "0");
  419. }
  420. else
  421. {
  422. alert("클라이언트 프로그램을 찾을수 없습니다. 문의해주세요");
  423. }
  424. }
  425. //body.createChild("xforms:iviewer", "id:ivr_progress; src:../../../emr/formmngtweb/xrw/SSMRF04600.xrw; left:100px; top:250px; width:330px; height:120px;");
  426. ]]>
  427. </script>
  428. </img>
  429. <img id="button13" appearance="image" style="left:234px; top:6px; width:24px; height:23px; background-image:../../../emr/imgemrweb/images/LC_save.jpg; cursor:hand; ">
  430. <caption/>
  431. <script type="javascript" ev:event="onclick">
  432. <![CDATA[
  433. ImageSave()
  434. ]]>
  435. </script>
  436. <hint>
  437. <![CDATA[저장]]>
  438. </hint>
  439. </img>
  440. <line id="line2" style="x1:149px; y1:7px; x2:149px; y2:32px; "/>
  441. <button id="button1" class="btn4_letter5" style="left:10px; top:5px; width:110px; height:30px; ">
  442. <caption>동의서오픈</caption>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. fOpenEOCR();
  446. ]]>
  447. </script>
  448. </button>
  449. </group>
  450. <object id="consent" clsid="{050ef158-1f42-4c56-8900-071090a173d1}" style="left:170px; top:80px; width:785px; height:935px; ">
  451. <script type="javascript" ev:event="OnPageChange()">
  452. <![CDATA[
  453. model.setValue("/root/variable/nowpage",consent.NowPage);
  454. model.setValue("/root/variable/totalpage",consent.TotalPage);
  455. model.refresh();
  456. ]]>
  457. </script>
  458. <script type="javascript" ev:event="LOADOK()">
  459. <![CDATA[
  460. if(model.getValue("/root/reqdata/tmflag") != "N")
  461. {
  462. consent.SendProtocol("EVENT,CLOSE");
  463. consent.Sever_start(9999);
  464. var fso = new ActiveXObject("Scripting.FileSystemObject");
  465. var path = "C:\\Program Files\\himed\\components\\LCTech\\ConsentWriterC.exe";
  466. if (fso.FileExists(path))
  467. {
  468. var oShell = new ActiveXObject("Shell.Application");
  469. oShell.ShellExecute(path, "", "", "open", "1");
  470. }
  471. else
  472. {
  473. path = "C:\\Program files (x86)\\himed\\components\\LCTech\\ConsentWriterC.exe"
  474. if (fso.FileExists(path))
  475. {
  476. var oShell = new ActiveXObject("Shell.Application");
  477. oShell.ShellExecute(path, "", "", "open", "1");
  478. }
  479. else
  480. {
  481. alert("클라이언트 프로그램을 찾을수 없습니다. 문의해주세요");
  482. }
  483. }
  484. }
  485. ]]>
  486. </script>
  487. <script type="javascript" ev:event="NoCheck(name)">
  488. <![CDATA[
  489. messageBox("체크나 싸인이 되지않았습니다. 위치 : " + name, "I", "");
  490. ]]>
  491. </script>
  492. <script type="javascript" ev:event="SignPadInPut(lineid)">
  493. <![CDATA[
  494. ShowPad(consent.padlineid);
  495. ]]>
  496. </script>
  497. </object>
  498. <script type="javascript" ev:event="onwindowresize">
  499. <![CDATA[
  500. if(window.type != "iviewer")
  501. {
  502. //fiviewerGetResize();
  503. }
  504. else
  505. {
  506. //fGetResize();
  507. }
  508. ]]>
  509. </script>
  510. <object id="f_ltp" clsid="{b8637779-ef35-4290-9c7a-f1842f40c2fe}" style="left:965px; top:45px; width:15px; height:15px; "/>
  511. <button id="signpadput" visibility="hidden" style="left:985px; top:36px; width:30px; height:40px; ">
  512. <caption>button14</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. PadImgPut();
  516. ]]>
  517. </script>
  518. </button>
  519. <button id="button14" style="left:980px; top:85px; width:67px; height:35px; ">
  520. <caption>
  521. <![CDATA[전자
  522. 동의]]>
  523. </caption>
  524. <script type="javascript" ev:event="DOMActivate">
  525. <![CDATA[
  526. fOpenEOCR();
  527. ]]>
  528. </script>
  529. </button>
  530. <datagrid id="grd_ipatlist" nodeset="/root/main/patinfo/ipatlist" caption="등록번호^이름^caption3" colsep="^" colwidth="76, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:0px; width:155px; height:631px; ">
  531. <col ref="pid"/>
  532. <col ref="hngnm"/>
  533. <col/>
  534. <script type="javascript" ev:event="ondblclick">
  535. <![CDATA[
  536. fSelectPat();
  537. ]]>
  538. </script>
  539. </datagrid>
  540. <datagrid id="grd_favformlist" nodeset="/root/main/forminfo/formlist" caption="서식명^서식코드^caption3" colsep="^" colwidth="145, 100, 100" dataheight="200" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:645px; width:155px; height:345px; ">
  541. <col ref="formnm" style="height:200; font-size:14pt; font-weight:bold; color:#0000ff; "/>
  542. <col ref="formcd" style="height:200; font-size:14pt; "/>
  543. <col ref="cretno" style="height:200; "/>
  544. <script type="javascript" ev:event="ondblclick">
  545. <![CDATA[
  546. fSelectForm();
  547. ]]>
  548. </script>
  549. </datagrid>
  550. </xhtml:body>
  551. </xhtml:html>