SMMNE00200_퇴실정리(응급실).xrw 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>퇴실정리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <inddpatlist>
  11. <inddpatinfo>
  12. <bedposcnts/>
  13. <patnm/>
  14. <sexage/>
  15. <pid/>
  16. <ioflag/>
  17. <indd/>
  18. <intm/>
  19. <cretno/>
  20. <seqno/>
  21. <instcd/>
  22. <dschdclrtyn/>
  23. <visitno/>
  24. <chosdt/>
  25. <dschdclrdt/>
  26. <orddeptcd/>
  27. <orddrid/>
  28. <roomcd/>
  29. <medispclid/>
  30. <assgroom/>
  31. <wardcd/>
  32. <ordtype/>
  33. <dethdd/>
  34. <dethtm/>
  35. <dethyn/>
  36. <g3existyn/>
  37. <inrsrvacptdt/>
  38. <uncnfmcnt/>
  39. <oxyconcen/>
  40. <recovwardcd/>
  41. <fstexamorddd/>
  42. </inddpatinfo>
  43. </inddpatlist>
  44. <incplist>
  45. <testinfo>
  46. <execyn/>
  47. <viewstat/>
  48. <prcpdd/>
  49. <prcpcd/>
  50. <prcpnm/>
  51. <prcpvol/>
  52. <prcpqty/>
  53. <prcptims/>
  54. <prcpdayno/>
  55. <prcphopedd/>
  56. <prcpno/>
  57. <prcphistno/>
  58. <pid/>
  59. <orddd/>
  60. <cretno/>
  61. <instcd/>
  62. <selectyn/>
  63. <prcpflag/>
  64. <testtp/>
  65. <inclprcpcd/>
  66. <prcpexecdeptcd/>
  67. <prcpstatcd/>
  68. <clinccmtcnts/>
  69. <grupsnglflag/>
  70. <c2check/>
  71. <dcyn/>
  72. <prcpclscd/>
  73. </testinfo>
  74. <narcoticlist>
  75. <narcstat/>
  76. <cnclstat/>
  77. <rtnstat/>
  78. <prcpdd/>
  79. <prcpcd/>
  80. <prcpnm/>
  81. </narcoticlist>
  82. <inginfo>
  83. <execyn/>
  84. <prcphopedd/>
  85. <drugno/>
  86. <orddeptcd/>
  87. <orddrid/>
  88. <prcpstatcd/>
  89. <prcpmixno/>
  90. <precureprcpflag/>
  91. <prcphistno/>
  92. <prcpcd/>
  93. <prcpvol/>
  94. <prcpvolunitflag/>
  95. <prcpqty/>
  96. <prcpqtyunitflag/>
  97. <pharmprnt/>
  98. <clinccmtcnts/>
  99. <prcpnm/>
  100. <drugdd/>
  101. <prcpdd/>
  102. <prcpkindcdyn/>
  103. <prcpno/>
  104. <pid/>
  105. <orddd/>
  106. <cretno/>
  107. <instcd/>
  108. <selectyn/>
  109. <prcpflag/>
  110. <prcpclscd/>
  111. <prcpgenrflag/>
  112. <wardcd/>
  113. <hosinhosoutflag/>
  114. <prcptims/>
  115. <prcpdayno/>
  116. </inginfo>
  117. </incplist>
  118. <condition>
  119. <section>-</section>
  120. <outrmdd/>
  121. <outrmtm/>
  122. <outrmtp/>
  123. <chnghospcd/>
  124. <chnghospnm/>
  125. <chnghospnmetc/>
  126. <outrmcd/>
  127. <dethdd/>
  128. <dethtm/>
  129. <pid/>
  130. <healcaretgdyn/>
  131. <proceraprvyn/>
  132. <researchflag/>
  133. <t_patinfo/>
  134. <t_chosdt/>
  135. <t_outrmdt/>
  136. <t_calctm/>
  137. <t_assgroom/>
  138. <outrmetc/>
  139. <etcchoi/>
  140. <chnghospchoi/>
  141. <dschhosptype/>
  142. <cmb/>
  143. <typedetl/>
  144. <t_fstexamorddd/>
  145. <outarea/>
  146. <outhsrt/>
  147. </condition>
  148. <basepatinfo>
  149. <patinfo/>
  150. <inddtm/>
  151. <outtm/>
  152. <staytm/>
  153. <assgroom/>
  154. </basepatinfo>
  155. <ertriage/>
  156. </main>
  157. <send>
  158. <cond1/>
  159. <cond2/>
  160. <cond3/>
  161. <signinfo>
  162. <signdata/>
  163. </signinfo>
  164. </send>
  165. <init>
  166. <ocrchkinfo/>
  167. <erbaselist>
  168. <outrminfo>
  169. </outrminfo>
  170. <bedinfo>
  171. </bedinfo>
  172. </erbaselist>
  173. <M0011list>
  174. <M0011>
  175. </M0011>
  176. </M0011list>
  177. <statclist>
  178. <statinfo>
  179. <cdnm>-</cdnm>
  180. <cdid>-</cdid>
  181. </statinfo>
  182. <statinfo>
  183. <cdnm>D/C</cdnm>
  184. <cdid>1</cdid>
  185. </statinfo>
  186. <statinfo>
  187. <cdnm>Acting</cdnm>
  188. <cdid>2</cdid>
  189. </statinfo>
  190. <statinfo>
  191. <cdnm>병동이관</cdnm>
  192. <cdid>3</cdid>
  193. </statinfo>
  194. </statclist>
  195. <execflag>
  196. <item>
  197. <cdnm>N</cdnm>
  198. <cdid>N</cdid>
  199. </item>
  200. <item>
  201. <cdnm>Y</cdnm>
  202. <cdid>Y</cdid>
  203. </item>
  204. <item>
  205. <cdnm>반환요청</cdnm>
  206. <cdid>DC</cdid>
  207. </item>
  208. <item>
  209. <cdnm>반환요청</cdnm>
  210. <cdid>E</cdid>
  211. </item>
  212. <item>
  213. <cdnm>ABN</cdnm>
  214. <cdid>폐기요청</cdid>
  215. </item>
  216. <item>
  217. <cdnm>퇴원후</cdnm>
  218. <cdid>OUT</cdid>
  219. </item>
  220. <item>
  221. <cdnm>N</cdnm>
  222. <cdid>PRE</cdid>
  223. </item>
  224. </execflag>
  225. <M0535list>
  226. <M0535>
  227. </M0535>
  228. </M0535list>
  229. </init>
  230. <hidden>
  231. <item>
  232. <label/>
  233. <value/>
  234. </item>
  235. </hidden>
  236. <item>
  237. </item>
  238. <codedata>
  239. <popupmenu>
  240. <grid00>
  241. <item>
  242. <name>D/C</name>
  243. <func>DefTestDC</func>
  244. </item>
  245. <item>
  246. <name>Acting</name>
  247. <func>DefTestAct</func>
  248. </item>
  249. </grid00>
  250. <grid01>
  251. <item>
  252. <name>상태초기화</name>
  253. <func>ChosTestInit</func>
  254. </item>
  255. <item>
  256. <name>병동이관</name>
  257. <func>ChosTestWard</func>
  258. </item>
  259. <item>
  260. <name>D/C</name>
  261. <func>ChosTestDC</func>
  262. </item>
  263. <item>
  264. <name>Acting</name>
  265. <func>ChosTestAct</func>
  266. </item>
  267. </grid01>
  268. <grid02>
  269. <item>
  270. <name>상태초기화</name>
  271. <func>ChosTestInit</func>
  272. </item>
  273. <item>
  274. <name>D/C</name>
  275. <func>ChosTestDC</func>
  276. </item>
  277. <item>
  278. <name>Acting</name>
  279. <func>ChosTestAct</func>
  280. </item>
  281. </grid02>
  282. <grid10>
  283. <item>
  284. <name>D/C</name>
  285. <func>DefIngDC</func>
  286. </item>
  287. </grid10>
  288. <grid11>
  289. <item>
  290. <name>상태초기화</name>
  291. <func>ChosIngInit</func>
  292. </item>
  293. <item>
  294. <name>D/C</name>
  295. <func>ChosIngDC</func>
  296. </item>
  297. </grid11>
  298. </popupmenu>
  299. </codedata>
  300. <save>
  301. <saveflaginfo>
  302. <savedataflag/>
  303. <saveflag/>
  304. <prcpflag/>
  305. <inptflag/>
  306. <deptcd/>
  307. <deptnm/>
  308. <userid/>
  309. <usernm/>
  310. <signyn/>
  311. <pamflag/>
  312. <diagflag/>
  313. <prcperrflag/>
  314. </saveflaginfo>
  315. <savergstinfo>
  316. <pid/>
  317. <orddd/>
  318. <indd/>
  319. <cretno/>
  320. <orddeptcd/>
  321. <orddrid/>
  322. <instcd/>
  323. </savergstinfo>
  324. <saveprcpinfo>
  325. <prcpdd/>
  326. <prcpno/>
  327. <prcphistno/>
  328. <instcd/>
  329. <status/>
  330. <rowno/>
  331. </saveprcpinfo>
  332. </save>
  333. <date>
  334. <refdd/>
  335. <maxDate/>
  336. <minDate/>
  337. </date>
  338. <temp>
  339. <patinforesrch>
  340. <patinfo/>
  341. <bloodinfo>
  342. <bloodcomment/>
  343. </bloodinfo>
  344. </patinforesrch>
  345. <transinfo>
  346. <translist/>
  347. </transinfo>
  348. </temp>
  349. <signinfo>
  350. <reqsigncond>
  351. <pid/>
  352. <instcd/>
  353. <indd/>
  354. <cretno/>
  355. <prcpdd/>
  356. <prcpno/>
  357. <workdd/>
  358. <listflag/>
  359. <nursnm/>
  360. <hngnm/>
  361. <medrexecdd/>
  362. <medrexectm/>
  363. <prcpddprcpno/>
  364. </reqsigncond>
  365. <signdruginfo>
  366. <signdruglist>
  367. <pid/>
  368. <hngnm/>
  369. <prcpdd/>
  370. <execdd/>
  371. <prcpkindnm/>
  372. <prcpmixno/>
  373. <prcpcd/>
  374. <prcpnm/>
  375. <prcpvolnm/>
  376. <prcpqtynm/>
  377. <abbrnm/>
  378. <exectm/>
  379. <nursnm/>
  380. <execcarestatnm/>
  381. <carecfactnm/>
  382. <orddrnm/>
  383. </signdruglist>
  384. </signdruginfo>
  385. <signsave>
  386. <signdata>
  387. <pid/>
  388. <hngnm/>
  389. <prcpdd/>
  390. <execdd/>
  391. <prcpkindnm/>
  392. <prcpmixno/>
  393. <prcpcd/>
  394. <prcpnm/>
  395. <prcpvolnm/>
  396. <prcpqtynm/>
  397. <abbrnm/>
  398. <exectm/>
  399. <nursnm/>
  400. <execcarestatnm/>
  401. <carecfactnm/>
  402. <orddrnm/>
  403. <orddd/>
  404. <signno/>
  405. <cretno/>
  406. <recdd/>
  407. <rectm/>
  408. <recsaveflag/>
  409. <signflag/>
  410. <signgenrflag/>
  411. <formcd/>
  412. <orddeptcd/>
  413. <orddrid/>
  414. <signbfcnts/>
  415. <signaftcnts/>
  416. <execprcpuniqno/>
  417. <signflagyn/>
  418. <dispyn/>
  419. </signdata>
  420. </signsave>
  421. </signinfo>
  422. <hidden1>
  423. <incplist/>
  424. </hidden1>
  425. <codeinfo/>
  426. <hidden2>
  427. <item>
  428. <label/>
  429. <value/>
  430. </item>
  431. </hidden2>
  432. </root>
  433. </instance>
  434. <script type="javascript" ev:event="xforms-ready">
  435. <![CDATA[
  436. fInit();
  437. ]]>
  438. </script>
  439. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  440. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  441. <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
  442. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB01810.js"/>
  443. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  444. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  445. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  446. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE00200.js"/>
  447. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  448. <!-- (20080917) 김보성-->
  449. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  450. <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
  451. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  452. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  453. <!-- (20080917) -->
  454. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
  455. <submission id="TRMNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/patinforesrch"/>
  456. <submission id="TRMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/erbaselist"/>
  457. <submission id="TRMNE00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ocrchkinfo"/>
  458. <submission id="TRMNE00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/callno"/>
  459. <submission id="TRMNE00207" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/smsmsg/log" resultref="/root/main/smsyn"/>
  460. <submission id="TXMNE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inddpatlist"/>
  461. <submission id="TXMNE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/incplist"/>
  462. <submission id="TXMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  463. <submission id="TXMNE00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/incplist"/>
  464. <submission id="TRZBC00101" method="post" replace="instance"/>
  465. <!-- (20080917) 김보성-->
  466. <submission id="TRMNR00608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/signinfo/reqsigncond" resultref="/root/signinfo/signsave"/>
  467. <submission id="TRMNR00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/signinfo/reqsigncond" resultref="/root/signinfo/signdruginfo"/>
  468. <submission id="TXMNR00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drugsign" replace="instance" resultref="/root/sign/viewdata"/>
  469. <!-- (20080917) -->
  470. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/barcdprntsetup"/>
  471. <submission id="TRMNE04403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ertriage"/>
  472. <!-- 20110721_KNUH_Start-->
  473. <submission id="TRMNB00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/transinfo"/>
  474. <submission id="TRMNW01208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data26" resultref="/root/temp/specordprtinfo"/>
  475. <!-- 20111104 KJS SMS-->
  476. <submission id="TXMNE00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/smsmsg" replace="instance" resultref="/root/temp"/>
  477. <!--2012.10.16 KJS 퇴원약, 외래예약, 검사예약 가지고 오기-->
  478. <submission id="TRMNW10001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/rsrvinfo"/>
  479. <!--2013.12.18 KJS 퇴실결과가 입원인 경우 타부서 미수행 진료재료 이관-->
  480. <submission id="TRMNW01307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpinfo" resultref="/root/main/prcpinfo"/>
  481. <script type="javascript">
  482. <![CDATA[
  483. function fChkSpecOrdPrt() {
  484. model.makeNode("/root/main/paminfo");
  485. var node = getGlobalVariable("paminfo");
  486. setCSVToNode("/root/main/paminfo", node);
  487. var s_pid = model.getValue("/root/main/paminfo/list/pid");;
  488. var s_ordtype = 'I';
  489. var s_orddd = model.getValue("/root/main/paminfo/list/indd");
  490. var s_orddeptcd = model.getValue("/root/main/paminfo/list/orddeptcd");
  491. var s_orddrid = model.getValue("/root/main/paminfo/list/medispclid");
  492. var s_fromdd = model.getValue("/root/main/paminfo/list/indd");
  493. var s_hngnm = model.getValue("/root/main/paminfo/list/hngnm");
  494. var s_rrgstno1 = model.getValue("/root/main/paminfo/list/rrgstno1");
  495. var s_rrgstno2 = model.getValue("/root/main/paminfo/list/rrgstno2");
  496. var sOrddeptcdMsg = model.getValue("/root/main/paminfo/list/orddeptnm");
  497. var sOrddridMsg = model.getValue("/root/main/paminfo/list/orddrnm");
  498. model.makeValue("/root/send/data26/pid", s_pid); // pid
  499. model.makeValue("/root/send/data26/ordtype", "I"); // ordtype
  500. model.makeValue("/root/send/data26/indd", s_orddd);// orddd
  501. model.makeValue("/root/send/data26/orddd", s_orddd);// orddd
  502. model.makeValue("/root/send/data26/orddeptcd", s_orddeptcd); // orddeptcd
  503. model.makeValue("/root/send/data26/medispclid", s_orddrid); // orddrid
  504. model.makeValue("/root/send/data26/orddrid", s_orddrid); // orddrid
  505. // submit("TRPMI00406");
  506. //
  507. // if (model.getValue("/root/tempchk/specapp/rgstyn") == "N") {
  508. //
  509. // var sMsg = "[" + sOrddeptcdMsg + "]" + "[" + sOrddridMsg + "]";
  510. //
  511. // if( messageBox(sMsg + " 선택진료 등록이 되어 있지 않습니다. 등록하시겠습니까?", "Q999", "") == 6 ){
  512. // fCallSpecPopUp(s_pid,s_ordtype,s_orddd,s_orddeptcd,s_orddrid,s_fromdd,s_hngnm,s_rrgstno1,s_rrgstno2);
  513. // }
  514. // } else {
  515. //
  516. submit("TRMNW01208");
  517. var existyn = model.getValue("/root/temp/specordprtinfo/specordprtlist/existyn");
  518. if(existyn == "N") {
  519. //messageBox("출력된 메세지없음", "I");
  520. } else {
  521. messageBox("선택진료 동의 확인이 되지않았습니다.", "I");
  522. setParameter("SMPMC06503_PARM_PID", s_pid);
  523. modal("SMPMC06503");
  524. //fCallSpecPopUp(s_pid,s_ordtype,s_orddd,s_orddeptcd,s_orddrid,s_fromdd,s_hngnm,s_rrgstno1,s_rrgstno2);
  525. }
  526. // }
  527. }
  528. ]]>
  529. </script>
  530. <submission id="TRPMI00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data26" resultref="/root/temp/specordininfo"/>
  531. </model>
  532. </xhtml:head>
  533. <xhtml:body guideline="1,1195;1,4;1,1194;1,254;1,1185;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  534. <group id="group3" scroll="auto" style="left:0px; top:10px; width:1195px; height:744px; ">
  535. <input id="ipt_chnghosnmetc" ref="/root/main/condition/chnghospnmetc" visibility="hidden" style="left:995px; top:56px; width:123px; height:19px; "/>
  536. <select1 id="cmb_etc" ref="/root/main/condition/cmb" visibility="hidden" appearance="minimal" style="left:445px; top:80px; width:402px; height:19px; ">
  537. <choices>
  538. <item>
  539. <label>탈원-응급실 내원 후 경과 관찰 중 환자 무단이탈하여 연락되지 않아 주치의에게 보고 후 임의퇴원처리 함</label>
  540. <value>1</value>
  541. </item>
  542. <item>
  543. <label>접수-접수하였으나 치료 시행하지 않아 퇴실 처리함</label>
  544. <value>2</value>
  545. </item>
  546. <item>
  547. <label>접퇴-접수하여 문진 시행 후 다른 치료 필요하지 않아 퇴실 처리함</label>
  548. <value>3</value>
  549. </item>
  550. </choices>
  551. <script type="javascript" ev:event="xforms-value-changed">
  552. <![CDATA[
  553. ipt_outrmetc.value= cmb_etc.label
  554. ]]>
  555. </script>
  556. </select1>
  557. <line id="line8" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  558. <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
  559. <line id="line1" class="line_3" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
  560. <button id="btn_outsave" class="btn5_letter4" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:1121px; top:56px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  561. <caption>퇴실처리</caption>
  562. <script type="javascript" ev:event="onclick">
  563. <![CDATA[
  564. fChkSpecOrdPrt();
  565. fOutRmTret();
  566. ]]>
  567. </script>
  568. </button>
  569. <select1 id="cmb_section" ref="/root/main/condition/section" class="combo_default" appearance="minimal" style="left:56px; top:114px; width:196px; height:19px; ">
  570. <choices>
  571. <itemset nodeset="/root/init/erbaselist/bedinfo">
  572. <label ref="bednm"/>
  573. <value ref="bedcd"/>
  574. </itemset>
  575. </choices>
  576. <script type="javascript" ev:event="xforms-value-changed">
  577. <![CDATA[
  578. fGetPatList();
  579. ]]>
  580. </script>
  581. </select1>
  582. <caption id="caption9" class="cell_1" style="left:198px; top:29px; width:56px; height:22px; text-align:center; vertical-align:middle; ">퇴실구분</caption>
  583. <caption id="caption10" class="cell_1" style="left:0px; top:113px; width:54px; height:21px; text-align:center; vertical-align:middle; ">Section</caption>
  584. <caption id="caption60" class="tit_2" style="left:4px; top:91px; width:100px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자리스트</caption>
  585. <datagrid id="grd_patlist" nodeset="/root/main/inddpatlist/inddpatinfo" allowselection="false" backcoloralternate="#ffffff" caption="Bed^환자명^S/A^등록번호^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^ioflag^indd^cretno^seqno^instcd^dschdclrtyn^visitno" colsep="^" colwidth="45, 65, 47, 75, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="33" rowsep="|" tooltip="true" rowhader="seq" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:137px; width:252px; height:603px; ">
  586. <col ref="bedposcnts" style="text-align:left; "/>
  587. <col ref="patnm" style="text-align:left; "/>
  588. <col ref="sexage" style="text-align:center; "/>
  589. <col ref="pid" style="text-align:left; "/>
  590. <col ref="erorddeptcd" visibility="hidden"/>
  591. <col ref="dschdclrdt" visibility="hidden"/>
  592. <col ref="ermedispclid" visibility="hidden"/>
  593. <col ref="erordeptnm" visibility="hidden"/>
  594. <col ref="ermedispclnm" visibility="hidden"/>
  595. <col ref="nursnm" visibility="hidden"/>
  596. <col ref="chosdt" visibility="hidden"/>
  597. <col ref="orddeptcd" visibility="hidden"/>
  598. <col ref="orddrid" visibility="hidden"/>
  599. <col ref="roomcd" visibility="hidden"/>
  600. <col ref="medispclid" visibility="hidden"/>
  601. <col ref="assgroom" visibility="hidden"/>
  602. <col ref="intm" visibility="hidden"/>
  603. <col ref="wardcd" visibility="hidden"/>
  604. <col ref="ordtype" visibility="hidden"/>
  605. <col ref="dethdd" visibility="hidden"/>
  606. <col ref="dethtm" visibility="hidden"/>
  607. <col ref="dethyn" visibility="hidden"/>
  608. <col ref="g3existyn" visibility="hidden"/>
  609. <col ref="inrsrvacptdt" visibility="hidden"/>
  610. <col ref="uncnfmcnt" visibility="hidden"/>
  611. <col ref="oxyconcen" visibility="hidden"/>
  612. <col ref="recovwardcd" visibility="hidden"/>
  613. <col ref="fstexamorddd" visibility="hidden"/>
  614. <col ref="ioflag" visibility="hidden"/>
  615. <col ref="indd" visibility="hidden"/>
  616. <col ref="cretno" visibility="hidden"/>
  617. <col ref="seqno" visibility="hidden"/>
  618. <col ref="instcd" visibility="hidden"/>
  619. <col ref="dschdclrtyn" visibility="hidden"/>
  620. <col ref="visitno" visibility="hidden"/>
  621. <script type="javascript" ev:event="ondblclick">
  622. <![CDATA[
  623. fSelectPatList();
  624. ]]>
  625. </script>
  626. <script type="javascript" ev:event="onclick">
  627. <![CDATA[
  628. fChangeFocusColor();
  629. ]]>
  630. </script>
  631. <script type="javascript" ev:event="onaftersort">
  632. <![CDATA[
  633. grd_patlist.gridToInstance();
  634. ]]>
  635. </script>
  636. </datagrid>
  637. <button id="btn_chartmv" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter5.gif" style="left:1110px; top:31px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter5.gif; ">
  638. <caption>Chart 이동</caption>
  639. <script type="javascript" ev:event="DOMActivate">
  640. <![CDATA[
  641. setParameter("inwardcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/wardcd"));
  642. setParameter("inroomcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/assgroom"));
  643. setParameter("pid", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid"));
  644. //setParameter("inwardcd", "3060600000");
  645. //modal ( "SMMRC00400" );
  646. modal("SMMRC02300");
  647. ]]>
  648. </script>
  649. </button>
  650. <button id="button1" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1045px; top:31px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  651. <caption>예약등록</caption>
  652. <script type="javascript" ev:event="DOMActivate">
  653. <![CDATA[
  654. // var sPid = getPatientId();
  655. var sPid = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/pid" ) ;
  656. if( sPid == "" ){
  657. messageBox("환자가 선택되지 않았습니다.", "E");
  658. return;
  659. }
  660. //setParameter("SMPMO00300_PARM1", model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/orddeptcd" ) ); //진료과코드
  661. //setParameter("SMPMO00300_PARM2", model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/medispclid" ) ); //진료의사코드
  662. //setParameter("SMPMO00300_PARM3" , sPid ); //환자번호
  663. setParameter("SMPMO00200_PARM2", sPid +"▦"+ model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/orddeptcd" ) +"▦"+ model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/medispclid" )); // 수정_20081205(ByJA)
  664. setParameter("SMPMO00300_PARM3" , 'B' ); // 수정_20081205(ByJA)
  665. setParameter("SMPMO00300_RSRVFLAG" , "I"); // 예약구분 추가_20081205(ByJA)
  666. modal ( "SMPMO00300" );//, "1","690", "550", "SMPMO00300", "/root/source", "/root/send");
  667. ]]>
  668. </script>
  669. </button>
  670. <button id="btn_actingck" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter7.gif" style="left:947px; top:31px; width:97px; height:19px; background-image:../../../com/commonweb/images/btn2_letter7.gif; ">
  671. <caption>Acting Check</caption>
  672. <script type="javascript" ev:event="DOMActivate">
  673. <![CDATA[
  674. /* 차현철 대리님 로직으로 변경
  675. var cnfmflag = "A";
  676. var fromdd = model.getValue("/root/date/minDate");
  677. var todd = model.getValue("/root/date/maxDate");
  678. if(fromdd != "" && todd != ""){
  679. setParameter("cnfmflag", cnfmflag);
  680. setParameter("fromdd", fromdd);
  681. setParameter("todd", todd);
  682. }
  683. open("SMMNW00800","1","15","128", "SMMNW00800", "/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]", "/root/temp/patinfo");
  684. */
  685. // 변경로직
  686. var fromdd = model.getValue("/root/date/minDate");
  687. var todd = model.getValue("/root/date/maxDate");
  688. /*
  689. if (cnfm_color != "#ffffff") {
  690. cnfmflag = "A";
  691. fromdd = model.getValue("/root/main_om/ominfo/prcpddinfo/prcpappddlist[" + grd_prcpappddlist.row + "]/prcpdd");
  692. todd = model.getValue("/root/main_om/ominfo/prcpddinfo/prcpappddlist[" + grd_prcpappddlist.row + "]/prcpdd");
  693. } else if (uncnfm_color != "#ffffff") {
  694. cnfmflag = "N";
  695. fromdd = model.getValue("/root/main_om/ominfo/prcpddinfo/uncnfmprcpddlist[" + grd_uncnfmprcpddlist.row + "]/prcpdd");
  696. todd = model.getValue("/root/main_om/ominfo/prcpddinfo/uncnfmprcpddlist[" + grd_uncnfmprcpddlist.row + "]/prcpdd");
  697. }
  698. */
  699. if( grd_patlist.row < 1){
  700. messageBox("환자를 선택하지 않았습니다","E");
  701. }else{
  702. //setParameter("wardcd", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/wardcd"));
  703. setParameter("wardcd", "2280200000");
  704. }
  705. if(model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid") !=""){
  706. setParameter("pid", model.getValue("/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid"));
  707. // setParameter("fromdd", fromdd);
  708. // setParameter("todd", todd);
  709. }
  710. setParameter("unitflag", "emc");
  711. open("SMMNW10700","1","15","128", "SMMNW10700");
  712. ]]>
  713. </script>
  714. </button>
  715. <caption id="caption7" class="cell_1" style="left:0px; top:29px; width:57px; height:22px; text-align:center; vertical-align:middle; ">퇴실일시</caption>
  716. <input id="ipt_outrddd" ref="/root/main/condition/outrmdd" class="input_default" inputtype="date" style="left:58px; top:31px; width:95px; height:19px; ">
  717. <script type="javascript" ev:event="xforms-value-changed">
  718. <![CDATA[
  719. fChkOutrmdd();
  720. model.setValue("/root/main/condition/t_calctm", fCalcChosOut());
  721. output4.refresh();
  722. ]]>
  723. </script>
  724. </input>
  725. <input id="ipt_outrmtm" ref="/root/main/condition/outrmtm" class="input_default" format="hh:nn" style="left:155px; top:31px; width:40px; height:19px; ">
  726. <script type="javascript" ev:event="DOMFocusOut">
  727. <![CDATA[
  728. fChkOutrmdd();
  729. model.setValue("/root/main/condition/t_calctm", fCalcChosOut());
  730. output4.refresh();
  731. ]]>
  732. </script>
  733. </input>
  734. <button id="btn_antimv" class="btn_sw" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:376px; top:84px; width:58px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  735. <caption>마약</caption>
  736. <toggle case="case3" ev:event="onclick"/>
  737. <script type="javascript" ev:event="DOMActivate">
  738. <![CDATA[
  739. model.toggle("case3");
  740. ]]>
  741. </script>
  742. </button>
  743. <button id="btn_ingmv" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:313px; top:84px; width:63px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  744. <caption>약/주사</caption>
  745. <toggle case="case2" ev:event="onclick"/>
  746. <script type="javascript" ev:event="DOMActivate">
  747. <![CDATA[
  748. fSelectInddPatList("S"); //검사, 약주사, 마약 조회
  749. if(grd_narcoticlist.rows != '1') {
  750. btn_antimv.visible = true;
  751. messageBox("미정리된 마약처방이 존재합니다.", "I");
  752. }
  753. else {
  754. btn_antimv.visible = false;
  755. }
  756. model.toggle("case2");
  757. ]]>
  758. </script>
  759. </button>
  760. <button id="btn_testmv" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:255px; top:84px; width:58px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  761. <caption>검사</caption>
  762. <toggle case="case1" ev:event="onclick"/>
  763. <script type="javascript" ev:event="DOMActivate">
  764. <![CDATA[
  765. btn_antimv.visible = false;
  766. model.toggle("case1");
  767. ]]>
  768. </script>
  769. </button>
  770. <switch id="swt_outrmmenu" style="left:255px; top:105px; width:938px; height:635px; border-color:#c7a3cf; border-style:solid; ">
  771. <case id="case1" selected="true" style="left:0px; top:0px; width:935px; height:633px; border-top-color:#ffffff; ">
  772. <datagrid id="grd_testlist" nodeset="/root/main/incplist/testinfo" class="datagrid2" caption="시행여부^상태^처방일자^처방상태^처방코드^처방명^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^1일용량/1일수량/횟수/일수^Remark^적용일자^prcpno^prcphistno^pid^poddd^cretno^instcd" colsep="^" colwidth="70, 60, 70, 90, 80, 256, 45, 45, 45, 45, 173, 80, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
  773. <col disabled="true" ref="execyn" type="combo" style="text-align:center; ">
  774. <choices>
  775. <itemset nodeset="/root/init/execflag/item">
  776. <label ref="cdnm"/>
  777. <value ref="cdid"/>
  778. </itemset>
  779. </choices>
  780. </col>
  781. <col disabled="true" ref="viewstat" type="combo" style="text-align:center; ">
  782. <choices>
  783. <itemset nodeset="/root/init/statclist/statinfo">
  784. <label ref="cdnm"/>
  785. <value ref="cdid"/>
  786. </itemset>
  787. </choices>
  788. </col>
  789. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  790. <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
  791. <choices>
  792. <itemset nodeset="/root/init/M0011list/M0011">
  793. <label ref="cdnm"/>
  794. <value ref="cdid"/>
  795. </itemset>
  796. </choices>
  797. </col>
  798. <col ref="prcpcd" style="text-align:left; border-right-width:0; "/>
  799. <col ref="prcpnm" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  800. <col ref="prcpvol" style="text-align:center; border-left-width:0; border-right-width:0; "/>
  801. <col ref="prcpqty" style="text-align:center; border-left-width:0; border-right-width:0; "/>
  802. <col ref="prcptims" style="text-align:center; border-left-width:0; border-right-width:0; "/>
  803. <col ref="prcpdayno" style="text-align:center; border-left-width:0; "/>
  804. <col ref="clinccmtcnts"/>
  805. <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  806. <col ref="prcpno"/>
  807. <col ref="prcphistno"/>
  808. <col ref="pid"/>
  809. <col ref="orddd"/>
  810. <col ref="cretno"/>
  811. <col ref="instcd"/>
  812. <col ref="selectyn"/>
  813. <script type="javascript" ev:event="onmousedown">
  814. <![CDATA[
  815. // window.setPopupMenu( true, "/root/codedata/popupmenu/grid01/item", "name", "func", true);
  816. fPopupMenuInfo("T");
  817. ]]>
  818. </script>
  819. <script type="javascript" ev:event="DOMFocusOut">
  820. <![CDATA[
  821. window.setPopupMenu(false);
  822. ]]>
  823. </script>
  824. <script type="javascript" ev:event="onmouseup">
  825. <![CDATA[
  826. fSelectGridRowCtrl("/root/main/incplist/testinfo","T");
  827. ]]>
  828. </script>
  829. </datagrid>
  830. <caption id="caption21" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사</caption>
  831. <line id="line11" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
  832. <button id="button3" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:843px; top:5px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  833. <caption>검사상태저장</caption>
  834. <script type="javascript" ev:event="DOMActivate">
  835. <![CDATA[
  836. fSaveTestPrcpAll();
  837. ]]>
  838. </script>
  839. </button>
  840. </case>
  841. <case id="case2" style="left:0px; top:0px; width:935px; height:633px; ">
  842. <datagrid id="grd_inglist" nodeset="/root/main/incplist/inginfo" class="datagrid2" caption="시행여부^적용일자^진료과^처방의^처방상태^처방코드^처방명^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^1일용량/1회수량/횟수/일수^약국&#xA;출력^선처&#xA;치^Mix&#xA;No^Seq^Remark^투약&#xA;번호^투약일자^처방일자^prcpkindcdyn^prcpno^pid^orddd^cretno^instcd" colsep="^" colwidth="70, 75, 50, 55, 80, 80, 260, 42, 30, 30, 35, 25, 25, 30, 30, 30, 30, 200, 50, 80, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
  843. <col disabled="true" ref="execyn" type="combo" style="text-align:center; ">
  844. <choices>
  845. <itemset nodeset="/root/init/execflag/item">
  846. <label ref="cdnm"/>
  847. <value ref="cdid"/>
  848. </itemset>
  849. </choices>
  850. </col>
  851. <col ref="prcphopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  852. <col ref="orddeptcd" style="text-align:center; "/>
  853. <col ref="orddrid" style="text-align:center; "/>
  854. <col disabled="true" ref="prcpstatcd" type="combo" style="text-align:center; ">
  855. <choices>
  856. <itemset nodeset="/root/init/M0011list/M0011">
  857. <label ref="cdnm"/>
  858. <value ref="cdid"/>
  859. </itemset>
  860. </choices>
  861. </col>
  862. <col ref="prcpcd" style="text-align:left; border-right-width:0; "/>
  863. <col ref="prcpnm" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  864. <col ref="prcpvol" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  865. <col ref="prcpvolunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  866. <col ref="prcpqty" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  867. <col ref="prcpqtyunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  868. <col ref="prcptims" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  869. <col ref="prcpdayno" style="text-align:left; border-left-width:0; "/>
  870. <col ref="pharmprnt" style="text-align:center; "/>
  871. <col ref="precureprcpflag" style="text-align:center; "/>
  872. <col ref="prcpmixno" style="text-align:center; "/>
  873. <col ref="prcphistno" style="text-align:center; "/>
  874. <col ref="clinccmtcnts"/>
  875. <col ref="drugno" style="text-align:right; "/>
  876. <col ref="drugdd" format="yyyy-mm-dd" style="text-align:center; "/>
  877. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  878. <col ref="prcpkindcdyn"/>
  879. <col ref="prcpno"/>
  880. <col ref="pid"/>
  881. <col ref="orddd"/>
  882. <col ref="cretno"/>
  883. <col ref="instcd"/>
  884. <col ref="prcpclscd"/>
  885. <col ref="prcpgenrflag"/>
  886. <col ref="wardcd"/>
  887. <col ref="hosinhosoutflag"/>
  888. <script type="javascript" ev:event="onmousedown">
  889. <![CDATA[
  890. fPopupMenuInfo("I");
  891. ]]>
  892. </script>
  893. <script type="javascript" ev:event="DOMFocusOut">
  894. <![CDATA[
  895. window.setPopupMenu(false);
  896. ]]>
  897. </script>
  898. <script type="javascript" ev:event="onmouseup">
  899. <![CDATA[
  900. fSelectGridRowCtrl("/root/main/incplist/inginfo","I" );
  901. ]]>
  902. </script>
  903. </datagrid>
  904. <caption id="caption17" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">약/주사</caption>
  905. <line id="line7" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
  906. <button id="btn_drugreturn" class="btn2_letter6" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:766px; top:5px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  907. <caption>투약저장확인</caption>
  908. <script type="javascript" ev:event="onclick">
  909. <![CDATA[
  910. //fSelectInddPatList("R");
  911. //model.setValue("/root/main/condition/pid","/root/main/inddpatlist/inddpatinfo["+grd_patlist.row+"]/pid");
  912. ]]>
  913. </script>
  914. </button>
  915. <button id="btn_drugsave" class="btn5_letter5" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:855px; top:5px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  916. <caption>퇴원약확인</caption>
  917. <script type="javascript" ev:event="onclick">
  918. <![CDATA[
  919. fSaveDrugTret();
  920. ]]>
  921. </script>
  922. </button>
  923. </case>
  924. <case id="case3" style="left:0px; top:0px; width:935px; height:633px; border-top-color:#ffffff; ">
  925. <datagrid id="grd_narcoticlist" nodeset="/root/main/incplist/narcoticlist" class="datagrid2" caption="불출상태^반환상태^잔량반납상태^적용일자^처방코드^처방명^prcpno^prcphistno^pid^poddd^cretno^instcd" colsep="^" colwidth="128, 128, 128, 128, 128, 286, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:3px; top:30px; width:929px; height:601px; ">
  926. <col ref="narcstat"/>
  927. <col ref="cnclstat"/>
  928. <col ref="rtnstat"/>
  929. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  930. <col ref="prcpcd"/>
  931. <col ref="prcpnm"/>
  932. </datagrid>
  933. <caption id="caption1" class="tit_2" style="left:6px; top:10px; width:111px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사</caption>
  934. <line id="line2" class="line_1" style="x1:3px; y1:26px; x2:932px; y2:26px; "/>
  935. <button id="button2" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn5_letter4.gif" style="left:865px; top:5px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  936. <caption>마약관리</caption>
  937. <script type="javascript" ev:event="DOMActivate">
  938. <![CDATA[
  939. open("SMADT30400","1","15","128");
  940. ]]>
  941. </script>
  942. </button>
  943. </case>
  944. </switch>
  945. <caption id="caption35" class="tit_2" style="left:5px; top:10px; width:120px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">응급실 퇴실정리</caption>
  946. <button id="btn_refresh" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:828px; top:31px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  947. <caption>초기화</caption>
  948. <script type="javascript" ev:event="onclick">
  949. <![CDATA[
  950. fInitSettingTop("A");
  951. fInitialize();
  952. ]]>
  953. </script>
  954. </button>
  955. <select1 id="rdo_outrmflag" ref="/root/main/condition/outrmtp" appearance="full" cols="9" overflow="visible" style="left:257px; top:31px; width:180px; height:16px; border-style:none; ">
  956. <choices>
  957. <item>
  958. <label>귀가</label>
  959. <value>1</value>
  960. </item>
  961. <item>
  962. <label>입원</label>
  963. <value>2</value>
  964. </item>
  965. <item>
  966. <label>전원</label>
  967. <value>3</value>
  968. </item>
  969. <item>
  970. <label>사망</label>
  971. <value>6</value>
  972. </item>
  973. </choices>
  974. <script type="javascript" ev:event="xforms-select">
  975. <![CDATA[
  976. model.setValue("root/main/condition/typedetl", "");
  977. //ipt_outrmetc.attribute("left") = "442";
  978. fSelectOutRmCnts();
  979. fChangeOutRm(rdo_outrmflag.value);
  980. ]]>
  981. </script>
  982. </select1>
  983. <line id="line4" class="line_1" style="x1:0px; y1:108px; x2:252px; y2:108px; "/>
  984. <caption id="caption2" class="cell_1" visibility="hidden" style="left:590px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">전원병원</caption>
  985. <select1 id="cmb_outrmcd" ref="/root/main/condition/outrmcd" visibility="hidden" appearance="minimal" style="left:256px; top:56px; width:233px; height:19px; ">
  986. <choices>
  987. <itemset nodeset="/root/hidden/item">
  988. <label ref="label"/>
  989. <value ref="value"/>
  990. </itemset>
  991. </choices>
  992. <script type="javascript" ev:event="xforms-value-changed">
  993. <![CDATA[
  994. var sInstcd = getUserInfo("dutplceinstcd");
  995. model.setValue(cap_typedetl.attribute("ref"), model.getValue("/root/init/erbaselist/outrminfo[basetypecd='"+cmb_outrmcd.value+"']/typedetl"));
  996. cap_typedetl.refresh();
  997. ipt_outrmetc.visible = false; // 기타사유
  998. if(cmb_outrmcd.value =="28") {
  999. ipt_chnghospchoi.visible = true;
  1000. }else if(cmb_outrmcd.value == "41"){
  1001. if( model.getValue("/root/main/condition/t_chosdt") < ipt_dethdd.value + ipt_dethtm.value ){
  1002. messageBox("DOA 환자는 사망일시가 입실일시보다 이후 일 수 없습니다.","E");
  1003. ipt_dethdd.value = model.getValue("/root/main/condition/t_chosdt").substr(0,8);
  1004. ipt_dethtm.value = model.getValue("/root/main/condition/t_chosdt").substr(8,4);
  1005. return;
  1006. }
  1007. } else if(cmb_outrmcd.value == "18"){
  1008. ipt_outrmetc.visible = true; // 기타사유
  1009. cmb_etc.visible = true;
  1010. } else if(cmb_outrmcd.value == "31" || cmb_outrmcd.value == "33"){
  1011. // 161019_칠곡 센터 승격으로 인한 수정_AYS
  1012. fSelctionInRmCombo("EMRT1");
  1013. // if(sInstcd == "031"){
  1014. // fSelctionInRmCombo("EMRT1");
  1015. // }
  1016. } else if(cmb_outrmcd.value == "32" || cmb_outrmcd.value == "34"){
  1017. // 161019_칠곡 센터 승격으로 인한 수정_AYS
  1018. fSelctionInRmCombo("EMRT2");
  1019. // if(sInstcd == "031"){
  1020. // fSelctionInRmCombo("EMRT2");
  1021. // }
  1022. } else if(cmb_outrmcd.value == "38"){
  1023. // 161019_칠곡 센터 승격으로 인한 수정_AYS
  1024. fSelctionInRmCombo("EMRT3");
  1025. // if(sInstcd == "031"){
  1026. // fSelctionInRmCombo("EMRT3");
  1027. // }
  1028. } else{
  1029. ipt_outrmetc.visible = false; // 기타사유
  1030. cmb_etc.visible = false;
  1031. ipt_outrmetc.value = "";
  1032. cmb_etc.value = "";
  1033. ipt_chnghospchoi.visible = false;
  1034. ipt_chnghospchoi.value = "" ;
  1035. }
  1036. model.refresh();
  1037. ]]>
  1038. </script>
  1039. <script type="javascript" ev:event="onmouseover">
  1040. <![CDATA[
  1041. //cap_typedetl.visible = true;
  1042. ]]>
  1043. </script>
  1044. <script type="javascript" ev:event="onmouseout">
  1045. <![CDATA[
  1046. //cap_typedetl.visible = false;
  1047. ]]>
  1048. </script>
  1049. </select1>
  1050. <caption id="caption3" class="cell_1" visibility="hidden" style="left:198px; top:54px; width:57px; height:22px; text-align:center; vertical-align:middle; ">세부사항</caption>
  1051. <caption id="caption4" class="cell_1" visibility="hidden" style="left:589px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">사망일시</caption>
  1052. <input id="ipt_dethdd" ref="/root/main/condition/dethdd" class="input_default" visibility="hidden" inputtype="date" style="left:653px; top:56px; width:86px; height:19px; ">
  1053. <script type="javascript" ev:event="xforms-value-changed">
  1054. <![CDATA[
  1055. ipt_dethtm.value = getCurrentTime().substr(0,4);
  1056. if(cmb_outrmcd.value == "41"){
  1057. if( model.getValue("/root/main/condition/t_chosdt") < ipt_dethdd.value + ipt_dethtm.value ){
  1058. messageBox("DOA 환자는 사망일시가 입실일시보다 이후 일 수 없습니다.","E");
  1059. ipt_dethdd.value = model.getValue("/root/main/condition/t_chosdt").substr(0,8);
  1060. ipt_dethtm.value = model.getValue("/root/main/condition/t_chosdt").substr(8,4);
  1061. return;
  1062. }
  1063. }
  1064. // var d, s= "" ,t;
  1065. // d = new Date();
  1066. //
  1067. // if( d.getMinutes() > 10 ) {
  1068. // if(d.getHours() >10 ) {
  1069. // t = d.getHours() + "" + d.getMinutes();
  1070. // } else {
  1071. // t = "0" + d.getHours() + "" + d.getMinutes();
  1072. // }
  1073. // } else {
  1074. // if(d.getHours() >10 ) {
  1075. // t = d.getHours() + "0" + d.getMinutes();
  1076. // } else {
  1077. // t = "0" + d.getHours() + "0" + d.getMinutes();
  1078. // }
  1079. // }
  1080. // ipt_dethtm.value = t;
  1081. ]]>
  1082. </script>
  1083. </input>
  1084. <input id="ipt_dethtm" ref="/root/main/condition/dethtm" class="input_default" visibility="hidden" format="hh:nn" style="left:741px; top:56px; width:35px; height:19px; "/>
  1085. <input id="ipt_chnghosnm" ref="/root/main/condition/chnghospnm" disabled="true" visibility="hidden" style="left:852px; top:56px; width:123px; height:19px; "/>
  1086. <select id="chk_proceraprvyn" ref="/root/main/condition/proceraprvyn" visibility="hidden" overflow="visible" appearance="full" style="left:590px; top:32px; width:79px; height:15px; border-style:none; ">
  1087. <choices>
  1088. <item>
  1089. <label>보호자동의</label>
  1090. <value>Y</value>
  1091. </item>
  1092. </choices>
  1093. </select>
  1094. <select id="chk_healcaretgdyn" ref="/root/main/condition/healcaretgdyn" visibility="hidden" overflow="visible" appearance="full" style="left:671px; top:32px; width:91px; height:15px; border-style:none; ">
  1095. <choices>
  1096. <item>
  1097. <label>의료인력동승</label>
  1098. <value>Y</value>
  1099. </item>
  1100. </choices>
  1101. </select>
  1102. <button id="button4" class="btn2_letter4" style="left:882px; top:31px; width:64px; height:19px; ">
  1103. <caption>투약기록</caption>
  1104. <script type="javascript" ev:event="DOMActivate">
  1105. <![CDATA[
  1106. open("SMMNR00600","1","15","128");
  1107. ]]>
  1108. </script>
  1109. </button>
  1110. <output id="output1" ref="/root/main/condition/t_patinfo" style="left:240px; top:4px; width:225px; height:19px; font-weight:bold; color:#0000ff; text-align:right; "/>
  1111. <caption id="caption5" style="left:475px; top:4px; width:58px; height:20px; ">입실일시 :</caption>
  1112. <caption id="caption8" style="left:660px; top:4px; width:58px; height:20px; ">퇴실일시 :</caption>
  1113. <caption id="caption11" style="left:842px; top:4px; width:58px; height:20px; ">재실시간 :</caption>
  1114. <caption id="caption12" style="left:1022px; top:4px; width:58px; height:20px; ">예정병실 :</caption>
  1115. <output id="output2" ref="/root/main/condition/t_chosdt" format="yyyy-mm-dd hh:nn" style="left:535px; top:4px; width:120px; height:19px; font-weight:bold; color:#0000ff; "/>
  1116. <output id="output4" ref="/root/main/condition/t_calctm" style="left:901px; top:4px; width:110px; height:19px; font-weight:bold; color:#0000ff; "/>
  1117. <output id="output5" ref="/root/main/condition/t_assgroom" style="left:1080px; top:4px; width:70px; height:19px; font-weight:bold; color:#0000ff; "/>
  1118. <output id="output3" ref="/root/main/condition/t_outrmdt" format="yyyy-mm-dd hh:nn" style="left:718px; top:4px; width:120px; height:19px; font-weight:bold; color:#0000ff; "/>
  1119. <input id="ipt_chnghospchoi2" ref="/root/main/condition/chnghospchoi" visibility="hidden" style="left:256px; top:56px; width:233px; height:19px; text-align:center; "/>
  1120. <input id="ipt_chnghospchoi1" ref="/root/main/condition/chnghospchoi" visibility="hidden" style="left:490px; top:56px; width:97px; height:19px; "/>
  1121. <select1 id="ipt_chnghospchoi" ref="/root/main/condition/chnghospchoi" visibility="hidden" appearance="minimal" style="left:490px; top:56px; width:97px; height:19px; ">
  1122. <choices>
  1123. <item>
  1124. <label>보호자원해서</label>
  1125. <value>보호자원해서</value>
  1126. </item>
  1127. <item>
  1128. <label>의사권유로</label>
  1129. <value>의사권유로</value>
  1130. </item>
  1131. <item>
  1132. <label>연고지관계로</label>
  1133. <value>연고지관계로</value>
  1134. </item>
  1135. </choices>
  1136. </select1>
  1137. <caption id="caption20" class="cell_1" visibility="hidden" style="left:778px; top:54px; width:72px; height:22px; text-align:center; vertical-align:middle; ">전원병원명</caption>
  1138. <select1 id="cmb_dschhosptype" ref="/root/main/condition/dschhosptype" visibility="hidden" appearance="minimal" style="left:653px; top:56px; width:123px; height:19px; ">
  1139. <choices>
  1140. <itemset nodeset="/root/init/M0535list/M0535">
  1141. <label ref="cdnm"/>
  1142. <value ref="cdid"/>
  1143. </itemset>
  1144. </choices>
  1145. <script type="javascript" ev:event="xforms-value-changed">
  1146. <![CDATA[
  1147. model.setValue("/root/main/condition/chnghospnm","");
  1148. model.setValue("/root/main/condition/chnghospcd","");
  1149. ipt_chnghosnm.refresh();
  1150. input1.refresh();
  1151. ]]>
  1152. </script>
  1153. </select1>
  1154. <line id="line5" class="line_3" style="x1:0px; y1:135px; x2:252px; y2:135px; "/>
  1155. <button id="button5" class="btn2_letter4" visibility="hidden" style="left:829px; top:71px; width:64px; height:19px; ">
  1156. <caption>수혈기록</caption>
  1157. <script type="javascript" ev:event="DOMActivate">
  1158. <![CDATA[
  1159. var iRow = grd_patlist.row;
  1160. var SMMNR010_Param = "OPRC2";
  1161. setParameter("SMMNR010_Param", SMMNR010_Param);
  1162. if (model.getvalue("/root/main/inddpatlist/inddpatinfo["+iRow+"]/pid") != "") {
  1163. modal("SMMNR01000","","","","SMMNR01000","",""); // 수혈간호기록 오픈
  1164. fInitialize();
  1165. }
  1166. ]]>
  1167. </script>
  1168. </button>
  1169. <output id="output12" ref="/root/temp/patinforesrch/bloodinfo/bloodcomment" class="output_fix" visibility="hidden" style="left:895px; top:71px; width:233px; height:19px; "/>
  1170. <button id="button6" class="btn2_letter6" visibility="hidden" style="left:1099px; top:85px; width:86px; height:19px; ">
  1171. <caption>입퇴원확인서</caption>
  1172. <script type="javascript" ev:event="DOMActivate">
  1173. <![CDATA[
  1174. model.makeValue("/root/temp/printinfo/erordeptnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("erordeptnm" )));
  1175. model.makeValue("/root/temp/printinfo/patnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("patnm" )));
  1176. model.makeValue("/root/temp/printinfo/pid" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid" )));
  1177. model.makeValue("/root/temp/printinfo/chosdt" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("chosdt" )));
  1178. model.makeValue("/root/temp/printinfo/dschdclrdt" , ipt_outrddd.value + ipt_outrmtm.value);
  1179. model.makeValue("/root/temp/printinfo/outdt" , ipt_outrddd.value + ipt_outrmtm.value);
  1180. model.makeValue("/root/temp/printinfo/ermedispclnm", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("ermedispclnm")));
  1181. model.makeValue("/root/temp/printinfo/nursnm" , grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("nursnm" )));
  1182. exeReportPreview("RPMNE00120","XMLSTR","/root/temp/printinfo");
  1183. ]]>
  1184. </script>
  1185. </button>
  1186. <button id="button7" class="btn2_letter4" style="left:440px; top:30px; width:64px; height:19px; ">
  1187. <caption>전동기록</caption>
  1188. <script type="javascript" ev:event="DOMActivate">
  1189. <![CDATA[
  1190. var pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
  1191. var indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
  1192. var cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
  1193. var wardcd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("wardcd"));
  1194. if(wardcd == null || wardcd == "") {
  1195. messageBox("입원승인이 나지 않아 전동기록을 할수 없습니다.", "E");
  1196. return;
  1197. } else {
  1198. model.makeValue("/root/send/reqdata/pid", pid);
  1199. model.makeValue("/root/send/reqdata/indd", indd);
  1200. model.makeValue("/root/send/reqdata/cretno", cretno);
  1201. model.makeValue("/root/send/reqdata/wardcd", wardcd);
  1202. model.makeValue("/root/send/reqdata/flag", "Y");
  1203. submit("TRMNB00210");
  1204. if(grd_translist.rows > grd_translist.fixedRows) {
  1205. setParameter("SMMNW01301_PID" , grd_translist.valueMatrix(1,grd_translist.colRef("pid")) );
  1206. setParameter("SMMNW01301_INDD" , grd_translist.valueMatrix(1,grd_translist.colRef("indd")) );
  1207. setParameter("SMMNW01301_CRETNO" , grd_translist.valueMatrix(1,grd_translist.colRef("cretno"))) ;
  1208. setParameter("SMMNW01301_APPDD" , grd_translist.valueMatrix(1,grd_translist.colRef("appdd")) );
  1209. setParameter("SMMNW01301_APPTM" , grd_translist.valueMatrix(1,grd_translist.colRef("apptm")) );
  1210. setParameter("SMMNW01301_INSTCD" , grd_translist.valueMatrix(1,grd_translist.colRef("instcd"))) ;
  1211. setParameter("SMMNW01301_SEQNO" , grd_translist.valueMatrix(1,grd_translist.colRef("seqno"))) ;
  1212. open("SMMNW01301");
  1213. } else {
  1214. messageBoX("입원승인이 나지 않아 전동기록을 할수 없습니다.");
  1215. return;
  1216. }
  1217. }
  1218. ]]>
  1219. </script>
  1220. </button>
  1221. <datagrid id="grd_translist" nodeset="/root/temp/transinfo/translist" visibility="hidden" caption="기관^등록번호^입원일자^생성번호^적용일자^적용시간^caption1" colsep="^" colwidth="38, 70, 55, 47, 55, 54, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:540px; top:305px; width:340px; height:150px; ">
  1222. <col ref="instcd"/>
  1223. <col ref="pid"/>
  1224. <col ref="indd"/>
  1225. <col ref="cretno"/>
  1226. <col ref="appdd"/>
  1227. <col ref="apptm"/>
  1228. <col ref="seqno"/>
  1229. </datagrid>
  1230. <button id="button8" class="btn5_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:763px; top:31px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1231. <caption>전원SMS</caption>
  1232. <script type="javascript" ev:event="onclick">
  1233. <![CDATA[
  1234. fTransferSMS();
  1235. ]]>
  1236. </script>
  1237. </button>
  1238. <input id="ipt_outrmetc" ref="/root/main/condition/outrmetc" disabled="false" visibility="hidden" style="left:445px; top:80px; width:382px; height:19px; "/>
  1239. <caption id="cap_typedetl" ref="/root/main/condition/typedetl" style="left:385px; top:75px; width:610px; height:35px; "/>
  1240. <button id="btn_hossear" class="icon_search" visibility="hidden" style="left:978px; top:57px; width:16px; height:16px; ">
  1241. <caption/>
  1242. <script type="javascript" ev:event="DOMActivate">
  1243. <![CDATA[
  1244. modal("SPMMO07400");
  1245. model.setValue("/root/main/condition/dschhosptype", getParameter("SPMMO07400_rtnfhkind")); //의료기관 코드
  1246. model.setValue("/root/main/condition/chnghospnm", getParameter("SPMMO07400_rtnfhcdnm")); //의료기관명
  1247. //model.setValue("/root/main/condition/chnghospcd", getParameter("SPMMO07400_rtnfhcd")); //의료기관명
  1248. model.setValue("/root/main/condition/chnghospcd", getParameter("SPMMO07400_rtnfhhscd")); //의료기관명
  1249. cmb_dschhosptype.refresh();
  1250. ipt_chnghosnm.refresh();
  1251. if (model.getValue("/root/main/condition/chnghospnm") == "기타") {
  1252. ipt_chnghosnmetc.visible = true;
  1253. } else {
  1254. ipt_chnghosnmetc.visible = false;
  1255. }
  1256. ]]>
  1257. </script>
  1258. </button>
  1259. <button id="button9" class="btn2_letter7" style="left:1001px; top:85px; width:97px; height:19px; ">
  1260. <caption>응급간호요약지</caption>
  1261. <script type="javascript" ev:event="DOMActivate">
  1262. <![CDATA[
  1263. clearParameter("SMMNE09300_pid");
  1264. clearParameter("SMMNE09300_orddd");
  1265. clearParameter("SMMNE09300_cretno");
  1266. clearParameter("SMMNE09300_visitno");
  1267. clearParameter("SMMNE09300_outrmcd");
  1268. clearParameter("SMMNE09300_outrmdt");
  1269. // 15.07.29_추가
  1270. clearParameter("SMMNE09300_dschhosptype");
  1271. clearParameter("SMMNE09300_chnghospnm");
  1272. // 15.07.29_추가
  1273. setParameter("SMMNE09300_pid", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid")) );
  1274. setParameter("SMMNE09300_orddd", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd")) );
  1275. setParameter("SMMNE09300_cretno", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno")) );
  1276. setParameter("SMMNE09300_visitno", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("visitno")) );
  1277. setParameter("SMMNE09300_outrmcd", cmb_outrmcd.label );
  1278. setParameter("SMMNE09300_outrmdt", model.getValue("/root/main/condition/outrmdd") + model.getValue("/root/main/condition/outrmtm") );
  1279. // 15.07.29_추가
  1280. setParameter("SMMNE09300_dschhosptype", cmb_dschhosptype.label);
  1281. setParameter("SMMNE09300_chnghospnm", model.getValue("/root/main/condition/chnghospnm"));
  1282. // 15.07.29_추가
  1283. open("SMMNE09300");
  1284. ]]>
  1285. </script>
  1286. </button>
  1287. <input id="input1" ref="/root/main/condition/chnghospcd" disabled="true" visibility="hidden" style="left:915px; top:65px; width:123px; height:19px; "/>
  1288. <button id="button10" class="btn2_letter9" style="left:120px; top:4px; width:119px; height:19px; ">
  1289. <caption>진료재료 부서 이관</caption>
  1290. <script type="javascript" ev:event="DOMActivate">
  1291. <![CDATA[
  1292. var instcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/instcd" );
  1293. var pid = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/pid" );
  1294. var indd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/indd" );
  1295. var cretno = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/cretno" );
  1296. var prewardcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/prewardcd" );
  1297. var chngwardcd = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/wardcd" );
  1298. var patnm = model.getValue ( "/root/main/inddpatlist/inddpatinfo["+ grd_patlist.row +"]/patnm" );
  1299. if( pid == "" ){
  1300. messageBox("환자가 선택되지 않았습니다.", "E");
  1301. return;
  1302. }
  1303. setParameter("PARAM1", instcd);
  1304. setParameter("PARAM2", pid);
  1305. setParameter("PARAM3", indd);
  1306. setParameter("PARAM4", cretno);
  1307. setParameter("PARAM5", prewardcd);
  1308. setParameter("PARAM6", chngwardcd);
  1309. open("SPMNW19001","1", "900", "450");
  1310. ]]>
  1311. </script>
  1312. </button>
  1313. <caption id="caption23" class="cell_1" style="left:0px; top:54px; width:79px; height:22px; text-align:center; vertical-align:middle; ">최종진료구역</caption>
  1314. <select1 id="cmb_outarea" ref="/root/main/condition/outarea" appearance="minimal" style="left:81px; top:56px; width:114px; height:19px; ">
  1315. <choices>
  1316. <item>
  1317. <label>일반격리병상</label>
  1318. <value>1</value>
  1319. </item>
  1320. <item>
  1321. <label>음압격리병상</label>
  1322. <value>2</value>
  1323. </item>
  1324. <item>
  1325. <label>중증응급환자 진료구역</label>
  1326. <value>3</value>
  1327. </item>
  1328. <item>
  1329. <label>응급환자 진료구역</label>
  1330. <value>4</value>
  1331. </item>
  1332. <item>
  1333. <label>소생실</label>
  1334. <value>5</value>
  1335. </item>
  1336. <item>
  1337. <label>처치실</label>
  1338. <value>6</value>
  1339. </item>
  1340. <item>
  1341. <label>기타(1~6을 제외한 모든 구역)</label>
  1342. <value>8</value>
  1343. </item>
  1344. <item>
  1345. <label>미상(구역을 모를 경우)</label>
  1346. <value>9</value>
  1347. </item>
  1348. </choices>
  1349. </select1>
  1350. <select1 id="cmb_outhsrt" ref="/root/main/condition/outhsrt" visibility="hidden" appearance="minimal" style="left:653px; top:56px; width:170px; height:19px; ">
  1351. <choices>
  1352. <itemset nodeset="/root/hidden2/item">
  1353. <label ref="label"/>
  1354. <value ref="value"/>
  1355. </itemset>
  1356. </choices>
  1357. </select1>
  1358. <caption id="caption24" class="cell_1" visibility="hidden" style="left:589px; top:54px; width:61px; height:22px; text-align:center; vertical-align:middle; ">입원경로</caption>
  1359. </group>
  1360. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">퇴실정리</caption>
  1361. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1362. <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  1363. <caption id="caption28" style="left:14px; top:4px; width:17px; height:17px; background-color:#ffd3ff; "/>
  1364. <caption id="caption29" style="left:35px; top:6px; width:91px; height:15px; ">퇴원 예고 환자</caption>
  1365. <caption id="caption13" style="left:130px; top:4px; width:17px; height:17px; background-color:#00cc66; "/>
  1366. <caption id="caption14" style="left:150px; top:6px; width:122px; height:15px; ">선택된 퇴원 예고 환자</caption>
  1367. <caption id="caption15" style="left:289px; top:4px; width:17px; height:17px; background-color:#ccffff; "/>
  1368. <caption id="caption16" style="left:310px; top:6px; width:58px; height:15px; color:#000000; vertical-align:middle; ">퇴원처방</caption>
  1369. <caption id="caption18" style="left:460px; top:6px; width:517px; height:15px; color:#000000; vertical-align:middle; ">Y : 실시완료 / N : 미수행 / 반환요청 : 투약기록반환요청 / 퇴원후 : 응급실 퇴실 후 외래 검사</caption>
  1370. <caption id="caption19" style="left:385px; top:6px; width:78px; height:15px; color:#0000ff; vertical-align:middle; ">*시행여부 -</caption>
  1371. </group>
  1372. <script type="javascript" ev:event="onmenu">
  1373. <![CDATA[
  1374. fChagnePrcpStat(event.description);
  1375. //fPrcpDC(event.description);
  1376. ]]>
  1377. </script>
  1378. <caption id="caption22" style="left:1164px; top:760px; width:30px; height:20px; text-align:right; ">[표]</caption>
  1379. </xhtml:body>
  1380. </xhtml:html>