SMMND00100_인공신장실메인.xrw 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166
  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. <![CDATA[]]>
  6. <xhtml:title>인공신장실 메인</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <condition>
  12. <rsrvfromdd/>
  13. <rsrvtodd/>
  14. <ioflag/>
  15. <shift/>
  16. <mypid/>
  17. <method/>
  18. </condition>
  19. <hdschelist>
  20. <hdscheinfo>
  21. <acptyn/>
  22. <prcsflag/>
  23. <fnexamyn/>
  24. <vipyn/>
  25. <spcffactyn/>
  26. <pid/>
  27. <hngnm/>
  28. <sexage/>
  29. <ioflag/>
  30. <orddeptnm/>
  31. <maintepatrgstdd/>
  32. <drnm/>
  33. <prcpflag/>
  34. <roothospdialfromdd/>
  35. <rectdialdd/>
  36. <rsrvdd/>
  37. <shiftflag/>
  38. <dialseatflag/>
  39. <rcptflag/>
  40. <rcptdt/>
  41. <rcpttm/>
  42. <execyn/>
  43. <matnflag/>
  44. <inptrslt/>
  45. <inptrsltdt/>
  46. <insunm/>
  47. <histstat/>
  48. <indd/>
  49. <cretno/>
  50. <seqno/>
  51. <instcd/>
  52. <orddd/>
  53. <acptseqno/>
  54. <orgorddd/>
  55. <orddrid/>
  56. <elbulbodstat/>
  57. <nursacptyn/>
  58. <rooasignyn/>
  59. <rgstno/>
  60. <roomcd/>
  61. <shiftnm/>
  62. <acptresn/>
  63. <disp1/>
  64. <disp2/>
  65. <disp3/>
  66. <medamtpostyn/>
  67. </hdscheinfo>
  68. <table id="hdscheinfo" count_ref="hdscheinfo">
  69. <column id="fnexamyn" type="string" desc="신환여부" ref="hdscheinfo.fnexamyn"/>
  70. <column id="vipyn" type="string" desc="VIP구분" ref="hdscheinfo.vipyn"/>
  71. <column id="spcffactyn" type="string" desc="특이사항" ref="hdscheinfo.spcffactyn"/>
  72. <column id="pid" type="string" desc="등록번호" ref="hdscheinfo.pid"/>
  73. <column id="hngnm" type="string" desc="환자명" ref="hdscheinfo.hngnm"/>
  74. <column id="sexage" type="string" desc="성별/나이" ref="hdscheinfo.sexage"/>
  75. <column id="ioflag" type="string" desc="입원외래구분" ref="hdscheinfo.ioflag"/>
  76. <column id="rsrvdd" type="string" desc="예약일자" ref="hdscheinfo.rsrvdd"/>
  77. <column id="shiftflag" type="string" desc="shift구분" ref="hdscheinfo.shiftflag"/>
  78. <column id="dialseatflag" type="string" desc="투석자리구분" ref="hdscheinfo.dialseatflag"/>
  79. <column id="drnm" type="string" desc="진료의" ref="hdscheinfo.drnm"/>
  80. <column id="insunm" type="string" desc="보험구분" ref="hdscheinfo.insunm"/>
  81. <column id="indd" type="string" desc="입원일자" ref="hdscheinfo.indd"/>
  82. <column id="cretno" type="string" desc="생성번호" ref="hdscheinfo.cretno"/>
  83. <column id="seqno" type="string" desc="일련번호 " ref="hdscheinfo.seqno"/>
  84. <column id="histstat" type="string" desc="입원외래구분" ref="hdscheinfo.histstat"/>
  85. <column id="instcd" type="string" desc="기관코드 " ref="hdscheinfo.instcd"/>
  86. <column id="maintepatrgstdd" type="string" desc="유지환자등록일자" ref="hdscheinfo.maintepatrgstdd"/>
  87. <column id="matnflag" type="string" desc="유지구분" ref="hdscheinfo.matnflag"/>
  88. <column id="roothospdialfromdd" type="string" desc="본원투석일자" ref="hdscheinfo.roomhospdialdd"/>
  89. <column id="execyn" type="string" desc="시행여부" ref="hdscheinfo.execyn"/>
  90. <column id="prcpflag" type="string" desc="투석처방여부" ref="hdscheinfo.prcpflag"/>
  91. <column id="rectdialdd" type="string" desc="최근투석일" ref="hdscheinfo.rectdialdd"/>
  92. <column id="rcptflag" type="string" desc="수납여부" ref="hdscheinfo.rcptflag"/>
  93. <column id="rcptdt" type="string" desc="수납일자" ref="hdscheinfo.rcptdt"/>
  94. <column id="rcpttm" type="string" desc="수납시간" ref="hdscheinfo.rcpttm"/>
  95. <column id="inptrslt" type="string" desc="중증도군" ref="hdscheinfo.inptrslt"/>
  96. <column id="inptrsltdt" type="string" desc="중증도저장일시" ref="hdscheinfo.inptrsltdt"/>
  97. <column id="orddd" type="string" desc="진료일자" ref="hdscheinfo.orddd"/>
  98. <column id="acptseqno" type="string" desc="등록일련번호" ref="hdscheinfo.acptseqno"/>
  99. <column id="orgorddd" type="string" desc="원진료일자" ref="hdscheinfo.orgorddd"/>
  100. <column id="elbulbodstat" type="string" desc="전광판구분" ref="hdscheinfo.elbulbodstat"/>
  101. <column id="prcsflag" type="string" desc="진행상태" ref="hdscheinfo.prcsflag"/>
  102. <column id="acptyn" type="string" desc="외래간호접수여부" ref="hdscheinfo.acptyn"/>
  103. <column id="orddeptcd" type="string" desc="진료과코드" ref="hdscheinfo.orddeptcd"/>
  104. <column id="orddeptnm" type="string" desc="진료과명" ref="hdscheinfo.orddeptnm"/>
  105. <column id="orddrid" type="string" desc="진료의ID" ref="hdscheinfo.orddrid"/>
  106. <column id="nursacptyn" type="string" desc="진료의ID" ref="hdscheinfo.nursacptyn"/>
  107. <column id="ioflagvalue" type="string" desc="입원외래구분" ref="hdscheinfo.ioflagvalue"/>
  108. </table>
  109. <precondlist>
  110. <blodpreplist/>
  111. </precondlist>
  112. <blodprep>
  113. <patnm/>
  114. </blodprep>
  115. </hdschelist>
  116. <pdschelist>
  117. <pdscheinfo>
  118. <acptyn/>
  119. <prcsflag/>
  120. <fnexamyn/>
  121. <vipyn/>
  122. <spcffactyn/>
  123. <pid/>
  124. <hngnm/>
  125. <sexage/>
  126. <ioflag/>
  127. <orddeptnm/>
  128. <matnflag/>
  129. <maintepatrgstdd/>
  130. <drnm/>
  131. <prcpflag/>
  132. <roothospdialfromdd/>
  133. <rectdialdd/>
  134. <rsrvdd/>
  135. <rsrvcnts/>
  136. <rcptflag/>
  137. <dialkindflag/>
  138. <dialblodyn/>
  139. <catefixyn/>
  140. <dinfyn/>
  141. <pipeyn/>
  142. <edemacnfmyn/>
  143. <tsetyn/>
  144. <educnts/>
  145. <insunm/>
  146. <histstat/>
  147. <orddd/>
  148. <acptseqno/>
  149. <orgorddd/>
  150. <cretno/>
  151. <indd/>
  152. <seqno/>
  153. <orgorddd/>
  154. <orddrid/>
  155. <orddd/>
  156. <nursacptyn/>
  157. <elbulbodstat/>
  158. <rooasignyn/>
  159. <rgstno/>
  160. <roomcd/>
  161. <disp1/>
  162. <disp2/>
  163. <disp3/>
  164. <medamtpostyn/>
  165. </pdscheinfo>
  166. </pdschelist>
  167. <poplist>
  168. <hdpopinfo>
  169. <menu>
  170. <name>HD Scheduling</name>
  171. <func>OpenHDScheduling</func>
  172. </menu>
  173. <menu>
  174. <name>유지환자 관리</name>
  175. <func>OpenMatnPatMngt</func>
  176. </menu>
  177. <menu>
  178. <name>간호정보 조사</name>
  179. <func>OpenCareInfo</func>
  180. </menu>
  181. <menu>
  182. <name>혈액투석 간호기록</name>
  183. <func>OepnHDCareRec</func>
  184. </menu>
  185. <menu>
  186. <name>혈액투석 도관기록</name>
  187. <func>OepnHDPipeRec</func>
  188. </menu>
  189. <menu>
  190. <name>상담기록</name>
  191. <func>OepnCnstRec</func>
  192. </menu>
  193. <menu>
  194. <name>처방확인</name>
  195. <func>OepnSrchOrdInfo</func>
  196. </menu>
  197. <menu>
  198. <name>환자이름표출력</name>
  199. <func>fOpenNamePrint</func>
  200. </menu>
  201. <!--(20120306) 경북대 -->
  202. <menu>
  203. <name>환자라벨출력</name>
  204. <func>fOpenLabelPrint</func>
  205. </menu>
  206. <menu>
  207. <name>SMS 전송</name>
  208. <func>fSendSMS</func>
  209. </menu>
  210. </hdpopinfo>
  211. <pdpopinfo>
  212. <menu>
  213. <name>유지환자 관리</name>
  214. <func>OpenMatnPatMngt</func>
  215. </menu>
  216. <menu>
  217. <name>간호정보 조사</name>
  218. <func>OpenCareInfo</func>
  219. </menu>
  220. <menu>
  221. <name>복막투석 실시관리</name>
  222. <func>OepnPDExecRec</func>
  223. </menu>
  224. <menu>
  225. <name>복막투석 도관기록</name>
  226. <func>OepnPDPipeRec</func>
  227. </menu>
  228. <menu>
  229. <name>상담기록</name>
  230. <func>OepnCnstRec</func>
  231. </menu>
  232. <menu>
  233. <name>처방확인</name>
  234. <func>OepnSrchOrdInfo</func>
  235. </menu>
  236. <menu>
  237. <name>환자이름표출력</name>
  238. <func>fOpenNamePrint</func>
  239. </menu>
  240. </pdpopinfo>
  241. </poplist>
  242. <paminfo/>
  243. <ebulstat/>
  244. <wardpatinfo>
  245. <settingrn>
  246. <settingrnnm/>
  247. <settingrnid/>
  248. </settingrn>
  249. </wardpatinfo>
  250. <printcnt/>
  251. <barcdprntsetup/>
  252. <inptcnt>
  253. <inptcnt/>
  254. </inptcnt>
  255. </main>
  256. <send>
  257. <reqdata/>
  258. </send>
  259. <temp>
  260. <gettoplist>
  261. <gettopinfo>
  262. <pid/>
  263. <cretno/>
  264. <seqno/>
  265. <instcd/>
  266. <indd/>
  267. <orddd/>
  268. <acptseqno/>
  269. <orgorddd/>
  270. </gettopinfo>
  271. </gettoplist>
  272. </temp>
  273. <hidden/>
  274. <init/>
  275. </root>
  276. </instance>
  277. <submission id="TRMND00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hdscheinfo"/>
  278. <submission id="TRMND00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/pdscheinfo"/>
  279. <submission id="TRMND00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/gettopinfo"/>
  280. <submission id="TRMNO00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ebulstat"/>
  281. <submission id="TXMNO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  282. <submission id="TRMND03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/settingrn"/>
  283. <submission id="TRMND00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inptcnt"/>
  284. <script type="javascript" ev:event="xforms-ready">
  285. <![CDATA[
  286. //그리드 초기화
  287. model.removeNodeset("/root/main/hdschelist/hdscheinfo");
  288. model.removeNodeset("/root/main/pdschelist/pdscheinfo");
  289. var vincentinstcd;
  290. fGetNursHardCdInfo("'077'", getCurrentDate());
  291. for(var i=1; i<=getNodesetCount("/root/code/codeinfo/codelist"); i++){
  292. switch (model.getValue("/root/code/codeinfo/codelist["+i+"]/cdgrupid")){
  293. case "077":
  294. switch(model.getValue("/root/code/codeinfo/codelist["+i+"]/supcdid")){
  295. case "04": // (01:서울성모,02:의정부성모,03:부천성가, 04:수원빈센트)
  296. vincentinstcd = model.getValue("/root/code/codeinfo/codelist["+i+"]/cdid");
  297. break;
  298. }
  299. }
  300. }
  301. //빈센트 병원일때만 원무수납일시, 시간 추가
  302. var instcd = getUserInfo("dutplceinstcd");
  303. if (instcd == vincentinstcd){
  304. grd_hdschelist.attribute("frozencols") = "11";
  305. }
  306. else{
  307. grd_hdschelist.attribute("frozencols") = "0";
  308. grd_hdschelist.colhidden(22)=true;
  309. grd_hdschelist.colhidden(23)=true;
  310. }
  311. setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  312. fDone();
  313. fSrchHDList(); //혈액투석 스케줄 조회
  314. //내환자 setting 간호사 load
  315. fLoadMyPatSetting();
  316. //var userid = getUserInfo('userid');
  317. //if(userid == 'ENR' || userid == 'enr' || userid == 'DEV512' || userid == 'dev512'){
  318. // btn_mypat.attribute('visibility') = "visible";
  319. // btn_mywork.attribute('visibility') = "visible";
  320. //}else{
  321. // btn_mypat.attribute('visibility') = "hidden";
  322. // btn_mywork.attribute('visibility') = "hidden";
  323. //}
  324. // 20141229 kya 재원중인 환자건수
  325. btn_jaewon.dispatch("onclick");
  326. ]]>
  327. </script>
  328. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  329. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/main/barcdprntsetup"/>
  330. <!-- 20091008-kys추가 환자라벨출력-->
  331. </model>
  332. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  333. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  334. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  335. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND00100.js"/>
  336. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  337. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  338. <!-- 20091008-kys추가 환자라벨출력-->
  339. </xhtml:head>
  340. <xhtml:body guideline="1,1194;1,1316;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  341. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  342. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">투석환자조회</caption>
  343. </group>
  344. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  345. <button id="btn_pdlist" class="btn_sw" group="tab" selected="true" style="left:118px; top:10px; width:113px; height:22px; ">
  346. <caption>복막투석 스케줄</caption>
  347. <toggle case="case2" ev:event="onclick"/>
  348. <script type="javascript" ev:event="DOMActivate">
  349. <![CDATA[
  350. fSrchPDList(); //복막투석 스케줄 조회
  351. ]]>
  352. </script>
  353. </button>
  354. <button id="btn_hdlist" class="btn_sw" group="tab" selected="true" style="left:5px; top:10px; width:113px; height:22px; ">
  355. <caption>혈액투석 스케줄</caption>
  356. <toggle case="case1" ev:event="onclick"/>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. fSrchHDList(); //혈책투석 스케줄 조회
  360. ]]>
  361. </script>
  362. </button>
  363. <switch id="switch1" class="sw_box" style="left:5px; top:30px; width:1189px; height:710px; border-style:solid; ">
  364. <case id="case1" selected="true">
  365. <datagrid id="grd_hdschelist" nodeset="/root/main/hdschelist/hdscheinfo" class="datagrid2" backcoloralternate="#ffffff" caption="Shift^투석&#xA;자리^특이^특이^특이^혈액^접촉^공기^등록번호^환자명^S/A^구분^진료과^진료의^처방^시행^희귀^중증도^중증도 저장일시^최근투석일자/&#xA;최근Hemoglobin 일자,수치^예약일자/&#xA;Hemodialysis수납^본원투석&#xA;시작일자^유지환자&#xA;등록일자^보험구분^수납일자^수납시간^특이사항^caption1^matnflag^histstat^acptyn^prcsflag^rcptflag^rcptdt^shiftflag" colsep="^" colwidth="30, 35, 35, 28, 28, 30, 30, 30, 75, 65, 35, 35, 97, 65, 30, 30, 30, 55, 100, 206, 107, 70, 70, 75, 76, 76, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:82px; width:1174px; height:588px; ">
  366. <col ref="shiftnm" style="text-align:center; "/>
  367. <col ref="dialseatflag" style="text-align:center; "/>
  368. <col ref="fnexamyn" style="text-align:center; "/>
  369. <col ref="vipyn" style="text-align:center; "/>
  370. <col ref="spcffactyn" style="text-align:center; "/>
  371. <col ref="disp1"/>
  372. <col ref="disp2"/>
  373. <col ref="disp3"/>
  374. <col ref="pid" style="text-align:center; "/>
  375. <col ref="hngnm" style="text-align:center; "/>
  376. <col ref="sexage" style="text-align:center; "/>
  377. <col ref="ioflag" style="text-align:center; "/>
  378. <col ref="orddeptnm"/>
  379. <col ref="drnm" style="text-align:center; "/>
  380. <col ref="prcpflag" style="text-align:center; "/>
  381. <col ref="execyn" style="text-align:center; "/>
  382. <col ref="rooasignyn" style="text-align:center; "/>
  383. <col ref="inptrslt" style="text-align:center; "/>
  384. <col ref="inptrsltdt" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
  385. <!-- (20110307) 경북대
  386. <col ref="rectdialdd" format="yyyy-mm-dd" style="text-align:center; "/>
  387. <col ref="rsrvdd" format="yyyy-mm-dd" style="left:537px; top:32px; width:79px; height:23px; text-align:center; "/>
  388. -->
  389. <col ref="rectdialdd" style="text-align:left; "/>
  390. <col ref="rsrvdd" style="left:537px; top:32px; width:79px; height:23px; text-align:center; "/>
  391. <!-- (20110307) 경북대 -->
  392. <col ref="roothospdialfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  393. <col ref="maintepatrgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  394. <col ref="insunm" style="text-align:center; "/>
  395. <col ref="rcptdt" format="yyyy-mm-dd" style="text-align:center; "/>
  396. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  397. <col/>
  398. <col ref="ioflagvalue" visibility="hidden"/>
  399. <col disabled="true" ref="matnflag" type="combo" visibility="hidden" style="text-align:center; ">
  400. <choices>
  401. <item>
  402. <label>유지</label>
  403. <value>1</value>
  404. </item>
  405. <item>
  406. <label>전원</label>
  407. <value>2</value>
  408. </item>
  409. <item>
  410. <label>사망</label>
  411. <value>3</value>
  412. </item>
  413. <item>
  414. <label>신장이식</label>
  415. <value>4</value>
  416. </item>
  417. <item>
  418. <label>전환</label>
  419. <value>5</value>
  420. </item>
  421. <item>
  422. <label>취소</label>
  423. <value>X</value>
  424. </item>
  425. </choices>
  426. </col>
  427. <col ref="histstat" visibility="hidden"/>
  428. <col ref="acptyn" type="checkbox" visibility="hidden"/>
  429. <col ref="prcsflag" visibility="hidden" style="text-align:center; "/>
  430. <col ref="rcptflag" visibility="hidden" style="text-align:center; "/>
  431. <col ref="rcptdt" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  432. <col ref="indd" visibility="hidden"/>
  433. <col ref="cretno" visibility="hidden"/>
  434. <col ref="seqno" visibility="hidden"/>
  435. <col ref="instcd" visibility="hidden"/>
  436. <col ref="orddd" visibility="hidden"/>
  437. <col ref="acptseqno" visibility="hidden"/>
  438. <col ref="orgorddd" visibility="hidden"/>
  439. <col ref="orddrid" visibility="hidden"/>
  440. <col ref="elbulbodstat" visibility="hidden"/>
  441. <col ref="nursacptyn" visibility="hidden"/>
  442. <col ref="histstat" visibility="hidden"/>
  443. <col ref="histstat" visibility="hidden"/>
  444. <col ref="histstat" visibility="hidden"/>
  445. <col ref="histstat" visibility="hidden"/>
  446. <col ref="rgstno" visibility="hidden"/>
  447. <col ref="roomcd" visibility="hidden"/>
  448. <col ref="shiftflag" visibility="hidden"/>
  449. <col ref="acptresn" visibility="hidden"/>
  450. <col ref="medamtpostyn" visibility="hidden"/>
  451. <script type="javascript" ev:event="xforms-value-changed">
  452. <![CDATA[
  453. var iRow = grd_hdschelist.row;
  454. model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/pid"));
  455. model.makeValue("/root/send/reqdata/orddd" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddd"));
  456. model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddeptcd"));
  457. model.makeValue("/root/send/reqdata/orddrid" , model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddrid"));
  458. if(submit("TRMNO00105")) {
  459. var ebulstat = model.getValue("/root/main/ebulstat/ebulstat/ebulstat");
  460. if(model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/elbulbodstat") == ebulstat) {
  461. if(ebulstat == "2" ) {
  462. messageBox("진료후에는 간호접수를 취소", "E001");
  463. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "true");
  464. } else {
  465. var stat;
  466. var elbulbodstat;
  467. var curdd = getCurrentDate();
  468. var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+ iRow +"]/orddd");
  469. if(ebulstat == "1") {
  470. if(curdd == orddd) {
  471. model.makeValue("/root/send/reqdata/elbulbodstat", "0");
  472. model.makeValue("/root/send/reqdata/nursacptyn", "N");
  473. stat = "";
  474. elbulbodstat = "0";
  475. } else {
  476. messageBox("과접수 취소를 ", "E001");
  477. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "true");
  478. grd_hdschelist.rebuild();
  479. }
  480. } else {
  481. if(curdd == orddd) {
  482. model.makeValue("/root/send/reqdata/elbulbodstat", "1");
  483. model.makeValue("/root/send/reqdata/nursacptyn", "Y");
  484. stat ="대기";
  485. elbulbodstat = "1";
  486. } else if (orddd == ""){
  487. messageBox("과접수를 ", "E001", "외래예약여부를 확인하십시오.");
  488. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "false");
  489. grd_hdschelist.rebuild();
  490. return;
  491. } else {
  492. messageBox("과접수를 ", "E001", "예약(진료)일자를 확인하십시오.");
  493. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/acptyn", "false");
  494. grd_hdschelist.rebuild();
  495. return;
  496. }
  497. }
  498. model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddd"));
  499. model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddeptcd"));
  500. model.makeValue("/root/send/reqdata/orddrid", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/orddrid"));
  501. model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/pid"));
  502. if(submit("TXMNO00100")) {
  503. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/prcsflag", stat);
  504. model.setValue("/root/main/hdschelist/hdscheinfo[" + iRow + "]/elbulbodstat", elbulbodstat);
  505. }
  506. }
  507. }
  508. else {
  509. messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
  510. btn_srchhdpatinfo.dispatch("DOMActivate");
  511. return;
  512. }
  513. }
  514. ]]>
  515. </script>
  516. <script type="javascript" ev:event="ondblclick">
  517. <![CDATA[
  518. if(grd_hdschelist.row > 0) {
  519. fsetHngBaseInfo(grd_hdschelist, "H");
  520. //2012.08.14 by kya, 감염상세정보 보여주기
  521. if (grd_hdschelist.col == grd_hdschelist.colRef("disp1")){
  522. model.makeValue("/root/send/infection", "B");
  523. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  524. }else if (grd_hdschelist.col == grd_hdschelist.colRef("disp2")){
  525. model.makeValue("/root/send/infection", "C");
  526. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  527. }else if (grd_hdschelist.col == grd_hdschelist.colRef("disp3")){
  528. model.makeValue("/root/send/infection", "A");
  529. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  530. }
  531. }
  532. ]]>
  533. </script>
  534. <script type="javascript" ev:event="onmousedown">
  535. <![CDATA[
  536. if(grd_hdschelist.mouseRow > 0) {
  537. fSubMenu("H"); // HD메인 오른쪽 버튼기능
  538. }
  539. ]]>
  540. </script>
  541. <script type="javascript" ev:event="DOMFocusOut">
  542. <![CDATA[
  543. window.setPopupMenu(false);
  544. ]]>
  545. </script>
  546. <script type="javascript" ev:event="onaftersort">
  547. <![CDATA[
  548. grd_hdschelist.gridToInstance();
  549. ]]>
  550. </script>
  551. <script type="javascript" ev:event="onmouseover">
  552. <![CDATA[
  553. grd_hdschelist.tooltipText(grd_hdschelist.row, grd_hdschelist.colRef("spcffactyn")) = grd_hdschelist.valueMatrix(grd_hdschelist.row, grd_hdschelist.colRef("acptresn"));
  554. ]]>
  555. </script>
  556. </datagrid>
  557. <group id="group2" style="left:5px; top:10px; width:1174px; height:35px; vertical-align:top; ">
  558. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  559. <caption id="caption1" class="search_name" style="left:16px; top:9px; width:89px; height:17px; ">예약일자 :</caption>
  560. <button id="btn_srchhdpatinfo" class="btn1_letter2" style="left:1016px; top:7px; width:56px; height:22px; ">
  561. <caption>조회</caption>
  562. <script type="javascript" ev:event="DOMActivate">
  563. <![CDATA[
  564. fSrchHDList(); //혈액투석 스케줄 조회
  565. ]]>
  566. </script>
  567. </button>
  568. <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  569. <caption id="caption3" class="search_name" style="left:360px; top:9px; width:117px; height:17px; ">진료구분 :</caption>
  570. <input id="ipt_rsrvfromdd" ref="/root/main/condition/rsrvfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:95px; height:19px; ">
  571. <script type="javascript" ev:event="xforms-value-changed">
  572. <![CDATA[
  573. // fSrchHDList(); //혈책투석 스케줄 조회
  574. ]]>
  575. </script>
  576. </input>
  577. <caption id="caption5" style="left:207px; top:10px; width:15px; height:17px; ">~</caption>
  578. <input id="ipt_rsrvtodd" ref="/root/main/condition/rsrvtodd" class="input_s_essential" inputtype="date" style="left:225px; top:8px; width:95px; height:19px; ">
  579. <script type="javascript" ev:event="xforms-value-changed">
  580. <![CDATA[
  581. // fSrchHDList(); //혈책투석 스케줄 조회
  582. ]]>
  583. </script>
  584. </input>
  585. <select1 id="cmb_ioflag" ref="/root/main/condition/ioflag" class="combo_search" appearance="minimal" nodeset="/root/main/condition/ioflag" style="left:450px; top:8px; width:60px; height:19px; ">
  586. <choices>
  587. <item>
  588. <label>전체</label>
  589. <value/>
  590. </item>
  591. <item>
  592. <label>입원</label>
  593. <value>I</value>
  594. </item>
  595. <item>
  596. <label>외래</label>
  597. <value>O</value>
  598. </item>
  599. <item>
  600. <label>응급</label>
  601. <value>E</value>
  602. </item>
  603. </choices>
  604. <script type="javascript" ev:event="xforms-value-changed">
  605. <![CDATA[
  606. fSrchHDList(); //혈책투석 스케줄 조회
  607. ]]>
  608. </script>
  609. </select1>
  610. <line id="line3" class="line_4" style="x1:1005px; y1:9px; x2:1005px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
  611. <button id="button3" class="btn1_letter4" style="left:1075px; top:7px; width:80px; height:22px; ">
  612. <caption>엑셀저장</caption>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. fSaveExcel(grd_hdschelist);
  616. ]]>
  617. </script>
  618. </button>
  619. <caption id="caption9" class="search_name" style="left:552px; top:9px; width:77px; height:17px; ">SHIFT :</caption>
  620. <select1 id="rdo_shift" ref="/root/main/condition/shift" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:632px; top:10px; width:188px; height:15px; border-style:none; ">
  621. <choices>
  622. <item>
  623. <label>전체</label>
  624. <value>A</value>
  625. </item>
  626. <item>
  627. <label>1</label>
  628. <value>1</value>
  629. </item>
  630. <item>
  631. <label>2</label>
  632. <value>2</value>
  633. </item>
  634. <item>
  635. <label>3</label>
  636. <value>3</value>
  637. </item>
  638. <item>
  639. <label>응급</label>
  640. <value>5</value>
  641. </item>
  642. </choices>
  643. </select1>
  644. <caption id="caption10" class="search_name" style="left:830px; top:10px; width:77px; height:17px; ">내환자 :</caption>
  645. <select1 id="cmb_mypid" ref="/root/main/condition/mypid" class="combo_search" appearance="minimal" nodeset="/root/main/condition/ioflag" style="left:910px; top:8px; width:75px; height:19px; ">
  646. <choices>
  647. <itemset nodeset="/root/init/settingrn/settingrnlist">
  648. <label ref="settingrnnm"/>
  649. <value ref="settingrnid"/>
  650. </itemset>
  651. </choices>
  652. <script type="javascript" ev:event="xforms-value-changed">
  653. <![CDATA[
  654. fSrchHDList(); //혈책투석 스케줄 조회
  655. ]]>
  656. </script>
  657. </select1>
  658. </group>
  659. <line id="line1" class="line_1" style="x1:5px; y1:77px; x2:1179px; y2:77px; "/>
  660. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:674px; width:235px; height:29px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
  661. <caption id="caption4" style="left:15px; top:681px; width:34px; height:17px; background-color:#e1ffe1; "/>
  662. <caption id="caption8" style="left:60px; top:680px; width:172px; height:20px; ">: 입원/외래 전환이 필요한 경우</caption>
  663. <shape id="rectangle1" appearance="rectangle" style="left:15px; top:680px; width:36px; height:17px; "/>
  664. <textarea id="tar_blodprep" ref="/root/main/hdschelist/precondlist/blodpreplist" disabled="false" overflow="scroll" scroll="autovscroll" editable="false" style="left:106px; top:47px; width:764px; height:28px; vertical-align:middle; border-left-width:0; border-top-width:0; border-right-width:0; border-bottom-width:0; "/>
  665. <caption id="caption68" class="search_name" style="left:20px; top:52px; width:90px; height:17px; ">혈액준비 :</caption>
  666. <button id="btn_mywork" class="btn2_letter6" style="left:1085px; top:50px; width:86px; height:19px; ">
  667. <caption>HD worklist</caption>
  668. <script type="javascript" ev:event="DOMActivate">
  669. <![CDATA[
  670. modal("SMMND03400");
  671. ]]>
  672. </script>
  673. </button>
  674. <button id="btn_mypat" class="btn2_letter5" style="left:1005px; top:50px; width:75px; height:19px; ">
  675. <caption>내환자세팅</caption>
  676. <script type="javascript" ev:event="DOMActivate">
  677. <![CDATA[
  678. modal('SMMND03300');
  679. fLoadMyPatSetting();
  680. fSrchHDList();
  681. ]]>
  682. </script>
  683. </button>
  684. <output id="out_jeawon" ref="/root/main/inptcnt/inptcnt" class="output_fix" style="left:955px; top:50px; width:46px; height:19px; text-align:center; ">
  685. <script type="javascript" ev:event="ondblclick">
  686. <![CDATA[
  687. modal("SMMND05300"); //유지환자 중 입원환자리스트로 분기
  688. ]]>
  689. </script>
  690. </output>
  691. <button id="btn_jaewon" class="btn2_letter4" style="left:885px; top:50px; width:64px; height:19px; ">
  692. <caption>재원환자</caption>
  693. <script type="javascript" ev:event="onclick">
  694. <![CDATA[
  695. // 20141229 kya 재원중인 환자건수
  696. var workdd = getCurrentDate();
  697. model.makeValue("/root/send/reqdata/workdd", workdd); //업무일자
  698. var startdd = workdd.toDate().getAddDate(-4,"D").getDateFormat("YYYYMMDD");
  699. model.makeValue("/root/send/reqdata/startdd", startdd); //업무일자
  700. submit("TRMND00106");
  701. model.refresh();
  702. ]]>
  703. </script>
  704. </button>
  705. <group id="group7" visibility="hidden" style="left:290px; top:235px; width:470px; height:50px; background-color:#87CEFA; ">
  706. <caption id="caption12" class="tit_2" style="left:0px; top:5px; width:275px; height:13px; ">환자의 이동방법을 선택하십시오.</caption>
  707. <button id="button10" class="btn5_letter2" navindex="22" style="left:375px; top:25px; width:42px; height:19px; ">
  708. <caption>확인</caption>
  709. <script type="javascript" ev:event="DOMActivate">
  710. <![CDATA[
  711. fGetPatName();
  712. group1.visible = false;
  713. ]]>
  714. </script>
  715. </button>
  716. <button id="button11" class="btn5_letter2" navindex="22" style="left:420px; top:25px; width:42px; height:19px; ">
  717. <caption>취소</caption>
  718. <script type="javascript" ev:event="DOMActivate">
  719. <![CDATA[
  720. group7.visible = false;
  721. ]]>
  722. </script>
  723. </button>
  724. <select1 id="radio3" ref="/root/main/condition/method" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:20px; top:26px; width:345px; height:19px; border-style:none; ">
  725. <choices>
  726. <item>
  727. <label>걸어서(Foot)</label>
  728. <value>Foot</value>
  729. </item>
  730. <item>
  731. <label>휠체어이용(Wheel)</label>
  732. <value>Wheel</value>
  733. </item>
  734. <item>
  735. <label>침대차이용(Car)</label>
  736. <value>Car</value>
  737. </item>
  738. </choices>
  739. <script type="javascript" ev:event="xforms-value-changed">
  740. <![CDATA[
  741. ]]>
  742. </script>
  743. </select1>
  744. </group>
  745. </case>
  746. <case id="case2">
  747. <group id="group5" style="left:5px; top:10px; width:1174px; height:35px; vertical-align:top; ">
  748. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  749. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:89px; height:17px; ">업무일자 :</caption>
  750. <button id="button2" class="btn1_letter2" style="left:721px; top:7px; width:56px; height:22px; ">
  751. <caption>조회</caption>
  752. <script type="javascript" ev:event="DOMActivate">
  753. <![CDATA[
  754. fSrchPDList(); //복막투석 스케줄 조회
  755. ]]>
  756. </script>
  757. </button>
  758. <input id="input1" ref="/root/main/condition/rsrvfromdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:95px; height:19px; ">
  759. <script type="javascript" ev:event="xforms-value-changed">
  760. <![CDATA[
  761. // fSrchPDList(); //복막투석 스케줄 조회
  762. ]]>
  763. </script>
  764. </input>
  765. <caption id="caption7" style="left:207px; top:12px; width:15px; height:17px; ">~</caption>
  766. <input id="input4" ref="/root/main/condition/rsrvtodd" class="input_s_essential" inputtype="date" style="left:225px; top:8px; width:95px; height:19px; ">
  767. <script type="javascript" ev:event="xforms-value-changed">
  768. <![CDATA[
  769. // fSrchPDList(); //복막투석 스케줄 조회
  770. ]]>
  771. </script>
  772. </input>
  773. <line id="line5" class="line_4" style="x1:710px; y1:9px; x2:710px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
  774. <button id="button4" class="btn1_letter4" style="left:1065px; top:7px; width:80px; height:22px; ">
  775. <caption>엑셀저장</caption>
  776. <script type="javascript" ev:event="DOMActivate">
  777. <![CDATA[
  778. fSaveExcel(grd_pdschelist);
  779. ]]>
  780. </script>
  781. </button>
  782. <button id="button5" class="btn1_letter4" style="left:780px; top:7px; width:80px; height:22px; ">
  783. <caption>PD등록</caption>
  784. <script type="javascript" ev:event="DOMActivate">
  785. <![CDATA[
  786. var xpos = event.screenX - 400;
  787. var ypos = event.screenY ;
  788. if(grd_pdschelist.row > 0 ) {
  789. // 상단정보 설정
  790. fsetHngBaseInfo(grd_pdschelist, "P");
  791. }
  792. // PD등록 팝업
  793. modal("SMMND02900", 1, xpos, ypos, "SMMND02900", "/root/main/paminfo/list", "/root/temp");
  794. ]]>
  795. </script>
  796. </button>
  797. <button id="button8" class="btn1_letter4" style="left:863px; top:7px; width:80px; height:22px; ">
  798. <caption>예약정보</caption>
  799. <script type="javascript" ev:event="DOMActivate">
  800. <![CDATA[
  801. var xpos = event.screenX - 400;
  802. var ypos = event.screenY ;
  803. if(grd_pdschelist.row > 0 ) {
  804. // 상단정보 설정
  805. fsetHngBaseInfo(grd_pdschelist, "P");
  806. }
  807. // 예약등록 팝업
  808. // modal("SMMND03000", "", xpos, ypos, "SMMND03000", "/root/main/paminfo/list", "/root/temp");
  809. modal("SMMND03000", 1, xpos, ypos, "SMMND03000", "", "");
  810. fSrchPDList(); //복막투석 스케줄 조회
  811. ]]>
  812. </script>
  813. </button>
  814. <button id="button1" class="btn1_letter7" style="left:946px; top:7px; width:116px; height:22px; ">
  815. <caption>T-Set관리현황</caption>
  816. <script type="javascript" ev:event="DOMActivate">
  817. <![CDATA[
  818. // T-Set관리현황 팝업
  819. open("SMMND02600", 1, 1, 1, "SMMND02600", "", "");
  820. ]]>
  821. </script>
  822. </button>
  823. </group>
  824. <line id="line6" class="line_1" style="x1:5px; y1:55px; x2:1179px; y2:55px; "/>
  825. <datagrid id="grd_pdschelist" nodeset="/root/main/pdschelist/pdscheinfo" class="datagrid2" caption="접수^진행&#xA;상태^특이^특이^특이^혈액^접촉^공기^등록번호^환자명^S/A^구분^진료과^유지구분^유지환자&#xA;등록일자^진료의^처방^희귀^본원투석&#xA;시작일자^최근&#xA;투석일자^예약일자^예약내용^수납^투석종류^투석액&#xA;교환^카테터&#xA;고정^출구&#xA;소독^도관&#xA;길들이기^부종&#xA;확인^T-Set&#xA;교환^교육^보험구분^histstat^orddd^acptseqno^orgorddd^cretno^indd^seqno" colsep="^" colwidth="0, 0, 34, 21, 20, 30, 30, 30, 59, 70, 37, 32, 100, 59, 73, 65, 30, 30, 73, 70, 72, 91, 0, 68, 42, 43, 32, 54, 35, 43, 119, 54, 0, 0, 0, 0, 0, 0, 0, 0, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:60px; width:1174px; height:639px; ">
  826. <col ref="acptyn" type="checkbox"/>
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. var iRow = grd_pdschelist.row;
  830. model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/pid"));
  831. model.makeValue("/root/send/reqdata/orddd" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddd"));
  832. model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddeptcd"));
  833. model.makeValue("/root/send/reqdata/orddrid" , model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddrid"));
  834. if(submit("TRMNO00105")) {
  835. var ebulstat = model.getValue("/root/main/ebulstat/ebulstat/ebulstat");
  836. if(model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/elbulbodstat") == ebulstat) {
  837. if(ebulstat == "2" ) {
  838. messageBox("진료후에는 간호접수를 취소", "E001");
  839. model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "true");
  840. } else {
  841. var stat;
  842. var elbulbodstat;
  843. var curdd = getCurrentDate();
  844. var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+ iRow +"]/orddd");
  845. if(ebulstat == "1") {
  846. if(curdd == orddd) {
  847. model.makeValue("/root/send/reqdata/elbulbodstat", "0");
  848. model.makeValue("/root/send/reqdata/nursacptyn", "N");
  849. stat = "";
  850. elbulbodstat = "0";
  851. } else {
  852. messageBox("과접수 취소를 ", "E001");
  853. model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "true");
  854. grd_pdschelist.rebuild();
  855. }
  856. } else {
  857. if(curdd == orddd) {
  858. model.makeValue("/root/send/reqdata/elbulbodstat", "1");
  859. model.makeValue("/root/send/reqdata/nursacptyn", "Y");
  860. stat ="대기";
  861. elbulbodstat = "1";
  862. } else {
  863. messageBox("과접수를 ", "E001");
  864. model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/acptyn", "false");
  865. grd_pdschelist.rebuild();
  866. return;
  867. }
  868. }
  869. model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddd"));
  870. model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddeptcd"));
  871. model.makeValue("/root/send/reqdata/orddrid", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/orddrid"));
  872. model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/pid"));
  873. if(submit("TXMNO00100")) {
  874. model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/prcsflag", stat);
  875. model.setValue("/root/main/pdschelist/pdscheinfo[" + iRow + "]/elbulbodstat", elbulbodstat);
  876. }
  877. }
  878. }
  879. else {
  880. messageBox("다시조회하겠습니다. 현재 전광판의 상태가 ", "E004");
  881. btn_srchhdpatinfo.dispatch("DOMActivate");
  882. return;
  883. }
  884. }
  885. ]]>
  886. </script>
  887. <col ref="prcsflag" style="text-align:center; "/>
  888. <col ref="fnexamyn" style="text-align:center; "/>
  889. <col ref="vipyn" style="text-align:center; "/>
  890. <col ref="spcffactyn" style="text-align:center; "/>
  891. <col ref="disp1"/>
  892. <col ref="disp2"/>
  893. <col ref="disp3"/>
  894. <col ref="pid" style="text-align:center; "/>
  895. <col ref="hngnm" style="text-align:center; "/>
  896. <col ref="sexage" style="text-align:center; "/>
  897. <col ref="ioflag" style="text-align:center; "/>
  898. <col ref="orddeptnm"/>
  899. <col disabled="true" ref="matnflag" type="combo" style="text-align:center; ">
  900. <choices>
  901. <item>
  902. <label>유지</label>
  903. <value>1</value>
  904. </item>
  905. <item>
  906. <label>전원</label>
  907. <value>2</value>
  908. </item>
  909. <item>
  910. <label>사망</label>
  911. <value>3</value>
  912. </item>
  913. <item>
  914. <label>신장이식</label>
  915. <value>4</value>
  916. </item>
  917. <item>
  918. <label>전환</label>
  919. <value>5</value>
  920. </item>
  921. <item>
  922. <label>취소</label>
  923. <value>X</value>
  924. </item>
  925. </choices>
  926. </col>
  927. <col ref="maintepatrgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  928. <col ref="drnm" style="text-align:center; "/>
  929. <col ref="prcpflag" style="text-align:center; "/>
  930. <col ref="rooasignyn" style="text-align:center; "/>
  931. <col ref="roothospdialfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  932. <col ref="rectdialdd" format="yyyy-mm-dd" style="text-align:center; "/>
  933. <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  934. <col ref="rsrvcnts" style="text-align:center; "/>
  935. <col ref="rcptflag" style="text-align:center; "/>
  936. <col ref="dialkindflag" style="text-align:center; "/>
  937. <col ref="dialblodyn" style="text-align:center; "/>
  938. <col ref="catefixyn" style="text-align:center; "/>
  939. <col ref="dinfyn" style="text-align:center; "/>
  940. <col ref="pipeyn" style="text-align:center; "/>
  941. <col ref="edemacnfmyn" style="text-align:center; "/>
  942. <col ref="tsetyn" style="text-align:center; "/>
  943. <col ref="educnts" style="text-align:center; "/>
  944. <col ref="insunm"/>
  945. <col ref="histstat"/>
  946. <col ref="orddd"/>
  947. <col ref="acptseqno"/>
  948. <col ref="orgorddd"/>
  949. <col ref="cretno"/>
  950. <col ref="indd"/>
  951. <col ref="seqno"/>
  952. <col ref="rgstno" visibility="hidden"/>
  953. <col ref="roomcd" visibility="hidden"/>
  954. <col ref="medamtpostyn" visibility="hidden"/>
  955. <script type="javascript" ev:event="ondblclick">
  956. <![CDATA[
  957. if (grd_pdschelist.row > 0) {
  958. fsetHngBaseInfo(grd_pdschelist, "P");
  959. //2012.08.14 by kya, 감염상세정보 보여주기
  960. if (grd_pdschelist.col == grd_pdschelist.colRef("disp1")){
  961. model.makeValue("/root/send/infection", "B");
  962. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  963. }else if (grd_pdschelist.col == grd_pdschelist.colRef("disp2")){
  964. model.makeValue("/root/send/infection", "C");
  965. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  966. }else if (grd_pdschelist.col == grd_pdschelist.colRef("disp3")){
  967. model.makeValue("/root/send/infection", "A");
  968. open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  969. }
  970. }
  971. ]]>
  972. </script>
  973. <script type="javascript" ev:event="onmousedown">
  974. <![CDATA[
  975. if (grd_pdschelist.mouseRow > 0) {
  976. fSubMenu("P"); // PD메인 오른쪽 버튼기능
  977. }
  978. ]]>
  979. </script>
  980. <script type="javascript" ev:event="DOMFocusOut">
  981. <![CDATA[
  982. window.setPopupMenu(false);
  983. ]]>
  984. </script>
  985. </datagrid>
  986. <group id="group8" visibility="hidden" style="left:290px; top:235px; width:470px; height:50px; background-color:#87CEFA; ">
  987. <caption id="caption13" class="tit_2" style="left:0px; top:5px; width:275px; height:13px; ">환자의 이동방법을 선택하십시오.</caption>
  988. <button id="button12" class="btn5_letter2" navindex="22" style="left:375px; top:25px; width:42px; height:19px; ">
  989. <caption>확인</caption>
  990. <script type="javascript" ev:event="DOMActivate">
  991. <![CDATA[
  992. fGetPatName();
  993. group1.visible = false;
  994. ]]>
  995. </script>
  996. </button>
  997. <button id="button13" class="btn5_letter2" navindex="22" style="left:420px; top:25px; width:42px; height:19px; ">
  998. <caption>취소</caption>
  999. <script type="javascript" ev:event="DOMActivate">
  1000. <![CDATA[
  1001. group8.visible = false;
  1002. ]]>
  1003. </script>
  1004. </button>
  1005. <select1 id="radio1" ref="/root/main/condition/method" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:20px; top:26px; width:345px; height:19px; border-style:none; ">
  1006. <choices>
  1007. <item>
  1008. <label>걸어서(Foot)</label>
  1009. <value>Foot</value>
  1010. </item>
  1011. <item>
  1012. <label>휠체어이용(Wheel)</label>
  1013. <value>Wheel</value>
  1014. </item>
  1015. <item>
  1016. <label>침대차이용(Car)</label>
  1017. <value>Car</value>
  1018. </item>
  1019. </choices>
  1020. <script type="javascript" ev:event="xforms-value-changed">
  1021. <![CDATA[
  1022. ]]>
  1023. </script>
  1024. </select1>
  1025. </group>
  1026. </case>
  1027. </switch>
  1028. <group id="group6" visibility="hidden" style="left:520px; top:5px; width:189px; height:50px; background-color:#87CEFA; ">
  1029. <caption id="caption11" class="tit_2" style="left:0px; top:5px; width:188px; height:14px; ">출력할 장수를 입력하십시오.</caption>
  1030. <input id="ipt_patcntctel" ref="/root/main/printcnt" class="input_default" navindex="9" maxlength="5" format="###" style="left:27px; top:25px; width:60px; height:19px; ">
  1031. <!--
  1032. <script type="javascript" ev:event="onkeydown">
  1033. <![CDATA[
  1034. if( event.keyCode == 13 ) {
  1035. model.setFocus("btn_prtlabel");
  1036. prtcnt = ipt_patcntctel.value;
  1037. fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef);
  1038. group1.visible = false;
  1039. }else if( event.keyCode == 27) {
  1040. group1.visible = false;
  1041. }
  1042. ]]>
  1043. </script>
  1044. -->
  1045. <script type="javascript" ev:event="onkeyup">
  1046. <![CDATA[
  1047. inputEnterKey("btn_prtlabel", "DOMActivate");
  1048. ]]>
  1049. </script>
  1050. </input>
  1051. <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:90px; top:25px; width:42px; height:19px; ">
  1052. <caption>확인</caption>
  1053. <script type="javascript" ev:event="DOMActivate">
  1054. <![CDATA[
  1055. var sDialFlag = model.getValue("/root/temp/dialflag");
  1056. if(sDialFlag == "H"){ //혈액
  1057. var pid = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/pid");
  1058. var patnm = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/hngnm");
  1059. var sexage = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/sexage");
  1060. var rgstno = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/rgstno");
  1061. var ioflag = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/histstat");
  1062. var roomcd = "";
  1063. if(ioflag == "O"){
  1064. var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/orddd");
  1065. }else{
  1066. var orddd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/indd");
  1067. roomcd = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/roomcd");
  1068. }
  1069. var orddeptnm = model.getValue("/root/main/hdschelist/hdscheinfo["+grd_hdschelist.row+"]/orddeptnm");
  1070. }else if(sDialFlag == "P"){ //복막
  1071. var pid = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/pid");
  1072. var patnm = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/hngnm");
  1073. var sexage = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/sexage");
  1074. var rgstno = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/rgstno");
  1075. var ioflag = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/histstat");
  1076. var roomcd = "";
  1077. if(ioflag == "O"){
  1078. var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/orddd");
  1079. }else{
  1080. var orddd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/indd");
  1081. roomcd = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/roomcd");
  1082. }
  1083. var orddeptnm = model.getValue("/root/main/pdschelist/pdscheinfo["+grd_pdschelist.row+"]/orddeptnm");
  1084. }
  1085. var prtcnt = ipt_patcntctel.value;
  1086. // 환자 정보 라벨 출력
  1087. // fCarePatLabel(pid, patnm, sexage, rgstno, orddd, prtcnt, scrnid, barcdRef); // CareCom.js
  1088. if(prtcnt > 0){
  1089. //1. 바코드 라벨 설정값 조회
  1090. //var scrnid = "SMMNR00600";
  1091. var scrnid = "SMMNR00600";
  1092. model.removeNodeset("/root/main/barcdprntsetup");
  1093. fGetBarCodeInfo(scrnid); // CareCom.js
  1094. //2. 바코드 라벨 환경설정
  1095. var barcdRef = "/root/main/barcdprntsetup/prntsetupinfo/setupinfo";
  1096. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef); //LZZ001.js
  1097. var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
  1098. //3. 환자라벨출력
  1099. fPrtCarePatNameLabel(barcdRef, pid,roomcd, patnm, sexage, rgstno, orddd, orddeptnm, prtcnt, portOpenTF); //CareCom.js
  1100. }
  1101. group6.visible = false;
  1102. ]]>
  1103. </script>
  1104. </button>
  1105. <button id="button9" class="btn5_letter2" navindex="22" style="left:135px; top:25px; width:42px; height:19px; ">
  1106. <caption>취소</caption>
  1107. <script type="javascript" ev:event="DOMActivate">
  1108. <![CDATA[
  1109. model.makeValue("/root/main_nm/printcnt","1");
  1110. group6.visible = false;
  1111. ]]>
  1112. </script>
  1113. </button>
  1114. </group>
  1115. </group>
  1116. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  1117. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1118. </group>
  1119. <shape id="rectangle3" appearance="rectangle" style="left:254px; top:25px; width:20px; height:15px; background-color:#ffff00; "/>
  1120. <caption id="caption27" style="left:279px; top:25px; width:86px; height:15px; ">V 진료비후불</caption>
  1121. </xhtml:body>
  1122. </xhtml:html>