SPMMO00100_입원의뢰서.xrw 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>입원의뢰서</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <inreqfrminfo>
  11. <inreqfrminfo>
  12. <status/>
  13. <pid/>
  14. <inrsrvacptdd/>
  15. <orddeptcd/>
  16. <inrsrvacptseqno/>
  17. <inrsrvacpttm/>
  18. <inrsrvstat/>
  19. <inrsrvprcpno/>
  20. <insukind/>
  21. <indirecdrid/>
  22. <indirecdd/>
  23. <orddrid/>
  24. <inhopedd/>
  25. <inflag/>
  26. <bmtyn>1</bmtyn>
  27. <cpyn>N</cpyn>
  28. <cpcd/>
  29. <fcstinterm/>
  30. <erreglyn/>
  31. <isolroomyn/>
  32. <oxyyn/>
  33. <suctyn/>
  34. <scheopdd/>
  35. <inrsrvrem/>
  36. <drrem/>
  37. <inrsrvcnclresn/>
  38. <inrsrvcnclresnrem/>
  39. <incncldd/>
  40. <incncltm/>
  41. <hngnm/>
  42. <specroomyn/>
  43. <suppkind/>
  44. <orddd/>
  45. <cretno/>
  46. <orgorddeptcd/>
  47. <indd/>
  48. <ocrtag>-</ocrtag>
  49. <cnstteam/>
  50. <coopteamcd>-</coopteamcd>
  51. <centcd>-</centcd>
  52. <subdeptcd/>
  53. <wardtypecd/>
  54. <specwardcd/>
  55. <ampmflag/>
  56. <sa/>
  57. <assgward/>
  58. <assgroom/>
  59. <assgroomgrde/>
  60. <assgroomtype/>
  61. <assgbed/>
  62. <publicbedyn/>
  63. <phoneno/>
  64. <atdoctid/>
  65. <patgrade/>
  66. <bedkindfrom/>
  67. <bedkindto/>
  68. <incretno/>
  69. <inskind/>
  70. <delflag/>
  71. <drgyn/>
  72. <drgno/>
  73. <drgnm/>
  74. <publicroomtype/>
  75. <inmgrtelno/>
  76. <sortno/>
  77. </inreqfrminfo>
  78. </inreqfrminfo>
  79. <diaginfo>
  80. <diagcdlist>
  81. <status/>
  82. <diagdd/>
  83. <diagno/>
  84. <diaghistno/>
  85. <instcd/>
  86. <pid/>
  87. <orddd/>
  88. <cretno/>
  89. <orddeptcd/>
  90. <orddrid/>
  91. <genrflagcd/>
  92. <diaghistcd/>
  93. <diagcd/>
  94. <diagtypecd/>
  95. <diagkindcd/>
  96. <diagkindcdflag/>
  97. <anamneflag/>
  98. <tootflagcd/>
  99. <diagsignflag/>
  100. <tootfact/>
  101. <diagengnm/>
  102. <diaghngnm/>
  103. <icd10cd/>
  104. <spclinfo/>
  105. <diagremfact/>
  106. <diagcmtcnts/>
  107. </diagcdlist>
  108. <opcdlist>
  109. <status/>
  110. <diagdd/>
  111. <diagno/>
  112. <diaghistno/>
  113. <diagtypecd/>
  114. <orgopcd/>
  115. <orddrid/>
  116. <orddeptcd/>
  117. <cretno/>
  118. <pid/>
  119. <orddd/>
  120. <icd9cd/>
  121. <opengnm/>
  122. <ophngnm/>
  123. </opcdlist>
  124. <traumadiagcdlist/>
  125. </diaginfo>
  126. <cond>
  127. <year/>
  128. <month/>
  129. <diagflag/>
  130. <opflag>2</opflag>
  131. <rsrvcond/>
  132. </cond>
  133. <inreqhistinfo>
  134. <inreqhistlist>
  135. <status/>
  136. <pid/>
  137. <inrsrvacptdd/>
  138. <orddeptcd/>
  139. <inrsrvacptseqno/>
  140. <inrsrvacpttm/>
  141. <inrsrvstat/>
  142. <inrsrvprcpno/>
  143. <insukind/>
  144. <indirecdrid/>
  145. <indirecdd/>
  146. <orddrid/>
  147. <inhopedd/>
  148. <inflag/>
  149. <drgyn/>
  150. <bmtyn/>
  151. <cpyn>N</cpyn>
  152. <cpcd/>
  153. <fcstinterm/>
  154. <erreglyn/>
  155. <isolroomyn/>
  156. <oxyyn/>
  157. <suctyn/>
  158. <scheopdd/>
  159. <inrsrvrem/>
  160. <drrem/>
  161. <inrsrvcnclresn/>
  162. <incncldd/>
  163. <incncltm/>
  164. <hngnm/>
  165. <specroomyn/>
  166. <suppkind/>
  167. <orddd/>
  168. <orgorddeptcd/>
  169. <ocrtag/>
  170. <cnstteam/>
  171. <centcd/>
  172. <subdeptcd/>
  173. <coopteamcd/>
  174. <assgward/>
  175. <assgroom/>
  176. <assgroomgrde/>
  177. <assgroomtype/>
  178. <assgbed/>
  179. <publicbedyn/>
  180. <phoneno/>
  181. <atdoctid/>
  182. <patgrade/>
  183. <bedkindfrom/>
  184. <bedkindto/>
  185. <incretno/>
  186. <inskind/>
  187. <delflag/>
  188. <drgno/>
  189. <drgnm/>
  190. <publicroomtype/>
  191. <inmgrtelno/>
  192. <sortno/>
  193. </inreqhistlist>
  194. <dschchkyn>
  195. <ordtype/>
  196. </dschchkyn>
  197. </inreqhistinfo>
  198. <week>
  199. <week>
  200. <sun/>
  201. <mon/>
  202. <tue/>
  203. <wed/>
  204. <thu/>
  205. <fri/>
  206. <sat/>
  207. </week>
  208. </week>
  209. <calendar>
  210. <calendar>
  211. <basedd/>
  212. <dutflag/>
  213. <ordyn/>
  214. <patsum/>
  215. <day/>
  216. <week/>
  217. </calendar>
  218. </calendar>
  219. <status/>
  220. <serdiaginfo>
  221. <serdiagermsg/>
  222. </serdiaginfo>
  223. <patdccinfo>
  224. <deptcd/>
  225. <pid/>
  226. <hngnm/>
  227. <sa/>
  228. <orddeptcd/>
  229. <medispclid/>
  230. <orddeptnm/>
  231. <medispclnm/>
  232. </patdccinfo>
  233. <cpinfo>
  234. <ablecp/>
  235. </cpinfo>
  236. </main>
  237. <send>
  238. <reqdata/>
  239. <savedata/>
  240. <newElement/>
  241. </send>
  242. <hidden>
  243. <smsdata/>
  244. </hidden>
  245. <init>
  246. <today/>
  247. <inrsrvcnclresn/>
  248. <orddept/>
  249. <specroomyn>
  250. </specroomyn>
  251. <userlist/>
  252. <!--<hardcdno/>-->
  253. <opcdlist>
  254. <status/>
  255. <diagdd/>
  256. <diagno/>
  257. <diaghistno/>
  258. <diagtypecd/>
  259. <pid/>
  260. <orddd/>
  261. <cretno/>
  262. <orddeptcd/>
  263. <orddrid/>
  264. <orgopcd/>
  265. <icd9cd/>
  266. <opengnm/>
  267. <ophngnm/>
  268. </opcdlist>
  269. <!--<bmtdeptcd/>-->
  270. <cnstteamlist/>
  271. <centerwardcdlist/>
  272. <wardtypecd/>
  273. <!--
  274. <erreglyn/>
  275. <userauth/>
  276. -->
  277. <deptcode/>
  278. <subdeptinfo/>
  279. <patnm/>
  280. <pateducyn/>
  281. <warddept/>
  282. <roomgrade/>
  283. <roomtype/>
  284. <atdoctlist/>
  285. <patgrade/>
  286. <bedkind/>
  287. <pamcomcode>
  288. <PK092list/>
  289. <PK107list/>
  290. </pamcomcode>
  291. <hoperoom/>
  292. </init>
  293. <paminfo>
  294. <list/>
  295. </paminfo>
  296. <temp>
  297. <inreqfrminfo/>
  298. <cnstteam/>
  299. <prcpinforsntly/>
  300. <drgno/>
  301. <rtnmessage/>
  302. <traumadiaginfo/>
  303. </temp>
  304. <patflag>
  305. <list/>
  306. </patflag>
  307. <hidden2>
  308. <erprcpyn/>
  309. </hidden2>
  310. </root>
  311. </instance>
  312. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  313. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  314. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  315. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  316. <submission id="TRMMO00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inreqhistinfo"/>
  317. <submission id="TRMMO00153" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/rtnmessage"/>
  318. <submission id="TRMMO00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/calendar"/>
  319. <submission id="TRMMO00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
  320. <submission id="TRMMO00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  321. <submission id="TRMMO00125" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/serdiaginfo"/>
  322. <submission id="TRMMO00145" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cpinfo"/>
  323. <submission id="TRMMO00126" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/cnstteam"/>
  324. <submission id="TRMMO00128" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/centerwardcdlist"/>
  325. <submission id="TRMMO00158" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamcomcode"/>
  326. <submission id="TXMMO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inreqhistinfo"/>
  327. <!-- 선택진료신청관리 팝업 open 여부 체크 -->
  328. <submission id="TRPMC06801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/smpmc06800/send" resultref="/root/smpmc06800/saim"/>
  329. <!--입원약정서 출력물 호출 -->
  330. <submission id="TRPMI01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data40" resultref="/root/hidden/h_deciprint"/>
  331. <submission id="TXMMO26001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnt"/>
  332. <submission id="TXMMO26002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnt"/>
  333. <script type="javascript" ev:event="xforms-ready">
  334. <![CDATA[
  335. fInitialize_SPMMO00100();
  336. ]]>
  337. </script>
  338. <submission id="TRMMO00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  339. <bind id="bind1" ref="/root/main/diaginfo/diagcdlist/icd10cd" readonly="../status != &quot;&quot;"/>
  340. <bind id="bind2" ref="/root/main/diaginfo/diagcdlist/diagengnm" readonly="../status != &quot;&quot;"/>
  341. <bind id="bind3" ref="/root/main/diaginfo/diagcdlist/diaghngnm" readonly="../status != &quot;&quot;"/>
  342. <bind id="bind4" ref="/root/main/diaginfo/opcdlist/icd9cd" readonly="../status != &quot;&quot;"/>
  343. <bind id="bind5" ref="/root/main/diaginfo/opcdlist/opengnm" readonly="../status != &quot;&quot;"/>
  344. <bind id="bind6" ref="/root/main/diaginfo/opcdlist/ophngnm" readonly="../status != &quot;&quot;"/>
  345. <submission id="TRMMB04106" mediatype="application/x-www-form-urlencoded" method="post"/>
  346. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  347. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  348. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  349. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  350. <submission id="TRMMB04107" mediatype="application/x-www-form-urlencoded" method="post"/>
  351. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  352. <submission id="TRMMO00131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/prcpinforsntly"/>
  353. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/pamcomcode"/>
  354. <!--응급실 환자의 응급의학관리료 처방 여부 체크-->
  355. <submission id="TRMMO00149" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden2/erprcpyn"/>
  356. <script type="javascript" ev:event="xforms-model-construct-done">
  357. <![CDATA[
  358. fGethardcdArrayList(new Array(
  359. "hardcdno|1",
  360. "bmtdeptcd|68",
  361. "erreglyn|90",
  362. "userauth|91",
  363. "wardflag|231",
  364. "drkindcd|69"
  365. ),
  366. new Array(
  367. "/root/init",
  368. "/root/init",
  369. "/root/init",
  370. "/root/init",
  371. "/root/init",
  372. "root/init"
  373. )
  374. );
  375. var wardflag = model.getValue("/root/init/wardflag/hardcd/hardcd");
  376. if ( wardflag == "A") {
  377. model.toggle("case2");
  378. } else if ( wardflag == "C") {
  379. model.toggle("case3");
  380. } else {
  381. model.toggle("case1");
  382. }
  383. ]]>
  384. </script>
  385. <submission id="TRMMO00161" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/diaginfo/traumadiagcdlist" resultref="/root/temp/traumadiaginfo"/>
  386. </model>
  387. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  388. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  389. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  390. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  391. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  392. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  393. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  394. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  395. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO00100.js"/>
  396. <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
  397. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  398. </xhtml:head>
  399. <xhtml:body pagewidth="1040" pageheight="670" guideline="2,-48;1,1021;2,500;1,506;2,638;2,191;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  400. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:502px; y2:15px; "/>
  401. <caption id="caption16" class="cell_1" style="left:0px; top:20px; width:98px; height:23px; text-align:center; vertical-align:middle; ">등 록 번 호</caption>
  402. <caption id="caption17" class="cell_1" style="left:0px; top:93px; width:98px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  403. <caption id="caption11" class="cell_1" style="left:0px; top:529px; width:98px; height:26px; text-align:center; vertical-align:middle; ">원무과 전달사항</caption>
  404. <caption id="caption1" class="cell_1" style="left:0px; top:44px; width:98px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
  405. <caption id="caption2" class="cell_1" style="left:0px; top:141px; width:98px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
  406. <caption id="caption3" class="cell_1" style="left:0px; top:214px; width:98px; height:23px; text-align:center; vertical-align:middle; ">입원예정일</caption>
  407. <caption id="caption4" class="cell_1" style="left:0px; top:262px; width:98px; height:23px; text-align:center; vertical-align:middle; ">CP 적용</caption>
  408. <caption id="caption6" class="cell_1" style="left:0px; top:334px; width:98px; height:23px; text-align:center; vertical-align:middle; ">예상 입원기간</caption>
  409. <caption id="caption7" class="cell_1" style="left:0px; top:190px; width:98px; height:23px; text-align:center; vertical-align:middle; ">발 행 일</caption>
  410. <caption id="caption21" style="left:382px; top:22px; width:20px; height:20px; vertical-align:middle; ">월</caption>
  411. <caption id="caption12" class="cell_1" style="left:0px; top:556px; width:98px; height:26px; text-align:center; vertical-align:middle; ">의료진 참고사항</caption>
  412. <caption id="caption13" class="cell_1" style="left:0px; top:238px; width:98px; height:23px; text-align:center; vertical-align:middle; ">수술예정일</caption>
  413. <caption id="caption20" style="left:306px; top:22px; width:20px; height:20px; vertical-align:middle; ">년</caption>
  414. <caption id="caption14" class="tit_2" style="left:0px; top:0px; width:113px; height:14px; vertical-align:middle; ">입원의뢰서</caption>
  415. <button id="btn_save" class="btn4_letter2" disabled="true" style="left:847px; top:642px; width:56px; height:22px; ">
  416. <caption>저장</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. fSaveInReq();
  420. ]]>
  421. </script>
  422. </button>
  423. <button id="btn_del" class="btn4_letter2" disabled="true" style="left:904px; top:642px; width:56px; height:22px; ">
  424. <caption>삭제</caption>
  425. <script type="javascript" ev:event="DOMActivate">
  426. <![CDATA[
  427. fClkBtnInReqDel();
  428. ]]>
  429. </script>
  430. </button>
  431. <input id="ipt_pid" ref="/root/main/inreqfrminfo/inreqfrminfo/pid" class="input_search" maxlength="10" maxbyte="8" style="left:100px; top:22px; width:110px; height:19px; ">
  432. <script type="javascript" ev:event="onkeyup">
  433. <![CDATA[
  434. inputEnterKey("btn_patserch", "DOMActivate");
  435. ]]>
  436. </script>
  437. <script type="javascript" ev:event="onclick">
  438. <![CDATA[
  439. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/pid" , "");
  440. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm" , "");
  441. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/sa" , "");
  442. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno" , "");
  443. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
  444. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
  445. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
  446. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
  447. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
  448. //2012/07/20 Start
  449. opener.javascript.clearParameter("opener_id");
  450. //2012/07/20 End
  451. model.refresh();
  452. ]]>
  453. </script>
  454. </input>
  455. <select1 id="cmb_orddeptcd" ref="/root/main/inreqfrminfo/inreqfrminfo/orddeptcd" class="combo" appearance="minimal" style="left:100px; top:95px; width:134px; height:19px; ">
  456. <choices>
  457. <itemset nodeset="/root/init/orddept/dept">
  458. <label ref="depthngnm"/>
  459. <value ref="deptcd"/>
  460. </itemset>
  461. </choices>
  462. <script type="javascript" ev:event="xforms-value-changed">
  463. <![CDATA[
  464. //zsufGetUserInfoCombo(cmb_orddeptcd.value , "/root/init/userlist", "_D"); //해당 의사콤보 조회
  465. //model.refresh();
  466. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddeptcd.value, "0330", "","M", "", "", "J");
  467. if(fContainsHardCD("515", cmb_orddeptcd.value)) { // 담당의 항목에 교수도 조회해야 하는 부서
  468. mmbfGetUserComboList("/root/send/reqdata", "/root/init/atdoctlist", cmb_orddeptcd.value, "0330", "", "T", "", "", "P"); // 담당의에 주치의도 포함 되도록 수정 -2015.11.06 엄영만 요청서:20151102005
  469. } else {
  470. mmbfGetUserComboList("/root/send/reqdata", "/root/init/atdoctlist", cmb_orddeptcd.value, "0330", "", "A", "", "", "P"); // 담당의에 주치의도 포함 되도록 수정 -2015.11.06 엄영만 요청서:20151102005
  471. }
  472. mmbfGetSubDeptComboList("/root/send/reqdata", "/root/init/subdeptinfo", cmb_orddeptcd.value);
  473. addComboInstance("/root/init/subdeptinfo", "subdeptnm^subdeptcd", " ^-", "subdeptlist"); //의사콤보 전체항목 추가
  474. cmb_orddrid.select(0);
  475. model.refresh();
  476. ]]>
  477. </script>
  478. </select1>
  479. <input id="ipt_inhopedd" ref="/root/main/inreqfrminfo/inreqfrminfo/inhopedd" class="input" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:218px; width:86px; height:19px; ">
  480. <script type="javascript" ev:event="xforms-value-changed">
  481. <![CDATA[
  482. fChngInHopeDD();
  483. ]]>
  484. </script>
  485. </input>
  486. <input id="ipt_patnm" ref="/root/main/inreqfrminfo/inreqfrminfo/hngnm" class="input_search" style="left:100px; top:47px; width:90px; height:19px; ">
  487. <script type="javascript" ev:event="onkeypress">
  488. <![CDATA[
  489. inputEnterKey("btn_patserch", "DOMActivate");
  490. ]]>
  491. </script>
  492. <script type="javascript" ev:event="onclick">
  493. <![CDATA[
  494. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/pid" , "");
  495. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm" , "");
  496. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/sa" , "");
  497. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno" , "");
  498. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
  499. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
  500. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
  501. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
  502. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
  503. model.refresh();
  504. ]]>
  505. </script>
  506. </input>
  507. <input id="ipt_sa" ref="/root/main/inreqfrminfo/inreqfrminfo/sa" class="input_search" style="left:194px; top:47px; width:40px; height:19px; "/>
  508. <select1 id="cmb_orddrid" ref="/root/main/inreqfrminfo/inreqfrminfo/orddrid" class="combo_search" appearance="minimal" style="left:100px; top:143px; width:85px; height:19px; ">
  509. <choices>
  510. <itemset nodeset="/root/init/userlist/usercombo">
  511. <label ref="usernm"/>
  512. <value ref="userid"/>
  513. </itemset>
  514. </choices>
  515. <script type="javascript" ev:event="xforms-value-changed">
  516. <![CDATA[
  517. fChngOrdDrID();
  518. ]]>
  519. </script>
  520. </select1>
  521. <select1 id="rdo_cpyn" ref="/root/main/inreqfrminfo/inreqfrminfo/cpyn" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:101px; top:266px; width:131px; height:17px; border-style:none; ">
  522. <choices>
  523. <item>
  524. <label>예</label>
  525. <value>Y</value>
  526. </item>
  527. <item>
  528. <label>아니오</label>
  529. <value>N</value>
  530. </item>
  531. </choices>
  532. </select1>
  533. <input id="ipt_fcstinterm" ref="/root/main/inreqfrminfo/inreqfrminfo/fcstinterm" class="input_search" imemode="disabled" maxlength="4" format="#" style="left:101px; top:336px; width:34px; height:19px; text-align:center; "/>
  534. <output id="opt_inrsrvacptdd" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd" class="output_fix" format="yyyy-mm-dd" style="left:100px; top:192px; width:86px; height:19px; "/>
  535. <input id="ipt_inrsrvrem" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvrem" class="input_search" style="left:100px; top:533px; width:403px; height:19px; "/>
  536. <input id="ipt_drrem" ref="/root/main/inreqfrminfo/inreqfrminfo/drrem" class="input_search" style="left:100px; top:561px; width:403px; height:19px; "/>
  537. <input id="ipt_scheopdd" ref="/root/main/inreqfrminfo/inreqfrminfo/scheopdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:241px; width:86px; height:19px; ">
  538. <script type="javascript" ev:event="onclick">
  539. <![CDATA[
  540. fChgOpBaseDD();
  541. ]]>
  542. </script>
  543. </input>
  544. <line id="line2" class="line_1" style="x1:1px; y1:390px; x2:503px; y2:390px; "/>
  545. <caption id="caption8" class="tit_2" style="left:1px; top:375px; width:113px; height:13px; vertical-align:middle; ">진단</caption>
  546. <line id="line3" class="line_1" style="x1:505px; y1:390px; x2:1021px; y2:390px; "/>
  547. <caption id="caption9" class="tit_2" style="left:506px; top:375px; width:113px; height:13px; vertical-align:middle; ">수술</caption>
  548. <line id="line4" class="line_1" style="x1:506px; y1:15px; x2:1021px; y2:15px; "/>
  549. <caption id="caption10" class="tit_2" style="left:507px; top:0px; width:113px; height:14px; vertical-align:middle; ">입원예약 내역</caption>
  550. <button id="button5" class="btn2_letter2" style="left:197px; top:241px; width:42px; height:19px; ">
  551. <caption>삭제</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/scheopdd", "");
  555. model.refresh();
  556. ]]>
  557. </script>
  558. </button>
  559. <caption id="caption15" style="left:136px; top:337px; width:20px; height:20px; ">일</caption>
  560. <datagrid id="grd_inreqhistlist" nodeset="/root/main/inreqhistinfo/inreqhistlist" caption="status^상태^suppkind^specroomyn^hngnm^incncltm^incncldd^inrsrvcnclresn^drrem^inrsrvrem^scheopdd^suctyn^oxyyn^isolroomyn^erreglyn^fcstinterm^cpcd^cpyn^bmtyn^drgyn^inflag^indirecdd^indirecdrid^insukind^inrsrvprcpno^inrsrvstat^inrsrvacpttm^inrsrvacptseqno^orddeptcd^orddrid^pid^inrsrvacptdd^caption1^입원예정일^진료과^전문의^발행일^등록자명^입원일^센터코드^세부과코드^협진팀코드^wardtypecd^specwardcd^assgward^assgroom^assgroomgrde^assgroomtype^assgbed^caption2^caption3^caption4^caption5" colsep="^" colwidth="0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 72, 112, 65, 77, 82, 36, 18, 18, 20, 0, 0, 0, 0, 0, 0, 0, 100, 100, 0, 100, 100, 100, 100, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:506px; top:21px; width:515px; height:329px; ">
  561. <col ref="status"/>
  562. <col disabled="true" ref="inrsrvstat" type="combo" style="text-align:center; ">
  563. <choices>
  564. <item>
  565. <label>예약</label>
  566. <value>T</value>
  567. </item>
  568. <item>
  569. <label>결정</label>
  570. <value>S</value>
  571. </item>
  572. <item>
  573. <label>결정</label>
  574. <value>R</value>
  575. </item>
  576. <item>
  577. <label>입원</label>
  578. <value>A</value>
  579. </item>
  580. <item>
  581. <label>부도</label>
  582. <value>D</value>
  583. </item>
  584. </choices>
  585. </col>
  586. <col ref="suppkind"/>
  587. <col ref="specroomyn"/>
  588. <col ref="hngnm"/>
  589. <col ref="incncltm"/>
  590. <col ref="incncldd"/>
  591. <col ref="inrsrvcnclresn"/>
  592. <col ref="drrem"/>
  593. <col ref="inrsrvrem"/>
  594. <col ref="scheopdd"/>
  595. <col ref="suctyn"/>
  596. <col ref="oxyyn"/>
  597. <col ref="isolroomyn"/>
  598. <col ref="erreglyn"/>
  599. <col ref="fcstinterm"/>
  600. <col ref="cpcd"/>
  601. <col ref="cpyn"/>
  602. <col ref="bmtyn"/>
  603. <col ref="drgyn"/>
  604. <col ref="inflag"/>
  605. <col ref="indirecdd"/>
  606. <col ref="indirecdrid"/>
  607. <col ref="insukind"/>
  608. <col ref="inrsrvprcpno"/>
  609. <col ref="inrsrvstat"/>
  610. <col ref="inrsrvacpttm"/>
  611. <col ref="inrsrvacptseqno"/>
  612. <col ref="orddeptcd"/>
  613. <col ref="orddrid"/>
  614. <col ref="pid"/>
  615. <col ref="inrsrvacptdd"/>
  616. <col ref="cnstteam"/>
  617. <col ref="inhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
  618. <col disabled="true" ref="orddeptcd" type="combo">
  619. <choices>
  620. <itemset nodeset="/root/init/orddept/dept">
  621. <label ref="depthngnm"/>
  622. <value ref="deptcd"/>
  623. </itemset>
  624. </choices>
  625. </col>
  626. <col ref="orddrnm" style="text-align:center; "/>
  627. <col ref="inrsrvacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  628. <col ref="usernm" style="text-align:center; "/>
  629. <col ref="indd" visibility="hidden"/>
  630. <col ref="centcd" visibility="hidden"/>
  631. <col ref="subdeptcd" visibility="hidden"/>
  632. <col ref="coopteamcd" visibility="hidden"/>
  633. <col ref="wardtypecd" visibility="hidden"/>
  634. <col ref="specwardcd" visibility="hidden"/>
  635. <col ref="ampmflag" visibility="hidden"/>
  636. <col ref="sa" visibility="hidden"/>
  637. <col ref="assgward" visibility="hidden"/>
  638. <col ref="assgroom" visibility="hidden"/>
  639. <col ref="assgroomgrde" visibility="hidden"/>
  640. <col ref="assgroomtype" visibility="hidden"/>
  641. <col ref="assgbed" visibility="hidden"/>
  642. <col ref="phoneno" visibility="hidden"/>
  643. <col ref="atdoctid" visibility="hidden"/>
  644. <col ref="patgrade" visibility="hidden"/>
  645. <col ref="bedkind" visibility="hidden"/>
  646. <col ref="incretno" visibility="hidden"/>
  647. <col ref="inskind" visibility="hidden"/>
  648. <col ref="delflag" visibility="hidden"/>
  649. <col ref="drgno" visibility="hidden"/>
  650. <col ref="drgnm" visibility="hidden"/>
  651. <col ref="sortno" visibility="hidden"/>
  652. <script type="javascript" ev:event="onclick">
  653. <![CDATA[
  654. var currow = grd_inreqhistlist.row;
  655. if (isDataCell() == true) {
  656. fDispInReqHistInfo(currow);
  657. fReqInReqDiagOpList();
  658. var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
  659. if (status == "u") {
  660. model.setValue("/root/main/status", "수정상태");
  661. //2012/08/13 Start
  662. btn_del.disabled="false";
  663. //2012/08/13 End
  664. //2013/01/23 Start 의사가 아니면서 전문간호로 접근하지 않았을시 삭제버튼 비활성화
  665. if(menuauthchkyn=="N" && getUserInfo("jobkindcd").substr(0, 2)!="03"){
  666. btn_del.disabled=true;
  667. return;
  668. }
  669. //2013/01/23 End
  670. } else {
  671. model.setValue("/root/main/status", "신규상태");
  672. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd", getCurrentDate());
  673. //2012/08/13 Start
  674. btn_del.disabled="true";
  675. //2012/08/13 End
  676. }
  677. model.refresh();
  678. }
  679. ]]>
  680. </script>
  681. </datagrid>
  682. <datagrid id="grd_calendar" nodeset="/root/main/week/week" caption="일^월^화^수^목^금^토" colsep="^" colwidth="36, 36, 36, 37, 37, 37, 36" dataheight="50" extendlastcol="scroll" mergecellsfixedrows="byrow" rowheight="30" style="left:243px; top:44px; width:258px; height:211px; ">
  683. <col ref="sun" style="text-align:center; "/>
  684. <col ref="mon" style="text-align:center; "/>
  685. <col ref="tue" style="text-align:center; "/>
  686. <col ref="wed" style="text-align:center; "/>
  687. <col ref="thu" style="text-align:center; "/>
  688. <col ref="fri" style="text-align:center; "/>
  689. <col ref="sat" style="text-align:center; "/>
  690. </datagrid>
  691. <button id="btn_inreqsrch" class="btn2_letter6" style="left:415px; top:21px; width:86px; height:19px; ">
  692. <caption>입원예약조회</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. // setParameter("SPMMO09000_param", "2007▦08▦2230000000▦91620245▦20086");
  696. modal("SPMMO09000");
  697. ]]>
  698. </script>
  699. </button>
  700. <button id="btn_deldiag" class="btn2_letter2" style="left:460px; top:369px; width:42px; height:19px; ">
  701. <caption>삭제</caption>
  702. <script type="javascript" ev:event="DOMActivate">
  703. <![CDATA[
  704. fDeleteRow(grd_diaglist);
  705. ]]>
  706. </script>
  707. </button>
  708. <button id="btn_opnote" class="btn2_letter6" style="left:889px; top:369px; width:86px; height:19px; ">
  709. <caption>수술예약장부</caption>
  710. <script type="javascript" ev:event="DOMActivate">
  711. <![CDATA[
  712. modal("SMMMO05700");
  713. ]]>
  714. </script>
  715. </button>
  716. <button id="btn_delop" class="btn2_letter2" style="left:977px; top:369px; width:42px; height:19px; ">
  717. <caption>삭제</caption>
  718. <script type="javascript" ev:event="DOMActivate">
  719. <![CDATA[
  720. fDeleteRow(grd_oplist);
  721. grd_oplist.addRow(true, true);
  722. ]]>
  723. </script>
  724. </button>
  725. <button id="btn_init" class="btn4_letter3" disabled="true" style="left:778px; top:642px; width:68px; height:22px; ">
  726. <caption>초기화</caption>
  727. <script type="javascript" ev:event="DOMActivate">
  728. <![CDATA[
  729. fClkBtnInit();
  730. ]]>
  731. </script>
  732. </button>
  733. <button id="btn_close" class="btn4_letter2" disabled="true" style="left:961px; top:642px; width:56px; height:22px; ">
  734. <caption>닫기</caption>
  735. <script type="javascript" ev:event="DOMActivate">
  736. <![CDATA[
  737. window.close();
  738. ]]>
  739. </script>
  740. </button>
  741. <button id="btn_bfyear" class="icon_pre" style="left:243px; top:23px; width:13px; height:15px; ">
  742. <caption/>
  743. <script type="javascript" ev:event="DOMActivate">
  744. <![CDATA[
  745. model.removeNodeset("/root/main/week/week");
  746. var year = model.getValue("/root/main/cond/year");
  747. model.setValue("/root/main/cond/year", --year);
  748. model.refresh();
  749. fReqInReqCalendar();
  750. ]]>
  751. </script>
  752. </button>
  753. <button id="btn_af" class="icon_next" style="left:320px; top:23px; width:13px; height:15px; ">
  754. <caption/>
  755. <script type="javascript" ev:event="DOMActivate">
  756. <![CDATA[
  757. model.removeNodeset("/root/main/week/week");
  758. var year = model.getValue("/root/main/cond/year");
  759. model.setValue("/root/main/cond/year", ++year);
  760. model.refresh();
  761. fReqInReqCalendar();
  762. ]]>
  763. </script>
  764. </button>
  765. <button id="btn_bfmonth" class="icon_pre" style="left:340px; top:23px; width:13px; height:15px; ">
  766. <caption/>
  767. <script type="javascript" ev:event="DOMActivate">
  768. <![CDATA[
  769. model.removeNodeset("/root/main/week/week");
  770. var year = model.getValue("/root/main/cond/year");
  771. var month = model.getValue("/root/main/cond/month");
  772. month -= 1;
  773. if(month == 0){
  774. year -= 1;
  775. month = 12;
  776. }else if(month < 10){ //2자리가 아닌 경우, 앞자리에 0을 붙인다.
  777. month = "0".concat(month);
  778. }
  779. model.setValue("/root/main/cond/year", year);
  780. model.setValue("/root/main/cond/month", month);
  781. model.refresh();
  782. fReqInReqCalendar();
  783. ]]>
  784. </script>
  785. </button>
  786. <button id="btn_afmonth" class="icon_next" style="left:395px; top:22px; width:13px; height:15px; ">
  787. <caption/>
  788. <script type="javascript" ev:event="DOMActivate">
  789. <![CDATA[
  790. model.removeNodeset("/root/main/week/week");
  791. var year = model.getValue("/root/main/cond/year");
  792. var month = model.getValue("/root/main/cond/month");
  793. month = eval(month) + 1;
  794. if(month == 13){
  795. year = eval(year) + 1;
  796. month = "01";
  797. }else if(month < 10){ //2자리가 아닌 경우, 앞자리에 0을 붙인다.
  798. month = "0".concat(month);
  799. }
  800. model.setValue("/root/main/cond/year", year);
  801. model.setValue("/root/main/cond/month", month);
  802. model.refresh();
  803. fReqInReqCalendar();
  804. ]]>
  805. </script>
  806. </button>
  807. <button id="btn_calendar" disabled="true" style="left:180px; top:337px; width:60px; height:20px; ">
  808. <caption/>
  809. <script type="javascript" ev:event="DOMActivate">
  810. <![CDATA[
  811. model.removeNodeset("/root/main/week/week");
  812. var month = model.getValue("/root/main/cond/month");
  813. if(month.length < 2){
  814. month = "0".concat(month);
  815. }
  816. model.setValue("/root/main/cond/month", month);
  817. model.refresh();
  818. fReqInReqCalendar();
  819. ]]>
  820. </script>
  821. </button>
  822. <input id="ipt_month" ref="/root/main/cond/month" class="input_search" style="left:355px; top:21px; width:26px; height:19px; text-align:center; ">
  823. <script type="javascript" ev:event="DOMFocusOut">
  824. <![CDATA[
  825. var month = model.getValue("/root/main/cond/month");
  826. if(month.length < 2){
  827. month = "0".concat(month);
  828. }
  829. model.setValue("/root/main/cond/month", month);
  830. model.refresh();
  831. ]]>
  832. </script>
  833. <script type="javascript" ev:event="onkeypress">
  834. <![CDATA[
  835. inputEnterKey("btn_calendar", "DOMActivate");
  836. ]]>
  837. </script>
  838. </input>
  839. <input id="ipt_year" ref="/root/main/cond/year" class="input_search" style="left:258px; top:21px; width:46px; height:19px; text-align:center; ">
  840. <script type="javascript" ev:event="onkeypress">
  841. <![CDATA[
  842. inputEnterKey("btn_calendar", "DOMActivate");
  843. ]]>
  844. </script>
  845. </input>
  846. <datagrid id="grd_diaglist" nodeset="/root/main/diaginfo/diagcdlist" caption="^diagdd^diagno^diaghistno^diagtypecd^orddrid^orddeptcd^cretno^pid^orddd^진단코드^ICD10CD^영문명^한글명^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12" colsep="^" colwidth="36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 176, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:395px; width:502px; height:100px; ">
  847. <col disabled="true" ref="status" type="combo">
  848. <choices>
  849. <item>
  850. <label>-</label>
  851. <value>-</value>
  852. </item>
  853. <item>
  854. <label>신규</label>
  855. <value>i</value>
  856. </item>
  857. <item>
  858. <label>수정</label>
  859. <value>u</value>
  860. </item>
  861. <item>
  862. <label>삭제</label>
  863. <value>d</value>
  864. </item>
  865. </choices>
  866. </col>
  867. <col ref="diagdd"/>
  868. <col ref="diagno"/>
  869. <col ref="diaghistno"/>
  870. <col ref="diagtypecd"/>
  871. <col ref="pid"/>
  872. <col ref="orddd"/>
  873. <col ref="cretno"/>
  874. <col ref="orddeptcd"/>
  875. <col ref="orddrid"/>
  876. <col ref="diagcd" type="input" style="text-align:center; "/>
  877. <col ref="icd10cd" type="input" style="text-align:center; "/>
  878. <col ref="diagengnm" type="input"/>
  879. <col ref="diaghngnm" type="input"/>
  880. <col ref="instcd" visibility="hidden"/>
  881. <col ref="genrflagcd" visibility="hidden"/>
  882. <col ref="diaghistcd" visibility="hidden"/>
  883. <col ref="diagkindcd" visibility="hidden"/>
  884. <col ref="diagkindcdflag" visibility="hidden"/>
  885. <col ref="anamneflag" visibility="hidden"/>
  886. <col ref="tootflagcd" visibility="hidden"/>
  887. <col ref="diagsignflag" visibility="hidden"/>
  888. <col ref="tootfact" visibility="hidden"/>
  889. <col ref="spclinfo" visibility="hidden"/>
  890. <col ref="diagremfact" visibility="hidden"/>
  891. <col ref="diagcmtcnts" type="input" visibility="hidden"/>
  892. <script type="javascript" ev:event="onendedit">
  893. <![CDATA[
  894. fSearchDiagTermCD();
  895. ]]>
  896. </script>
  897. <script type="javascript" ev:event="onclick">
  898. <![CDATA[
  899. if(grd_diaglist.col == grd_diaglist.colRef("status")){
  900. var status = grd_diaglist.valueMatrix(grd_diaglist.row, grd_diaglist.colRef("status"))
  901. if(status == "d"){
  902. grd_diaglist.valueMatrix(grd_diaglist.row, grd_diaglist.colRef("status")) = "-";
  903. }else{
  904. return;
  905. }
  906. }
  907. grd_diaglist.refresh();
  908. ]]>
  909. </script>
  910. </datagrid>
  911. <datagrid id="grd_oplist" nodeset="/root/main/diaginfo/opcdlist" caption="^diagdd^diagno^diaghistno^diagtypecd^orgopcd^orddrid^orddeptcd^cretno^pid^orddd^수술코드^영문명^한글명" colsep="^" colwidth="35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 200, 190" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:505px; top:395px; width:516px; height:100px; ">
  912. <col disabled="true" ref="status" type="combo">
  913. <choices>
  914. <item>
  915. <label>-</label>
  916. <value>-</value>
  917. </item>
  918. <item>
  919. <label>신규</label>
  920. <value>i</value>
  921. </item>
  922. <item>
  923. <label>수정</label>
  924. <value>u</value>
  925. </item>
  926. <item>
  927. <label>삭제</label>
  928. <value>d</value>
  929. </item>
  930. </choices>
  931. </col>
  932. <col ref="diagdd"/>
  933. <col ref="diagno"/>
  934. <col ref="diaghistno"/>
  935. <col ref="diagtypecd"/>
  936. <col ref="pid"/>
  937. <col ref="orddd"/>
  938. <col ref="cretno"/>
  939. <col ref="orddeptcd"/>
  940. <col ref="orddrid"/>
  941. <col ref="orgopcd"/>
  942. <col ref="icd9cd" type="input" style="text-align:center; "/>
  943. <col ref="opengnm" type="input"/>
  944. <col ref="ophngnm" type="input"/>
  945. <script type="javascript" ev:event="onendedit">
  946. <![CDATA[
  947. fSearchOpTermCD();
  948. ]]>
  949. </script>
  950. <script type="javascript" ev:event="onclick">
  951. <![CDATA[
  952. if(grd_oplist.col == grd_oplist.colRef("status")){
  953. var status = grd_oplist.valueMatrix(grd_oplist.row, grd_oplist.colRef("status"))
  954. if(status == "d"){
  955. grd_oplist.valueMatrix(grd_oplist.row, grd_oplist.colRef("status")) = "-";
  956. }else{
  957. return;
  958. }
  959. }
  960. grd_diaglist.refresh();
  961. ]]>
  962. </script>
  963. </datagrid>
  964. <group id="group1" disabled="false" visibility="hidden" style="left:515px; top:191px; width:260px; height:157px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  965. <caption id="caption5" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">취소사유</caption>
  966. <select1 id="cmb_inrsrvcnclresn" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresn" class="combo_search" appearance="minimal" style="left:61px; top:4px; width:188px; height:19px; ">
  967. <choices>
  968. <itemset nodeset="/root/init/inrsrvcnclresn/P0020">
  969. <label ref="cdnm"/>
  970. <value ref="cdid"/>
  971. </itemset>
  972. </choices>
  973. </select1>
  974. <caption id="caption44" style="left:5px; top:25px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">상세내용</caption>
  975. <textarea id="textarea1" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresnrem" style="left:9px; top:44px; width:240px; height:80px; "/>
  976. <button id="btn_cnfm" class="btn2_letter2" style="left:162px; top:130px; width:42px; height:19px; ">
  977. <caption>확인</caption>
  978. <script type="javascript" ev:event="DOMActivate">
  979. <![CDATA[
  980. fDelInReqHistList();
  981. ]]>
  982. </script>
  983. </button>
  984. <button id="btn_cncl" class="btn2_letter2" style="left:206px; top:130px; width:42px; height:19px; ">
  985. <caption>취소</caption>
  986. <script type="javascript" ev:event="DOMActivate">
  987. <![CDATA[
  988. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresn", "");
  989. group1.visible = false;
  990. fCtrlObjDisable(false);
  991. ]]>
  992. </script>
  993. </button>
  994. </group>
  995. <button id="btn_patsrch" class="icon_search" style="left:50px; top:372px; width:16px; height:16px; ">
  996. <caption/>
  997. <script type="javascript" ev:event="DOMActivate">
  998. <![CDATA[
  999. fOpenDiagPopUp();
  1000. ]]>
  1001. </script>
  1002. </button>
  1003. <button id="button1" class="icon_search" style="left:555px; top:370px; width:16px; height:16px; ">
  1004. <caption/>
  1005. <script type="javascript" ev:event="DOMActivate">
  1006. <![CDATA[
  1007. var icd9cd = model.getValue(sOPCDLIST_PATH +"/icd9cd");
  1008. if (!isNull(icd9cd)) {
  1009. messageBox("CaseCart명은 한개만 추가 가능합니다.", "I");
  1010. } else {
  1011. fOpenOpPopUp();
  1012. }
  1013. ]]>
  1014. </script>
  1015. </button>
  1016. <select1 id="cmb_erreglyn" ref="/root/main/inreqfrminfo/inreqfrminfo/erreglyn" appearance="minimal" style="left:155px; top:336px; width:190px; height:19px; ">
  1017. <choices>
  1018. <itemset nodeset="/root/init/erreglyn/hardcd">
  1019. <label ref="hardcdnm"/>
  1020. <value ref="hardcd"/>
  1021. </itemset>
  1022. </choices>
  1023. <script type="javascript" ev:event="xforms-value-changed">
  1024. <![CDATA[
  1025. if (cmb_erreglyn.value =="F") {
  1026. btn_dcc.visible = true;
  1027. btn_opreq.visible = true;
  1028. cmb_ampmflag.visible = true;
  1029. cmb_ampmflag.visible = true;
  1030. btn_dcc.dispatch("DOMActivate");
  1031. } else {
  1032. btn_dcc.visible = false;
  1033. btn_opreq.visible = false;
  1034. cmb_ampmflag.visible = false;
  1035. cmb_ampmflag.visible = false;
  1036. }
  1037. ]]>
  1038. </script>
  1039. </select1>
  1040. <button id="btn_patserch" class="icon_search" style="left:215px; top:24px; width:16px; height:16px; ">
  1041. <caption/>
  1042. <script type="javascript" ev:event="DOMActivate">
  1043. <![CDATA[
  1044. fPatSearch();
  1045. ]]>
  1046. </script>
  1047. </button>
  1048. <caption id="caption24" class="cell_1" style="left:0px; top:502px; width:98px; height:26px; text-align:center; vertical-align:middle; ">협진팀 명</caption>
  1049. <select1 id="cmb_cnstteam" ref="/root/main/inreqfrminfo/inreqfrminfo/cnstteam" disabled="true" appearance="minimal" editable="false" style="left:100px; top:505px; width:325px; height:19px; ">
  1050. <choices>
  1051. <itemset nodeset="/root/init/cnstteamlist/M0525">
  1052. <label ref="cdnm"/>
  1053. <value ref="cdid"/>
  1054. </itemset>
  1055. </choices>
  1056. <script type="javascript" ev:event="xforms-value-changed">
  1057. <![CDATA[
  1058. var coopteamcd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/cnstteam");
  1059. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/coopteamcd", coopteamcd);
  1060. model.refresh();
  1061. ]]>
  1062. </script>
  1063. </select1>
  1064. <button id="button2" class="btn2_letter4" style="left:434px; top:505px; width:64px; height:19px; ">
  1065. <caption>협진관리</caption>
  1066. <script type="javascript" ev:event="DOMActivate">
  1067. <![CDATA[
  1068. setParameter("SPMMO03600_inreqpid", model.getValue(sINREQFRMINFO_PATH + "/pid"));
  1069. setParameter("SPMMO03600_inreqcoopteamcd", model.getValue(sINREQFRMINFO_PATH + "/cnstteam"));
  1070. modal("SPMMO03600");
  1071. fReqCnstteamList();
  1072. ]]>
  1073. </script>
  1074. </button>
  1075. <switch id="switch1" style="left:507px; top:506px; width:514px; height:132px; border-color:transparent; border-style:hidden; border-left-style:hidden; border-top-style:hidden; border-right-style:hidden; border-bottom-style:hidden; ">
  1076. <case id="case3" selected="true">
  1077. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
  1078. <caption id="caption30" ref="/root/main/status" style="left:395px; top:34px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
  1079. <button id="btn_wardselect" class="btn2_letter5" style="left:415px; top:9px; width:75px; height:19px; ">
  1080. <caption>병동 선택</caption>
  1081. <script type="javascript" ev:event="DOMActivate">
  1082. <![CDATA[
  1083. var sOrdDeptCd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd"); // 의뢰서 진료과
  1084. model.removenode("/root/hidden/target")
  1085. model.makeNode("/root/hidden/target")
  1086. setParameter("SMPMI00100_Param1", sOrdDeptCd);
  1087. setParameter("SMPMI00100_orduseyn", "Y");
  1088. if(fContainsHardCD("445", sOrdDeptCd)) { // 소아 청소년과 분과이면 45병동을 디폴트로 조회 하도록 수정. 2014.05.16 엄영만
  1089. setParameter("SMPMI00100_Param2", "3050314000");
  1090. }
  1091. modal("SPPMI02001", "1","50", "50", "SPPMI02001", "", "");
  1092. var patpid = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid");
  1093. var patage = "";
  1094. var patsex = "";
  1095. if( patpid == model.getValue("/root/init/patnm/patnm/pid")){
  1096. patage = model.getValue("/root/init/patnm/patnm/age");
  1097. patsex = model.getValue("/root/init/patnm/patnm/sex");
  1098. }else if( patpid == model.getValue("/root/paminfo/list/pid")){
  1099. patage = model.getValue("/root/paminfo/list/age");
  1100. patsex = model.getValue("/root/paminfo/list/sex");
  1101. }else if( patpid == model.getValue("/root/patinfo/patinfolist/pid")){
  1102. patage = model.getValue("/root/patinfo/patinfolist/age");
  1103. patsex = model.getValue("/root/patinfo/patinfolist/sex");
  1104. }else{
  1105. messageBox ( "환자정보를 조회 할 수 없습니다.", "E" );
  1106. return;
  1107. }
  1108. var bedsex = model.getValue("/root/hidden/target/grdbedspec/sex");
  1109. // 6세 이하 제외, 성별일 같거나, 공통 병실 일경우
  1110. if(patsex == bedsex || bedsex == "A" || (isNumber(patage) && parseInt(patage) <= 6 ) ) {
  1111. var wardcd = model.getValue("/root/hidden/target/grdbedspec/wardcd");
  1112. var roomcd = model.getValue("/root/hidden/target/grdbedspec/roomcd");
  1113. var bedcd = model.getValue("/root/hidden/target/grdbedspec/bedcd");
  1114. var roomgrdecd = model.getValue("/root/hidden/target/grdbedspec/roomgrdecd");
  1115. var roomtypecd = model.getValue("/root/hidden/target/grdbedspec/roomtypecd");
  1116. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , wardcd);
  1117. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , roomcd);
  1118. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , roomgrdecd);
  1119. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , roomtypecd);
  1120. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , bedcd);
  1121. model.refresh();
  1122. } else {
  1123. if(bedsex == "") {
  1124. messageBox ( "선택하신 병실이 없습니다.", "E" );
  1125. } else {
  1126. messageBox ( "선택하신 병실의 성별과 환자의 성별이 서로 틀립니다.\n\n[혼성입원 연령제한 안내]\n\n우리 병원에서는 만 6세미만의 경우에만 혼성입원이 가능합니다.\n만 6세이상의 환자에 대하여 혼성입원이 필요한 경우 원무팀으로 연락바랍니다.\n( 입원결정 및 전실신청시 모두 해당 )\n\n☎ 문의사항 ☎\n본원 원무팀 : 재원파트 5064 / 5065, 응급수납 5058 / 5068\n칠곡 원무팀 : 재원파트 2065 / 2066, 응급수납 2108", "E" );
  1127. }
  1128. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
  1129. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
  1130. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
  1131. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
  1132. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
  1133. model.refresh();
  1134. return;
  1135. }
  1136. ]]>
  1137. </script>
  1138. </button>
  1139. <select1 id="combo1" ref="/root/main/inreqfrminfo/inreqfrminfo/assgward" disabled="true" appearance="minimal" style="left:70px; top:9px; width:120px; height:19px; ">
  1140. <choices>
  1141. <itemset nodeset="/root/init/warddept/dept">
  1142. <label ref="depthngnm"/>
  1143. <value ref="deptcd"/>
  1144. </itemset>
  1145. </choices>
  1146. </select1>
  1147. <output id="output1" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroom" style="left:70px; top:34px; width:120px; height:19px; border-color:#999999; border-bottom-color:#999999; border-width:1px; border-style:solid; border-left-style:none; border-top-style:none; border-right-style:none; border-bottom-style:solid; "/>
  1148. <caption id="caption31" style="left:10px; top:9px; width:60px; height:20px; ">병 동</caption>
  1149. <caption id="caption32" style="left:10px; top:34px; width:60px; height:20px; ">병 실</caption>
  1150. <caption id="caption33" style="left:10px; top:59px; width:60px; height:20px; ">병 상</caption>
  1151. <caption id="caption34" style="left:205px; top:34px; width:45px; height:20px; ">등 급</caption>
  1152. <caption id="caption35" style="left:205px; top:59px; width:45px; height:20px; ">형 태</caption>
  1153. <output id="output2" ref="/root/main/inreqfrminfo/inreqfrminfo/assgbed" style="left:70px; top:59px; width:120px; height:19px; border-color:#999999; border-bottom-color:#999999; border-width:1px; border-style:solid; border-left-style:none; border-top-style:none; border-right-style:none; border-bottom-style:solid; "/>
  1154. <select1 id="combo2" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" disabled="true" appearance="minimal" style="left:255px; top:34px; width:120px; height:19px; ">
  1155. <choices>
  1156. <itemset nodeset="/root/init/roomgrade/P0025">
  1157. <label ref="cdnm"/>
  1158. <value ref="cdid"/>
  1159. </itemset>
  1160. </choices>
  1161. </select1>
  1162. <select1 id="combo3" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" disabled="true" appearance="minimal" style="left:255px; top:59px; width:120px; height:19px; ">
  1163. <choices>
  1164. <itemset nodeset="/root/init/roomtype/P0026">
  1165. <label ref="cdnm"/>
  1166. <value ref="cdid"/>
  1167. </itemset>
  1168. </choices>
  1169. </select1>
  1170. <bool id="bool1" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/publicbedyn" style="left:315px; top:9px; width:20px; height:20px; ">
  1171. <script type="javascript" ev:event="onclick">
  1172. <![CDATA[
  1173. var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn")
  1174. if (publicbedyn == "Y") {
  1175. btn_wardselect.disabled = false;
  1176. } else {
  1177. btn_wardselect.disabled = true;
  1178. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
  1179. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
  1180. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde", "");
  1181. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype", "");
  1182. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
  1183. }
  1184. model.refresh();
  1185. ]]>
  1186. </script>
  1187. </bool>
  1188. <caption id="caption36" style="left:335px; top:9px; width:80px; height:20px; ">
  1189. <![CDATA[공용병상여부]]>
  1190. <script type="javascript" ev:event="onclick">
  1191. <![CDATA[
  1192. var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn")
  1193. if (publicbedyn == "Y") {
  1194. btn_wardselect.disabled = false;
  1195. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/ordwardyn", "N");
  1196. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn", "N");
  1197. } else {
  1198. btn_wardselect.disabled = true;
  1199. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn", "Y");
  1200. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/ordwardyn", "Y");
  1201. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
  1202. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
  1203. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
  1204. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
  1205. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
  1206. }
  1207. model.refresh();
  1208. ]]>
  1209. </script>
  1210. </caption>
  1211. <caption id="cap_bedinfo" style="left:10px; top:110px; width:390px; height:20px; ">
  1212. <![CDATA[※ 공용병상은 14시이후 비어있는 타과 전용병상을 포함합니다.]]>
  1213. </caption>
  1214. <select1 id="radio4" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvstat" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:210px; top:9px; width:105px; height:20px; border-style:none; ">
  1215. <choices>
  1216. <item>
  1217. <label>예약</label>
  1218. <value>T</value>
  1219. </item>
  1220. <item>
  1221. <label>결정</label>
  1222. <value>S</value>
  1223. </item>
  1224. </choices>
  1225. <script type="javascript" ev:event="onclick">
  1226. <![CDATA[
  1227. var inrsrvstat = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvstat");
  1228. var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn");
  1229. //2013/01/29 Start 당일 퇴원한 환자가 동일일자에 결정을 클릭시 저장버튼 비활성화
  1230. if(blockingchk=="Y"){
  1231. var dschordtype = model.getValue("/root/main/inreqhistinfo/dschchkyn/ordtype")
  1232. if(dschordtype=="I" && inrsrvstat=="S"){
  1233. btn_save.disabled=true;
  1234. return;
  1235. }else{
  1236. if(menuauthchkyn=="N" && getUserInfo("jobkindcd").substr(0, 2)!="03"){
  1237. return;
  1238. }
  1239. btn_save.disabled=false;
  1240. }
  1241. }
  1242. //2013/01/29 End
  1243. if(inrsrvstat == "S" && publicbedyn != "Y"){
  1244. btn_wardselect.dispatch("DOMActivate");
  1245. }
  1246. ]]>
  1247. </script>
  1248. </select1>
  1249. <caption id="caption18" visibility="hidden" style="left:10px; top:84px; width:60px; height:20px; ">
  1250. <![CDATA[희망병실]]>
  1251. <hint>
  1252. <![CDATA[공용병상 신청시 희망병실 구분]]>
  1253. </hint>
  1254. </caption>
  1255. <select1 id="combo9" ref="/root/main/inreqfrminfo/inreqfrminfo/publicroomtype" visibility="hidden" appearance="minimal" style="left:70px; top:83px; width:120px; height:19px; ">
  1256. <choices>
  1257. <itemset nodeset="/root/init/hoperoom/P0552">
  1258. <label ref="cdnm"/>
  1259. <value ref="cdid"/>
  1260. </itemset>
  1261. </choices>
  1262. </select1>
  1263. <caption id="caption46" visibility="hidden" style="left:205px; top:78px; width:45px; height:28px; ">
  1264. <![CDATA[담당자
  1265. 핸드폰]]>
  1266. <hint>
  1267. <![CDATA[공용병상 신청후 병상지정 시 SMS 회신처리용]]>
  1268. </hint>
  1269. </caption>
  1270. <input id="input4" ref="/root/main/inreqfrminfo/inreqfrminfo/inmgrtelno" visibility="hidden" style="left:255px; top:83px; width:120px; height:19px; "/>
  1271. </case>
  1272. <case id="case1">
  1273. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
  1274. <bool id="bool_suctyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/suctyn" style="left:120px; top:25px; width:25px; height:20px; "/>
  1275. <caption id="cap_status" ref="/root/main/status" style="left:395px; top:50px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
  1276. <select1 id="rdo_specroomyn" ref="/root/main/inreqfrminfo/inreqfrminfo/specroomyn" appearance="full" cellspacing="20" cols="4" rows="2" vcellspacing="2" overflow="visible" sep="|" style="left:5px; top:46px; width:305px; height:38px; border-style:none; ">
  1277. <choices>
  1278. <itemset nodeset="/root/init/specroomyn/M0029P0378">
  1279. <label ref="cdnm"/>
  1280. <value ref="cdid"/>
  1281. </itemset>
  1282. </choices>
  1283. </select1>
  1284. <caption id="caption22" style="left:285px; top:25px; width:55px; height:20px; ">격리병상</caption>
  1285. <caption id="caption23" style="left:5px; top:5px; width:100px; height:20px; ">이식여부 :</caption>
  1286. <select1 id="radio1" ref="/root/main/inreqfrminfo/inreqfrminfo/bmtyn" appearance="full" cellspacing="5" cols="4" rows="4" overflow="visible" style="left:70px; top:5px; width:375px; height:20px; border-style:none; ">
  1287. <choices>
  1288. <item>
  1289. <label>해당없음</label>
  1290. <value>1</value>
  1291. </item>
  1292. <item>
  1293. <label>환자(수혜자)</label>
  1294. <value>2</value>
  1295. </item>
  1296. <item>
  1297. <label>공여자</label>
  1298. <value>3</value>
  1299. </item>
  1300. <item>
  1301. <label>타기관공여자</label>
  1302. <value>4</value>
  1303. </item>
  1304. </choices>
  1305. </select1>
  1306. <bool id="bool_isolroomyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/isolroomyn" style="left:265px; top:25px; width:25px; height:20px; "/>
  1307. <bool id="bool_oxyyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/oxyyn" style="left:5px; top:25px; width:20px; height:20px; "/>
  1308. <button id="btn_specroomyn" class="btn2_letter2" style="left:350px; top:50px; width:42px; height:19px; ">
  1309. <caption>삭제</caption>
  1310. <script type="javascript" ev:event="DOMActivate">
  1311. <![CDATA[
  1312. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/specroomyn", "");
  1313. model.refresh();
  1314. ]]>
  1315. </script>
  1316. </button>
  1317. <caption id="caption19" style="left:25px; top:25px; width:20px; height:20px; ">O2</caption>
  1318. <caption id="caption25" style="left:140px; top:25px; width:44px; height:20px; ">Suction</caption>
  1319. </case>
  1320. <case id="case2">
  1321. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
  1322. <caption id="caption26" ref="/root/main/status" style="left:395px; top:55px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
  1323. <select1 id="radio2" ref="/root/main/inreqfrminfo/inreqfrminfo/specroomyn" appearance="full" cellspacing="20" cols="4" rows="2" vcellspacing="2" overflow="visible" sep="|" style="left:5px; top:46px; width:335px; height:49px; border-style:none; ">
  1324. <choices>
  1325. <itemset nodeset="/root/init/specroomyn/M0029P0378">
  1326. <label ref="cdnm"/>
  1327. <value ref="cdid"/>
  1328. </itemset>
  1329. </choices>
  1330. <script type="javascript" ev:event="xforms-value-changed">
  1331. <![CDATA[
  1332. fChngRoomInfo();
  1333. ]]>
  1334. </script>
  1335. </select1>
  1336. <caption id="caption27" style="left:5px; top:5px; width:100px; height:20px; ">BMT / 이식여부 :</caption>
  1337. <select1 id="radio3" ref="/root/main/inreqfrminfo/inreqfrminfo/bmtyn" appearance="full" cellspacing="5" cols="4" rows="4" overflow="visible" style="left:105px; top:5px; width:360px; height:20px; border-style:none; ">
  1338. <choices>
  1339. <item>
  1340. <label>해당없음</label>
  1341. <value>1</value>
  1342. </item>
  1343. <item>
  1344. <label>환자(수혜자)</label>
  1345. <value>2</value>
  1346. </item>
  1347. <item>
  1348. <label>공여자</label>
  1349. <value>3</value>
  1350. </item>
  1351. <item>
  1352. <label>타기관공여자</label>
  1353. <value>4</value>
  1354. </item>
  1355. </choices>
  1356. </select1>
  1357. <button id="button3" class="btn2_letter2" style="left:425px; top:25px; width:42px; height:19px; ">
  1358. <caption>삭제</caption>
  1359. <script type="javascript" ev:event="DOMActivate">
  1360. <![CDATA[
  1361. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/wardtypecd", "");
  1362. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/specroomyn", "");
  1363. model.refresh();
  1364. ]]>
  1365. </script>
  1366. </button>
  1367. <select1 id="rdo_wardtype" ref="/root/main/inreqfrminfo/inreqfrminfo/wardtypecd" appearance="full" cellspacing="20" cols="3" rows="1" overflow="visible" sep="|" style="left:5px; top:25px; width:305px; height:20px; border-style:none; ">
  1368. <choices>
  1369. <itemset nodeset="/root/init/wardtypecd/P0474">
  1370. <label ref="cdnm"/>
  1371. <value ref="cdid"/>
  1372. </itemset>
  1373. </choices>
  1374. <script type="javascript" ev:event="xforms-value-changed">
  1375. <![CDATA[
  1376. fCentValChng();
  1377. ]]>
  1378. </script>
  1379. </select1>
  1380. <select1 id="cmb_specwardcd" ref="/root/main/inreqfrminfo/inreqfrminfo/specwardcd" disabled="true" appearance="minimal" style="left:313px; top:25px; width:100px; height:19px; ">
  1381. <choices>
  1382. <itemset nodeset="/root/init/centerwardcdlist/wardcdlist">
  1383. <label ref="depthngnm"/>
  1384. <value ref="wardcd"/>
  1385. </itemset>
  1386. </choices>
  1387. </select1>
  1388. </case>
  1389. </switch>
  1390. <button id="btn_dcc" class="btn2_letter6" visibility="hidden" style="left:85px; top:358px; width:86px; height:19px; ">
  1391. <caption>DCC예약현황</caption>
  1392. <script type="javascript" ev:event="DOMActivate">
  1393. <![CDATA[
  1394. var orddeptcd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd");
  1395. var deptcd = model.getValue("/root/init/orddept/dept[deptcd = '"+ model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")+"']/deptengabbr");
  1396. var hngnm = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm");
  1397. var pid = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid");
  1398. var sa = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/sa");
  1399. if (isNull(sa)) {
  1400. sa = model.getValue("/root/main/patinfo/patinfolist/sex") + model.getValue("/root/main/patinfo/patinfolist/age");
  1401. if (isNull(sa)) {
  1402. sa = getPatientInfo("age");
  1403. }
  1404. }
  1405. var orddeptnm = cmb_orddeptcd.label;
  1406. var usernm = cmb_orddrid.label;
  1407. var orddeptcd = cmb_orddeptcd.value;
  1408. var medispclid = cmb_orddrid.value;
  1409. model.setValue("/root/main/patdccinfo/deptcd" , deptcd);
  1410. model.setValue("/root/main/patdccinfo/hngnm" , hngnm);
  1411. model.setValue("/root/main/patdccinfo/pid" , pid);
  1412. model.setValue("/root/main/patdccinfo/sa" , sa);
  1413. model.setValue("/root/main/patdccinfo/orddeptnm" , orddeptnm);
  1414. model.setValue("/root/main/patdccinfo/medispclnm" , usernm);
  1415. model.setValue("/root/main/patdccinfo/orddeptcd" , orddeptcd);
  1416. model.setValue("/root/main/patdccinfo/medispclid" , medispclid);
  1417. modal("SMMNP06500", 1,10, 10, "SMMNP06500", "/root/main/patdccinfo", "/root/temp/dccinfo");
  1418. var inhopedd = getParameter("SPMMO00100_inhopedd");
  1419. var scheopdd = getParameter("SPMMO00100_inhopedd");
  1420. var ampmflag = getParameter("SPMMO00100_ampmflag");
  1421. model.setValue(sINREQFRMINFO_PATH + "/inhopedd" , inhopedd);
  1422. model.setValue(sINREQFRMINFO_PATH + "/scheopdd" , scheopdd);
  1423. model.setValue(sINREQFRMINFO_PATH + "/ampmflag" , ampmflag);
  1424. model.refresh();
  1425. ]]>
  1426. </script>
  1427. </button>
  1428. <button id="btn_opreq" class="btn2_letter4" visibility="hidden" style="left:172px; top:358px; width:64px; height:19px; ">
  1429. <caption>마취의뢰</caption>
  1430. <script type="javascript" ev:event="DOMActivate">
  1431. <![CDATA[
  1432. modal("SPMMO00200");
  1433. ]]>
  1434. </script>
  1435. </button>
  1436. <select1 id="cmb_ampmflag" ref="/root/main/inreqfrminfo/inreqfrminfo/ampmflag" visibility="hidden" appearance="minimal" style="left:190px; top:218px; width:50px; height:19px; ">
  1437. <choices>
  1438. <item>
  1439. <label>-</label>
  1440. <value>-</value>
  1441. </item>
  1442. <item>
  1443. <label>오전</label>
  1444. <value>A</value>
  1445. </item>
  1446. <item>
  1447. <label>오후</label>
  1448. <value>P</value>
  1449. </item>
  1450. </choices>
  1451. </select1>
  1452. <caption id="caption28" class="cell_1" style="left:0px; top:117px; width:98px; height:23px; text-align:center; vertical-align:middle; ">세 부 과</caption>
  1453. <select1 id="cmb_subdept" ref="/root/main/inreqfrminfo/inreqfrminfo/subdeptcd" class="combo" appearance="minimal" style="left:100px; top:119px; width:134px; height:19px; ">
  1454. <choices>
  1455. <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
  1456. <label ref="subdeptnm"/>
  1457. <value ref="subdeptcd"/>
  1458. </itemset>
  1459. </choices>
  1460. </select1>
  1461. <caption id="caption29" visibility="hidden" style="left:4px; top:335px; width:15px; height:15px; font-weight:bold; color:#ff0000; ">*</caption>
  1462. <caption id="caption37" visibility="hidden" style="left:100px; top:0px; width:130px; height:16px; font-weight:bold; color:#ff0000; border-color:transparent; ">* 필수 입력사항임</caption>
  1463. <button id="button4" class="btn3_letter5" style="left:684px; top:642px; width:92px; height:22px; ">
  1464. <caption>입원약정서</caption>
  1465. <script type="javascript" ev:event="DOMActivate">
  1466. <![CDATA[
  1467. var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
  1468. if ( status =="u" ) {
  1469. fInDeciPrint( model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid")
  1470. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd")
  1471. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")
  1472. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddrid")
  1473. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/insukind")
  1474. , "1"); // 약정서종류 1:입원약정서, 2:기간약정서
  1475. } else {
  1476. messageBox("환자를 선택해야만 출력이 가능합니다.", "I");
  1477. }
  1478. ]]>
  1479. </script>
  1480. </button>
  1481. <caption id="caption38" class="cell_1" style="left:0px; top:69px; width:98px; height:23px; text-align:center; vertical-align:middle; ">전 화 번 호</caption>
  1482. <input id="input1" ref="/root/main/inreqfrminfo/inreqfrminfo/phoneno" class="input_search" disabled="true" style="left:100px; top:71px; width:134px; height:19px; "/>
  1483. <button id="btn_sms" class="btn3_letter2" style="left:530px; top:642px; width:56px; height:22px; ">
  1484. <caption>SMS</caption>
  1485. <script type="javascript" ev:event="DOMActivate">
  1486. <![CDATA[
  1487. model.removeNodeset("/root/hidden/smsdata");
  1488. model.makeValue("/root/hidden/smsdata/bizabbr", "EMR");
  1489. model.makeValue("/root/hidden/smsdata/replytelno", "");
  1490. model.makeValue("/root/hidden/smsdata/rsrvyn", "");
  1491. model.makeValue("/root/hidden/smsdata/rsrvdate", "");
  1492. model.makeValue("/root/hidden/smsdata/rsrvtime", "");
  1493. model.makeValue("/root/hidden/smsdata/recvrlist/chk", "");
  1494. model.makeValue("/root/hidden/smsdata/recvrlist/recvrnm", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm"));
  1495. model.makeValue("/root/hidden/smsdata/recvrlist/recvrtelno", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno"));
  1496. zmsfOpenSMS("/root/hidden/smsdata");
  1497. model.removeNodeset("/root/hidden/smsdata");
  1498. ]]>
  1499. </script>
  1500. </button>
  1501. <button id="button6" class="btn3_letter5" visibility="hidden" style="left:589px; top:642px; width:92px; height:22px; ">
  1502. <caption>기간약정서</caption>
  1503. <script type="javascript" ev:event="DOMActivate">
  1504. <![CDATA[
  1505. var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
  1506. if ( status =="u" ) {
  1507. fInDeciPrint( model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid")
  1508. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd")
  1509. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")
  1510. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddrid")
  1511. , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/insukind")
  1512. , "2"); // 약정서종류 1:입원약정서, 2:기간약정서
  1513. } else {
  1514. messageBox("환자를 선택해야만 출력이 가능합니다.", "I");
  1515. }
  1516. ]]>
  1517. </script>
  1518. </button>
  1519. <caption id="caption39" class="cell_1" style="left:0px; top:165px; width:98px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
  1520. <select1 id="combo4" ref="/root/main/inreqfrminfo/inreqfrminfo/orddrid" class="combo_search" appearance="minimal" style="left:100px; top:143px; width:90px; height:19px; ">
  1521. <choices>
  1522. <itemset nodeset="/root/init/userlist/usercombo">
  1523. <label ref="usernm"/>
  1524. <value ref="userid"/>
  1525. </itemset>
  1526. </choices>
  1527. <script type="javascript" ev:event="xforms-value-changed">
  1528. <![CDATA[
  1529. fChngOrdDrID();
  1530. ]]>
  1531. </script>
  1532. </select1>
  1533. <select1 id="combo5" ref="/root/main/inreqfrminfo/inreqfrminfo/atdoctid" class="combo_search" appearance="minimal" style="left:100px; top:167px; width:134px; height:19px; ">
  1534. <choices>
  1535. <itemset nodeset="/root/init/atdoctlist/usercombo">
  1536. <label ref="usernm"/>
  1537. <value ref="userid"/>
  1538. </itemset>
  1539. </choices>
  1540. <script type="javascript" ev:event="xforms-value-changed">
  1541. <![CDATA[
  1542. fChngOrdDrID();
  1543. ]]>
  1544. </script>
  1545. </select1>
  1546. <caption id="caption40" class="cell_1" style="left:0px; top:583px; width:98px; height:26px; text-align:center; vertical-align:middle; ">입원 우선순위</caption>
  1547. <caption id="caption41" class="cell_1" style="left:0px; top:611px; width:98px; height:26px; text-align:center; vertical-align:middle; ">병 상 정 보</caption>
  1548. <select1 id="combo6" ref="/root/main/inreqfrminfo/inreqfrminfo/patgrade" appearance="minimal" style="left:100px; top:587px; width:189px; height:19px; ">
  1549. <choices>
  1550. <itemset nodeset="/root/init/pamcomcode/PK092list/PK092">
  1551. <label ref="cdnm"/>
  1552. <value ref="cdid"/>
  1553. </itemset>
  1554. </choices>
  1555. </select1>
  1556. <select1 id="combo7" ref="/root/main/inreqfrminfo/inreqfrminfo/bedkindfrom" appearance="minimal" style="left:100px; top:616px; width:190px; height:19px; ">
  1557. <choices>
  1558. <itemset nodeset="/root/init/bedkind/M0710">
  1559. <label ref="cdnm"/>
  1560. <value ref="cdid"/>
  1561. </itemset>
  1562. </choices>
  1563. </select1>
  1564. <select1 id="combo8" ref="/root/main/inreqfrminfo/inreqfrminfo/bedkindto" appearance="minimal" style="left:314px; top:616px; width:190px; height:19px; ">
  1565. <choices>
  1566. <itemset nodeset="/root/init/bedkind/M0710">
  1567. <label ref="cdnm"/>
  1568. <value ref="cdid"/>
  1569. </itemset>
  1570. </choices>
  1571. </select1>
  1572. <caption id="caption42" style="left:295px; top:621px; width:15px; height:15px; ">~</caption>
  1573. <select1 id="radio5" ref="/root/main/inreqfrminfo/inreqfrminfo/drgyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:100px; top:290px; width:131px; height:17px; border-style:none; ">
  1574. <choices>
  1575. <item>
  1576. <label>예</label>
  1577. <value>A</value>
  1578. </item>
  1579. <item>
  1580. <label>아니오</label>
  1581. <value>N</value>
  1582. </item>
  1583. </choices>
  1584. <script type="javascript" ev:event="onclick">
  1585. <![CDATA[
  1586. var drgyn=model.getValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn");
  1587. if(drgyn!=null && drgyn!="" && drgyn=="A"){
  1588. setParameter("deptcd", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd"));
  1589. modal("SPMMO50300");
  1590. button7.disabled=false;
  1591. }else{
  1592. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", "");
  1593. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", "");
  1594. model.makeValue("/root/temp/drgno", "");
  1595. model.makeValue("/root/temp/drgnm", "");
  1596. button7.disabled=true;
  1597. }
  1598. var drgno=model.getValue("/root/temp/drgno");
  1599. var drgnm=model.getValue("/root/temp/drgnm");
  1600. if(drgno!=null && drgno!=""){
  1601. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", drgno);
  1602. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", drgnm);
  1603. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/cpyn", "Y");
  1604. }else{
  1605. model.setValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn", "N");
  1606. }
  1607. model.refresh();
  1608. ]]>
  1609. </script>
  1610. </select1>
  1611. <caption id="caption43" class="cell_1" visibility="hidden" style="left:-1px; top:286px; width:98px; height:23px; text-align:center; vertical-align:middle; ">DRG 적용</caption>
  1612. <caption id="caption45" class="cell_1" visibility="hidden" style="left:0px; top:310px; width:98px; height:23px; text-align:center; vertical-align:middle; ">DRG 정보</caption>
  1613. <input id="input2" ref="/root/main/inreqfrminfo/inreqfrminfo/drgnm" visibility="hidden" style="left:150px; top:310px; width:354px; height:19px; "/>
  1614. <input id="input3" ref="/root/main/inreqfrminfo/inreqfrminfo/drgno" visibility="hidden" editable="false" style="left:100px; top:310px; width:51px; height:19px; text-align:center; "/>
  1615. <button id="button7" class="btn2_letter4" disabled="true" visibility="hidden" style="left:211px; top:287px; width:64px; height:19px; ">
  1616. <caption>DRG수정</caption>
  1617. <script type="javascript" ev:event="DOMActivate">
  1618. <![CDATA[
  1619. var drgyn=model.getValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn");
  1620. if(drgyn!=null && drgyn!="" && drgyn=="A"){
  1621. modal("SPMMO50300");
  1622. }
  1623. var drgno=model.getValue("/root/temp/drgno");
  1624. var drgnm=model.getValue("/root/temp/drgnm");
  1625. if(drgno!=null && drgno!=""){
  1626. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", drgno);
  1627. model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", drgnm);
  1628. }
  1629. model.refresh();
  1630. ]]>
  1631. </script>
  1632. </button>
  1633. <caption id="caption47" class="cell_1" style="left:314px; top:583px; width:131px; height:26px; text-align:center; vertical-align:middle; ">병상배정 우선순위</caption>
  1634. <select1 id="combo10" ref="/root/main/inreqfrminfo/inreqfrminfo/sortno" appearance="minimal" style="left:447px; top:587px; width:56px; height:19px; ">
  1635. <choices>
  1636. <item>
  1637. <label>-</label>
  1638. <value/>
  1639. </item>
  1640. <item>
  1641. <label>1</label>
  1642. <value>1</value>
  1643. </item>
  1644. <item>
  1645. <label>2</label>
  1646. <value>2</value>
  1647. </item>
  1648. <item>
  1649. <label>3</label>
  1650. <value>3</value>
  1651. </item>
  1652. <item>
  1653. <label>4</label>
  1654. <value>4</value>
  1655. </item>
  1656. <item>
  1657. <label>5</label>
  1658. <value>5</value>
  1659. </item>
  1660. </choices>
  1661. </select1>
  1662. <button id="button8" class="btn2_letter2" style="left:192px; top:143px; width:48px; height:19px; ">
  1663. <caption>휴진</caption>
  1664. <script type="javascript" ev:event="DOMActivate">
  1665. <![CDATA[
  1666. fShowHoliInfo();
  1667. ]]>
  1668. </script>
  1669. </button>
  1670. <button id="button9" class="btn3_letter7" style="left:411px; top:642px; width:116px; height:22px; ">
  1671. <caption>준공용병상현황</caption>
  1672. <script type="javascript" ev:event="DOMActivate">
  1673. <![CDATA[
  1674. open("SMPMI03910");
  1675. ]]>
  1676. </script>
  1677. </button>
  1678. <caption id="caption48" style="left:6px; top:643px; width:404px; height:20px; color:#ff0000; ">※ 입원결정(외래) 한도 : 전용병상 수 10% 이내 (전용병상 없는 경우 1명)</caption>
  1679. </xhtml:body>
  1680. </xhtml:html>