SMMNE00100_EMC메인.xrw 133 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584
  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>EMC main</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <section>-</section>
  12. <orddeptcd/>
  13. <medispclid/>
  14. <indschacptstat>1</indschacptstat>
  15. <outdt/>
  16. <wardcd/>
  17. <settingrnid/>
  18. <orddd/>
  19. <atdoctid/>
  20. <pid/>
  21. <userid/>
  22. <usernm/>
  23. <prestimportid/>
  24. <indd/>
  25. <cretno/>
  26. <srchinstcd/>
  27. <method/>
  28. <settingrnid/>
  29. </cond>
  30. <nursemainlist>
  31. <nursemaininfo>
  32. <bedposcnts/>
  33. <vipyn/>
  34. <spcffactyn/>
  35. <in/>
  36. <stat/>
  37. <unablspc/>
  38. <pid/>
  39. <recovwardcd/>
  40. <patnm/>
  41. <grdrage/>
  42. <orddeptcd/>
  43. <orddrid/>
  44. <orddr1/>
  45. <orddr2/>
  46. <cc/>
  47. <assgroom/>
  48. <telrsrvrem/>
  49. <spcltest/>
  50. <memoyn/>
  51. <nawontime/>
  52. <calldt/>
  53. <arrivdt/>
  54. <stattm/>
  55. <pamacptdt/>
  56. <undefind/>
  57. <ordtype/>
  58. <indd/>
  59. <cretno/>
  60. <instcd/>
  61. <seqno/>
  62. <orgorddd/>
  63. <stattmck/>
  64. <censusck/>
  65. <rgstno/>
  66. <deptcd/>
  67. <atdocid/>
  68. <dschdd/>
  69. <blodprepyn/>
  70. <outreq/>
  71. <erdocyn/>
  72. <prcpcnt/>
  73. <dschdclrtyn/>
  74. <stattmck4/>
  75. <stattmck24/>
  76. <staytime/>
  77. <visitno/>
  78. <memo/>
  79. </nursemaininfo>
  80. </nursemainlist>
  81. <ercensuslist>
  82. <erpatientlist>
  83. <bedposcnts/>
  84. <pid/>
  85. <patnm/>
  86. <grdrage/>
  87. <indd/>
  88. <cretno/>
  89. <instcd/>
  90. <intm/>
  91. <ordtype/>
  92. <dschdd/>
  93. </erpatientlist>
  94. </ercensuslist>
  95. <ercensusinfo>
  96. <patinfo>
  97. <pid/>
  98. <patnm/>
  99. <elbulbodpatnm/>
  100. <rrgsno1/>
  101. <rrgsno2/>
  102. <insukind/>
  103. <gndr/>
  104. <age/>
  105. <cntctel/>
  106. <cellularphone/>
  107. <addr/>
  108. <bedposflag/>
  109. <bedposflagcd/>
  110. <cpryn/>
  111. <outcureyn/>
  112. <elbulbodcccnts/>
  113. <nurscccnts/>
  114. <attackdd/>
  115. <cscsstat/>
  116. <chospathflag/>
  117. <choswayflag/>
  118. <chosresn/>
  119. <serdiagprovcls/>
  120. <diagnm/>
  121. <ermngtpay/>
  122. <dethyn/>
  123. <dethdt/>
  124. <inrsrvacptddtm/>
  125. <inrsrvgrad/>
  126. <inwaitresncnts/>
  127. <skilfact/>
  128. <spcltest/>
  129. <stattm/>
  130. <chosdd/>
  131. <chostm/>
  132. <fstexam/>
  133. <outrmdt/>
  134. <outrmtype/>
  135. <assgroom/>
  136. <cretno/>
  137. <indd/>
  138. <intm/>
  139. <revisit1/>
  140. <revisit2/>
  141. <revisit1chosdd/>
  142. <revisit1chostm/>
  143. <revisit1outrmdt/>
  144. <revisit1outrmtype/>
  145. <revisit1stattm/>
  146. <revisit2chosdd/>
  147. <revisit2chostm/>
  148. <revisit2outrmdt/>
  149. <revisit2outrmtype/>
  150. <revisit2stattm/>
  151. <highbp/>
  152. <lowbp/>
  153. <mntpulsecnt/>
  154. <mntbrethcnt/>
  155. <chosbdtp/>
  156. <oxyconcen/>
  157. <spclterm/>
  158. <revisit1assgroom/>
  159. <revisit2assgroom/>
  160. <incncldtcheck/>
  161. <bedcd/>
  162. <bedgrupcd/>
  163. <extrecyn/>
  164. <extrecsaveyn/>
  165. <extrecrtnyn/>
  166. <extemryn/>
  167. <extemrsaveyn/>
  168. <extemrrtnyn/>
  169. <gurdphone/>
  170. <cprtims/>
  171. <slightyn/>
  172. <ktas/>
  173. <pamroomcd/>
  174. <pambedcd/>
  175. <pamroomtypecd/>
  176. <pamroomgrdecd/>
  177. <pamflag/>
  178. </patinfo>
  179. <erorddrlist>
  180. <erorddeptnm/>
  181. <mainyn/>
  182. <calldt/>
  183. <arrivdt/>
  184. <erorddoctnm/>
  185. <erorddeptcd/>
  186. <erorddoctcd/>
  187. <status/>
  188. <pid/>
  189. <indd/>
  190. <cretno/>
  191. <visitno/>
  192. <instcd/>
  193. <callno/>
  194. <refseq/>
  195. </erorddrlist>
  196. <erorddrlist1>
  197. <erorddeptnm/>
  198. <mainyn/>
  199. <calldt/>
  200. <arrivdt/>
  201. <erorddoctnm/>
  202. <erorddeptcd/>
  203. <erorddoctcd/>
  204. <status/>
  205. <pid/>
  206. <indd/>
  207. <cretno/>
  208. <visitno/>
  209. <instcd/>
  210. <callno/>
  211. <refseq/>
  212. </erorddrlist1>
  213. <erorddrlist2>
  214. <erorddeptnm/>
  215. <mainyn/>
  216. <calldt/>
  217. <arrivdt/>
  218. <erorddoctnm/>
  219. <erorddeptcd/>
  220. <erorddoctcd/>
  221. <status/>
  222. <pid/>
  223. <indd/>
  224. <cretno/>
  225. <visitno/>
  226. <instcd/>
  227. <callno/>
  228. <refseq/>
  229. </erorddrlist2>
  230. <erdiarystatus>
  231. <chngchosdd/>
  232. <chngchostm/>
  233. <chngchosdd1/>
  234. <chngchostm1/>
  235. <chngchosdd2/>
  236. <chngchostm2/>
  237. </erdiarystatus>
  238. </ercensusinfo>
  239. <userlist>
  240. <usercombo>
  241. <usernm/>
  242. <userid/>
  243. </usercombo>
  244. </userlist>
  245. <pageflag/>
  246. <topinfolist>
  247. <instaycnt>
  248. <roomassgcnt>0</roomassgcnt>
  249. <inreqcnt>0</inreqcnt>
  250. </instaycnt>
  251. </topinfolist>
  252. <topinfolistblod>
  253. <nursemainblodlist>
  254. <patnm/>
  255. </nursemainblodlist>
  256. </topinfolistblod>
  257. <blodlist/>
  258. <topunablspc>
  259. <nursemainspclist>
  260. <patnm/>
  261. </nursemainspclist>
  262. </topunablspc>
  263. <spcpatnm/>
  264. </main>
  265. <item>
  266. <calldocinfo>
  267. <erorddeptnm/>
  268. <mainyn/>
  269. <calldt/>
  270. <arrivdt/>
  271. <erorddoctnm/>
  272. <erorddeptcd/>
  273. <erorddoctcd/>
  274. <status/>
  275. <pid/>
  276. <indd/>
  277. <cretno/>
  278. <visitno/>
  279. <instcd/>
  280. </calldocinfo>
  281. </item>
  282. <send>
  283. </send>
  284. <temp>
  285. <calldoclist>
  286. </calldoclist>
  287. <atdoctlist>
  288. <calltype>msg</calltype>
  289. <recvrid>10402196 </recvrid>
  290. <recvrnm>임정규</recvrnm>
  291. <deptnm>신경외과</deptnm>
  292. <deptcd>2060000000</deptcd>
  293. <mpphonno>01031649935</mpphonno>
  294. <msgcnts>병동호출test</msgcnts>
  295. <calltelno>1111</calltelno>
  296. </atdoctlist>
  297. </temp>
  298. <init>
  299. <erbaselist>
  300. <bedinfo/>
  301. <doclist>
  302. </doclist>
  303. <outrminfo/>
  304. </erbaselist>
  305. <M0117list>
  306. <M0117>
  307. <cdnm/>
  308. <cdid/>
  309. </M0117>
  310. </M0117list>
  311. <M0118list>
  312. <M0118>
  313. <cdnm/>
  314. <cdid/>
  315. </M0118>
  316. </M0118list>
  317. <M0119list>
  318. <M0119>
  319. <cdnm/>
  320. <cdid/>
  321. </M0119>
  322. </M0119list>
  323. <M0120list>
  324. <M0120>
  325. <cdnm/>
  326. <cdid/>
  327. </M0120>
  328. </M0120list>
  329. <P0008list>
  330. <P0008>
  331. <cdnm/>
  332. <cdid/>
  333. </P0008>
  334. </P0008list>
  335. <P0378list>
  336. <P0378>
  337. <cdnm/>
  338. <cdid/>
  339. </P0378>
  340. </P0378list>
  341. <M0378list>
  342. <M0378>
  343. <cdnm/>
  344. <cdid/>
  345. </M0378>
  346. </M0378list>
  347. <M0720list>
  348. <M0720>
  349. <cdnm/>
  350. <cdid/>
  351. </M0720>
  352. </M0720list>
  353. <userscrnenvinfo/>
  354. </init>
  355. <UserData>
  356. <list/>
  357. </UserData>
  358. <hidden>
  359. <item>
  360. <label/>
  361. <value/>
  362. </item>
  363. <orddeptlist/>
  364. <erorddeptlist/>
  365. <target/>
  366. </hidden>
  367. <codedata>
  368. <popupmenu>
  369. <grid01>
  370. <item>
  371. <name>프로필보기</name>
  372. <func>fAtdoctlist</func>
  373. </item>
  374. <item>
  375. <name>쪽지보내기</name>
  376. <func>fSendMessage</func>
  377. </item>
  378. <item>
  379. <name>호출</name>
  380. <func>fSendCall</func>
  381. </item>
  382. <item>
  383. <name>--------------</name>
  384. <func/>
  385. </item>
  386. <item>
  387. <name>투약기록</name>
  388. <func>fDrugRecPopup</func>
  389. </item>
  390. <item>
  391. <name>퇴실정리</name>
  392. <func>fEROutPopup</func>
  393. </item>
  394. <item>
  395. <name>챠트대출신청</name>
  396. <func>fChartPopup</func>
  397. </item>
  398. <item>
  399. <name>통합검사결과조회</name>
  400. <func>fTestResultPopup</func>
  401. </item>
  402. <item>
  403. <name>간호처방</name>
  404. <func>fNursPrcpPopup</func>
  405. </item>
  406. <item>
  407. <name>병동채혈관리</name>
  408. <func>fInBCollMngtPopup</func>
  409. </item>
  410. <item>
  411. <name>Name label 출력</name>
  412. <func>fOpenLabelPrint</func>
  413. </item>
  414. <!--(20101226) 경북대 -->
  415. <item>
  416. <name>환자이름표출력</name>
  417. <func>fOpenNamePrint</func>
  418. </item>
  419. <!--(20101226) 경북대 -->
  420. <item>
  421. <name>환자진료정보조회</name>
  422. <func>fOpenPrcpSpec</func>
  423. </item>
  424. <item>
  425. <name>임상관찰기록</name>
  426. <func>fClinicObserRec</func>
  427. </item>
  428. <!-- (20101018) 경북대 -->
  429. <item>
  430. <name>카덱스</name>
  431. <func>fOpenCardex</func>
  432. </item>
  433. <!-- (20101018) 경북대 -->
  434. <!-- (20110208) 경북대 -->
  435. <item>
  436. <name>Vital Sign지 출력</name>
  437. <func>fPrtVital</func>
  438. </item>
  439. <!-- (20111125) 경북대 -->
  440. <!-- (20141111) 경북대 -->
  441. <item>
  442. <name>안전사고보고</name>
  443. <func>fPatQi</func>
  444. </item>
  445. <!-- (20141111) 경북대 -->
  446. </grid01>
  447. <grid02>
  448. <item>
  449. <name>투약기록</name>
  450. <func>fDrugRecPopup</func>
  451. </item>
  452. <item>
  453. <name>퇴실정리</name>
  454. <func>fEROutPopup</func>
  455. </item>
  456. <item>
  457. <name>챠트대출신청</name>
  458. <func>fChartPopup</func>
  459. </item>
  460. <item>
  461. <name>통합검사결과조회</name>
  462. <func>fTestResultPopup</func>
  463. </item>
  464. <item>
  465. <name>간호처방</name>
  466. <func>fNursPrcpPopup</func>
  467. </item>
  468. <item>
  469. <name>병동채혈관리</name>
  470. <func>fInBCollMngtPopup</func>
  471. </item>
  472. <item>
  473. <name>Name label 출력</name>
  474. <func>fOpenLabelPrint</func>
  475. </item>
  476. <!--(20101226) 경북대 -->
  477. <item>
  478. <name>환자이름표출력</name>
  479. <func>fOpenNamePrint</func>
  480. </item>
  481. <!--(20101226) 경북대 -->
  482. <item>
  483. <name>환자진료정보조회</name>
  484. <func>fOpenPrcpSpec</func>
  485. </item>
  486. <item>
  487. <name>임상관찰기록</name>
  488. <func>fClinicObserRec</func>
  489. </item>
  490. <!-- (20101018) 경북대 -->
  491. <item>
  492. <name>카덱스</name>
  493. <func>fOpenCardex</func>
  494. </item>
  495. <!-- (20101018) 경북대 -->
  496. <!-- (20110208) 경북대 -->
  497. <item>
  498. <name>Vital Sign지 출력</name>
  499. <func>fPrtVital</func>
  500. </item>
  501. <!-- (20110208) 경북대 -->
  502. <item>
  503. <name>환자메모</name>
  504. <func>fPatMemo</func>
  505. </item>
  506. <item>
  507. <name>희망병상 등급 변경</name>
  508. <func>fChangeHopeBed</func>
  509. </item>
  510. <!-- (20141111) 경북대 -->
  511. <item>
  512. <name>안전사고보고</name>
  513. <func>fPatQi</func>
  514. </item>
  515. <!-- (20141111) 경북대 -->
  516. </grid02>
  517. </popupmenu>
  518. </codedata>
  519. <printcnt/>
  520. <temps/>
  521. <main_nm>
  522. <barcdprntsetup/>
  523. </main_nm>
  524. <pw/>
  525. <setting>
  526. <init/>
  527. </setting>
  528. </root>
  529. </instance>
  530. <script type="javascript" ev:event="xforms-ready">
  531. <![CDATA[
  532. //lzzfMakeBrcdPrntObj("CommAX");
  533. //lzzfMakeBrcdPrntObjHanDo("CommAX");
  534. //alert(nursemaininfo.colAttribute(37, 'ref'));
  535. //alert(nursemaininfo.colAttribute(38, 'ref'));
  536. //nursemaininfo.colMove(0, 1, "before", false);
  537. //nursemaininfo.colMove(nursemaininfo.colRef('stattmck24'), nursemaininfo.colRef('prcpcnt'), 'before', false);
  538. //nursemaininfo.colMove(37, 38, "before", false);
  539. nursemaininfo.colHidden(nursemaininfo.colRef("dschdt")) = true;
  540. if(model.getValue("/root/dsch_hidden/dsch_cond/prestimportid") == "om"){ // 퇴원정리에서 ordermanage를 팝업으로 열 경우 처리로직 추가_20080825(ByJA)
  541. model.setValue("/root/main/cond/prestimportid", "om");
  542. }else{
  543. model.setValue("/root/main/cond/prestimportid", getScreenMenuParameter());
  544. }
  545. ErreqOrderInfoOfCol("SMMNE00100", "nursemaininfo", "ER");
  546. model.setValue("/root/main/cond/userid", getUserId());
  547. model.setValue("/root/main/cond/usernm", getUserName());
  548. model.setValue("/root/main/cond/settingrnid", "");
  549. model.setValue("/root/main/cond/wardcd", getUserInfo("dutplcecd"));
  550. model.setValue("/root/main/cond/orddd", getCurrentDate());
  551. model.setValue("/root/main/cond/orddeptcd", "");
  552. model.setValue("/root/main/cond/medispclid", "");
  553. model.setValue("/root/main/cond/atdoctid", "");
  554. model.setValue("/root/main/cond/indschacptstat", "1");
  555. model.removenode("/root/send");
  556. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  557. submit("TRMNW00101");
  558. // 원본_간호하드코딩 테이블 조회_밑으로 옮김_20090415(ByJA) model.removenode("/root/init/ward[wardcd = '2280200000']"); // 응급의료센터 제외
  559. model.setValue("/root/main/cond/settingrnid", "");
  560. for(i = 1; i <= getNodesetCount("/root/setting/init/settingrn"); i++ ) {
  561. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/setting/init/settingrn["+ i +"]/settingrnid")) {
  562. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  563. }
  564. }
  565. model.refresh();
  566. fInit("F");
  567. ]]>
  568. </script>
  569. <submission id="TRMNE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nursemainlist"/>
  570. <submission id="TRMNE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/doclist"/>
  571. <submission id="TRMNE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ercensuslist"/>
  572. <submission id="TRMNE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ercensusinfo"/>
  573. <submission id="TRMNE00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/UserData/list"/>
  574. <submission id="TRMNE00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/calldoclist"/>
  575. <submission id="TRMNE00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/topinfolist"/>
  576. <submission id="TRMNE00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/topinfolistblod"/>
  577. <submission id="TXMNE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ercensuslist"/>
  578. <submission id="TXMNE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ercensusinfo"/>
  579. <submission id="TXMNE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temps"/>
  580. <submission id="TXMNE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  581. <submission id="TRMNE00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/erbaselist"/>
  582. <submission id="TRZBC00101" method="post" replace="instance"/>
  583. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  584. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  585. <submission id="TRPMI00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data17" resultref="/root/hidden/h_receipt"/>
  586. <submission id="TRMNW00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main_om/temp"/>
  587. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main_nm/barcdprntsetup"/>
  588. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  589. <submission id="TXMNE07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  590. <submission id="TRMNB02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
  591. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  592. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  593. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  594. <!--(20101206) 경북대-->
  595. <submission id="TRMNE00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main_nm/temp2"/>
  596. <!--(20101206) 경북대-->
  597. <!--resultref경로변경:"/root/barcdprntsetup"에서 "/root/main_nm/barcdprntsetup"로_20090106(ByJA) -->
  598. <submission id="TRMNE00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond/wardcd" resultref="/root/main/topunablspc"/>
  599. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/setting/init"/>
  600. <submission id="TRMNE00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/recinfo" resultref="/root/init/recinfo"/>
  601. <submission id="TRMNE00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/judginfo" resultref="/root/judginfo"/>
  602. </model>
  603. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  604. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  605. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  606. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE00100.js"/>
  607. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  608. <!--script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/-->
  609. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  610. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  611. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  612. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  613. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  614. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  615. <script type="javascript" src="../../../pam/ipatmngtweb/js/PMI001.js"/>
  616. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  617. </xhtml:head>
  618. <xhtml:body visibility="visible" guideline="1,1197;1,1192;2,752;1,1185;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  619. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  620. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">
  621. <![CDATA[EMC메인]]>
  622. <script type="javascript" ev:event="onmousedown">
  623. <![CDATA[
  624. /*
  625. var pwcnt = model.getValue("/root/pw");
  626. if(event.button == 3)
  627. {
  628. pwcnt++;
  629. model.setValue("/root/pw", pwcnt);
  630. if(pwcnt == "5"){
  631. open("SPMNW99900");
  632. model.setValue("/root/pw", 0);
  633. }
  634. }
  635. */
  636. ]]>
  637. </script>
  638. </caption>
  639. </group>
  640. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
  641. <textarea id="tar_blodprep" ref="/root/main/blodlist" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:397px; top:48px; width:110; height:28px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
  642. <button id="btn_ercensusmv" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:204px; top:54px; width:103px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  643. <caption>ER Census</caption>
  644. <toggle case="case4" ev:event="onclick"/>
  645. <script type="javascript" ev:event="DOMActivate">
  646. <![CDATA[
  647. model.setValue("/root/main/pageflag", "ec");
  648. fSeletedSrcTool();
  649. ]]>
  650. </script>
  651. </button>
  652. <button id="btn_ordermngmv" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:101px; top:54px; width:103px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  653. <caption>Order Manage</caption>
  654. <toggle case="case3" ev:event="onclick"/>
  655. <script type="javascript" ev:event="DOMActivate">
  656. <![CDATA[
  657. model.setValue("/root/main/pageflag", "om");
  658. fSeletedSrcTool();
  659. ]]>
  660. </script>
  661. </button>
  662. <button id="btn_todolistmv" class="btn_sw" visibility="hidden" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:307px; top:54px; width:74px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  663. <caption>To-Do List</caption>
  664. <toggle case="case2" ev:event="onclick"/>
  665. <script type="javascript" ev:event="DOMActivate">
  666. <![CDATA[
  667. model.setValue("/root/main/pageflag", "td");
  668. fSeletedSrcTool();
  669. ]]>
  670. </script>
  671. </button>
  672. <button id="btn_mainmv" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:1px; top:54px; width:100px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  673. <caption>Nurse Main</caption>
  674. <toggle case="case1" ev:event="onclick"/>
  675. <setfocus ev:event="xforms-valid"/>
  676. <script type="javascript" ev:event="DOMActivate">
  677. <![CDATA[
  678. model.setValue("/root/main/pageflag", "nm");
  679. fSeletedSrcTool();
  680. ]]>
  681. </script>
  682. </button>
  683. <switch id="swt_ermenu" style="left:1px; top:76px; width:1194px; height:660px; border-color:#c7a3cf; border-style:solid; ">
  684. <case id="case1" selected="true">
  685. <line id="line1" class="line_1" style="x1:5px; y1:5px; x2:1185px; y2:5px; "/>
  686. <datagrid id="nursemaininfo" nodeset="/root/main/nursemainlist/nursemaininfo" class="datagrid2" allowselection="false" backcoloralternate="#ffffff" caption="Bed^감염정보^감염정보^감염정보^특이^특이^의사결정^입&#xA;원^병실^상태^부적합^등록번호^중증^Triage^혈&#xA;액^환자명^S/A^주진료과^전문의^전문의^담당의^담당의^호출&#xA;진료과^호출의사^호출의사^주호소^주진단^처방^Remark^Remak2^메&#xA;모^내원일시^인턴1^인턴2^call time^visit time^체류시간^퇴실일시^입원결정서&#xA;등록일시^VS&#xA;Check^응급간호&#xA;정보조사^Nursing&#xA;Care Plan^caption1^dschdd^외래입원구분^진료일자^생성번호^기관코드^등록일련번호^원진료일자^stattmck^visitno^caption2" colsep="^" colwidth="70, 23, 23, 23, 20, 20, 100, 22, 39, 30, 45, 60, 30, 46, 18, 50, 45, 59, 55, 47, 52, 45, 52, 55, 55, 180, 130, 45, 145, 145, 23, 105, 60, 60, 105, 105, 60, 105, 105, 50, 65, 65, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 100, 100" ellipsis="true" explorerbar="sort" frozencols="16" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:10px; width:1180px; height:645px; ">
  687. <col ref="bedposcnts" style="text-align:left; "/>
  688. <col ref="disp1img"/>
  689. <col ref="disp2img"/>
  690. <col ref="disp3img"/>
  691. <col ref="vipyn" style="text-align:center; "/>
  692. <col ref="spcffactyn" style="background-position:center; "/>
  693. <col disabled="true" ref="adflag" type="combo" style="text-align:left; ">
  694. <choices>
  695. <itemset nodeset="/root/init/M0720list/M0720">
  696. <label ref="cdnm"/>
  697. <value ref="cdid"/>
  698. </itemset>
  699. </choices>
  700. </col>
  701. <col ref="inreq"/>
  702. <col ref="assgroom" style="text-align:center; "/>
  703. <col ref="stat" style="text-align:center; "/>
  704. <col ref="unablspc" style="text-align:center; "/>
  705. <col ref="pid"/>
  706. <col ref="recovwardcd"/>
  707. <col ref="serdiagflag"/>
  708. <col ref="blodprepyn" type="output" style="text-align:center; vertical-align:middle; background-position:center; "/>
  709. <col ref="patnm"/>
  710. <col ref="grdrage" style="text-align:center; "/>
  711. <!--(20110129) -->
  712. <col ref="juorddeptcd" style="text-align:center; "/>
  713. <col ref="juorddrid" style="text-align:center; "/>
  714. <col ref="jupdano" visibility="hidden" style="text-align:center; "/>
  715. <col ref="damorddrid" style="text-align:center; "/>
  716. <col ref="dampdano" style="text-align:center; "/>
  717. <!--(20110129) -->
  718. <col ref="orddeptcd" style="text-align:center; "/>
  719. <col ref="orddrid"/>
  720. <col ref="pdano"/>
  721. <col ref="cc"/>
  722. <col ref="diagnm"/>
  723. <col ref="undefind" style="text-align:center; "/>
  724. <col ref="telrsrvrem"/>
  725. <col ref="spcltest"/>
  726. <col ref="memoyn" style="background-position:center; "/>
  727. <col ref="nawontime" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  728. <col ref="orddr1" style="text-align:center; "/>
  729. <col ref="orddr2" style="background-position:center; "/>
  730. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  731. <col ref="arrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  732. <col ref="stattm" style="text-align:right; "/>
  733. <col ref="dschdt" format="yyyy-mm-dd hh:nn"/>
  734. <col ref="pamacptdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  735. <col ref="vscount" style="text-align:center; "/>
  736. <col ref="inreport" style="text-align:center; "/>
  737. <col ref="nplan" style="text-align:center; "/>
  738. <col ref="typedetl" visibility="hidden"/>
  739. <col ref="dschdd" visibility="hidden"/>
  740. <col ref="ordtype"/>
  741. <col ref="indd"/>
  742. <col ref="cretno"/>
  743. <col ref="instcd"/>
  744. <col ref="seqno"/>
  745. <col ref="orgorddd"/>
  746. <col ref="stattmck"/>
  747. <col ref="stattmck4"/>
  748. <col ref="stattmck24"/>
  749. <col ref="prcpcnt"/>
  750. <col ref="dschdclrtyn"/>
  751. <col ref="staytime"/>
  752. <col ref="in"/>
  753. <col ref="visitno" visibility="hidden"/>
  754. <col ref="memo" visibility="hidden"/>
  755. <col ref="deptcd" visibility="hidden"/>
  756. <col ref="diagcd" visibility="hidden"/>
  757. <col ref="wardcd" visibility="hidden"/>
  758. <col ref="juorddrid2" visibility="hidden"/>
  759. <script type="javascript" ev:event="onmousedown">
  760. <![CDATA[
  761. fPopupMenuInfo();
  762. ]]>
  763. </script>
  764. <script type="javascript" ev:event="DOMFocusOut">
  765. <![CDATA[
  766. window.setPopupMenu(false);
  767. ]]>
  768. </script>
  769. <script type="javascript" ev:event="ondblclick">
  770. <![CDATA[
  771. if(nursemaininfo.isCell(event.target) && nursemaininfo.mouseRow >= nursemaininfo.fixedrows){
  772. fSetParam("nm");
  773. if (nursemaininfo.col == nursemaininfo.colRef("disp1img") && model.getValue("/root/main/nursemainlist/nursemaininfo[" + nursemaininfo.mouseRow + "]/disp1")){
  774. model.makeValue("/root/send/infection", "B");
  775. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  776. }else if (nursemaininfo.col == nursemaininfo.colRef("disp2img") && model.getValue("/root/main/nursemainlist/nursemaininfo[" + nursemaininfo.mouseRow + "]/disp2")){
  777. model.makeValue("/root/send/infection", "C");
  778. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  779. }else if (nursemaininfo.col == nursemaininfo.colRef("disp3img") && model.getValue("/root/main/nursemainlist/nursemaininfo[" + nursemaininfo.mouseRow + "]/disp3")){
  780. model.makeValue("/root/send/infection", "A");
  781. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  782. }
  783. }
  784. ]]>
  785. </script>
  786. <script type="javascript" ev:event="onaftersort">
  787. <![CDATA[
  788. nursemaininfo.gridToInstance();
  789. ]]>
  790. </script>
  791. <script type="javascript" ev:event="onclick">
  792. <![CDATA[
  793. var sCol = nursemaininfo.mouseCol;
  794. if(sCol == nursemaininfo.colRef("memoyn")){
  795. nursemaininfo.row = nursemaininfo.mouseRow;
  796. if(model.getValue("/root/main/nursemainlist/nursemaininfo[" + nursemaininfo.row + "]/memo") != "Y"){
  797. fErPatInsmemo();
  798. }else{
  799. fErPatSetmemo();
  800. }
  801. }
  802. if(sCol == nursemaininfo.colRef("spcffactyn")) {
  803. nursemaininfo.row = nursemaininfo.mouseRow;
  804. if(model.getValue("/root/main/nursemainlist/nursemaininfo[" + nursemaininfo.row + "]/spcffactyn") == "★"){
  805. // var sOrdtype = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/ordtype" );
  806. // var sPid = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/pid" );
  807. // var sIndd = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/indd" );
  808. // var sCretno = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/cretno" );
  809. // var sInstcd = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/instcd" );
  810. // var sSrchdd = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/dschdd" );
  811. //
  812. // var param = sOrdtype + "▦"
  813. // + sPid + "▦"
  814. // + sIndd + "▦"
  815. // + sCretno + "▦"
  816. // + sInstcd + "▦"
  817. // + sSrchdd + "▦" ;
  818. //
  819. // setParameter("condparam", param);
  820. fSetParam("nm");
  821. modal ( "SMPMC01300" );
  822. }
  823. }
  824. ]]>
  825. </script>
  826. </datagrid>
  827. </case>
  828. <case id="case2">
  829. <import id="import2" src="../../../emr/wardcareweb/xrw/SMMNW00400_To-do list.xrw" style="left:0px; top:0px; width:1190px; height:634px; "/>
  830. </case>
  831. <case id="case3">
  832. <import id="import1" src="../../../emr/wardorderweb/xrw/SMMNW00300_Order Manage.xrw" style="left:0px; top:0px; width:1190px; height:634px; "/>
  833. </case>
  834. <case id="case4">
  835. <caption id="caption128" class="cell_1" style="left:832px; top:269px; width:70px; height:23px; vertical-align:middle; ">경증환자</caption>
  836. <datagrid id="grd_patlist" nodeset="/root/main/ercensuslist/erpatientlist" allowselection="false" caption="Bed^등록번호^환자명^S/A^입원일자^생성번호^기관코드" colsep="^" colwidth="66, 0, 90, 56, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:29px; width:233px; height:624px; ">
  837. <col ref="bedposcnts"/>
  838. <col ref="pid"/>
  839. <col ref="patnm"/>
  840. <col ref="grdrage" style="text-align:center; "/>
  841. <col ref="indd"/>
  842. <col ref="cretno"/>
  843. <col ref="instcd"/>
  844. <col ref="ordtype"/>
  845. <col ref="dschdd"/>
  846. <script type="javascript" ev:event="ondblclick">
  847. <![CDATA[
  848. fSetParam("ec");
  849. fSearchPatienInfo(sSrchToolStatus);
  850. ]]>
  851. </script>
  852. <script type="javascript" ev:event="onaftersort">
  853. <![CDATA[
  854. grd_patlist.gridToInstance();
  855. ]]>
  856. </script>
  857. </datagrid>
  858. <line id="line3" class="line_1" style="x1:5px; y1:25px; x2:240px; y2:25px; "/>
  859. <line id="line4" class="line_2" style="x1:245px; y1:52px; x2:1184px; y2:52px; "/>
  860. <line id="line7" class="line_2" style="x1:244px; y1:76px; x2:1184px; y2:76px; "/>
  861. <line id="line11" class="line_1" style="x1:244px; y1:121px; x2:1184px; y2:121px; "/>
  862. <line id="line12" class="line_2" style="x1:244px; y1:147px; x2:1184px; y2:147px; "/>
  863. <line id="line16" class="line_2" style="x1:244px; y1:171px; x2:1184px; y2:171px; "/>
  864. <line id="line14" class="line_2" style="x1:244px; y1:219px; x2:1184px; y2:219px; "/>
  865. <line id="line17" class="line_2" style="x1:244px; y1:243px; x2:1184px; y2:243px; "/>
  866. <line id="line5" class="line_1" style="x1:244px; y1:25px; x2:1184px; y2:25px; "/>
  867. <line id="line6" class="line_2" style="x1:245px; y1:195px; x2:344px; y2:195px; "/>
  868. <line id="line9" class="line_1" style="x1:244px; y1:326px; x2:1184px; y2:326px; "/>
  869. <line id="line15" class="line_2" style="x1:245px; y1:352px; x2:665px; y2:352px; "/>
  870. <line id="line20" class="line_2" style="x1:244px; y1:376px; x2:665px; y2:376px; "/>
  871. <line id="line22" class="line_3" style="x1:244px; y1:451px; x2:1184px; y2:451px; "/>
  872. <line id="line23" class="line_1" style="x1:244px; y1:476px; x2:1184px; y2:476px; "/>
  873. <line id="line25" class="line_3" style="x1:244px; y1:552px; x2:1184px; y2:552px; "/>
  874. <line id="line26" class="line_2" style="x1:244px; y1:503px; x2:665px; y2:503px; "/>
  875. <line id="line19" class="line_1" style="x1:244px; y1:576px; x2:1184px; y2:576px; "/>
  876. <line id="line34" class="line_2" style="x1:244px; y1:627px; x2:665px; y2:627px; "/>
  877. <line id="line35" class="line_3" style="x1:244px; y1:652px; x2:1184px; y2:652px; "/>
  878. <line id="line36" class="line_2" style="x1:244px; y1:603px; x2:665px; y2:603px; "/>
  879. <line id="line10" class="line_3" style="x1:244px; y1:292px; x2:1184px; y2:292px; "/>
  880. <caption id="caption5" class="cell_1" style="left:245px; top:30px; width:80px; height:23px; vertical-align:middle; ">등록번호</caption>
  881. <caption id="caption14" class="cell_1" style="left:411px; top:30px; width:70px; height:23px; vertical-align:middle; ">환자명</caption>
  882. <caption id="caption15" class="cell_1" style="left:788px; top:30px; width:80px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  883. <caption id="caption16" class="cell_1" style="left:245px; top:54px; width:80px; height:23px; vertical-align:middle; ">S / A</caption>
  884. <caption id="caption17" class="cell_1" style="left:411px; top:54px; width:70px; height:23px; vertical-align:middle; ">전화</caption>
  885. <caption id="caption18" class="cell_1" style="left:592px; top:54px; width:95px; height:23px; vertical-align:middle; ">환자용 휴대전화</caption>
  886. <caption id="caption19" class="cell_1" style="left:788px; top:54px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
  887. <caption id="caption30" class="cell_1" style="left:392px; top:173px; width:90px; height:23px; vertical-align:middle; ">발병일자</caption>
  888. <caption id="caption31" class="cell_1" style="left:832px; top:173px; width:70px; height:23px; vertical-align:middle; ">의식상태</caption>
  889. <caption id="caption34" class="cell_1" style="left:832px; top:197px; width:70px; height:23px; vertical-align:middle; ">내원경로</caption>
  890. <caption id="caption35" class="cell_1" style="left:832px; top:221px; width:70px; height:23px; vertical-align:middle; ">내원수단</caption>
  891. <caption id="caption37" class="cell_1" style="left:832px; top:245px; width:70px; height:23px; vertical-align:middle; ">내원사유</caption>
  892. <caption id="caption38" class="cell_1" style="left:245px; top:149px; width:94px; height:23px; vertical-align:middle; ">진단명</caption>
  893. <caption id="caption39" class="cell_1" style="left:245px; top:173px; width:94px; height:23px; vertical-align:middle; ">응급관리료</caption>
  894. <caption id="caption42" class="cell_1" style="left:245px; top:197px; width:94px; height:23px; vertical-align:middle; ">사망여부</caption>
  895. <caption id="caption43" class="cell_1" style="left:392px; top:197px; width:90px; height:23px; vertical-align:middle; ">사망일시</caption>
  896. <caption id="caption44" class="cell_1" style="left:605px; top:197px; width:105px; height:23px; vertical-align:middle; ">입원결정일시</caption>
  897. <caption id="caption45" class="cell_1" style="left:605px; top:221px; width:105px; height:23px; vertical-align:middle; ">입원장접수형태</caption>
  898. <caption id="caption46" class="cell_1" style="left:245px; top:221px; width:94px; height:23px; vertical-align:middle; ">입원대기사유</caption>
  899. <caption id="caption60" class="tit_2" style="left:10px; top:10px; width:100px; height:14px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자리스트</caption>
  900. <caption id="caption61" class="tit_2" style="left:249px; top:10px; width:101px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자정보</caption>
  901. <caption id="caption62" class="tit_2" style="left:249px; top:106px; width:100px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Triage 결과</caption>
  902. <caption id="caption65" style="left:362px; top:56px; width:15px; height:20px; vertical-align:middle; ">/</caption>
  903. <caption id="caption66" style="left:929px; top:32px; width:15px; height:20px; vertical-align:middle; ">-</caption>
  904. <caption id="caption50" class="cell_1" visibility="hidden" style="left:682px; top:293px; width:80px; height:23px; vertical-align:middle; ">외래처치</caption>
  905. <caption id="caption1" class="cell_1" style="left:1006px; top:30px; width:80px; height:23px; vertical-align:middle; ">보험유형</caption>
  906. <caption id="caption69" class="cell_1" style="left:592px; top:30px; width:95px; height:23px; vertical-align:middle; ">보호자용 연락처</caption>
  907. <caption id="caption70" class="cell_1" style="left:662px; top:125px; width:100px; height:23px; vertical-align:middle; ">전광판용 주호소</caption>
  908. <caption id="caption59" class="cell_1" style="left:662px; top:149px; width:100px; height:23px; vertical-align:middle; ">간호사용 주호소</caption>
  909. <caption id="caption72" class="cell_1" style="left:1059px; top:125px; width:74px; height:23px; vertical-align:middle; ">중증도</caption>
  910. <caption id="caption22" class="cell_1" style="left:245px; top:245px; width:94px; height:23px; vertical-align:middle; ">Remark</caption>
  911. <caption id="caption24" class="tit_2" style="left:249px; top:311px; width:114px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Call/Visit Time</caption>
  912. <caption id="caption23" class="cell_1" style="left:245px; top:269px; width:94px; height:23px; vertical-align:middle; ">검사 Remark</caption>
  913. <caption id="caption25" class="cell_1" style="left:245px; top:330px; width:84px; height:23px; vertical-align:middle; ">내원일시</caption>
  914. <caption id="caption26" class="cell_1" style="left:245px; top:354px; width:84px; height:23px; vertical-align:middle; ">퇴실일시</caption>
  915. <caption id="caption36" class="cell_1" style="left:245px; top:378px; width:128px; height:23px; vertical-align:middle; ">퇴실구분</caption>
  916. <caption id="caption40" class="cell_1" style="left:605px; top:173px; width:105px; height:23px; vertical-align:middle; ">초진시간</caption>
  917. <caption id="caption48" class="cell_1" style="left:472px; top:354px; width:103px; height:23px; vertical-align:middle; ">입원예정병실</caption>
  918. <caption id="caption78" class="cell_1" style="left:245px; top:481px; width:84px; height:23px; vertical-align:middle; ">내원일시</caption>
  919. <caption id="caption79" class="cell_1" style="left:472px; top:505px; width:103px; height:23px; vertical-align:middle; ">입원예정병실</caption>
  920. <caption id="caption80" class="cell_1" style="left:245px; top:505px; width:84px; height:23px; vertical-align:middle; ">퇴실일시</caption>
  921. <caption id="caption82" class="cell_1" style="left:245px; top:78px; width:80px; height:23px; vertical-align:middle; "/>
  922. <caption id="caption89" class="cell_1" style="left:245px; top:581px; width:84px; height:23px; vertical-align:middle; ">내원일시</caption>
  923. <caption id="caption90" class="cell_1" style="left:472px; top:605px; width:103px; height:23px; vertical-align:middle; ">입원예정병실</caption>
  924. <caption id="caption91" class="cell_1" style="left:245px; top:605px; width:84px; height:23px; vertical-align:middle; ">퇴실일시</caption>
  925. <caption id="caption93" class="cell_1" style="left:516px; top:330px; width:59px; height:23px; vertical-align:middle; ">체류시간</caption>
  926. <caption id="caption2" class="cell_1" style="left:516px; top:480px; width:59px; height:23px; vertical-align:middle; ">체류시간</caption>
  927. <caption id="caption3" class="cell_1" style="left:516px; top:580px; width:59px; height:23px; vertical-align:middle; ">체류시간</caption>
  928. <caption id="caption7" class="cell_1" style="left:245px; top:529px; width:128px; height:23px; vertical-align:middle; ">퇴실구분</caption>
  929. <caption id="caption8" class="cell_1" style="left:245px; top:629px; width:128px; height:23px; vertical-align:middle; ">퇴실구분</caption>
  930. <output id="opt_pid" ref="/root/main/ercensusinfo/patinfo/pid" class="output_fix" style="left:327px; top:31px; width:81px; height:19px; text-align:right; "/>
  931. <output id="opt_patnm" ref="/root/main/ercensusinfo/patinfo/patnm" class="output_fix" style="left:483px; top:31px; width:106px; height:19px; "/>
  932. <output id="opt_rrgsno1" ref="/root/main/ercensusinfo/patinfo/rrgsno1" class="output_fix" style="left:870px; top:31px; width:56px; height:19px; text-align:center; "/>
  933. <output id="opt_sex" ref="/root/main/ercensusinfo/patinfo/gndr" class="output_fix" style="left:327px; top:55px; width:31px; height:19px; text-align:center; "/>
  934. <output id="opt_cntctel" ref="/root/main/ercensusinfo/patinfo/cntctel" class="output_fix" style="left:483px; top:55px; width:106px; height:19px; "/>
  935. <output id="opt_cellularphone" ref="/root/main/ercensusinfo/patinfo/cellularphone" class="output_fix" style="left:689px; top:55px; width:96px; height:19px; "/>
  936. <output id="opt_addr" ref="/root/main/ercensusinfo/patinfo/addr" class="output_fix" style="left:870px; top:55px; width:314px; height:19px; "/>
  937. <output id="opt_attackdd" ref="/root/main/ercensusinfo/patinfo/attackdd" class="output_fix" format="yyyy-mm-dd" style="left:484px; top:174px; width:118px; height:19px; "/>
  938. <output id="opt_diagnm" ref="/root/main/ercensusinfo/patinfo/diagnm" class="output_fix" style="left:341px; top:150px; width:318px; height:19px; "/>
  939. <output id="opt_ermngtpay" ref="/root/main/ercensusinfo/patinfo/ermngtpay" class="output_fix" style="left:341px; top:174px; width:48px; height:19px; text-align:center; "/>
  940. <output id="opt_dethyn" ref="/root/main/ercensusinfo/patinfo/dethyn" class="output_fix" style="left:341px; top:198px; width:48px; height:19px; text-align:center; "/>
  941. <output id="opt_dethdt" ref="/root/main/ercensusinfo/patinfo/dethdt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:484px; top:198px; width:118px; height:19px; "/>
  942. <output id="opt_inrsrvacptddtm" ref="/root/main/ercensusinfo/patinfo/inrsrvacptddtm" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:712px; top:198px; width:117px; height:19px; "/>
  943. <output id="opt_age" ref="/root/main/ercensusinfo/patinfo/age" class="output_fix" style="left:375px; top:55px; width:33px; height:19px; text-align:center; "/>
  944. <output id="opt_rrgsno2" ref="/root/main/ercensusinfo/patinfo/rrgsno2" class="output_fix" style="left:941px; top:31px; width:62px; height:19px; text-align:center; "/>
  945. <output id="opt_serdiagprovcls" ref="/root/main/ercensusinfo/patinfo/serdiagprovcls" class="output_fix" style="left:1135px; top:127px; width:49px; height:19px; "/>
  946. <output id="opt_outrmdt1" ref="/root/main/ercensusinfo/patinfo/outrmdt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:331px; top:355px; width:138px; height:19px; "/>
  947. <output id="opt_fstexamtm1" ref="/root/main/ercensusinfo/patinfo/fstexam" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:712px; top:174px; width:117px; height:19px; "/>
  948. <output id="opt_assgroom1" ref="/root/main/ercensusinfo/patinfo/assgroom" class="output_fix" style="left:577px; top:355px; width:89px; height:19px; text-align:right; "/>
  949. <output id="opt_outrmdt2" ref="/root/main/ercensusinfo/patinfo/revisit1outrmdt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:331px; top:506px; width:138px; height:19px; "/>
  950. <output id="opt_assgroom2" ref="/root/main/ercensusinfo/patinfo/revisit1assgroom" class="output_fix" style="left:577px; top:506px; width:89px; height:19px; text-align:right; "/>
  951. <output id="opt_outrmdt3" ref="/root/main/ercensusinfo/patinfo/revisit2outrmdt" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:331px; top:606px; width:138px; height:19px; "/>
  952. <output id="opt_assgroom3" ref="/root/main/ercensusinfo/patinfo/revisit2assgroom" class="output_fix" style="left:577px; top:606px; width:89px; height:19px; text-align:right; "/>
  953. <output id="opt_stattm3" ref="/root/main/ercensusinfo/patinfo/revisit2stattm" class="output_fix" style="left:577px; top:582px; width:89px; height:19px; text-align:right; "/>
  954. <output id="opt_stattm1" ref="/root/main/ercensusinfo/patinfo/stattm" class="output_fix" style="left:577px; top:331px; width:89px; height:19px; text-align:right; "/>
  955. <output id="opt_stattm2" ref="/root/main/ercensusinfo/patinfo/revisit1stattm" class="output_fix" style="left:577px; top:482px; width:89px; height:19px; text-align:right; "/>
  956. <input id="int_elbulbodpatnm" ref="/root/main/ercensusinfo/patinfo/elbulbodpatnm" class="input_default" visibility="hidden" maxlength="50" appearance="input" style="left:620px; top:5px; width:96px; height:19px; "/>
  957. <button id="btn_bedpopup" class="btn2_letter4" style="left:252px; top:80px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  958. <caption>Bed위치</caption>
  959. <script type="javascript" ev:event="DOMActivate">
  960. <![CDATA[
  961. fPopupBed();
  962. ]]>
  963. </script>
  964. </button>
  965. <input id="int_bedposflag" ref="/root/main/ercensusinfo/patinfo/bedposflag" class="input_essential" disabled="true" maxlength="50" style="left:327px; top:80px; width:81px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; "/>
  966. <caption id="caption73" class="cell_1" style="left:411px; top:78px; width:70px; height:23px; vertical-align:middle; ">CPR여부</caption>
  967. <select1 id="rdo_cpryn" ref="/root/main/ercensusinfo/patinfo/cpryn" class="radio_search1" appearance="full" cols="2" overflow="visible" style="left:484px; top:82px; width:65px; height:13px; border-style:none; ">
  968. <choices>
  969. <item>
  970. <label>Y</label>
  971. <value>Y</value>
  972. </item>
  973. <item>
  974. <label>N</label>
  975. <value>N</value>
  976. </item>
  977. </choices>
  978. <script type="javascript" ev:event="xforms-value-changed">
  979. <![CDATA[
  980. var cpryn = rdo_cpryn.value;
  981. if(cpryn == "Y") {
  982. cmb_cprtims.disabled = false;
  983. } else {
  984. cmb_cprtims.disabled = true
  985. cmb_cprtims.value = 0;
  986. }
  987. ]]>
  988. </script>
  989. </select1>
  990. <select1 id="rdo_outcureyn" ref="/root/main/ercensusinfo/patinfo/outcureyn" class="radio_search1" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:765px; top:296px; width:65px; height:20px; border-style:none; ">
  991. <choices>
  992. <item>
  993. <label>Y</label>
  994. <value>Y</value>
  995. </item>
  996. <item>
  997. <label>N</label>
  998. <value>N</value>
  999. </item>
  1000. </choices>
  1001. </select1>
  1002. <input id="int_elbulbodcccnts" ref="/root/main/ercensusinfo/patinfo/elbulbodcccnts" class="input_default" maxlength="50" appearance="input" style="left:764px; top:126px; width:292px; height:19px; "/>
  1003. <input id="int_nurscccnts" ref="/root/main/ercensusinfo/patinfo/nurscccnts" class="input_default" maxlength="500" appearance="input" style="left:764px; top:150px; width:292px; height:19px; "/>
  1004. <input id="int_inwaitresncnts" ref="/root/main/ercensusinfo/patinfo/inwaitresncnts" class="input_default" style="left:341px; top:222px; width:241px; height:19px; "/>
  1005. <input id="int_skilfact" ref="/root/main/ercensusinfo/patinfo/skilfact" class="input_default" maxlength="500" style="left:341px; top:246px; width:487px; height:19px; "/>
  1006. <input id="int_spcltest" ref="/root/main/ercensusinfo/patinfo/spcltest" class="input_default" maxlength="500" style="left:341px; top:271px; width:487px; height:19px; "/>
  1007. <button id="btn_save" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1141px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  1008. <caption>저장</caption>
  1009. <script type="javascript" ev:event="onclick">
  1010. <![CDATA[
  1011. fSaveCensusInfo("patinfoI"); // census 등록
  1012. ]]>
  1013. </script>
  1014. </button>
  1015. <button id="btn_updt" class="btn2_letter2" style="left:1096px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1016. <caption>수정</caption>
  1017. <script type="javascript" ev:event="onclick">
  1018. <![CDATA[
  1019. fSaveCensusInfo("patinfoU");
  1020. ]]>
  1021. </script>
  1022. </button>
  1023. <input id="int_chosdd1" ref="/root/main/ercensusinfo/patinfo/chosdd" class="input_essential" inputtype="date" style="left:331px; top:331px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1024. <script type="javascript" ev:event="xforms-value-changed">
  1025. <![CDATA[
  1026. int_chosdd1.value = fChosdtChk("D", int_chosdd1.value );
  1027. ]]>
  1028. </script>
  1029. </input>
  1030. <input id="int_chostm1" ref="/root/main/ercensusinfo/patinfo/chostm" class="input_essential" format="hh:nn" style="left:425px; top:331px; width:44px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1031. <script type="javascript" ev:event="xforms-value-changed">
  1032. <![CDATA[
  1033. int_chostm1.value = fChosdtChk("T", int_chostm1.value );
  1034. ]]>
  1035. </script>
  1036. </input>
  1037. <select id="chk_revisit1" ref="/root/main/ercensusinfo/patinfo/revisit1" overflow="visible" appearance="full" style="left:245px; top:461px; width:100px; height:20px; border-style:none; ">
  1038. <choices>
  1039. <item>
  1040. <label>Revisit 1차</label>
  1041. <value>Y</value>
  1042. <value>N</value>
  1043. </item>
  1044. </choices>
  1045. <script type="javascript" ev:event="xforms-value-changed">
  1046. <![CDATA[
  1047. fRevisitSeting("/root/main/ercensusinfo/erorddrlist1", "/outrmdt", "/revisit1", "1" );
  1048. ]]>
  1049. </script>
  1050. </select>
  1051. <select id="chk_revisit2" ref="/root/main/ercensusinfo/patinfo/revisit2" overflow="visible" appearance="full" style="left:245px; top:561px; width:100px; height:20px; border-style:none; ">
  1052. <choices>
  1053. <item>
  1054. <label>Revisit 2차</label>
  1055. <value>Y</value>
  1056. <value>N</value>
  1057. </item>
  1058. </choices>
  1059. <script type="javascript" ev:event="xforms-value-changed">
  1060. <![CDATA[
  1061. fRevisitSeting("/root/main/ercensusinfo/erorddrlist2", "/revisit1outrmdt", "/revisit2", "2" );
  1062. ]]>
  1063. </script>
  1064. </select>
  1065. <select1 id="cmb_insukind" ref="/root/main/ercensusinfo/patinfo/insukind" disabled="true" appearance="minimal" style="left:1088px; top:31px; width:96px; height:19px; ">
  1066. <choices>
  1067. <itemset nodeset="/root/init/P0008list/P0008">
  1068. <label ref="cdnm"/>
  1069. <value ref="cdid"/>
  1070. </itemset>
  1071. </choices>
  1072. </select1>
  1073. <select1 id="cmb_cscsstat" ref="/root/main/ercensusinfo/patinfo/cscsstat" disabled="true" appearance="minimal" style="left:904px; top:174px; width:152px; height:19px; ">
  1074. <choices>
  1075. <itemset nodeset="/root/init/M0117list/M0117">
  1076. <label ref="cdnm"/>
  1077. <value ref="cdid"/>
  1078. </itemset>
  1079. </choices>
  1080. </select1>
  1081. <select1 id="cmb_chospathflag" ref="/root/main/ercensusinfo/patinfo/chospathflag" disabled="true" appearance="minimal" style="left:904px; top:198px; width:152px; height:19px; ">
  1082. <choices>
  1083. <itemset nodeset="/root/init/M0118list/M0118">
  1084. <label ref="cdnm"/>
  1085. <value ref="cdid"/>
  1086. </itemset>
  1087. </choices>
  1088. </select1>
  1089. <select1 id="cmb_choswayflag" ref="/root/main/ercensusinfo/patinfo/choswayflag" disabled="true" appearance="minimal" style="left:904px; top:222px; width:152px; height:19px; ">
  1090. <choices>
  1091. <itemset nodeset="/root/init/M0119list/M0119">
  1092. <label ref="cdnm"/>
  1093. <value ref="cdid"/>
  1094. </itemset>
  1095. </choices>
  1096. </select1>
  1097. <select1 id="cmb_chosresn" ref="/root/main/ercensusinfo/patinfo/chosresn" disabled="true" appearance="minimal" style="left:904px; top:246px; width:152px; height:19px; ">
  1098. <choices>
  1099. <itemset nodeset="/root/init/M0120list/M0120">
  1100. <label ref="cdnm"/>
  1101. <value ref="cdid"/>
  1102. </itemset>
  1103. </choices>
  1104. </select1>
  1105. <datagrid id="grd_calldoc1" nodeset="/root/main/ercensusinfo/erorddrlist" caption="진료과^Main^Call time^Visit Time^의사명^진료과코드^진료의ID^status^pid^indd^cretno^visitno^instno" colsep="^" colwidth="117, 38, 125, 125, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:670px; top:331px; width:514px; height:119px; ">
  1106. <col ref="erorddeptnm" style="text-align:center; "/>
  1107. <col checkvalue="M,S" ref="mainyn" type="checkbox"/>
  1108. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1109. <col ref="arrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1110. <col ref="erorddoctnm" style="text-align:center; "/>
  1111. <col ref="erorddeptcd"/>
  1112. <col ref="erorddoctcd"/>
  1113. <col ref="status"/>
  1114. <col ref="pid"/>
  1115. <col ref="indd"/>
  1116. <col ref="cretno"/>
  1117. <col ref="visitno"/>
  1118. <col ref="instcd"/>
  1119. <col ref="refseq"/>
  1120. <col ref="callno"/>
  1121. <script type="javascript" ev:event="onbuttonclick">
  1122. <![CDATA[
  1123. var sCol = grd_calldoc1.col;
  1124. var sRow = grd_calldoc1.row;
  1125. var NowDate = getCurrentDate() + getCurrentTime().substr(0,4);
  1126. if(sCol == 2 ){
  1127. model.setValue("/root/main/ercensusinfo/erorddrlist["+sRow+"]/calldt", NowDate);
  1128. fChangeStatus("/root/main/ercensusinfo/erorddrlist", sRow );
  1129. }
  1130. if(sCol == 3){
  1131. model.setValue("/root/main/ercensusinfo/erorddrlist["+sRow+"]/arrivdt", NowDate);
  1132. fChangeStatus("/root/main/ercensusinfo/erorddrlist", sRow );
  1133. }
  1134. if(sCol == 4 ){
  1135. fUseridPopup("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/erorddoctnm" ), "D");
  1136. grd_calldoc1.refresh();
  1137. // 입력 필드(응급진료의사)
  1138. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1139. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1140. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1141. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/visitno", "0");
  1142. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/instcd", "012");
  1143. // model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/mainyn", model.getValue("/root/main/ercensusinfo/patinfo/mainyn"));
  1144. }
  1145. ]]>
  1146. </script>
  1147. <script type="javascript" ev:event="onendedit">
  1148. <![CDATA[
  1149. var grid_row = grd_calldoc1.row;
  1150. var grid_col = grd_calldoc1.col;
  1151. if(grid_col == "2" ){
  1152. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist", "/calldt", grid_row);
  1153. }
  1154. if(grid_col == "3"){
  1155. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist", "/arrivdt", grid_row);
  1156. }
  1157. if(event.keyCode == 13) {
  1158. if(grid_col == "4"){
  1159. // setInputNodeCurText(); // 현재 인풋값 노드 반영
  1160. fUserEnter("/root/main/ercensusinfo/erorddrlist"+"["+grid_row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/erorddoctnm" ), "D");
  1161. grd_calldoc1.refresh();
  1162. }
  1163. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1164. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1165. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1166. // model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/mainyn", model.getValue("/root/main/ercensusinfo/patinfo/mainyn"));
  1167. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/visitno", "0");
  1168. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/instcd", "012");
  1169. }
  1170. fChangeStatus("/root/main/ercensusinfo/erorddrlist", grid_row);
  1171. ]]>
  1172. </script>
  1173. <script type="javascript" ev:event="xforms-value-changed">
  1174. <![CDATA[
  1175. var grid_row = grd_calldoc1.row;
  1176. var grid_col = grd_calldoc1.col;
  1177. if(grid_col == "1" ){
  1178. fChangMainOdrdept("/root/main/ercensusinfo/erorddrlist", grid_row, "0" );
  1179. }else{
  1180. return;
  1181. }
  1182. ]]>
  1183. </script>
  1184. </datagrid>
  1185. <datagrid id="grd_calldoc2" nodeset="/root/main/ercensusinfo/erorddrlist1" caption="진료과^Main^Call time^Visit Time^의사명^진료과코드^진료의ID" colsep="^" colwidth="117, 38, 125, 125, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:670px; top:481px; width:514px; height:67px; ">
  1186. <col ref="erorddeptnm" style="text-align:center; "/>
  1187. <col checkvalue="M,S" ref="mainyn" type="checkbox"/>
  1188. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1189. <col ref="arrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1190. <col ref="erorddoctnm" style="text-align:center; "/>
  1191. <col ref="erorddeptcd"/>
  1192. <col ref="erorddoctcd"/>
  1193. <col ref="status"/>
  1194. <col ref="pid"/>
  1195. <col ref="indd"/>
  1196. <col ref="cretno"/>
  1197. <col ref="visitno"/>
  1198. <col ref="instcd"/>
  1199. <col ref="refseq"/>
  1200. <col ref="callno"/>
  1201. <script type="javascript" ev:event="onbuttonclick">
  1202. <![CDATA[
  1203. var sCol = grd_calldoc2.col;
  1204. var sRow = grd_calldoc2.row;
  1205. var NowDate = getCurrentDate() + getCurrentTime().substr(0,4);
  1206. if(sCol == 2 ){
  1207. model.setValue("/root/main/ercensusinfo/erorddrlist1["+sRow+"]/calldt", NowDate);
  1208. fChangeStatus("/root/main/ercensusinfo/erorddrlist1", sRow );
  1209. }
  1210. if(sCol == 3){
  1211. model.setValue("/root/main/ercensusinfo/erorddrlist1["+sRow+"]/arrivdt", NowDate);
  1212. fChangeStatus("/root/main/ercensusinfo/erorddrlist1", sRow );
  1213. }
  1214. if(sCol == 4 ){
  1215. fUseridPopup("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ervisitdiary/erorddrlist1["+grd_calldoc2.row+"]/erorddoctnm" ), "D");
  1216. grd_calldoc2.refresh();
  1217. model.setValue("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]"+"/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1218. model.setValue("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]"+"/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1219. model.setValue("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]"+"/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1220. model.setValue("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]"+"/visitno", "1");
  1221. model.setValue("/root/main/ercensusinfo/erorddrlist1"+"["+grd_calldoc2.row+"]"+"/instcd", "012");
  1222. }
  1223. ]]>
  1224. </script>
  1225. <script type="javascript" ev:event="onendedit">
  1226. <![CDATA[
  1227. var grid_row = grd_calldoc2.row;
  1228. var grid_col = grd_calldoc2.col;
  1229. if(grid_col == "2" ){
  1230. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist1", "/calldt", grid_row);
  1231. }
  1232. if(grid_col == "3"){
  1233. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist1", "/arrivdt", grid_row);
  1234. }
  1235. if(event.keyCode == 13) {
  1236. if(grid_col == "4"){
  1237. // setInputNodeCurText(); // 현재 인풋값 노드 반영
  1238. fUserEnter("/root/main/ercensusinfo/erorddrlist1"+"["+grid_row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ercensusinfo/erorddrlist1["+grid_row+"]/erorddoctnm" ), "D");
  1239. grd_calldoc2.refresh();
  1240. }
  1241. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1242. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1243. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1244. // model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/mainyn", model.getValue("/root/main/ercensusinfo/patinfo/mainyn"));
  1245. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/visitno", "1");
  1246. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/instcd", "012");
  1247. }
  1248. fChangeStatus("/root/main/ercensusinfo/erorddrlist1", grid_row);
  1249. ]]>
  1250. </script>
  1251. <script type="javascript" ev:event="xforms-value-changed">
  1252. <![CDATA[
  1253. var grid_row = grd_calldoc2.row;
  1254. var grid_col = grd_calldoc2.col;
  1255. if(grid_col == "1" ){
  1256. fChangMainOdrdept("/root/main/ercensusinfo/erorddrlist1", grid_row, "1" );
  1257. }else{
  1258. return;
  1259. }
  1260. ]]>
  1261. </script>
  1262. </datagrid>
  1263. <datagrid id="grd_calldoc3" nodeset="/root/main/ercensusinfo/erorddrlist2" caption="진료과^Main^Call time^Visit Time^의사명^진료과코드^진료의ID" colsep="^" colwidth="117, 38, 125, 125, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:670px; top:581px; width:514px; height:67px; ">
  1264. <col ref="erorddeptnm" style="text-align:center; "/>
  1265. <col checkvalue="M,S" ref="mainyn" type="checkbox"/>
  1266. <col ref="calldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1267. <col ref="arrivdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1268. <col ref="erorddoctnm" style="text-align:center; "/>
  1269. <col ref="erorddeptcd"/>
  1270. <col ref="erorddoctcd"/>
  1271. <col ref="status"/>
  1272. <col ref="pid"/>
  1273. <col ref="indd"/>
  1274. <col ref="cretno"/>
  1275. <col ref="visitno"/>
  1276. <col ref="instcd"/>
  1277. <col ref="refseq"/>
  1278. <col ref="callno"/>
  1279. <script type="javascript" ev:event="onbuttonclick">
  1280. <![CDATA[
  1281. var sCol = grd_calldoc3.col;
  1282. var sRow = grd_calldoc3.row;
  1283. var NowDate = getCurrentDate() + getCurrentTime().substr(0,4);
  1284. if(sCol == 2 ){
  1285. model.setValue("/root/main/ercensusinfo/erorddrlist2["+sRow+"]/calldt", NowDate);
  1286. fChangeStatus("/root/main/ercensusinfo/erorddrlist2", sRow );
  1287. }
  1288. if(sCol == 3){
  1289. model.setValue("/root/main/ercensusinfo/erorddrlist2["+sRow+"]/arrivdt", NowDate);
  1290. fChangeStatus("/root/main/ercensusinfo/erorddrlist2", sRow );
  1291. }
  1292. if(sCol == 4 ){
  1293. fUseridPopup("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ervisitdiary/erorddrlist2["+grd_calldoc3.row+"]/erorddoctnm" ), "D");
  1294. grd_calldoc3.refresh();
  1295. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]"+"/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1296. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]"+"/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1297. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]"+"/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1298. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]"+"/visitno", "2");
  1299. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]"+"/instcd", "012");
  1300. }
  1301. ]]>
  1302. </script>
  1303. <script type="javascript" ev:event="onendedit">
  1304. <![CDATA[
  1305. var grid_row = grd_calldoc3.row;
  1306. var grid_col = grd_calldoc3.col;
  1307. if(grid_col == "2" ){
  1308. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist2", "/calldt", grid_row);
  1309. }
  1310. if(grid_col == "3"){
  1311. fCallVisitTimeSet("/root/main/ercensusinfo/erorddrlist2", "/arrivdt", grid_row);
  1312. }
  1313. if(event.keyCode == 13) {
  1314. if(grid_col == "4"){
  1315. // setInputNodeCurText(); // 현재 인풋값 노드 반영
  1316. fUserEnter("/root/main/ercensusinfo/erorddrlist2"+"["+grid_row+"]" , "/erorddoctcd", "/erorddoctnm" ,"/erorddeptcd", "/erorddeptnm", model.getValue("/root/main/ercensusinfo/erorddrlist2["+grid_row+"]/erorddoctnm" ), "D");
  1317. grd_calldoc3.refresh();
  1318. }
  1319. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1320. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/indd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1321. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/cretno", model.getValue("/root/main/ercensusinfo/patinfo/cretno"));
  1322. // model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc2.row+"]/mainyn", model.getValue("/root/main/ercensusinfo/patinfo/mainyn"));
  1323. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/visitno", "2");
  1324. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/instcd", "012");
  1325. }
  1326. fChangeStatus("/root/main/ercensusinfo/erorddrlist2", grid_row);
  1327. ]]>
  1328. </script>
  1329. <script type="javascript" ev:event="xforms-value-changed">
  1330. <![CDATA[
  1331. var grid_row = grd_calldoc3.row;
  1332. var grid_col = grd_calldoc3.col;
  1333. if(grid_col == "1" ){
  1334. fChangMainOdrdept("/root/main/ercensusinfo/erorddrlist2", grid_row, "2");
  1335. }else{
  1336. return;
  1337. }
  1338. ]]>
  1339. </script>
  1340. </datagrid>
  1341. <button id="btn_outrmcncl1" class="btn2_letter4" style="left:306px; top:380px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1342. <caption>퇴실취소</caption>
  1343. <script type="javascript" ev:event="onclick">
  1344. <![CDATA[
  1345. fOutrmCancel("/root/main/ercensusinfo/patinfo/outrmdt",'0');
  1346. ]]>
  1347. </script>
  1348. </button>
  1349. <button id="btn_outrmcncl2" class="btn2_letter4" style="left:306px; top:531px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1350. <caption>퇴실취소</caption>
  1351. <script type="javascript" ev:event="onclick">
  1352. <![CDATA[
  1353. fOutrmCancel("/root/main/ercensusinfo/patinfo/revisit1outrmdt", '1');
  1354. ]]>
  1355. </script>
  1356. </button>
  1357. <button id="btn_outrmcncl3" class="btn2_letter4" style="left:306px; top:631px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1358. <caption>퇴실취소</caption>
  1359. <script type="javascript" ev:event="onclick">
  1360. <![CDATA[
  1361. fOutrmCancel("/root/main/ercensusinfo/patinfo/revisit2outrmdt", '2');
  1362. ]]>
  1363. </script>
  1364. </button>
  1365. <button id="btn_updtrow1" class="btn2_letter2" style="left:472px; top:331px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1366. <caption>수정</caption>
  1367. <script type="javascript" ev:event="onclick">
  1368. <![CDATA[
  1369. fSetCallDoc("/chosdd", "/chostm", "/stattm", "0", "R1");
  1370. ]]>
  1371. </script>
  1372. </button>
  1373. <button id="btn_saverow1" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:472px; top:331px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  1374. <caption>저장</caption>
  1375. <script type="javascript" ev:event="onclick">
  1376. <![CDATA[
  1377. fSaveCallDoc("/chosdd", "/chostm", "/stattm", "0", "R1");
  1378. ]]>
  1379. </script>
  1380. </button>
  1381. <button id="btn_introw1" class="btn2_letter3" visibility="hidden" style="left:960px; top:305px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1382. <caption>행삽입</caption>
  1383. <script type="javascript" ev:event="onclick">
  1384. <![CDATA[
  1385. if(grd_calldoc1.selectedRow(0) != "-1" ){
  1386. grd_calldoc1.insertRow(grd_calldoc1.row);
  1387. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/status", "I");
  1388. model.setValue("/root/main/ercensusinfo/erorddrlist["+grd_calldoc1.row+"]/refseq", grd_calldoc1.row);
  1389. }
  1390. ]]>
  1391. </script>
  1392. </button>
  1393. <button id="btn_delrow1" class="btn2_letter3" visibility="hidden" style="left:904px; top:305px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1394. <caption>행삭제</caption>
  1395. <script type="javascript" ev:event="onclick">
  1396. <![CDATA[
  1397. fDelCallDoc("/root/main/ercensusinfo/erorddrlist", grd_calldoc1.row, grd_calldoc1.rows, '0', "R1");
  1398. ]]>
  1399. </script>
  1400. </button>
  1401. <button id="btn_addrow1" class="btn2_letter3" visibility="hidden" style="left:848px; top:305px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1402. <caption>행추가</caption>
  1403. <script type="javascript" ev:event="onclick">
  1404. <![CDATA[
  1405. grd_calldoc1.addRow();
  1406. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/status", "I");
  1407. model.setValue("/root/main/ercensusinfo/erorddrlist"+"["+grd_calldoc1.row+"]"+"/refseq", grd_calldoc1.row);
  1408. ]]>
  1409. </script>
  1410. </button>
  1411. <button id="btn_updtrow2" class="btn2_letter2" disabled="true" style="left:472px; top:482px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1412. <caption>수정</caption>
  1413. <script type="javascript" ev:event="onclick">
  1414. <![CDATA[
  1415. fSetCallDoc("/revisit1chosdd", "/revisit1chostm","/revisit1stattm", "1", "R2");
  1416. ]]>
  1417. </script>
  1418. </button>
  1419. <button id="btn_saverow2" class="btn5_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:472px; top:482px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  1420. <caption>저장</caption>
  1421. <script type="javascript" ev:event="onclick">
  1422. <![CDATA[
  1423. fSaveCallDoc("/revisit1chosdd", "/revisit1chostm", "/revisit1stattm", "1", "R2");
  1424. ]]>
  1425. </script>
  1426. </button>
  1427. <button id="btn_introw2" class="btn2_letter3" disabled="true" visibility="hidden" style="left:960px; top:455px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1428. <caption>행삽입</caption>
  1429. <script type="javascript" ev:event="onclick">
  1430. <![CDATA[
  1431. if(grd_calldoc2.selectedRow(0) != "-1" ){
  1432. grd_calldoc2.insertRow(grd_calldoc2.row);
  1433. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/status", "I");
  1434. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/refseq", grd_calldoc2.row);
  1435. }
  1436. ]]>
  1437. </script>
  1438. </button>
  1439. <button id="btn_delrow2" class="btn2_letter3" disabled="true" visibility="hidden" style="left:904px; top:455px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1440. <caption>행삭제</caption>
  1441. <script type="javascript" ev:event="onclick">
  1442. <![CDATA[
  1443. fDelCallDoc("/root/main/ercensusinfo/erorddrlist1", grd_calldoc2.row, grd_calldoc2.rows, '1', "R2");
  1444. ]]>
  1445. </script>
  1446. </button>
  1447. <button id="btn_addrow2" class="btn2_letter3" disabled="true" visibility="hidden" style="left:848px; top:455px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1448. <caption>행추가</caption>
  1449. <script type="javascript" ev:event="onclick">
  1450. <![CDATA[
  1451. grd_calldoc2.addRow();
  1452. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/status", "I");
  1453. model.setValue("/root/main/ercensusinfo/erorddrlist1["+grd_calldoc2.row+"]/refseq", grd_calldoc2.row);
  1454. ]]>
  1455. </script>
  1456. </button>
  1457. <button id="btn_introw3" class="btn2_letter3" disabled="true" visibility="hidden" style="left:960px; top:555px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1458. <caption>행삽입</caption>
  1459. <script type="javascript" ev:event="onclick">
  1460. <![CDATA[
  1461. if(grd_calldoc3.selectedRow(0) != "-1" ){
  1462. grd_calldoc3.insertRow(grd_calldoc3.row);
  1463. model.setValue("/root/main/ercensusinfo/erorddrlist2["+grd_calldoc3.row+"]/status", "I");
  1464. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]/refseq", +grd_calldoc3.row);
  1465. }
  1466. ]]>
  1467. </script>
  1468. </button>
  1469. <button id="btn_delrow3" class="btn2_letter3" disabled="true" visibility="hidden" style="left:904px; top:555px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1470. <caption>행삭제</caption>
  1471. <script type="javascript" ev:event="onclick">
  1472. <![CDATA[
  1473. fDelCallDoc("/root/main/ercensusinfo/erorddrlist2", grd_calldoc3.row, grd_calldoc3.rows, '2', "");
  1474. ]]>
  1475. </script>
  1476. </button>
  1477. <button id="btn_addrow3" class="btn2_letter3" disabled="true" visibility="hidden" style="left:848px; top:555px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1478. <caption>행추가</caption>
  1479. <script type="javascript" ev:event="onclick">
  1480. <![CDATA[
  1481. grd_calldoc3.addRow();
  1482. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]/status", "I");
  1483. model.setValue("/root/main/ercensusinfo/erorddrlist2"+"["+grd_calldoc3.row+"]/refseq", +grd_calldoc3.row);
  1484. ]]>
  1485. </script>
  1486. </button>
  1487. <button id="btn_updtrow3" class="btn2_letter2" disabled="true" style="left:472px; top:582px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  1488. <caption>수정</caption>
  1489. <script type="javascript" ev:event="onclick">
  1490. <![CDATA[
  1491. fSetCallDoc("/revisit2chosdd", "/revisit2chostm", "/revisit2stattm", "2", "");
  1492. ]]>
  1493. </script>
  1494. </button>
  1495. <button id="btn_saverow3" class="btn5_letter2" disabled="true" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:472px; top:582px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  1496. <caption>저장</caption>
  1497. <script type="javascript" ev:event="onclick">
  1498. <![CDATA[
  1499. fSaveCallDoc("/revisit2chosdd", "/revisit2chostm", "/revisit2stattm", "2", "");
  1500. ]]>
  1501. </script>
  1502. </button>
  1503. <input id="int_chosdd2" ref="/root/main/ercensusinfo/patinfo/revisit1chosdd" class="input_essential" disabled="true" inputtype="date" style="left:331px; top:482px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1504. <script type="javascript" ev:event="xforms-value-changed">
  1505. <![CDATA[
  1506. int_chosdd2.value = fChosdtChk("D", int_chosdd2.value );
  1507. ]]>
  1508. </script>
  1509. </input>
  1510. <input id="int_chostm2" ref="/root/main/ercensusinfo/patinfo/revisit1chostm" class="input_essential" disabled="true" format="hh:nn" style="left:425px; top:482px; width:44px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1511. <script type="javascript" ev:event="xforms-value-changed">
  1512. <![CDATA[
  1513. int_chostm2.value = fChosdtChk("T", int_chostm2.value );
  1514. ]]>
  1515. </script>
  1516. </input>
  1517. <input id="int_chosdd3" ref="/root/main/ercensusinfo/patinfo/revisit2chosdd" class="input_essential" disabled="true" inputtype="date" style="left:331px; top:582px; width:92px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1518. <script type="javascript" ev:event="xforms-value-changed">
  1519. <![CDATA[
  1520. int_chosdd3.value = fChosdtChk("D", int_chosdd3.value );
  1521. ]]>
  1522. </script>
  1523. </input>
  1524. <input id="int_chostm3" ref="/root/main/ercensusinfo/patinfo/revisit2chostm" class="input_essential" disabled="true" format="hh:nn" style="left:425px; top:582px; width:44px; height:19px; background-image:../../../com/commonweb/images/input_essential.gif; ">
  1525. <script type="javascript" ev:event="xforms-value-changed">
  1526. <![CDATA[
  1527. int_chostm3.value = fChosdtChk("T", int_chostm3.value );
  1528. ]]>
  1529. </script>
  1530. </input>
  1531. <line id="line13" class="line_2" style="x1:244px; y1:527px; x2:665px; y2:527px; "/>
  1532. <select1 id="cmb_outcnclflag1" ref="/root/main/ercensusinfo/patinfo/outrmtype" disabled="true" appearance="minimal" style="left:375px; top:380px; width:291px; height:19px; ">
  1533. <choices>
  1534. <itemset nodeset="/root/hidden/item">
  1535. <label ref="label"/>
  1536. <value ref="value"/>
  1537. </itemset>
  1538. </choices>
  1539. </select1>
  1540. <select1 id="cmb_outcnclflag2" ref="/root/main/ercensusinfo/patinfo/revisit1outrmtype" disabled="true" appearance="minimal" style="left:375px; top:531px; width:291px; height:19px; ">
  1541. <choices>
  1542. <itemset nodeset="/root/hidden/item">
  1543. <label ref="label"/>
  1544. <value ref="value"/>
  1545. </itemset>
  1546. </choices>
  1547. </select1>
  1548. <select1 id="cmb_outcnclflag3" ref="/root/main/ercensusinfo/patinfo/revisit2outrmtype" disabled="true" appearance="minimal" style="left:375px; top:631px; width:291px; height:19px; ">
  1549. <choices>
  1550. <itemset nodeset="/root/hidden/item">
  1551. <label ref="label"/>
  1552. <value ref="value"/>
  1553. </itemset>
  1554. </choices>
  1555. </select1>
  1556. <line id="line21" class="line_2" style="x1:244px; y1:267px; x2:1184px; y2:267px; "/>
  1557. <caption id="caption9" class="cell_1" style="left:1059px; top:149px; width:74px; height:23px; vertical-align:middle; ">수축기혈압</caption>
  1558. <caption id="caption10" class="cell_1" style="left:1059px; top:173px; width:74px; height:23px; vertical-align:middle; ">이완기혈압</caption>
  1559. <caption id="caption11" class="cell_1" style="left:1059px; top:197px; width:74px; height:23px; vertical-align:middle; ">분당맥박수</caption>
  1560. <caption id="caption12" class="cell_1" style="left:1059px; top:221px; width:74px; height:23px; vertical-align:middle; ">분당호흡수</caption>
  1561. <caption id="caption20" class="cell_1" style="left:1059px; top:245px; width:74px; height:23px; vertical-align:middle; ">내원시체온</caption>
  1562. <caption id="caption21" class="cell_1" style="left:1059px; top:269px; width:74px; height:23px; vertical-align:middle; ">산소포화도</caption>
  1563. <caption id="caption27" class="cell_1" style="left:245px; top:125px; width:94px; height:23px; vertical-align:middle; ">주호소</caption>
  1564. <output id="opt_spclterm" ref="/root/main/ercensusinfo/patinfo/spclterm" class="output_fix" style="left:341px; top:126px; width:318px; height:19px; "/>
  1565. <line id="line24" class="line_2" style="x1:254px; y1:195px; x2:1184px; y2:195px; "/>
  1566. <output id="opt_highbp" ref="/root/main/ercensusinfo/patinfo/highbp" class="output_fix" style="left:1135px; top:150px; width:49px; height:19px; "/>
  1567. <output id="opt_mntpulsecnt" ref="/root/main/ercensusinfo/patinfo/mntpulsecnt" class="output_fix" style="left:1135px; top:198px; width:49px; height:19px; "/>
  1568. <output id="opt_chosbdtp" ref="/root/main/ercensusinfo/patinfo/chosbdtp" class="output_fix" style="left:1135px; top:246px; width:49px; height:19px; "/>
  1569. <output id="opt_oxyconcen" ref="/root/main/ercensusinfo/patinfo/oxyconcen" class="output_fix" style="left:1135px; top:270px; width:49px; height:19px; "/>
  1570. <output id="opt_mntbrethcnt" ref="/root/main/ercensusinfo/patinfo/mntbrethcnt" class="output_fix" style="left:1135px; top:222px; width:49px; height:19px; "/>
  1571. <output id="opt_lowbp" ref="/root/main/ercensusinfo/patinfo/lowbp" class="output_fix" style="left:1135px; top:174px; width:49px; height:19px; "/>
  1572. <line id="line18" class="line_2" style="x1:244px; y1:401px; x2:665px; y2:401px; "/>
  1573. <select1 id="cmb_inrsrvgrad" ref="/root/main/ercensusinfo/patinfo/inrsrvgrad" disabled="true" appearance="minimal" style="left:712px; top:223px; width:117px; height:19px; ">
  1574. <choices>
  1575. <itemset nodeset="/root/init/P0378list/P0378">
  1576. <label ref="cdnm"/>
  1577. <value ref="cdid"/>
  1578. </itemset>
  1579. </choices>
  1580. </select1>
  1581. <button id="button3" class="btn2_letter4" style="left:1029px; top:3px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1582. <caption>특이환자</caption>
  1583. <script type="javascript" ev:event="onclick">
  1584. <![CDATA[
  1585. modal ( "SMPMC01300" );
  1586. ]]>
  1587. </script>
  1588. </button>
  1589. <button id="button4" class="btn2_letter4" visibility="hidden" style="left:892px; top:3px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1590. <caption>Triage_mm</caption>
  1591. <script type="javascript" ev:event="onclick">
  1592. <![CDATA[
  1593. modal ( "SPMNE04400" );
  1594. fSearchPatienInfo(sSrchToolStatus);
  1595. ]]>
  1596. </script>
  1597. </button>
  1598. <button id="btn_callpop1" class="btn2_letter4" style="left:1120px; top:305px; width:100px; height:20px; ">
  1599. <caption>의사호출</caption>
  1600. <script type="javascript" ev:event="DOMActivate">
  1601. <![CDATA[
  1602. reqHardCodeInfo("/root/hidden/calltime" , "/root/hidden/calltime" , 190); //응급실 callvisit 호출시간(배치 사용여부)
  1603. var ercallbat = model.getValue("/root/hidden/calltime/hardcd/hardcd");
  1604. if( ercallbat == "-" || ercallbat == "" || ercallbat == null ){
  1605. sPatInfo = model.getValue("/root/main/ercensusinfo/patinfo/pid")+"▦"
  1606. + model.getValue("/root/main/ercensusinfo/patinfo/indd")+"▦"
  1607. + model.getValue("/root/main/ercensusinfo/patinfo/cretno")+"▦"
  1608. +"0"+"▦"+"▩";
  1609. setParameter("SPMMO06700_param",sPatInfo);
  1610. modal("SPMMO06700");
  1611. } else {
  1612. var pid = model.getValue("/root/main/ercensusinfo/patinfo/pid");
  1613. var orddd = model.getValue("/root/main/ercensusinfo/patinfo/indd");
  1614. var cretno = model.getValue("/root/main/ercensusinfo/patinfo/cretno");
  1615. var visitno = "0";
  1616. var param = pid + "▦" + orddd + "▦" + cretno + "▦" + visitno;
  1617. setParameter("SPMMO32400_param", param);
  1618. modal("SPMMO32400");
  1619. }
  1620. fSearchPatienInfo("refresh");
  1621. ]]>
  1622. </script>
  1623. </button>
  1624. <button id="btn_callpop2" class="btn2_letter4" style="left:1120px; top:455px; width:64px; height:19px; ">
  1625. <caption>의사호출</caption>
  1626. <script type="javascript" ev:event="DOMActivate">
  1627. <![CDATA[
  1628. sPatInfo = model.getValue("/root/main/ercensusinfo/patinfo/pid")+"▦"
  1629. + model.getValue("/root/main/ercensusinfo/patinfo/indd")+"▦"
  1630. + model.getValue("/root/main/ercensusinfo/patinfo/cretno")+"▦"
  1631. +"1"+"▦"+"▩";
  1632. setParameter("SPMMO06700_param",sPatInfo);
  1633. modal("SPMMO06700");
  1634. fSearchPatienInfo("refresh");
  1635. ]]>
  1636. </script>
  1637. </button>
  1638. <button id="btn_callpop3" class="btn2_letter4" style="left:1120px; top:555px; width:64px; height:19px; ">
  1639. <caption>의사호출</caption>
  1640. <script type="javascript" ev:event="DOMActivate">
  1641. <![CDATA[
  1642. sPatInfo = model.getValue("/root/main/ercensusinfo/patinfo/pid")+"▦"
  1643. + model.getValue("/root/main/ercensusinfo/patinfo/indd")+"▦"
  1644. + model.getValue("/root/main/ercensusinfo/patinfo/cretno")+"▦"
  1645. +"2"+"▦"+"▩";
  1646. setParameter("SPMMO06700_param",sPatInfo);
  1647. modal("SPMMO06700");
  1648. fSearchPatienInfo("refresh");
  1649. ]]>
  1650. </script>
  1651. </button>
  1652. <button id="btn_prcpclsnm" class="icon_search" style="left:585px; top:224px; width:16px; height:16px; ">
  1653. <caption/>
  1654. <script type="javascript" ev:event="DOMActivate">
  1655. <![CDATA[
  1656. if(group2.attribute("height") > 0 ){
  1657. group2.attribute("height") = 0;
  1658. }else{
  1659. group2.attribute("height") = 200;
  1660. }
  1661. ]]>
  1662. </script>
  1663. </button>
  1664. <group id="group2" style="left:342px; top:220px; width:240px; height:200px; border-style:solid; ">
  1665. <datagrid id="datagrid3" nodeset="/root/init/M0378list/M0378" allowselection="false" caption="사유" colsep="^" colwidth="181" extendlastcol="scroll" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:0px; top:20px; width:238px; height:178px; ">
  1666. <col ref="cdnm"/>
  1667. </datagrid>
  1668. <caption id="caption58" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">입원대기사유구분</caption>
  1669. <line id="line2" class="line_1" style="x1:-1px; y1:17px; x2:238px; y2:17px; "/>
  1670. <script type="javascript" ev:event="ondblclick">
  1671. <![CDATA[
  1672. model.setValue("/root/main/ercensusinfo/patinfo/inwaitresncnts", datagrid3.labelMatrix(datagrid3.row,datagrid3.col) );
  1673. int_inwaitresncnts.refresh();
  1674. group2.attribute("height") = 0;
  1675. ]]>
  1676. </script>
  1677. </group>
  1678. <button id="button6" class="btn2_letter4" style="left:962px; top:3px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  1679. <caption>Triage</caption>
  1680. <script type="javascript" ev:event="onclick">
  1681. <![CDATA[
  1682. //alert(sSrchToolStatus);
  1683. modal ( "SPMNE04400" );
  1684. fSearchPatienInfo(sSrchToolStatus);
  1685. //fSearchPatienInfo_test(sSrchToolStatus);
  1686. ]]>
  1687. </script>
  1688. </button>
  1689. <button id="btn_del" class="btn5_letter2" style="left:729px; top:3px; width:64px; height:19px; ">
  1690. <caption>삭제</caption>
  1691. <script type="javascript" ev:event="onclick">
  1692. <![CDATA[
  1693. // 삭제여부 check
  1694. var incncyn = model.getValue("/root/main/ercensusinfo/patinfo/incncldtcheck");
  1695. if (incncyn == "Y") {
  1696. messageBox("이미 삭제 처리된","I005");
  1697. return;
  1698. }
  1699. // 등록취소여부 message
  1700. if(messageBox("삭제시 Triage/Census정보가 삭제됩니다.. \n"+
  1701. //"외래접수에 대한 수정작업 후 반드시 재마감을 하십시오. \n\n"+
  1702. "등록취소를","Q003") != 6) {
  1703. //model.close();
  1704. //alert("A");
  1705. return;
  1706. }else{
  1707. //alert("B");
  1708. //취소처리
  1709. fSaveCensusInfo("patinfoD"); // 삭제
  1710. }
  1711. ]]>
  1712. </script>
  1713. </button>
  1714. <button id="btn_delcancel" class="btn5_letter4" style="left:775px; top:3px; width:64px; height:19px; ">
  1715. <caption>삭제취소</caption>
  1716. <script type="javascript" ev:event="onclick">
  1717. <![CDATA[
  1718. // 삭제여부 check
  1719. var incncyn = model.getValue("/root/main/ercensusinfo/patinfo/incncldtcheck");
  1720. if (incncyn != "Y") {
  1721. messageBox("삭제처리 되지않은 ","I005");
  1722. return;
  1723. }
  1724. // 등록취소여부 message
  1725. if(messageBox("삭제취소시 Triage/Census정보가 복구됩니다.. \n"+
  1726. //"외래접수에 대한 수정작업 후 반드시 재마감을 하십시오. \n\n"+
  1727. "삭제취소를","Q003") != 6) {
  1728. //model.close();
  1729. //alert("A");
  1730. return;
  1731. }else{
  1732. //alert("B");
  1733. //취소처리
  1734. fSaveCensusInfo("patinfoC"); // 삭제취소
  1735. }
  1736. ]]>
  1737. </script>
  1738. </button>
  1739. <button id="button1" class="btn5_letter7" style="left:843px; top:3px; width:64px; height:19px; ">
  1740. <caption>NEDIS정보조회</caption>
  1741. <script type="javascript" ev:event="DOMActivate">
  1742. <![CDATA[
  1743. setParameter("NEDIS_pid", model.getValue("/root/main/ercensusinfo/patinfo/pid"));
  1744. setParameter("NEDIS_orddd", model.getValue("/root/main/ercensusinfo/patinfo/indd"));
  1745. modal("SMMNE07400");
  1746. ]]>
  1747. </script>
  1748. </button>
  1749. <caption id="opt_delyn" class="output_fix" visibility="hidden" appearance="caption" style="left:333px; top:0px; width:155px; height:24px; font-size:12pt; font-weight:bold; color:#ff0000; text-align:center; background-color:#ffffff; border-color:#ff0000; border-width:3px; ">삭 제 처 리</caption>
  1750. <output id="opt_incncldtcheck" ref="/root/main/ercensusinfo/patinfo/incncldtcheck" class="output_fix" visibility="hidden" style="left:653px; top:295px; width:40px; height:19px; "/>
  1751. <!-- 20101126_KNUH_Start -->
  1752. <input id="ipt_bedcd" ref="/root/main/ercensusinfo/patinfo/bedcd" disabled="true" visibility="hidden" style="left:355px; top:102px; width:65px; height:19px; "/>
  1753. <!-- 20101126_KNUH_End -->
  1754. <!-- 20110127_KNUH_Start -->
  1755. <input id="ipt_bedgrupcd" ref="/root/main/ercensusinfo/patinfo/bedgrupcd" disabled="true" visibility="hidden" style="left:525px; top:102px; width:65px; height:19px; "/>
  1756. <!-- 20110127_KNUH_End -->
  1757. <input id="ipt_bedposflagcd" ref="/root/main/ercensusinfo/patinfo/bedposflagcd" disabled="true" visibility="hidden" style="left:430px; top:102px; width:45px; height:19px; "/>
  1758. <input id="input1" ref="/root/main/ercensusinfo/patinfo/intm" visibility="hidden" style="left:460px; top:103px; width:60px; height:19px; "/>
  1759. <caption id="caption119" class="cell_1" visibility="visible" style="left:592px; top:78px; width:95px; height:42px; vertical-align:middle; ">외부기록 지참</caption>
  1760. <select1 id="radio2" ref="/root/main/ercensusinfo/patinfo/extemryn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:746px; top:102px; width:65px; height:20px; border-style:none; ">
  1761. <choices>
  1762. <item>
  1763. <label>유</label>
  1764. <value>Y</value>
  1765. </item>
  1766. <item>
  1767. <label>무</label>
  1768. <value>N</value>
  1769. </item>
  1770. </choices>
  1771. </select1>
  1772. <select1 id="radio1" ref="/root/main/ercensusinfo/patinfo/extemrsaveyn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:869px; top:102px; width:65px; height:20px; border-style:none; ">
  1773. <choices>
  1774. <item>
  1775. <label>Y</label>
  1776. <value>Y</value>
  1777. </item>
  1778. <item>
  1779. <label>N</label>
  1780. <value>N</value>
  1781. </item>
  1782. </choices>
  1783. </select1>
  1784. <select1 id="radio4" ref="/root/main/ercensusinfo/patinfo/extemrrtnyn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:996px; top:102px; width:65px; height:20px; border-style:none; ">
  1785. <choices>
  1786. <item>
  1787. <label>Y</label>
  1788. <value>Y</value>
  1789. </item>
  1790. <item>
  1791. <label>N</label>
  1792. <value>N</value>
  1793. </item>
  1794. </choices>
  1795. </select1>
  1796. <caption id="caption121" class="cell_1" style="left:833px; top:101px; width:35px; height:20px; ">저장</caption>
  1797. <caption id="caption122" class="cell_1" style="left:960px; top:101px; width:35px; height:20px; ">반환</caption>
  1798. <select1 id="radio5" ref="/root/main/ercensusinfo/patinfo/extrecsaveyn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:869px; top:79px; width:65px; height:20px; border-style:none; ">
  1799. <choices>
  1800. <item>
  1801. <label>Y</label>
  1802. <value>Y</value>
  1803. </item>
  1804. <item>
  1805. <label>N</label>
  1806. <value>N</value>
  1807. </item>
  1808. </choices>
  1809. </select1>
  1810. <select1 id="radio6" ref="/root/main/ercensusinfo/patinfo/extrecyn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:746px; top:79px; width:65px; height:20px; border-style:none; ">
  1811. <choices>
  1812. <item>
  1813. <label>유</label>
  1814. <value>Y</value>
  1815. </item>
  1816. <item>
  1817. <label>무</label>
  1818. <value>N</value>
  1819. </item>
  1820. </choices>
  1821. </select1>
  1822. <select1 id="radio7" ref="/root/main/ercensusinfo/patinfo/extrecrtnyn" class="radio_search1" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:996px; top:79px; width:65px; height:20px; border-style:none; ">
  1823. <choices>
  1824. <item>
  1825. <label>Y</label>
  1826. <value>Y</value>
  1827. </item>
  1828. <item>
  1829. <label>N</label>
  1830. <value>N</value>
  1831. </item>
  1832. </choices>
  1833. </select1>
  1834. <caption id="caption124" class="cell_1" style="left:833px; top:79px; width:35px; height:20px; ">저장</caption>
  1835. <caption id="caption125" class="cell_1" style="left:960px; top:79px; width:35px; height:20px; ">반환</caption>
  1836. <line id="line28" class="line_3" style="x1:689px; y1:99px; x2:1183px; y2:99px; "/>
  1837. <line id="line29" class="line_2" style="x1:745px; y1:77px; x2:745px; y2:120px; "/>
  1838. <caption id="caption120" class="cell_1" style="left:688px; top:99px; width:57px; height:21px; vertical-align:middle; ">영상자료</caption>
  1839. <caption id="caption123" class="cell_1" style="left:688px; top:78px; width:57px; height:21px; vertical-align:middle; ">의무기록</caption>
  1840. <output id="output1" ref="/root/main/ercensusinfo/patinfo/gurdphone" class="output_fix" style="left:689px; top:31px; width:96px; height:19px; "/>
  1841. <select1 id="cmb_cprtims" ref="/root/main/ercensusinfo/patinfo/cprtims" appearance="minimal" style="left:545px; top:79px; width:45px; height:19px; ">
  1842. <choices>
  1843. <item>
  1844. <label>0</label>
  1845. <value>0</value>
  1846. </item>
  1847. <item>
  1848. <label>1</label>
  1849. <value>1</value>
  1850. </item>
  1851. <item>
  1852. <label>2</label>
  1853. <value>2</value>
  1854. </item>
  1855. <item>
  1856. <label>3</label>
  1857. <value>3</value>
  1858. </item>
  1859. <item>
  1860. <label>4</label>
  1861. <value>4</value>
  1862. </item>
  1863. <item>
  1864. <label>5</label>
  1865. <value>5</value>
  1866. </item>
  1867. <item>
  1868. <label>6</label>
  1869. <value>6</value>
  1870. </item>
  1871. <item>
  1872. <label>7</label>
  1873. <value>7</value>
  1874. </item>
  1875. <item>
  1876. <label>8</label>
  1877. <value>8</value>
  1878. </item>
  1879. <item>
  1880. <label>9</label>
  1881. <value>9</value>
  1882. </item>
  1883. <item>
  1884. <label>10</label>
  1885. <value>10</value>
  1886. </item>
  1887. </choices>
  1888. </select1>
  1889. <line id="line8" class="line_3" style="x1:246px; y1:100px; x2:592px; y2:100px; "/>
  1890. <select1 id="radio8" ref="/root/main/ercensusinfo/patinfo/slightyn" class="radio_search1" disabled="true" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:905px; top:272px; width:65px; height:20px; border-style:none; ">
  1891. <choices>
  1892. <item>
  1893. <label>유</label>
  1894. <value>Y</value>
  1895. </item>
  1896. <item>
  1897. <label>무</label>
  1898. <value>N</value>
  1899. </item>
  1900. </choices>
  1901. </select1>
  1902. </case>
  1903. <case id="case5"/>
  1904. </switch>
  1905. <group id="grp_search2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; background-color:#ffff99; ">
  1906. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1907. <caption id="caption28" class="search_name" style="left:385px; top:10px; width:65px; height:17px; font-family:굴림; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료과</caption>
  1908. <caption id="caption52" class="search_name" style="left:540px; top:10px; width:65px; height:17px; font-family:굴림; background-image:../../../com/commonweb/images/search_bullet1.gif; ">전문의</caption>
  1909. <caption id="caption53" class="search_name" style="left:680px; top:10px; width:80px; height:17px; font-family:굴림; background-image:../../../com/commonweb/images/search_bullet1.gif; ">재원구분</caption>
  1910. <line id="line27" class="line_4" style="x1:994px; y1:7px; x2:994px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1911. <select1 id="cmb_Zone" ref="/root/main/cond/section" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:83px; top:8px; width:108px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  1912. <choices>
  1913. <itemset nodeset="/root/init/erbaselist/bedinfo">
  1914. <label ref="bednm"/>
  1915. <value ref="bedcd"/>
  1916. </itemset>
  1917. </choices>
  1918. <script type="javascript" ev:event="xforms-select">
  1919. <![CDATA[
  1920. fSeletedSrcTool();
  1921. ]]>
  1922. </script>
  1923. </select1>
  1924. <select1 id="cmb_OrdDept2" ref="/root/main/cond/orddeptcd" class="combo_s_essential" appearance="minimal" style="left:450px; top:9px; width:85px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  1925. <choices>
  1926. <itemset nodeset="/root/hidden/erorddeptlist/dept">
  1927. <label ref="depthngnm"/>
  1928. <value ref="deptcd"/>
  1929. </itemset>
  1930. </choices>
  1931. <script type="javascript" ev:event="xforms-select">
  1932. <![CDATA[
  1933. model.removenodeSet("/root/hidden/zsu/userlist/usercombo");
  1934. model.setValue("/root/main/cond/medispclid", "");
  1935. fSeletedSrcTool();
  1936. var deptcd = cmb_OrdDept2.value;
  1937. zsufGetUserInfoCombo(deptcd, "/root/hidden/zsu/userlist","_D");
  1938. addComboItem("cmb_OrdDR", "-", "", "above"); //의사콤보 전체항목 추가
  1939. model.refresh();
  1940. ]]>
  1941. </script>
  1942. </select1>
  1943. <select1 id="cmb_OrdDR" ref="/root/main/cond/medispclid" class="combo_s_essential" appearance="minimal" style="left:607px; top:9px; width:68px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  1944. <choices>
  1945. <itemset nodeset="/root/hidden/zsu/userlist/usercombo">
  1946. <label ref="usernm"/>
  1947. <value ref="userid"/>
  1948. </itemset>
  1949. </choices>
  1950. <script type="javascript" ev:event="xforms-value-changed">
  1951. <![CDATA[
  1952. fSeletedSrcTool();
  1953. ]]>
  1954. </script>
  1955. </select1>
  1956. <select1 id="rdo_Flag" ref="/root/main/cond/indschacptstat" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:758px; top:10px; width:157px; height:13px; font-family:굴림; border-style:none; ">
  1957. <choices>
  1958. <item>
  1959. <label>재원</label>
  1960. <value>1</value>
  1961. </item>
  1962. <item>
  1963. <label>퇴원진행</label>
  1964. <value>2</value>
  1965. </item>
  1966. <item>
  1967. <label>퇴원</label>
  1968. <value>3</value>
  1969. </item>
  1970. </choices>
  1971. <script type="javascript" ev:event="xforms-select">
  1972. <![CDATA[
  1973. // 재원구분이 퇴원일 경우에만 퇴원일자 보이도록
  1974. var sflag = model.getValue("/root/main/cond/indschacptstat");
  1975. if (sflag == "3") {
  1976. int_outdt.visible = true;
  1977. nursemaininfo.colHidden(nursemaininfo.colRef("dschdt")) = false;
  1978. } else {
  1979. int_outdt.visible = false;
  1980. nursemaininfo.colHidden(nursemaininfo.colRef("dschdt")) = true;
  1981. }
  1982. fSeletedSrcTool();
  1983. ]]>
  1984. </script>
  1985. </select1>
  1986. <button id="btn_search" class="btn1_letter2" style="left:1004px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  1987. <caption>조회</caption>
  1988. <script type="javascript" ev:event="DOMActivate">
  1989. <![CDATA[
  1990. fSeletedSrcTool();
  1991. ]]>
  1992. </script>
  1993. </button>
  1994. <button id="btn_excelsave" class="btn1_letter2" style="left:1064px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  1995. <caption>엑셀</caption>
  1996. <script type="javascript" ev:event="DOMActivate">
  1997. <![CDATA[
  1998. fSaveExcel();
  1999. ]]>
  2000. </script>
  2001. <hint>
  2002. <![CDATA[EMC Main 환자리스트 Excel저장]]>
  2003. </hint>
  2004. </button>
  2005. <button id="button5" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  2006. <caption>출력</caption>
  2007. <script type="javascript" ev:event="DOMActivate">
  2008. <![CDATA[
  2009. if(model.getValue("/root/main/pageflag") != "om" ){
  2010. return;
  2011. }
  2012. fPrtPrcpList(); //선택한처방을 출력한다.
  2013. return;
  2014. if (model.getValue("/root/main_om/ominfo/prcpinfo/prcplist/flag") != "") {
  2015. model.makeNode("/root/send/ompatgroup");
  2016. model.makeNode("/root/send/ompatgroup/ompat");
  2017. model.copyNode("/root/send/ompatgroup/ompat", "/root/main_om/ominfo/ompatinfo/ompatlist[pid = '" + model.getValue("/root/main_om/cond/pid") + "']");
  2018. model.makeNode("/root/send/ompatgroup/cnfmprcpdd");
  2019. var cnfm_color = grd_prcpappddlist.allStyle("all", "background-color");
  2020. var uncnfm_color = grd_uncnfmprcpddlist.allStyle("all", "background-color");
  2021. var prcpheader = "";
  2022. var prcpdd = grd_omprcplist.labelMatrix((grd_omprcplist.rows-1), 24);
  2023. if (cnfm_color != "#ffffff") {
  2024. prcpheader = "처방적용일 : ";
  2025. } else if (uncnfm_color != "#ffffff") {
  2026. prcpheader = "미확인처방일 : ";
  2027. }
  2028. prcpdd = prcpheader.concat(prcpdd);
  2029. model.makeValue("/root/send/ompatgroup/cnfmprcpdd/cnfmprcpdd", prcpdd);
  2030. model.makeNode("/root/send/ompatgroup/prcplistinfo");
  2031. model.copyNode("/root/send/ompatgroup/prcplistinfo", "/root/main_om/ominfo/prcpinfo");
  2032. exeReportPreview("RPMNW00300", "XMLSTR");
  2033. } else {
  2034. messageBox("처방을 조회 후 출력하십시오", "I");
  2035. }
  2036. ]]>
  2037. </script>
  2038. <hint>
  2039. <![CDATA[To List 처방내역 출력]]>
  2040. </hint>
  2041. </button>
  2042. <select id="checkbox1" ref="/root/main/cond/section" visibility="visible" overflow="visible" appearance="full" cols="5" rows="3" style="left:25px; top:2px; width:220px; height:34px; font-family:굴림; vertical-align:middle; border-style:none; ">
  2043. <choices>
  2044. <itemset nodeset="/root/init/erbaselist/bedinfo">
  2045. <label ref="bednm"/>
  2046. <value ref="bedcd"/>
  2047. </itemset>
  2048. </choices>
  2049. <script type="javascript" ev:event="onclick">
  2050. <![CDATA[
  2051. var chk1=checkbox1.value;
  2052. var s = chk1.indexOf("-");
  2053. if (s>=0) {
  2054. model.makeValue("/root/main/cond/section","-");
  2055. model.refresh();
  2056. }
  2057. ]]>
  2058. </script>
  2059. <script type="javascript" ev:event="onmousedown">
  2060. <![CDATA[
  2061. ]]>
  2062. </script>
  2063. <script type="javascript" ev:event="onmouseup">
  2064. <![CDATA[
  2065. ]]>
  2066. </script>
  2067. </select>
  2068. <caption id="caption13" style="left:5px; top:5px; width:20px; height:28px; font-weight:bold; ">
  2069. <![CDATA[구
  2070. 역]]>
  2071. </caption>
  2072. <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:318px; top:9px; width:62px; height:19px; ">
  2073. <choices>
  2074. <itemset nodeset="/root/setting/init/settingrn">
  2075. <label ref="settingrnnm"/>
  2076. <value ref="settingrnid"/>
  2077. </itemset>
  2078. </choices>
  2079. <script type="javascript" ev:event="xforms-value-changed">
  2080. <![CDATA[
  2081. fSeletedSrcTool();
  2082. ]]>
  2083. </script>
  2084. </select1>
  2085. <caption id="caption110" class="search_name" style="left:250px; top:10px; width:65px; height:17px; font-family:굴림; vertical-align:middle; ">내환자</caption>
  2086. <input id="int_outdt" ref="/root/main/cond/outdt" class="input_search" visibility="hidden" inputtype="date" style="left:915px; top:8px; width:87px; height:19px; "/>
  2087. </group>
  2088. <button id="btn_label" class="btn2_letter3" style="left:1052px; top:52px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  2089. <caption>Label</caption>
  2090. <script type="javascript" ev:event="DOMActivate">
  2091. <![CDATA[
  2092. fOpenLabelPrint();
  2093. ]]>
  2094. </script>
  2095. </button>
  2096. <button id="btn_reiss" class="btn2_letter5" style="left:976px; top:52px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter5.gif; ">
  2097. <caption>팔찌재발행</caption>
  2098. <script type="javascript" ev:event="DOMActivate">
  2099. <![CDATA[
  2100. //설정된 상단정보를 불러옴
  2101. model.removenode("/root/main/paminfo");
  2102. model.makeNode("/root/main/paminfo");
  2103. var node = getGlobalVariable("paminfo");
  2104. setCSVToNode("/root/main/paminfo", node);
  2105. if (model.getValue("/root/main/paminfo/list/pid") != "") { //상단정보에 환자가 셋팅되어 있을 경우
  2106. var pid, indd, cretno, mskind, histstat;
  2107. //추가_20090116(ByJA)
  2108. //port정보 가져오기
  2109. model.removenode("/root/send");
  2110. model.removenode("/root/main_nm/barcdprntsetup");
  2111. model.makenode("/root/main_nm/barcdprntsetup");
  2112. model.makeValue("/root/send/scrnid", "SMMNR00600");
  2113. var comport = "1";
  2114. if(submit("TRLLC90101")){
  2115. comport = model.getValue("/root/main_nm/barcdprntsetup/prntsetupinfo/setupinfo[1]/comm02/comm");
  2116. }
  2117. // 바코드OCX 생성
  2118. //2. 바코드 라벨 환경설정
  2119. var barcdRef = "/root/main_nm/barcdprntsetup/prntsetupinfo/setupinfo";
  2120. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef);
  2121. //patinfo 정보 셋팅
  2122. pid = model.getValue("/root/main/paminfo/list/pid");
  2123. indd = model.getValue("/root/main/paminfo/list/indd");
  2124. cretno = model.getValue("/root/main/paminfo/list/cretno");
  2125. mskind = model.getValue("/root/main/paminfo/list/mskind");
  2126. histstat = model.getValue("/root/main/paminfo/list/histstat");
  2127. model.makeNode("/root/send/data17");
  2128. model.makeNode("/root/hidden/h_receipt");
  2129. model.makeNode("/root/hidden/h_receipt/receipt");
  2130. // model.removeNodeset("/root/hidden/h_receipt");
  2131. // model.removeNodeset("/root/send/data17");
  2132. //원무 메소드 호출
  2133. //fInPatBarCodePrn(pid, indd, cretno, mskind, histstat); //원본_20090116(ByJA)
  2134. //fInPatBarCodePrn(pid, indd, cretno, mskind, histstat, comport); //수정_20090116(ByJA)
  2135. /* 삭제된 파라미터 : pPort - COM Port 지정값
  2136. * 추가된 파라미터 : pSetyn - 프린터설정정보 셋팅여부
  2137. * pScrid - 프린터설정정보 조회용 화면 아이디
  2138. * pBarcdRef - 설정정보 xpath
  2139. */
  2140. pmifPrintBarCode(pid, indd, cretno, mskind, histstat, "N", "SMMNR00600", barcdRef); // 20090527 변경됨.
  2141. } else {
  2142. messageBox("환자를 선택 후 출력하십시오", "I");
  2143. }
  2144. ]]>
  2145. </script>
  2146. </button>
  2147. <caption id="caption51" class="search_name" style="left:735px; top:54px; width:90px; height:17px; ">입원대기 :</caption>
  2148. <caption id="caption54" ref="/root/main/topinfolist/instaycnt/roomassgcnt" style="left:827px; top:55px; width:24px; height:15px; font-weight:bold; text-align:center; ">확정</caption>
  2149. <caption id="caption55" style="left:846px; top:55px; width:15px; height:15px; font-weight:bold; text-align:center; ">/</caption>
  2150. <caption id="caption56" ref="/root/main/topinfolist/instaycnt/inreqcnt" style="left:857px; top:55px; width:24px; height:15px; font-weight:bold; text-align:center; ">발부</caption>
  2151. <caption id="caption57" visibility="hidden" style="left:885px; top:55px; width:101px; height:16px; font-size:8pt; font-weight:normal; color:#0000ff; ">* 병실배정/결정서</caption>
  2152. <caption id="caption68" class="search_name" style="left:310px; top:54px; width:90px; height:17px; ">혈액준비 :</caption>
  2153. <button id="button7" class="btn2_letter4" style="left:910px; top:52px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  2154. <caption>Triage</caption>
  2155. <script type="javascript" ev:event="onclick">
  2156. <![CDATA[
  2157. modal ( "SPMNE04400" );
  2158. fSearchPatienInfo(sSrchToolStatus);
  2159. ]]>
  2160. </script>
  2161. </button>
  2162. <caption id="cap_unablspc" class="search_name" visibility="visible" style="left:510px; top:54px; width:120px; height:17px; ">
  2163. <![CDATA[부적합검체 :]]>
  2164. <script type="javascript" ev:event="ondblclick">
  2165. <![CDATA[
  2166. if (tar_unablspc.value == "") {
  2167. messageBox("부적합검체 환자가 없습니다.", "I");
  2168. } else {
  2169. // setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
  2170. // modal("SMADB01010",1,50,250);
  2171. modal("SMLLP00700",1,50,250);
  2172. fSeletedSrcTool();
  2173. }
  2174. ]]>
  2175. </script>
  2176. </caption>
  2177. <textarea id="tar_unablspc" ref="/root/main/spcpatnm" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:630px; top:48px; width:100px; height:28px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
  2178. <caption id="cap_spcnt" style="left:597px; top:55px; width:28px; height:15px; text-align:center; vertical-align:middle; "/>
  2179. <group id="group5" visibility="hidden" style="left:290px; top:210px; width:470px; height:50px; background-color:#87CEFA; ">
  2180. <caption id="caption4" class="tit_2" style="left:0px; top:5px; width:275px; height:13px; ">환자의 이동방법을 선택하십시오.</caption>
  2181. <button id="button2" class="btn5_letter2" navindex="22" style="left:375px; top:25px; width:42px; height:19px; ">
  2182. <caption>확인</caption>
  2183. <script type="javascript" ev:event="DOMActivate">
  2184. <![CDATA[
  2185. fGetPatName();
  2186. group5.visible = false;
  2187. ]]>
  2188. </script>
  2189. </button>
  2190. <button id="button8" class="btn5_letter2" navindex="22" style="left:420px; top:25px; width:42px; height:19px; ">
  2191. <caption>취소</caption>
  2192. <script type="javascript" ev:event="DOMActivate">
  2193. <![CDATA[
  2194. group5.visible = false;
  2195. ]]>
  2196. </script>
  2197. </button>
  2198. <select1 id="radio3" ref="/root/main/cond/method" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:30px; top:25px; width:335px; height:20px; border-style:none; ">
  2199. <choices>
  2200. <item>
  2201. <label>걸어서(Foot)</label>
  2202. <value>Foot</value>
  2203. </item>
  2204. <item>
  2205. <label>휠체어이용(Wheel)</label>
  2206. <value>Wheel</value>
  2207. </item>
  2208. <item>
  2209. <label>침대차이용(Car)</label>
  2210. <value>Car</value>
  2211. </item>
  2212. </choices>
  2213. </select1>
  2214. </group>
  2215. <button id="button24" class="btn2_letter5" style="left:1107px; top:52px; width:75px; height:19px; ">
  2216. <caption>내환자세팅</caption>
  2217. <script type="javascript" ev:event="DOMActivate">
  2218. <![CDATA[
  2219. setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
  2220. setParameter("userid", model.getValue("/root/main/cond/userid"));
  2221. setParameter("usernm", model.getValue("/root/main/cond/usernm"));
  2222. modal("SMMNB00400","1" ,"868", "128");
  2223. model.removenode("/root/send");
  2224. model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcd"));
  2225. submit("TRMNW00101");
  2226. // 간호하드코딩 테이블 조회_20090415(ByJA)
  2227. //model.removenode("/root/init/ward[wardcd = '2280200000']"); // 응급의료센터 제외
  2228. //model.removenode("/root/init/ward[wardcd = '"+ erdeptcd +"']"); // 응급의료센터 제외
  2229. model.setValue("/root/main/cond/settingrnid", "");
  2230. for(i = 1; i <= getNodesetCount("/root/setting/init/settingrn"); i++ ) {
  2231. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/setting/init/settingrn["+ i +"]/settingrnid")) {
  2232. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  2233. }
  2234. }
  2235. fSeletedSrcTool();
  2236. ]]>
  2237. </script>
  2238. </button>
  2239. </group>
  2240. <group id="group4" visibility="hidden" style="left:5px; top:425px; width:325px; height:325px; border-left-color:#87CEFA; border-top-color:#87CEFA; border-right-color:#87CEFA; border-bottom-color:#87CEFA; border-left-width:3; border-top-width:3; border-right-width:3; border-bottom-width:3; border-style:solid; ">
  2241. <group id="grup_help1" visibility="hidden" style="left:0px; top:0px; width:318px; height:318px; ">
  2242. <caption id="caption74" appearance="caption" style="left:20px; top:40px; width:87px; height:20px; font-weight:bold; text-align:center; background-color:#ffefd6; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2243. <caption id="caption75" appearance="caption" style="left:20px; top:70px; width:86px; height:20px; font-weight:bold; color:#ff0000; text-align:center; background-color:#ffff99; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; ">중증~환자명</caption>
  2244. <caption id="caption76" appearance="caption" style="left:20px; top:100px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#ff0000; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; ">Bed</caption>
  2245. <caption id="caption77" appearance="caption" style="left:20px; top:130px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#99ccff; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2246. <caption id="caption81" appearance="caption" style="left:20px; top:160px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#deffde; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2247. <caption id="caption83" appearance="caption" style="left:20px; top:190px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#DDBBFF; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2248. <caption id="caption84" style="left:10px; top:12px; width:130px; height:20px; font-weight:bolder; ">※ 배경색도움말</caption>
  2249. <caption id="caption85" appearance="caption" style="left:120px; top:160px; width:147px; height:20px; font-weight:bold; ">6~24시간 이상 체류환자</caption>
  2250. <caption id="caption86" appearance="caption" style="left:120px; top:190px; width:145px; height:20px; font-weight:bold; ">4~6시간 체류환자</caption>
  2251. <caption id="caption87" appearance="caption" style="left:120px; top:40px; width:147px; height:20px; font-weight:bold; ">센서스 미등록 환자</caption>
  2252. <caption id="caption88" appearance="caption" style="left:120px; top:70px; width:145px; height:20px; font-weight:bold; ">중증질환(기능수행대상)</caption>
  2253. <caption id="caption92" appearance="caption" style="left:120px; top:100px; width:145px; height:20px; font-weight:bold; ">V/S대상환자</caption>
  2254. <caption id="caption94" appearance="caption" style="left:120px; top:130px; width:145px; height:20px; font-weight:bold; ">24시간 이상 체류환자</caption>
  2255. <caption id="caption95" style="left:20px; top:265px; width:223px; height:20px; font-weight:bold; color:#3366ff; ">미처방환자</caption>
  2256. <caption id="caption96" style="left:20px; top:290px; width:284px; height:20px; font-weight:bold; color:#ff0000; ">의사결정 안된 경우(도착 2시간 30분 이후부터)</caption>
  2257. <caption id="caption32" style="left:8px; top:243px; width:130px; height:20px; font-weight:bolder; ">※ 글자색 도움말</caption>
  2258. </group>
  2259. <group id="grup_help2" visibility="hidden" style="left:0px; top:0px; width:318px; height:318px; ">
  2260. <caption id="caption41" appearance="caption" style="left:20px; top:40px; width:87px; height:20px; font-weight:bold; text-align:center; background-color:#ffefd6; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2261. <caption id="caption97" appearance="caption" style="left:20px; top:70px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#ffffff; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2262. <caption id="caption98" appearance="caption" style="left:20px; top:100px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#deffde; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2263. <caption id="caption99" style="left:10px; top:12px; width:130px; height:20px; font-weight:bolder; ">※ 배경색도움말</caption>
  2264. <caption id="caption100" appearance="caption" style="left:120px; top:70px; width:147px; height:20px; font-weight:bold; ">0 ~ 6시간 체류환자</caption>
  2265. <caption id="caption101" appearance="caption" style="left:120px; top:100px; width:145px; height:20px; font-weight:bold; ">6시간 이상 체류환자</caption>
  2266. <caption id="caption102" appearance="caption" style="left:120px; top:40px; width:147px; height:20px; font-weight:bold; ">센서스 미등록 환자</caption>
  2267. <caption id="caption103" appearance="caption" style="left:120px; top:130px; width:145px; height:20px; font-weight:bold; ">V/S대상환자</caption>
  2268. <caption id="caption104" appearance="caption" style="left:20px; top:130px; width:85px; height:20px; font-weight:bold; text-align:center; background-color:#ff0000; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; ">Bed</caption>
  2269. </group>
  2270. <group id="grup_help012" visibility="hidden" style="left:0px; top:0px; width:318px; height:318px; ">
  2271. <caption id="caption29" appearance="caption" style="left:5px; top:40px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#ffefd6; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2272. <caption id="caption47" appearance="caption" style="left:5px; top:80px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#99ccff; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2273. <caption id="caption49" appearance="caption" style="left:5px; top:159px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#ccffcc; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2274. <caption id="caption63" style="left:10px; top:12px; width:130px; height:20px; font-weight:bolder; ">※ 배경색도움말</caption>
  2275. <caption id="caption64" appearance="caption" style="left:80px; top:76px; width:232px; height:28px; font-weight:bold; ">
  2276. <![CDATA[4시간 이상 24시간 이하 체류환자
  2277. 진료과 : 응급의학과, 담당의: 일반의사]]>
  2278. </caption>
  2279. <caption id="caption67" appearance="caption" style="left:80px; top:156px; width:199px; height:28px; font-weight:bold; ">
  2280. <![CDATA[6시간 이상 24시간 이하 체류환자
  2281. 입원장 없음]]>
  2282. </caption>
  2283. <caption id="caption71" appearance="caption" style="left:80px; top:40px; width:147px; height:20px; font-weight:bold; ">센서스 미등록 환자</caption>
  2284. <caption id="caption33" appearance="caption" style="left:80px; top:240px; width:145px; height:20px; font-weight:bold; ">V/S대상환자</caption>
  2285. <caption id="caption105" appearance="caption" style="left:5px; top:240px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#ff0000; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; ">Bed</caption>
  2286. <caption id="caption113" appearance="caption" style="left:80px; top:202px; width:145px; height:20px; font-weight:bold; ">24시간 이상 체류환자</caption>
  2287. <caption id="caption114" appearance="caption" style="left:5px; top:200px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#ff99cc; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2288. <caption id="caption115" appearance="caption" style="left:80px; top:116px; width:216px; height:28px; font-weight:bold; ">의사처방 없음</caption>
  2289. <caption id="caption116" appearance="caption" style="left:5px; top:120px; width:65px; height:20px; font-weight:bold; text-align:center; background-color:#ffcc99; border-left-width:1; border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-style:solid; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; "/>
  2290. </group>
  2291. </group>
  2292. <group id="group9" visibility="hidden" style="left:0px; top:757px; width:1160px; height:26px; ">
  2293. <shape id="roundrect3" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  2294. <caption id="caption106" style="left:20px; top:4px; width:17px; height:17px; background-color:#ffcccc; "/>
  2295. <caption id="caption107" style="left:39px; top:5px; width:51px; height:16px; ">미확인</caption>
  2296. <caption id="caption108" style="left:119px; top:5px; width:95px; height:16px; ">*일반/반환/퇴원</caption>
  2297. <caption id="caption109" style="left:250px; top:5px; width:300px; height:16px; color:#0000ff; ">*환자이름 파란색 표기 : 제증명/사본발급 확인</caption>
  2298. </group>
  2299. <group id="group8" visibility="hidden" style="left:0px; top:757px; width:1160px; height:25px; ">
  2300. <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:24px; background-color:#fffbf2; border-color:#7cbbdd; "/>
  2301. <caption id="caption111" style="left:3px; top:4px; width:67px; height:17px; font-weight:bold; text-align:center; background-color:#ffff99; border-style:solid; ">
  2302. <![CDATA[색도움말]]>
  2303. <script type="javascript" ev:event="onmouseover">
  2304. <![CDATA[
  2305. group4.visible = true;
  2306. ]]>
  2307. </script>
  2308. <script type="javascript" ev:event="onmouseout">
  2309. <![CDATA[
  2310. group4.visible = false;
  2311. ]]>
  2312. </script>
  2313. </caption>
  2314. <caption id="caption112" style="left:71px; top:5px; width:362px; height:16px; font-size:12pxpt; ">* 상태:ⓐ입원/ⓖ예고심사완료/ⓓ퇴원예고/ⓒ간호사 퇴원정리완료</caption>
  2315. <caption id="caption117" style="left:439px; top:5px; width:127px; height:16px; font-size:12pxpt; ">* 처방:일반/반환/퇴원</caption>
  2316. <caption id="caption118" style="left:570px; top:5px; width:455px; height:16px; font-size:12pxpt; ">* 입원장:◇예약/◆결정(병실배정)/◈입원약정서 출력 혹은 원무승인/◎외래입원장</caption>
  2317. <button id="button9" class="btn2_letter4" style="left:1092px; top:2px; width:64px; height:19px; ">
  2318. <caption>컬럼설정</caption>
  2319. <script type="javascript" ev:event="DOMActivate">
  2320. <![CDATA[
  2321. var sWardCD = getScreenMenuParameter();//model.getValue("/root/main/cond/wardcd") //20080725_메뉴설정에 따른 그리드 동적생성으로 변겅(ByJA)
  2322. var prestimportid = model.getValue("/root/main/cond/prestimportid");
  2323. var compscd = "";
  2324. if(prestimportid == "nmer") {
  2325. compscd="ER";
  2326. model.makeValue("/root/main/colsetinfo/scrnid", "SMMNE00100");
  2327. model.makeValue("/root/main/colsetinfo/grdid", "nursemaininfo") ;
  2328. } else if (prestimportid == "td") {
  2329. compscd = "TD";
  2330. model.makeValue("/root/main/colsetinfo/scrnid", "SMMNW00400");
  2331. model.makeValue("/root/main/colsetinfo/grdid", "grd_todolist");
  2332. } else if (prestimportid =="om") {
  2333. compscd = "OM";
  2334. model.makeValue("/root/main/colsetinfo/scrnid", "SMMNW00300");
  2335. model.makeValue("/root/main/colsetinfo/grdid", "grd_omprcplist");
  2336. } else {
  2337. compscd="ER";
  2338. model.makeValue("/root/main/colsetinfo/scrnid", "SMMNE00100");
  2339. model.makeValue("/root/main/colsetinfo/grdid", "nursemaininfo") ;
  2340. }
  2341. var grdid = model.getValue("/root/main/colsetinfo/grdid");
  2342. var caseid = model.getValue("/root/main/colsetinfo/caseid");
  2343. var scrnid = model.getValue("/root/main/colsetinfo/scrnid");
  2344. setParameter("SPMMB02400_param_scrnid" , scrnid);
  2345. setParameter("SPMMB02400_param_grdid" , grdid);
  2346. setParameter("SPMMB02400_param_caseid" , model.getValue("/root/main/cond/caseid"));
  2347. setParameter("SPMMB02400_param_compscd" , compscd);
  2348. setParameter("SPMMB02400_param_hospdispmemoyn" , model.getValue("/root/code/codeinfo/codelist[cdgrupid ='131']/cdid")); //메모기능사용여부에 따른 컬럼 view처리
  2349. modal("SPMNB02600");
  2350. var useyn = getParameter("SPMMB02400_rtn_useyn");
  2351. if(useyn == "Y"){
  2352. model.makeValue("/root/chngcol/chngcolflag", "Y");
  2353. ErreqOrderInfoOfCol("SMMNE00100", "nursemaininfo", "ER");
  2354. btn_search.dispatch("DOMActivate");
  2355. }
  2356. ]]>
  2357. </script>
  2358. </button>
  2359. <button id="button10" class="btn2_letter4" style="left:1026px; top:2px; width:64px; height:19px; ">
  2360. <caption>병상조회</caption>
  2361. <script type="javascript" ev:event="DOMActivate">
  2362. <![CDATA[
  2363. model.property("certyn") = "N";
  2364. setParameter("SMPMI00100_Param1", getUserInfo("dutplcecd"));
  2365. open("SPPMI02001");
  2366. ]]>
  2367. </script>
  2368. </button>
  2369. </group>
  2370. <group id="group10" visibility="hidden" style="left:490px; top:285px; width:200px; height:55px; background-color:#99ccff; border-left-color:#999999; border-top-color:#999999; border-right-color:#999999; border-bottom-color:#999999; border-width:2; border-left-width:2; border-top-width:2; border-right-width:2; border-bottom-width:2; border-style:solid; ">
  2371. <caption id="caption126" class="tit_2" style="left:10px; top:7px; width:175px; height:13px; ">출력할 장수를 입력십시오.</caption>
  2372. <input id="ipt_patcntctel" ref="/root/printcnt" class="input_default" navindex="9" maxlength="5" format="###" style="left:28px; top:25px; width:60px; height:19px; ">
  2373. <script type="javascript" ev:event="onkeydown">
  2374. <![CDATA[
  2375. if( event.keyCode == 13 ) {
  2376. // 원본_20090116(ByJA)
  2377. /*
  2378. prtcnt = ipt_patcntctel.value;
  2379. model.setFocus("button3");
  2380. group10.visible = false;
  2381. fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef);
  2382. */
  2383. inputEnterKey("button3", "DOMActivate"); // 수정_20090116(ByJA)
  2384. }else if( event.keyCode == 27) {
  2385. group10.visible = false;
  2386. }
  2387. ]]>
  2388. </script>
  2389. </input>
  2390. <button id="button11" class="btn5_letter2" navindex="22" style="left:91px; top:25px; width:42px; height:19px; ">
  2391. <caption>확인</caption>
  2392. <script type="javascript" ev:event="DOMActivate">
  2393. <![CDATA[
  2394. var pid = "";
  2395. var patnm = "";
  2396. var sexage = "";
  2397. var sexage = "";
  2398. var rgstno = "";
  2399. var orddd = "";
  2400. var prtcnt = "";
  2401. var roomcd = "";
  2402. if(btn_mainmv.selected == true){
  2403. pid = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/pid");
  2404. patnm = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/patnm");
  2405. sexage = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/grdrage");
  2406. rgstno = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/rgstno");
  2407. roomcd = model.getValue("/root/main/nursemainlist/nursemaininfo["+nursemaininfo.row+"]/typedetl");
  2408. }else if(btn_ordermngmv.selected == true){
  2409. pid = model.getValue("/root/main_om/ominfo/ompatinfo/ompatlist["+grd_ompatlist.row+"]/pid");
  2410. patnm = model.getValue("/root/main_om/ominfo/ompatinfo/ompatlist["+grd_ompatlist.row+"]/patnm");
  2411. sexage = model.getValue("/root/main_om/ominfo/ompatinfo/ompatlist["+grd_ompatlist.row+"]/grdrage");
  2412. roomcd = model.getValue("/root/main_om/ominfo/ompatinfo/ompatlist["+grd_ompatlist.row+"]/typedetl");
  2413. rgstno = model.getValue("/root/main_om/ominfo/ompatinfo/ompatlist["+grd_ompatlist.row+"]/rgstno");
  2414. }else if(btn_ercensusmv.selected == true){
  2415. pid = model.getValue("/root/main/ercensuslist/erpatientlist["+ grd_patlist.row + "]/pid");
  2416. patnm = model.getValue("/root/main/ercensuslist/erpatientlist["+ grd_patlist.row + "]/patnm");
  2417. sexage = model.getValue("/root/main/ercensuslist/erpatientlist["+ grd_patlist.row + "]/grdrage");
  2418. rgstno = model.getValue("/root/main/ercensuslist/erpatientlist["+ grd_patlist.row + "]/rgstno");
  2419. roomcd = model.getValue("/root/main/ercensuslist/erpatientlist["+ grd_patlist.row + "]/typedetl");
  2420. }
  2421. if(pid == "" || patnm == "" ){
  2422. return;
  2423. }
  2424. orddd = getCurrentDate();
  2425. prtcnt = ipt_patcntctel.value;
  2426. /* 원본_20090522
  2427. var scrnid = "SMMNR00600";
  2428. // barcdRef = "/root/barcdprntsetup/prntsetupinfo/setupinfo"; // 원본_20090106(ByJA)
  2429. var barcdRef = "/root/main_nm/barcdprntsetup/prntsetupinfo/setupinfo"; // 수정_20090106(ByJA)
  2430. group10.visible = false;
  2431. fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef);
  2432. */
  2433. if(prtcnt > 0){
  2434. //1. 바코드 라벨 설정값 조회
  2435. var scrnid = "SMMNR00600";
  2436. model.removeNodeset("/root/main_nm/barcdprntsetup");
  2437. //fGetBarCodeInfo(scrnid); // CareCom.js
  2438. model.removenode("/root/send");
  2439. //model.removenode("/root/send/scrnid");
  2440. model.makeValue("/root/send/scrnid", scrnid);
  2441. submit("TRLLC90101");
  2442. //2. 바코드 라벨 환경설정
  2443. var barcdRef = "/root/main_nm/barcdprntsetup/prntsetupinfo/setupinfo";
  2444. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef);
  2445. var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
  2446. /* ADDON
  2447. 개발일시 : 2010.05.13
  2448. 개발자 : 양천덕
  2449. 요청병원 : 세종병원
  2450. 요청파트 : 간호
  2451. 개발내용 : 바코드 출력 양식 변경으로 함수 변경
  2452. */
  2453. //3. 환자라벨출력
  2454. // fPrtCarePatNameLabel(barcdRef, pid, patnm, sexage, rgstno, orddd, prtcnt, portOpenTF); 주석처리.
  2455. setParameter("barcdRef", barcdRef);
  2456. setParameter("pid", pid);
  2457. setParameter("roomcd", roomcd);
  2458. setParameter("patnm", patnm);
  2459. setParameter("sexage", sexage);
  2460. setParameter("rgstno", rgstno);
  2461. setParameter("orddd", orddd);
  2462. setParameter("prtcnt", prtcnt);
  2463. setParameter("portOpenTF", portOpenTF);
  2464. modal("SPMNZ00700");
  2465. //20120307_KNUH_Start 환자라벨 Rexpert바코드 형식 출력시 객체닫힘되지않는 현상, 새로운창에서 출력하는 방식으로 변경.
  2466. //fPrtCarePatNameLabel(barcdRef, pid, roomcd, patnm, sexage, rgstno, orddd, prtcnt, portOpenTF);
  2467. }
  2468. group10.visible = false;
  2469. ]]>
  2470. </script>
  2471. </button>
  2472. <button id="button12" class="btn5_letter2" navindex="22" style="left:135px; top:25px; width:42px; height:19px; ">
  2473. <caption>취소</caption>
  2474. <script type="javascript" ev:event="DOMActivate">
  2475. <![CDATA[
  2476. model.makeValue("/root/printcnt","1");
  2477. group10.visible = false;
  2478. ]]>
  2479. </script>
  2480. </button>
  2481. </group>
  2482. <caption id="caption127" style="left:1164px; top:760px; width:30px; height:20px; text-align:right; ">[표]</caption>
  2483. </xhtml:body>
  2484. </xhtml:html>