SMMNW18000_입퇴원라운지메인.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>입퇴원라운지메인</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <inlvflag>0</inlvflag>
  12. <fromdd/>
  13. <todd/>
  14. <menuflag/>
  15. <patnm/>
  16. </cond>
  17. <inlvinfo/>
  18. <dschlvinfo/>
  19. <testlvinfo/>
  20. <medilvinfo/>
  21. <rtninfo>
  22. <rtnmsg>
  23. <resultflag/>
  24. </rtnmsg>
  25. <patinfolist>
  26. <pid/>
  27. <patnm/>
  28. <sexage/>
  29. </patinfolist>
  30. </rtninfo>
  31. </main>
  32. <send/>
  33. <hidden/>
  34. <comcodelist>
  35. <bdtppartcd_cmblist/>
  36. <bdbtype_cmblist/>
  37. <rsrvflag_cmblist/>
  38. <insukind_cmblist/>
  39. <suppkind_cmblist/>
  40. </comcodelist>
  41. <init/>
  42. </root>
  43. </instance>
  44. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  45. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmblist"/>
  46. <submission id="TRMNW18000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/inlvinfo/inlvlist"/>
  47. <submission id="TRMNW18010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/dschlvinfo/dschlvlist"/>
  48. <submission id="TRMNW18020" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/testlvinfo/testlvlist"/>
  49. <submission id="TRMNW18030" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/medilvinfo/medilvlist"/>
  50. <submission id="TXMNW18000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
  51. <submission id="TXMNW18001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
  52. <submission id="TXMNW18002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inlvinfo"/>
  53. <submission id="TXMNW18003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/patinfolist"/>
  54. <submission id="TXMNW18010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/dschlvinfo"/>
  55. <submission id="TXMNW18011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/dschlvinfo"/>
  56. <submission id="TXMNW18020" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/testlvinfo"/>
  57. <submission id="TXMNW18021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/testlvinfo"/>
  58. <submission id="TXMNW18030" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/medilvinfo"/>
  59. <submission id="TXMNW18031" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/medilvinfo"/>
  60. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  61. <submission id="TRPMI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/roomgrdelist"/>
  62. </model>
  63. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  69. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW18000.js"/>
  70. <script type="javascript" ev:event="xforms-ready">
  71. <![CDATA[
  72. fInitialize();
  73. ]]>
  74. </script>
  75. </xhtml:head>
  76. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  77. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  78. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:15px; ">입퇴원라운지메인</caption>
  79. </group>
  80. <group id="group3" style="left:0px; top:13px; width:1195px; height:762px; ">
  81. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  82. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  83. <caption id="caption1" class="search_name" style="left:370px; top:8px; width:86px; height:17px; font-family:굴림; ">방문여부 :</caption>
  84. <line id="line2" class="line_4" style="x1:1053px; y1:7px; x2:1053px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  85. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" editable="false" inputtype="date" format="yyyy-mm-dd" style="left:122px; top:8px; width:98px; height:19px; font-family:굴림; "/>
  86. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" editable="false" inputtype="date" style="left:242px; top:8px; width:98px; height:19px; font-family:굴림; "/>
  87. <caption id="cpt_line" class="search_no_b" style="left:225px; top:8px; width:12px; height:17px; font-family:굴림; ">~</caption>
  88. <button id="btn_search" class="btn1_letter2" style="left:1068px; top:7px; width:56px; height:22px; ">
  89. <caption>조회</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. fSearch();
  93. ]]>
  94. </script>
  95. </button>
  96. <select1 id="rdo_inlvflag" ref="/root/main/cond/inlvflag" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:465px; top:8px; width:185px; height:20px; font-family:굴림; border-style:none; ">
  97. <choices>
  98. <item>
  99. <label>전체</label>
  100. <value>0</value>
  101. </item>
  102. <item>
  103. <label>방문</label>
  104. <value>1</value>
  105. </item>
  106. <item>
  107. <label>미방문</label>
  108. <value>2</value>
  109. </item>
  110. </choices>
  111. </select1>
  112. <button id="btn_excsave" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  113. <caption>액셀</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. fExcel();
  117. ]]>
  118. </script>
  119. </button>
  120. <caption id="caption4" class="search_name" style="left:675px; top:8px; width:86px; height:17px; font-family:굴림; ">환자명 :</caption>
  121. <input id="input1" ref="/root/main/cond/patnm" class="input_search" style="left:760px; top:8px; width:100px; height:19px; font-family:굴림; ">
  122. <script type="javascript" ev:event="onkeyup">
  123. <![CDATA[
  124. if(event.keyCode == "13") {
  125. setInputNodeCurText();
  126. inputEnterKey("btn_search", "DOMActivate");
  127. }
  128. ]]>
  129. </script>
  130. </input>
  131. <caption id="cap_ddnm" class="search_name" style="left:20px; top:8px; width:90px; height:17px; font-family:굴림; ">입원일자 :</caption>
  132. </group>
  133. <switch id="switch1" style="left:0px; top:75px; width:1192px; height:685px; ">
  134. <case id="inlv" selected="true">
  135. <button id="button1" class="btn5_letter6" style="left:905px; top:5px; width:86px; height:19px; ">
  136. <caption>방문저장취소</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. fDel(); // 취소
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="button2" class="btn5_letter4" style="left:839px; top:5px; width:64px; height:19px; ">
  144. <caption>방문저장</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. fSave(); // 등록,수정
  148. ]]>
  149. </script>
  150. </button>
  151. <button id="button3" class="btn2_letter10" style="left:1059px; top:5px; width:130px; height:19px; ">
  152. <caption>간호정보조사 임시저장</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. fNrInfoSave(); // 간호정보조사지 임시저장,수정
  156. ]]>
  157. </script>
  158. </button>
  159. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">입원 방문관리</caption>
  160. <datagrid id="grd_inlvlist" nodeset="/root/main/inlvinfo/inlvlist" caption="^등록번호^환자명^성별^나이^병동^병상^병실^병실등급^진료과^진료의^진단코드^진단명^방문저장일시^방문저장일시^입실일시^입실일시^간호정보조사^혈압(고/저)^혈압(고/저)^맥박^호흡^체온^체온^신장^체중^SPO2^혈액형^인증저장여부^instcd^indd^cretno^ordtype^tocntctel^방문저장여부^진료과코드^진료의ID^진료의핸드폰번호^담당의ID^담당의^담당의핸드폰번호" colsep="^" colwidth="22, 65, 70, 40, 35, 75, 60, 45, 110, 100, 70, 90, 210, 90, 60, 80, 45, 100, 45, 45, 45, 45, 45, 60, 45, 45, 45, 100, 80, 50, 50, 50, 50, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
  161. <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
  162. <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
  163. <col ref="hngnm" style="text-align:left; "/>
  164. <col ref="sex" style="text-align:center; "/>
  165. <col ref="age" style="text-align:center; "/>
  166. <col disabled="true" ref="wardcd" type="combo">
  167. <choices>
  168. <itemset nodeset="/root/hidden/init/wardcd">
  169. <label ref="nm"/>
  170. <value ref="cd"/>
  171. </itemset>
  172. </choices>
  173. </col>
  174. <col disabled="true" ref="bedcd" type="combo">
  175. <choices>
  176. <itemset nodeset="/root/hidden/init/bedcd">
  177. <label ref="nm"/>
  178. <value ref="cd"/>
  179. </itemset>
  180. </choices>
  181. </col>
  182. <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
  183. <choices>
  184. <itemset nodeset="/root/hidden/init/roomcd">
  185. <label ref="nm"/>
  186. <value ref="cd"/>
  187. </itemset>
  188. </choices>
  189. </col>
  190. <col disabled="true" ref="roomgrdecd" type="combo">
  191. <choices>
  192. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  193. <label ref="cdnm"/>
  194. <value ref="cdid"/>
  195. </itemset>
  196. </choices>
  197. </col>
  198. <col ref="orddeptnm"/>
  199. <col ref="orddrnm"/>
  200. <col ref="diagcd"/>
  201. <col ref="diagnm"/>
  202. <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  203. <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
  204. <col ref="careinrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
  205. <col ref="careinrmtm" format="hh:nn" style="text-align:center; "/>
  206. <col ref="recflag" type="combo" visibility="hidden" readonly="true" style="text-align:center; ">
  207. <choices>
  208. <itemset nodeset="/root/init/codeinfo/codelist">
  209. <label ref="cdnm"/>
  210. <value ref="cdid"/>
  211. </itemset>
  212. </choices>
  213. </col>
  214. <col ref="highbp" type="input"/>
  215. <col ref="lowbp" type="input"/>
  216. <col ref="pulse" type="input"/>
  217. <col ref="breth" type="input"/>
  218. <col ref="bdtp" type="input"/>
  219. <col ref="bdtppartcd" type="combo" readonly="true" style="text-align:center; ">
  220. <choices>
  221. <itemset nodeset="/root/comcodelist/bdtppartcd_cmblist/M0375">
  222. <label ref="cdnm"/>
  223. <value ref="cdid"/>
  224. </itemset>
  225. </choices>
  226. </col>
  227. <col ref="bdht" type="input"/>
  228. <col ref="bdwt" type="input"/>
  229. <col ref="spo2" type="input"/>
  230. <col ref="bdbtype" type="combo" readonly="true" style="text-align:center; ">
  231. <choices>
  232. <itemset nodeset="/root/comcodelist/bdbtype_cmblist/M0376">
  233. <label ref="cdnm"/>
  234. <value ref="cdid"/>
  235. </itemset>
  236. </choices>
  237. </col>
  238. <col ref="signinfoyn" style="text-align:center; "/>
  239. <col ref="instcd" visibility="hidden"/>
  240. <col ref="indd" visibility="hidden"/>
  241. <col ref="cretno" visibility="hidden"/>
  242. <col ref="ordtype" visibility="hidden"/>
  243. <col ref="tocntctel" visibility="hidden"/>
  244. <col ref="inrecyn" visibility="hidden"/>
  245. <col ref="orddeptcd" visibility="hidden"/>
  246. <col ref="medispclid" visibility="hidden"/>
  247. <col ref="medispclphonno" visibility="hidden"/>
  248. <col ref="atdoctid" visibility="hidden"/>
  249. <col ref="atdoctnm" visibility="hidden"/>
  250. <col ref="atdoctidphonno" visibility="hidden"/>
  251. <script type="javascript" ev:event="onaftersort">
  252. <![CDATA[
  253. grd_inlvlist.gridToInstance();
  254. ]]>
  255. </script>
  256. <script type="javascript" ev:event="onbuttonclick">
  257. <![CDATA[
  258. var xInlvlistPath = "/root/main/inlvinfo/inlvlist";
  259. if(grd_inlvlist.col == grd_inlvlist.colRef("inrectm")) {
  260. model.setValue(xInlvlistPath+"["+(grd_inlvlist.row)+"]/inrecdd", getCurrentDate());
  261. model.setValue(xInlvlistPath+"["+(grd_inlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
  262. }
  263. ]]>
  264. </script>
  265. <script type="javascript" ev:event="ondblclick">
  266. <![CDATA[
  267. var condparam = "";
  268. // 상단정보 올림
  269. condparam = model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/ordtype")
  270. + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/pid")
  271. + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/indd")
  272. + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/cretno")
  273. + "▦" + model.getValue("/root/main/inlvinfo/inlvlist["+grd_inlvlist.row+"]/instcd")
  274. + "▦" + getCurrentDate();
  275. setParameter("condparam", condparam);
  276. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  277. ]]>
  278. </script>
  279. </datagrid>
  280. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
  281. <button id="button10" class="btn2_letter4" style="left:993px; top:5px; width:64px; height:19px; ">
  282. <caption>입실저장</caption>
  283. <script type="javascript" ev:event="DOMActivate">
  284. <![CDATA[
  285. fSaveInroom(); // 입실저장
  286. ]]>
  287. </script>
  288. </button>
  289. <button id="button11" class="btn2_letter9" style="left:718px; top:5px; width:119px; height:19px; ">
  290. <caption>중증도 및 위험사정</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. open("SMMNW04000");
  294. ]]>
  295. </script>
  296. </button>
  297. </case>
  298. <case id="dschlv">
  299. <button id="button4" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
  300. <caption>방문저장취소</caption>
  301. <script type="javascript" ev:event="DOMActivate">
  302. <![CDATA[
  303. fDel(); // 취소
  304. ]]>
  305. </script>
  306. </button>
  307. <button id="button5" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
  308. <caption>방문저장</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. fSave(); // 등록,수정
  312. ]]>
  313. </script>
  314. </button>
  315. <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">퇴원 방문관리</caption>
  316. <datagrid id="grd_dschlvlist" nodeset="/root/main/dschlvinfo/dschlvlist" caption="^등록번호^환자명^성별^나이^입원일자^병동^병상^병실^병실등급^진료과^진료의^방문저장일시^방문저장일시^진단코드^진단명^instcd^cretno^ordtype^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 80, 75, 60, 45, 110, 100, 70, 90, 60, 90, 175, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
  317. <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
  318. <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
  319. <col ref="hngnm" style="text-align:left; "/>
  320. <col ref="sex" style="text-align:center; "/>
  321. <col ref="age" style="text-align:center; "/>
  322. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  323. <col disabled="true" ref="wardcd" type="combo">
  324. <choices>
  325. <itemset nodeset="/root/hidden/init/wardcd">
  326. <label ref="nm"/>
  327. <value ref="cd"/>
  328. </itemset>
  329. </choices>
  330. </col>
  331. <col disabled="true" ref="bedcd" type="combo">
  332. <choices>
  333. <itemset nodeset="/root/hidden/init/bedcd">
  334. <label ref="nm"/>
  335. <value ref="cd"/>
  336. </itemset>
  337. </choices>
  338. </col>
  339. <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
  340. <choices>
  341. <itemset nodeset="/root/hidden/init/roomcd">
  342. <label ref="nm"/>
  343. <value ref="cd"/>
  344. </itemset>
  345. </choices>
  346. </col>
  347. <col disabled="true" ref="roomgrdecd" type="combo">
  348. <choices>
  349. <itemset nodeset="/root/hidden/roomgrdelist/roomgrde">
  350. <label ref="cdnm"/>
  351. <value ref="cdid"/>
  352. </itemset>
  353. </choices>
  354. </col>
  355. <col ref="orddeptnm"/>
  356. <col ref="orddrnm"/>
  357. <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  358. <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
  359. <col ref="diagcd"/>
  360. <col ref="diagnm"/>
  361. <col ref="instcd" visibility="hidden"/>
  362. <col ref="cretno" visibility="hidden"/>
  363. <col ref="ordtype" visibility="hidden"/>
  364. <col ref="inrecyn" visibility="hidden"/>
  365. <col ref="orddeptcd" visibility="hidden"/>
  366. <col ref="medispclid" visibility="hidden"/>
  367. <script type="javascript" ev:event="onaftersort">
  368. <![CDATA[
  369. grd_dschlvlist.gridToInstance();
  370. ]]>
  371. </script>
  372. <script type="javascript" ev:event="onbuttonclick">
  373. <![CDATA[
  374. var xDschlvlistPath = "/root/main/dschlvinfo/dschlvlist";
  375. if(grd_dschlvlist.col == grd_dschlvlist.colRef("inrectm")) {
  376. model.setValue(xDschlvlistPath+"["+(grd_dschlvlist.row)+"]/inrecdd", getCurrentDate());
  377. model.setValue(xDschlvlistPath+"["+(grd_dschlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
  378. }
  379. ]]>
  380. </script>
  381. <script type="javascript" ev:event="ondblclick">
  382. <![CDATA[
  383. var condparam = "";
  384. // 상단정보 올림
  385. condparam = model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/ordtype")
  386. + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/pid")
  387. + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/indd")
  388. + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/cretno")
  389. + "▦" + model.getValue("/root/main/dschlvinfo/dschlvlist["+grd_dschlvlist.row+"]/instcd")
  390. + "▦" + getCurrentDate();
  391. setParameter("condparam", condparam);
  392. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  393. ]]>
  394. </script>
  395. </datagrid>
  396. <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
  397. <button id="button12" class="btn2_letter9" style="left:914px; top:5px; width:119px; height:19px; ">
  398. <caption>중증도 및 위험사정</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. open("SMMNW04000");
  402. ]]>
  403. </script>
  404. </button>
  405. </case>
  406. <case id="testlv">
  407. <button id="button6" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
  408. <caption>방문저장취소</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. fDel(); // 취소
  412. ]]>
  413. </script>
  414. </button>
  415. <button id="button7" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
  416. <caption>방문저장</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. fSave(); // 등록,수정
  420. ]]>
  421. </script>
  422. </button>
  423. <datagrid id="grd_testlvlist" nodeset="/root/main/testlvinfo/testlvlist" caption="^등록번호^환자명^성별^나이^센터^진료과^진료의^검사명^처방일자^예약일자^방문저장일시^방문저장일시^진단코드^진단명^instcd^orddd^cretno^prcpno^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 100, 100, 70, 190, 80, 80, 90, 60, 90, 175, 50, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
  424. <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
  425. <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
  426. <col ref="hngnm" style="text-align:left; "/>
  427. <col ref="sex" style="text-align:center; "/>
  428. <col ref="age" style="text-align:center; "/>
  429. <col disabled="true" ref="centcd" type="combo">
  430. <choices>
  431. <itemset nodeset="/root/hidden/init/centcd/centcdlist">
  432. <label ref="nm"/>
  433. <value ref="cd"/>
  434. </itemset>
  435. </choices>
  436. </col>
  437. <col ref="orddeptnm"/>
  438. <col ref="orddrnm"/>
  439. <col ref="prcpnm"/>
  440. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  441. <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  442. <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  443. <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
  444. <col ref="diagcd"/>
  445. <col ref="diagnm"/>
  446. <col ref="instcd" visibility="hidden"/>
  447. <col ref="orddd" visibility="hidden"/>
  448. <col ref="cretno" visibility="hidden"/>
  449. <col ref="prcpno" visibility="hidden"/>
  450. <col ref="inrecyn" visibility="hidden"/>
  451. <col ref="orddeptcd" visibility="hidden"/>
  452. <col ref="orddrid" visibility="hidden"/>
  453. <script type="javascript" ev:event="onaftersort">
  454. <![CDATA[
  455. grd_testlvlist.gridToInstance();
  456. ]]>
  457. </script>
  458. <script type="javascript" ev:event="onbuttonclick">
  459. <![CDATA[
  460. var xTestlvlistPath = "/root/main/testlvinfo/testlvlist";
  461. if(grd_testlvlist.col == grd_testlvlist.colRef("inrectm")) {
  462. model.setValue(xTestlvlistPath+"["+(grd_testlvlist.row)+"]/inrecdd", getCurrentDate());
  463. model.setValue(xTestlvlistPath+"["+(grd_testlvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
  464. }
  465. ]]>
  466. </script>
  467. </datagrid>
  468. <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">검사대기 방문관리</caption>
  469. <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
  470. </case>
  471. <case id="medilv">
  472. <button id="button8" class="btn5_letter6" style="left:1101px; top:5px; width:86px; height:19px; ">
  473. <caption>방문저장취소</caption>
  474. <script type="javascript" ev:event="DOMActivate">
  475. <![CDATA[
  476. fDel(); // 취소
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="button9" class="btn5_letter4" style="left:1035px; top:5px; width:64px; height:19px; ">
  481. <caption>방문저장</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. fSave(); // 등록,수정
  485. ]]>
  486. </script>
  487. </button>
  488. <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">진료대기 방문관리</caption>
  489. <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
  490. <datagrid id="grd_medilvlist" nodeset="/root/main/medilvinfo/medilvlist" caption="^등록번호^환자명^성별^나이^센터^진료과^진료의^예약구분^재진예약참고사항^보험유형^보조유형^방문저장일시^방문저장일시^진단코드^진단명^instcd^orddd^cretno^방문저장여부^진료과코드^진료의ID" colsep="^" colwidth="22, 60, 60, 40, 35, 100, 100, 60, 80, 110, 80, 100, 90, 60, 90, 175, 50, 50, 50, 100, 100, 100" explorerbar="sort" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1190px; height:650px; ">
  491. <col checkvalue="Y,N" ref="check" type="checkbox" style="font-family:굴림; "/>
  492. <col ref="pid" style="left:287px; top:23px; width:90px; height:23px; text-align:center; "/>
  493. <col ref="hngnm" style="text-align:left; "/>
  494. <col ref="sex" style="text-align:center; "/>
  495. <col ref="age" style="text-align:center; "/>
  496. <col disabled="true" ref="centcd" type="combo">
  497. <choices>
  498. <itemset nodeset="/root/hidden/init/centcd/centcdlist">
  499. <label ref="nm"/>
  500. <value ref="cd"/>
  501. </itemset>
  502. </choices>
  503. </col>
  504. <col ref="orddeptnm"/>
  505. <col ref="orddrnm"/>
  506. <col disabled="true" ref="rsrvflag" type="combo">
  507. <choices>
  508. <itemset nodeset="/root/comcodelist/rsrvflag_cmblist/P0341">
  509. <label ref="cdnm"/>
  510. <value ref="cdid"/>
  511. </itemset>
  512. </choices>
  513. </col>
  514. <col ref="remfact"/>
  515. <col disabled="true" ref="insukind" type="combo">
  516. <choices>
  517. <itemset nodeset="/root/comcodelist/insukind_cmblist/P0008">
  518. <label ref="cdnm"/>
  519. <value ref="cdid"/>
  520. </itemset>
  521. </choices>
  522. </col>
  523. <col disabled="true" ref="suppkind" type="combo">
  524. <choices>
  525. <itemset nodeset="/root/comcodelist/suppkind_cmblist/P0010">
  526. <label ref="cdnm"/>
  527. <value ref="cdid"/>
  528. </itemset>
  529. </choices>
  530. </col>
  531. <col ref="inrecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  532. <col ref="inrectm" type="inputbutton" format="hh:nn" style="text-align:center; "/>
  533. <col ref="diagcd"/>
  534. <col ref="diagnm"/>
  535. <col ref="instcd" visibility="hidden"/>
  536. <col ref="orddd" visibility="hidden"/>
  537. <col ref="cretno" visibility="hidden"/>
  538. <col ref="inrecyn" visibility="hidden"/>
  539. <col ref="orddeptcd" visibility="hidden"/>
  540. <col ref="orddrid" visibility="hidden"/>
  541. <script type="javascript" ev:event="onaftersort">
  542. <![CDATA[
  543. grd_medilvlist.gridToInstance();
  544. ]]>
  545. </script>
  546. <script type="javascript" ev:event="onbuttonclick">
  547. <![CDATA[
  548. var xMedilvlistPath = "/root/main/medilvinfo/medilvlist";
  549. if(grd_medilvlist.col == grd_medilvlist.colRef("inrectm")) {
  550. model.setValue(xMedilvlistPath+"["+(grd_medilvlist.row)+"]/inrecdd", getCurrentDate());
  551. model.setValue(xMedilvlistPath+"["+(grd_medilvlist.row)+"]/inrectm", getCurrentDateTime().substring(9,13));
  552. }
  553. ]]>
  554. </script>
  555. </datagrid>
  556. </case>
  557. </switch>
  558. <button id="btn_testlv" class="btn_sw" group="tab" style="left:198px; top:54px; width:107px; height:22px; ">
  559. <caption>검사대기</caption>
  560. <script type="javascript" ev:event="onclick">
  561. <![CDATA[
  562. cap_ddnm.attribute("left") = "20";
  563. cap_ddnm.attribute("width") = "90";
  564. cap_ddnm.text = "예약일자 :";
  565. model.setValue("/root/main/cond/menuflag", "testlv");
  566. model.setValue("/root/main/cond/fromdd",getCurrentDate());
  567. model.setValue("/root/main/cond/todd",getCurrentDate());
  568. model.refresh();
  569. fSearch();
  570. ]]>
  571. </script>
  572. <toggle case="testlv" ev:event="onclick"/>
  573. </button>
  574. <button id="btn_inlv" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:100px; height:22px; ">
  575. <caption>입원</caption>
  576. <script type="javascript" ev:event="onclick">
  577. <![CDATA[
  578. cap_ddnm.attribute("left") = "20";
  579. cap_ddnm.attribute("width") = "90";
  580. cap_ddnm.text = "입원일자 :";
  581. model.setValue("/root/main/cond/menuflag", "inlv");
  582. model.setValue("/root/main/cond/fromdd",getCurrentDate());
  583. model.setValue("/root/main/cond/todd",getCurrentDate());
  584. model.refresh();
  585. fSearch();
  586. ]]>
  587. </script>
  588. <toggle case="inlv" ev:event="onclick"/>
  589. </button>
  590. <button id="btn_dschlv" class="btn_sw" group="tab" style="left:99px; top:54px; width:100px; height:22px; ">
  591. <caption>퇴원</caption>
  592. <script type="javascript" ev:event="onclick">
  593. <![CDATA[
  594. cap_ddnm.attribute("left") = "10";
  595. cap_ddnm.attribute("width") = "100";
  596. cap_ddnm.text = "퇴원예고일 : ";
  597. model.setValue("/root/main/cond/menuflag", "dschlv");
  598. model.setValue("/root/main/cond/fromdd",getCurrentDate());
  599. model.setValue("/root/main/cond/todd",getCurrentDate());
  600. model.refresh();
  601. fSearch();
  602. ]]>
  603. </script>
  604. <toggle case="dschlv" ev:event="onclick"/>
  605. </button>
  606. <button id="btn_medilv" class="btn_sw" group="tab" style="left:304px; top:54px; width:107px; height:22px; ">
  607. <caption>진료대기</caption>
  608. <script type="javascript" ev:event="onclick">
  609. <![CDATA[
  610. cap_ddnm.attribute("left") = "20";
  611. cap_ddnm.attribute("width") = "90";
  612. cap_ddnm.text = "진료일자 :";
  613. model.setValue("/root/main/cond/menuflag", "medilv");
  614. model.setValue("/root/main/cond/fromdd",getCurrentDate());
  615. model.setValue("/root/main/cond/todd",getCurrentDate());
  616. model.refresh();
  617. fSearch();
  618. ]]>
  619. </script>
  620. <toggle case="medilv" ev:event="onclick"/>
  621. </button>
  622. </group>
  623. </xhtml:body>
  624. </xhtml:html>