SMMNR08400_통증관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  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. <cond>
  11. <pid/>
  12. <recdd/>
  13. <rectm/>
  14. <formerrecdd/>
  15. <timeflag/>
  16. <formerhourflag/>
  17. <vwctrl_4days/>
  18. <vwctrl_24hours/>
  19. <vwctrl_button/>
  20. <hourflag/>
  21. <hourschartinfo/>
  22. <dayschartinfo/>
  23. <daycountinfo/>
  24. <cmbstatusx/>
  25. <cmbstatusy/>
  26. <srchflag/>
  27. <zonecd/>
  28. </cond>
  29. <searchinfo>
  30. <painelist1/>
  31. <prcplist1/>
  32. <painelist2/>
  33. <painelist3/>
  34. <painelist4/>
  35. <prcplist2/>
  36. <prcplist3/>
  37. <prcplist4/>
  38. <obspartlist/>
  39. <paincount/>
  40. </searchinfo>
  41. <paminfo/>
  42. <patinfo>
  43. <pid/>
  44. <indd/>
  45. <cretno/>
  46. <ordtype/>
  47. <indschacptstat/>
  48. <dschdd/>
  49. <eroutdd/>
  50. <patnm/>
  51. <sexage/>
  52. <wardcd/>
  53. <roomcd/>
  54. <orddeptcd/>
  55. <medispclid/>
  56. <sectioncd/>
  57. </patinfo>
  58. </main>
  59. <send/>
  60. <init>
  61. <mypatsrchflag>Y</mypatsrchflag>
  62. </init>
  63. <hidden/>
  64. <temp>
  65. <cond>
  66. <wardcdgrup>
  67. <wardcdgruplist>
  68. <wardcd/>
  69. <wardnm/>
  70. </wardcdgruplist>
  71. </wardcdgrup>
  72. <roomcdgrup>
  73. <roomcdgruplist>
  74. <roomnm/>
  75. <roomcd/>
  76. </roomcdgruplist>
  77. </roomcdgrup>
  78. <patientgrup>
  79. <patientgruplist>
  80. <patientnm/>
  81. <pid/>
  82. <indd/>
  83. <cretno/>
  84. <ordtype/>
  85. <instcd/>
  86. </patientgruplist>
  87. </patientgrup>
  88. <settingpatient>
  89. <settingpatientlist>
  90. <pid/>
  91. <patnm/>
  92. <wardcd/>
  93. <indd/>
  94. <cretno/>
  95. <ordtype/>
  96. <instcd/>
  97. </settingpatientlist>
  98. </settingpatient>
  99. <deptgrup>
  100. <deptgruplist>
  101. <dept>
  102. <depthngnm/>
  103. <deptcd/>
  104. </dept>
  105. </deptgruplist>
  106. </deptgrup>
  107. <doctlist>
  108. <medispcl>
  109. <usercombo>
  110. <userid/>
  111. <usernm/>
  112. </usercombo>
  113. </medispcl>
  114. <atdoct>
  115. <usercombo>
  116. <userid/>
  117. <usernm/>
  118. </usercombo>
  119. </atdoct>
  120. </doctlist>
  121. </cond>
  122. <vsinfo/>
  123. </temp>
  124. <code>
  125. <codeinfo/>
  126. </code>
  127. </root>
  128. </instance>
  129. <script type="javascript" ev:event="xforms-ready">
  130. <![CDATA[
  131. fInitialize("init");
  132. ]]>
  133. </script>
  134. <submission id="TRMNR00908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/settingpatient"/>
  135. <submission id="TRMNR00910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
  136. <submission id="TRMNR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/wardcdgrup"/>
  137. <submission id="TRMNR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/roomcdgrup"/>
  138. <submission id="TRMNR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/patientgrup"/>
  139. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  140. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  141. <submission id="TRMNR08401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/searchinfo"/>
  142. <submission id="TXMNR08401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  143. <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
  144. <!--(20110503) 경북대 응급실 사용 - 구역정보 -->
  145. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  146. </model>
  147. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  150. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  151. <script type="javascript" src="../../../com/commonweb/js/tchartHelper.js"/>
  152. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  154. <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
  155. <script type="javascript" src="../../../emr/carerecweb/js/SMMNR08400.js"/>
  156. <script type="javascript" src="../../../com/commonweb/js/numberHelper.js"/>
  157. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  158. </xhtml:head>
  159. <xhtml:body pagewidth="1187" pageheight="700" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  160. <button id="btn_4daysvw" class="btn2_letter5" visibility="hidden" style="left:300px; top:35px; width:75px; height:19px; ">
  161. <caption>4일화면</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. fSearch("4days");
  165. ]]>
  166. </script>
  167. </button>
  168. <object id="obj_4dayschart" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:0px; top:57px; width:1168px; height:253px; "/>
  169. <group id="group1" style="left:0px; top:0px; width:1165px; height:32px; ">
  170. <img id="img_tmp" style="left:0px; top:0px; width:0px; height:0px; background-stretch:stretch; "/>
  171. <select1 id="rdo_srchflag" ref="/root/main/cond/srchflag" appearance="full" cols="2" overflow="visible" style="left:0px; top:6px; width:95px; height:15px; border-style:none; ">
  172. <choices>
  173. <item>
  174. <label>병동</label>
  175. <value>1</value>
  176. </item>
  177. <item>
  178. <label>진료</label>
  179. <value>2</value>
  180. </item>
  181. </choices>
  182. <script type="javascript" ev:event="xforms-value-changed">
  183. <![CDATA[
  184. fChangUserTypeSrch(rdo_srchflag.value);
  185. ]]>
  186. </script>
  187. </select1>
  188. <group id="grp_outpatinfo" visibility="hidden" style="left:240px; top:0px; width:920px; height:29px; ">
  189. <caption id="caption14" style="left:20px; top:6px; width:68px; height:20px; font-weight:bold; color:#0000ff; ">등록번호 :</caption>
  190. <caption id="caption15" style="left:200px; top:6px; width:55px; height:20px; font-weight:bold; color:#0000ff; ">환자명 :</caption>
  191. <caption id="caption16" style="left:380px; top:6px; width:42px; height:20px; font-weight:bold; color:#0000ff; ">S/A :</caption>
  192. <caption id="caption18" ref="/root/main/patinfo/pid" style="left:86px; top:5px; width:107px; height:20px; font-weight:bold; "/>
  193. <caption id="caption19" ref="/root/main/patinfo/patnm" style="left:257px; top:5px; width:105px; height:20px; font-weight:bold; "/>
  194. <caption id="caption20" ref="/root/main/patinfo/sexage" style="left:421px; top:5px; width:90px; height:20px; font-weight:bold; "/>
  195. </group>
  196. <group id="grp_inpatinfo" visibility="hidden" style="left:240px; top:0px; width:920px; height:29px; ">
  197. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:920px; height:29px; "/>
  198. <caption id="caption33" class="search_name" style="left:5px; top:6px; width:70px; height:17px; ">병 동 :</caption>
  199. <caption id="caption7" class="search_name" style="left:215px; top:6px; width:70px; height:17px; ">병 실 :</caption>
  200. <caption id="caption8" class="search_name" style="left:393px; top:6px; width:145px; height:17px; ">환자명 / 등록번호 :</caption>
  201. <caption id="caption9" class="search_name" style="left:711px; top:6px; width:105px; height:17px; ">내환자 정보 :</caption>
  202. <select1 id="cmb_wardlist" ref="/root/temp/cond/wardcdgrup/wardcdgruplist" class="combo_s_essential" appearance="minimal" style="left:75px; top:5px; width:130px; height:19px; ">
  203. <choices>
  204. <itemset nodeset="/root/temp/cond/wardcdgrup/wardcdgruplist">
  205. <label ref="wardnm"/>
  206. <value ref="wardcd"/>
  207. </itemset>
  208. </choices>
  209. <script type="javascript" ev:event="xforms-value-changed">
  210. <![CDATA[
  211. fTPRviewInit();
  212. // 응급실인 경우 (2011.05.04 Ahn)
  213. fGetWardChngInfo("N");
  214. fGetCareComRoomList(cmb_wardlist.value);// 병실정보를 가져온다.
  215. model.removeNode("/root/temp/cond/patientgrup");
  216. cmb_patlist.refresh();
  217. ipt_pid.value = "";
  218. cmb_mypatlist.value = "";
  219. model.setFocus("cmb_roomlist");
  220. if(eERFLAG == "Y"){
  221. cmb_roomlist.value = model.getValue("/root/temp/cond/roomcdgrup/roomcdgruplist[1]/roomcd");
  222. //선택한 병실에 해당하는 환자리스트 조회
  223. fGetCareComPatList(cmb_wardlist.value, cmb_roomlist.value, cmb_zone.value);
  224. model.setFocus("cmb_erpat");
  225. }
  226. ]]>
  227. </script>
  228. </select1>
  229. <select1 id="cmb_roomlist" ref="/root/temp/cond/roomcdgrup/roomcdgruplist" class="combo_s_essential" appearance="minimal" style="left:285px; top:5px; width:95px; height:19px; ">
  230. <choices>
  231. <itemset nodeset="/root/temp/cond/roomcdgrup/roomcdgruplist">
  232. <label ref="roomnm"/>
  233. <value ref="roomcd"/>
  234. </itemset>
  235. </choices>
  236. <script type="javascript" ev:event="xforms-value-changed">
  237. <![CDATA[
  238. fTPRviewInit();
  239. fGetCareComPatList(cmb_wardlist.value, cmb_roomlist.value);// 병실정보를 가져온다.
  240. ipt_pid.value = "";
  241. cmb_mypatlist.value = "";
  242. model.setFocus("cmb_patlist");
  243. ]]>
  244. </script>
  245. </select1>
  246. <select1 id="cmb_patlist" ref="/root/temp/cond/patientgrup/patientgruplist" class="combo_s_essential" appearance="minimal" itemcount="30" style="left:540px; top:5px; width:75px; height:19px; ">
  247. <choices>
  248. <itemset nodeset="/root/temp/cond/patientgrup/patientgruplist">
  249. <label ref="patientnm"/>
  250. <value ref="pid"/>
  251. </itemset>
  252. </choices>
  253. <script type="javascript" ev:event="xforms-value-changed">
  254. <![CDATA[
  255. fSetParam("SrchPat", cmb_patlist.focusIndex + 1);
  256. model.setFocus("body");
  257. //model.setValue("/root/main/cond/pid",cmb_patlist.value);
  258. ]]>
  259. </script>
  260. </select1>
  261. <input id="ipt_pid" ref="/root/main/cond/pid" disabled="true" style="left:616px; top:5px; width:75px; height:19px; "/>
  262. <select1 id="cmb_mypatlist" ref="/root/temp/cond/settingpatient/settingpatientlist" class="combo_s_essential" appearance="minimal" style="left:820px; top:5px; width:75px; height:19px; ">
  263. <choices>
  264. <itemset nodeset="/root/temp/cond/settingpatient/settingpatientlist">
  265. <label ref="patnm"/>
  266. <value ref="pid"/>
  267. </itemset>
  268. </choices>
  269. <script type="javascript" ev:event="xforms-value-changed">
  270. <![CDATA[
  271. fSetParam("SettingPat", cmb_mypatlist.focusIndex + 1);
  272. model.setFocus("body");
  273. ]]>
  274. </script>
  275. </select1>
  276. <select1 id="cmb_zone" ref="/root/main/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:285px; top:5px; width:95px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  277. <choices>
  278. <itemset nodeset="/root/temp/zoneinfo/zonelist">
  279. <label ref="bednm"/>
  280. <value ref="bedcd"/>
  281. </itemset>
  282. </choices>
  283. <script type="javascript" ev:event="xforms-value-changed">
  284. <![CDATA[
  285. /*
  286. //해당 병실 환자정보 clear
  287. model.setValue('/root/cond/patientnm', '');
  288. model.setValue('/root/cond/pid', '');
  289. model.removenode('/root/patientgrup');
  290. // 응급실정보 추가 (2011.03.16 Ahn)
  291. //alert(cmb_room.value);
  292. fGetCareComPatList(cmb_wardcd.value, cmb_roomcd.value, cmb_zone.value);
  293. model.setFocus("cmb_erpat");
  294. */
  295. fTPRviewInit();
  296. fGetCareComPatList(cmb_wardlist.value, cmb_roomlist.value, cmb_zone.value);// 병실정보를 가져온다.
  297. ipt_pid.value = "";
  298. cmb_mypatlist.value = "";
  299. model.setFocus("cmb_erpat");
  300. ]]>
  301. </script>
  302. </select1>
  303. <select1 id="cmb_erpat" ref="/root/temp/cond/patientgrup/patientgruplist" class="combo_s_essential" visibility="hidden" appearance="minimal" itemcount="30" style="left:539px; top:5px; width:211px; height:19px; ">
  304. <choices>
  305. <itemset nodeset="/root/temp/cond/patientgrup/patientgruplist">
  306. <label ref="etcinfo"/>
  307. <value ref="pid"/>
  308. </itemset>
  309. </choices>
  310. <script type="javascript" ev:event="xforms-select">
  311. <![CDATA[
  312. /*
  313. // 선택 시 구역정보 기억
  314. eSECTIONCD = model.getValue("/root/cond/zonecd");
  315. //통증기록조회
  316. var pid = model.getValue(cmb_erpat.attribute('ref'));
  317. if(pid == ''){
  318. pid = model.getValue(ipt_pid.attribute('ref'));
  319. }else{
  320. //병실내 환자정보 선택시 환자등록번호 setting
  321. model.setValue(ipt_pid.attribute('ref'), pid);
  322. model.refresh();
  323. }
  324. fSearch("NoChg");
  325. var sPid = model.getValue(ipt_pid.attribute('ref'));
  326. var sOrdtype = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/ordtype" );
  327. var sIndd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/indd" );
  328. var sCretno = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/cretno" );
  329. var sInstcd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/instcd" );
  330. param = sOrdtype + "▦"
  331. + sPid + "▦"
  332. + sIndd + "▦"
  333. + sCretno + "▦"
  334. + sInstcd + "▦"
  335. + "▦" ;
  336. setParameter("condparam", param);
  337. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  338. model.makeNode(xPamInfoPath);
  339. var node = getPatientInfoDetails(xPamInfoPath) ;
  340. */
  341. fSetParam("SrchPat", cmb_erpat.focusIndex + 1);
  342. model.setFocus("body");
  343. ]]>
  344. </script>
  345. </select1>
  346. </group>
  347. <group id="grp_oderinpatinfo" visibility="hidden" style="left:240px; top:1px; width:925px; height:30px; ">
  348. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:1px; top:0px; width:920px; height:29px; "/>
  349. <caption id="caption17" class="search_name" style="left:5px; top:6px; width:75px; height:17px; ">진료과 :</caption>
  350. <!--(20101206) 경북대
  351. <caption id="caption21" class="search_name" style="left:233px; top:6px; width:74px; height:17px; ">주치의 :</caption>
  352. <caption id="caption22" class="search_name" style="left:395px; top:6px; width:75px; height:17px; ">담당의 :</caption>
  353. -->
  354. <caption id="caption21" class="search_name" style="left:213px; top:6px; width:74px; height:17px; ">전문의 :</caption>
  355. <caption id="caption22" class="search_name" style="left:365px; top:6px; width:75px; height:17px; ">담당의 :</caption>
  356. <!--(20101206) 경북대 -->
  357. <caption id="caption23" class="search_name" style="left:519px; top:6px; width:145px; height:17px; ">환자명 / 등록번호 :</caption>
  358. <select1 id="cmb_deptlist" ref="/root/temp/cond/deptgrup/deptgruplist/dept" class="combo_s_essential" appearance="minimal" style="left:83px; top:5px; width:125px; height:19px; ">
  359. <choices>
  360. <itemset nodeset="/root/temp/cond/deptgrup/deptgruplist/dept">
  361. <label ref="depthngnm"/>
  362. <value ref="deptcd"/>
  363. </itemset>
  364. </choices>
  365. <script type="javascript" ev:event="xforms-value-changed">
  366. <![CDATA[
  367. model.removeNode("/root/temp/cond/patientgrup");
  368. cmb_oderpatlist.refresh();
  369. ipt_orderpid.value = "";
  370. fTPRviewInit();
  371. mmbfGetUserComboList("/root/send/reqdata", "/root/temp/cond/doctlist/medispcl" , cmb_deptlist.value, "0330", "", "M");
  372. mmbfGetUserComboList("/root/send/reqdata", "/root/temp/cond/doctlist/atdoct", cmb_deptlist.value, "0330", "", "A");
  373. addComboInstance("/root/temp/cond/doctlist/medispcl", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  374. addComboInstance("/root/temp/cond/doctlist/atdoct", "userid^usernm", "-^전체", "usercombo");//의사콤보 전체항목 추가
  375. if(cmb_deptlist.value ==sUserDeptCd){
  376. model.setValue("/root/temp/cond/doctlist/medispcl/usercombo", sUserId);
  377. }else{
  378. model.setValue("/root/temp/cond/doctlist/medispcl/usercombo", "-");
  379. }
  380. model.setValue("/root/temp/cond/doctlist/atdoct/usercombo", "-");
  381. //model.setValue("/root/temp/cond/doctlist/atdoct", "-");
  382. fGetCareComDeptPatList(cmb_deptlist.value, cmb_medispcllist.value , cmb_atdoctlist.value, chk_mypatchk.value);
  383. model.setFocus("cmb_medispcllist");
  384. ]]>
  385. </script>
  386. </select1>
  387. <select1 id="cmb_medispcllist" ref="/root/temp/cond/doctlist/medispcl/usercombo" class="combo_s_essential" appearance="minimal" style="left:289px; top:5px; width:75px; height:19px; ">
  388. <choices>
  389. <itemset nodeset="/root/temp/cond/doctlist/medispcl/usercombo">
  390. <label ref="usernm"/>
  391. <value ref="userid"/>
  392. </itemset>
  393. </choices>
  394. <script type="javascript" ev:event="xforms-value-changed">
  395. <![CDATA[
  396. model.removeNode("/root/temp/cond/patientgrup");
  397. cmb_oderpatlist.refresh();
  398. ipt_orderpid.value = "";
  399. fTPRviewInit();
  400. fGetCareComDeptPatList(cmb_deptlist.value, cmb_medispcllist.value , cmb_atdoctlist.value, chk_mypatchk.value);
  401. model.setFocus("cmb_oderpatlist");
  402. ]]>
  403. </script>
  404. </select1>
  405. <select1 id="cmb_atdoctlist" ref="/root/temp/cond/doctlist/atdoct/usercombo" class="combo_s_essential" appearance="minimal" style="left:441px; top:5px; width:75px; height:19px; ">
  406. <choices>
  407. <itemset nodeset="/root/temp/cond/doctlist/atdoct/usercombo">
  408. <label ref="usernm"/>
  409. <value ref="userid"/>
  410. </itemset>
  411. </choices>
  412. <script type="javascript" ev:event="xforms-value-changed">
  413. <![CDATA[
  414. model.removeNode("/root/temp/cond/patientgrup");
  415. cmb_oderpatlist.refresh();
  416. ipt_orderpid.value = "";
  417. fTPRviewInit();
  418. fGetCareComDeptPatList(cmb_deptlist.value, cmb_medispcllist.value , cmb_atdoctlist.value, chk_mypatchk.value);
  419. model.setFocus("cmb_oderpatlist");
  420. ]]>
  421. </script>
  422. </select1>
  423. <select1 id="cmb_oderpatlist" ref="/root/temp/cond/patientgrup/patientgruplist" class="combo_s_essential" appearance="minimal" itemcount="30" style="left:664px; top:5px; width:75px; height:19px; ">
  424. <choices>
  425. <itemset nodeset="/root/temp/cond/patientgrup/patientgruplist">
  426. <label ref="patientnm"/>
  427. <value ref="pid"/>
  428. </itemset>
  429. </choices>
  430. <script type="javascript" ev:event="xforms-value-changed">
  431. <![CDATA[
  432. fSetParam("SrchPat", cmb_oderpatlist.focusIndex + 1);
  433. model.setFocus("body");
  434. //model.setValue("/root/main/cond/pid",cmb_patlist.value);
  435. ]]>
  436. </script>
  437. </select1>
  438. <input id="ipt_orderpid" ref="/root/main/cond/pid" disabled="true" style="left:740px; top:5px; width:75px; height:19px; "/>
  439. <select id="chk_mypatchk" ref="/root/init/mypatsrchflag" overflow="visible" appearance="full" style="left:819px; top:6px; width:91px; height:15px; font-weight:bold; border-style:none; ">
  440. <choices>
  441. <item>
  442. <label>내환자 포함</label>
  443. <value>Y</value>
  444. </item>
  445. </choices>
  446. <script type="javascript" ev:event="xforms-value-changed">
  447. <![CDATA[
  448. model.removeNode("/root/temp/cond/patientgrup");
  449. cmb_oderpatlist.refresh();
  450. ipt_orderpid.value = "";
  451. fTPRviewInit();
  452. fGetCareComDeptPatList(cmb_deptlist.value, cmb_medispcllist.value , cmb_atdoctlist.value, chk_mypatchk.value);
  453. model.setFocus("cmb_oderpatlist");
  454. ]]>
  455. </script>
  456. </select>
  457. </group>
  458. <caption id="cpt_vsinfo" ref="/root/temp/vsinfo" style="left:95px; top:0px; width:145px; height:30px; font-weight:bold; color:#0000ff; text-align:center; ">V/S</caption>
  459. </group>
  460. <button id="btn_24hoursvw" class="btn2_letter5" visibility="hidden" style="left:300px; top:35px; width:75px; height:19px; ">
  461. <caption>24시간화면</caption>
  462. <script type="javascript" ev:event="DOMActivate">
  463. <![CDATA[
  464. fSearch("24hours");//fChageView("24hours");
  465. ]]>
  466. </script>
  467. </button>
  468. <input id="ipt_4daysrecdd" ref="/root/main/cond/recdd" class="input_s_essential" inputtype="date" style="left:47px; top:35px; width:93px; height:19px; ">
  469. <script type="javascript" ev:event="xforms-value-changed">
  470. <![CDATA[
  471. fSearch(model.getValue(sCondPath+"/vwctrl_button"));
  472. ]]>
  473. </script>
  474. </input>
  475. <button id="btn_4daybefore" class="btn2_before" style="left:2px; top:35px; width:42px; height:19px; ">
  476. <caption>이전</caption>
  477. <script type="javascript" ev:event="DOMActivate">
  478. <![CDATA[
  479. fDateCalc("-", model.getValue(sCondPath+"/vwctrl_button"));
  480. ipt_4daysrecdd.dispatch("xforms-value-changed");
  481. ]]>
  482. </script>
  483. </button>
  484. <button id="btn_4dayafter" class="btn2_letter2" style="left:143px; top:35px; width:42px; height:19px; ">
  485. <caption>다음</caption>
  486. <script type="javascript" ev:event="DOMActivate">
  487. <![CDATA[
  488. fDateCalc("+", model.getValue(sCondPath+"/vwctrl_button"));
  489. ipt_4daysrecdd.dispatch("xforms-value-changed");
  490. ]]>
  491. </script>
  492. </button>
  493. <button id="btn_4daysvwctrl" class="btn2_letter3" visibility="hidden" style="left:244px; top:35px; width:53px; height:19px; ">
  494. <caption>펼치기</caption>
  495. <script type="javascript" ev:event="DOMActivate">
  496. <![CDATA[
  497. fControlGridSize("4days");
  498. ]]>
  499. </script>
  500. </button>
  501. <button id="btn_4dayrefresh" class="btn2_letter3" style="left:188px; top:35px; width:53px; height:19px; ">
  502. <caption>재조회</caption>
  503. <script type="javascript" ev:event="DOMActivate">
  504. <![CDATA[
  505. fSearch("4days");
  506. ]]>
  507. </script>
  508. </button>
  509. <group id="grp_chkbox" style="left:245px; top:35px; width:920px; height:21px; border-color:#000000; ">
  510. <select id="chk_dayschartinfo" ref="/root/main/cond/dayschartinfo" class="checkbox_search" overflow="hidden" appearance="full" cols="13" style="left:0px; top:0px; width:920px; height:20px; border-style:none; ">
  511. <choices>
  512. <itemset nodeset="/root/main/searchinfo/obspartlist">
  513. <label ref="obspartnm"/>
  514. <value ref="obspartid"/>
  515. </itemset>
  516. </choices>
  517. <script type="javascript" ev:event="xforms-value-changed">
  518. <![CDATA[
  519. fMakeChart("4days");
  520. ]]>
  521. </script>
  522. </select>
  523. </group>
  524. <datagrid id="grd_timelist" visibility="hidden" caption="07:00^13:00^19:00^01:00^07:00^13:00^19:00^01:00^07:00^13:00^19:00^01:00^07:00^13:00^19:00^01:00" colsep="^" colwidth="71, 71, 71, 72, 71, 72, 71, 72, 71, 71, 71, 72, 71, 71, 72, 72" mergecellsfixedrows="bycolrec" rowsep="|" style="left:24px; top:310px; width:1144px; height:48px; ">
  525. <col/>
  526. <col/>
  527. <col/>
  528. <col/>
  529. <col/>
  530. <col/>
  531. <col/>
  532. <col/>
  533. <col/>
  534. <col/>
  535. <col/>
  536. <col/>
  537. <col/>
  538. <col/>
  539. <col/>
  540. <col/>
  541. </datagrid>
  542. <datagrid id="grd_prcplist1" nodeset="/root/main/searchinfo/prcplist1" allowselection="true" autosizemouse="true" backcoloralternate="transparent" caption="투약일시^[처방종류]처방명^1회용량" colsep="^" colwidth="71, 142, 72" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="byrestricrow" rowsep="|" selectionmode="free" tooltip="true" style="left:24px; top:355px; width:285px; height:344px; ">
  543. <col ref="medrdt" style="text-align:center; "/>
  544. <col ref="prcpnm"/>
  545. <col ref="execvol" style="text-align:right; "/>
  546. </datagrid>
  547. <datagrid id="grd_prcplist2" nodeset="/root/main/searchinfo/prcplist2" allowselection="true" autosizemouse="true" backcoloralternate="transparent" caption="투약일시^[처방종류]처방명^1회용량" colsep="^" colwidth="71, 143, 72" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="byrestricrow" rowsep="|" selectionmode="free" tooltip="true" style="left:309px; top:355px; width:286px; height:344px; ">
  548. <col ref="medrdt" format="hh:nn" style="left:0px; top:23px; width:66px; height:23px; text-align:center; "/>
  549. <col ref="prcpnm"/>
  550. <col ref="execvol" style="text-align:right; "/>
  551. </datagrid>
  552. <datagrid id="grd_prcplist3" nodeset="/root/main/searchinfo/prcplist3" allowselection="true" autosizemouse="true" backcoloralternate="transparent" caption="투약일시^[처방종류]처방명^1회용량" colsep="^" colwidth="71, 142, 72" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="byrestricrow" rowsep="|" selectionmode="free" tooltip="true" style="left:595px; top:355px; width:285px; height:344px; ">
  553. <col ref="medrdt" format="hh:nn" style="text-align:center; "/>
  554. <col ref="prcpnm"/>
  555. <col ref="execvol" style="text-align:right; "/>
  556. </datagrid>
  557. <datagrid id="grd_prcplist4" nodeset="/root/main/searchinfo/prcplist4" allowselection="true" autosizemouse="true" backcoloralternate="transparent" caption="투약일시^[처방종류]처방명^1회용량" colsep="^" colwidth="71, 143, 74" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="byrestricrow" rowsep="|" selectionmode="free" tooltip="true" style="left:880px; top:355px; width:288px; height:344px; ">
  558. <col ref="medrdt" format="hh:nn" style="text-align:center; "/>
  559. <col ref="prcpnm"/>
  560. <col ref="execvol" style="text-align:right; "/>
  561. </datagrid>
  562. </xhtml:body>
  563. </xhtml:html>