SMMNF04300_퇴원시 가정간호 의뢰 간호기록.xrw 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256
  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. <pid/>
  12. <hngnm/>
  13. <recdt/>
  14. <recid/>
  15. <recnm/>
  16. </cond>
  17. <dschwundstatinfo>
  18. <dschwundstatlist/>
  19. </dschwundstatinfo>
  20. <dschtoolstatinfo>
  21. <dschtoolstatlist/>
  22. </dschtoolstatinfo>
  23. <dschpatinfo>
  24. <dschpatinfo>
  25. <cscsstat>01</cscsstat>
  26. <emotstat>01</emotstat>
  27. <dschmthd>01</dschmthd>
  28. <dschgoplac>01</dschgoplac>
  29. <minbp/>
  30. <pr/>
  31. <rr/>
  32. <bt/>
  33. <diet>01</diet>
  34. <actscop>01</actscop>
  35. <bath>01</bath>
  36. <carednor>02</carednor>
  37. <dschmthdetc/>
  38. <dschgoplacetc/>
  39. <curediet/>
  40. <dietetc/>
  41. <bathetc/>
  42. <carednoryes/>
  43. <dschcaulist/>
  44. <patinfo>
  45. <patYN/>
  46. </patinfo>
  47. <signno/>
  48. <maxbp/>
  49. <newElement/>
  50. <recdt/>
  51. <recid/>
  52. <recnm/>
  53. </dschpatinfo>
  54. <wundynlist>
  55. <part/>
  56. <sizenval/>
  57. <pid/>
  58. <indd/>
  59. <orddeptcd/>
  60. <recseq/>
  61. <instcd/>
  62. <dschdt/>
  63. </wundynlist>
  64. </dschpatinfo>
  65. </main>
  66. <send>
  67. <signinfo>
  68. <req/>
  69. </signinfo>
  70. <savedata/>
  71. <deredata/>
  72. <itemdata/>
  73. </send>
  74. <init>
  75. <cond/>
  76. <patnm>
  77. <patnm>
  78. <hngnm/>
  79. </patnm>
  80. </patnm>
  81. <cnstinfo>
  82. <cnstinfo>
  83. <pid/>
  84. </cnstinfo>
  85. <cnfmcnstinfo>
  86. <pid/>
  87. </cnfmcnstinfo>
  88. </cnstinfo>
  89. </init>
  90. <hidden>
  91. <existinfo/>
  92. <vitalsigninfo>
  93. <vitalsigninfo>
  94. <MINBP/>
  95. <PR/>
  96. <RR/>
  97. <BT/>
  98. <MAXBP/>
  99. </vitalsigninfo>
  100. </vitalsigninfo>
  101. <dschcareinfo/>
  102. <cond/>
  103. <codelist>
  104. <!-- 그리드 팝업 원인 인스턴스 -->
  105. <getVOCause>
  106. <cd/>
  107. <cdnm/>
  108. </getVOCause>
  109. <!-- 그리드 팝업 단계 인스턴스 -->
  110. <getVOStage>
  111. <cd/>
  112. <cdnm/>
  113. </getVOStage>
  114. <!-- 그리드 팝업 기저부색 인스턴스 -->
  115. <getVOColor>
  116. <cd/>
  117. <cdnm/>
  118. </getVOColor>
  119. <!-- 그리드 콤보 단계, 삼출물 상태 인스턴스 -->
  120. <getVOState>
  121. <cd/>
  122. <cdnm/>
  123. </getVOState>
  124. <!-- 그리드 콤보 삼출물 양 인스턴스 -->
  125. <getVOAmount>
  126. <cd/>
  127. <cdnm/>
  128. </getVOAmount>
  129. <!-- 그리드 팝업 상처감염증상 인스턴스 -->
  130. <getVOSympTom>
  131. <cd/>
  132. <cdnm/>
  133. </getVOSympTom>
  134. <!-- 그리드 팝업 Undermining 인스턴스 -->
  135. <getVOAngle>
  136. <cd/>
  137. <cdnm/>
  138. </getVOAngle>
  139. <!-- 그리드 팝업 Dressing 인스턴스 -->
  140. <getVODressing>
  141. <cd/>
  142. <cdnm/>
  143. </getVODressing>
  144. </codelist>
  145. </hidden>
  146. </root>
  147. </instance>
  148. <script type="javascript" ev:event="xforms-ready">
  149. <![CDATA[
  150. //메뉴에서 화면 호출시
  151. if(isNull(model.getValue("/root/hidden/cond/pid")) || (model.getValue("/root/hidden/cond/main") != "HomeCareMain")){
  152. // menuparameter = getScreenMenuParameter(); // 메뉴Parameter정보를 반환한다. commom.js
  153. // 그리드에서 마우스오른쪽 메뉴> 퇴원정리> 가정간호 버튼 눌렀을때 인증저장 버튼 안 보이고 조회가 안되서 수정 2009.06.24 황혜민
  154. // if(isNll(menuparameter)){ // 위에 메뉴를 통해들어왓을때
  155. // model.makeValue("/root/temp/menuparameter",'1');
  156. // }else{ // 그리드에서 마우스오른쪽 메뉴> 퇴원정리> 가정간호 버튼 눌렀을때
  157. // btn_tmp.visible = false;
  158. // btn_sign.visible = false;
  159. // }
  160. model.makeValue("/root/temp/menuparameter",'1');
  161. // 3090100000 가정간호팀-->2361000000 가정간호센터로 변경 (2009.02.17)
  162. //if (( getUserInfo("dutplcecd") == "2361000000" ) ||( getUserInfo("dutplcecd") == "1000000000" )) {
  163. // 가정간호센터(2361000000)에서 가정간호팀(3090100000)로 변경 2009.03.27
  164. // if (( getUserInfo("dutplcecd") == "3090100000" ) ||( getUserInfo("dutplcecd") == "1000000000" )) {
  165. if (( getUserInfo("dutplcecd") == "3090000000" ) ) { // 가정간호팀(3090100000)에서 가정간호사실(3090000000)로 변경 2012.01.31_손성훈
  166. btn_tmp.visible = false;
  167. btn_sign.visible = false;
  168. }
  169. var ret = fInitialize();
  170. if (ret == -1) {
  171. window.close();
  172. }
  173. }else{
  174. model.makeValue("/root/temp/menuparameter",'');
  175. btn_tmp.visible = false;
  176. btn_sign.visible = false;
  177. ipt_pid.disabled = true;
  178. input7.disabled = true;
  179. input1.disabled = true;
  180. var ret = fInitialize();
  181. if (ret == -1) {
  182. window.close();
  183. }
  184. }
  185. ]]>
  186. </script>
  187. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  188. <submission id="TRMNF04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/vitalsigninfo"/>
  189. <submission id="TXMNF04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  190. <submission id="TRMNF04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dschpatinfo"/>
  191. <submission id="TRMNF04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/dschcareinfo"/>
  192. <submission id="TRMNF04304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/init/cnstinfo"/>
  193. <submission id="TRMNF04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dschwundstatinfo"/>
  194. <submission id="TRMNF04306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dschtoolstatinfo"/>
  195. <!-- 피부욕창관찰기록 콤보 공통코드 조회 submission -->
  196. <submission id="TRMNW04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/codelist"/>
  197. </model>
  198. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  199. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  200. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  201. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  202. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  203. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  204. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  205. <script type="javascript">
  206. <![CDATA[
  207. function fInitialize(){
  208. model.removeNodeset("/root/main/dschpatinfo");
  209. model.removeNodeset("/root/main/dscheducinfo");
  210. model.removeNodeset("/root/main/dschpatinpt");
  211. model.removeNodeset("/root/main/dscheducinpt");
  212. model.removeNodeset("/root/main/dschpatinfo/wundynlist");
  213. //욕창기록 공통코드 조회
  214. submit("TRMNW04701");
  215. if(model.getValue("/root/temp/menuparameter") == '1'){
  216. model.makeNode("/root/init/cond");
  217. var paminfo = getGlobalVariable("paminfo");
  218. setCSVToNode("/root/init/cond", paminfo);
  219. var rtn = "";
  220. var pid = model.getValue("/root/init/cond/list/pid");
  221. if(pid == "") {
  222. var vbOK = messageBox("환자를 선택하지 ", "E007");
  223. if(vbOK == "1"){
  224. // 화면 닫기
  225. return -1;
  226. }
  227. }
  228. model.makeValue("/root/send/req/pid" , model.getValue("/root/init/cond/list/pid"));
  229. model.makeValue("/root/send/req/indd", model.getValue("/root/init/cond/list/indd"));
  230. model.makeValue("/root/send/req/orddd", model.getValue("/root/init/cond/list/indd"));
  231. model.makeValue("/root/send/req/orddeptcd", model.getValue("/root/init/cond/list/orddeptcd"));
  232. model.makeValue("/root/send/req/orddrid", model.getValue("/root/init/cond/list/medispclid"));
  233. model.makeValue("/root/send/req/instcd", model.getValue("/root/init/cond/list/instcd"));
  234. model.makeValue("/root/send/req/cretno" , model.getValue("/root/init/cond/list/cretno"));
  235. //컨설트 정보를 조회
  236. submit("TRMNF04304");
  237. var cnstYN = model.getValue("/root/init/cnstinfo/cnstinfo/pid");
  238. var cnfmYN = model.getValue("/root/init/cnstinfo/cnfmcnstinfo/pid");
  239. // 가정간호센터(2361000000)에서 가정간호팀(3090100000)로 변경 2009.03.27
  240. //if( (getUserInfo("dutplcecd") == "2361000000") ||( getUserInfo("dutplcecd") == "1000000000" )){
  241. // 가정간호팀(3090100000)에서 가정간호사실(3090000000)로 변경 2012.01.31_손성훈
  242. if( (getUserInfo("dutplcecd") == "3090000000") ||( getUserInfo("dutplcecd") == "1000000000" )){ // 가정간호팀이나 근무지가 병원인 사용자 경우
  243. if(isNull(cnstYN)){
  244. var vbOK = messageBox("컨설트 의뢰가 이루어지지", "E007");
  245. if(vbOK == "1") return -1; // 화면 닫기
  246. }
  247. }else{ // 병동에서 작성할 경우
  248. if(!isNull(cnfmYN)){
  249. var vbOK = messageBox("가정간호 의뢰가 확정되었습니다. 퇴원시 가정간호 의뢰 간호기록을 작성", "E001"); //할수없습니다
  250. if(vbOK == "1") btn_sign.visible = false; // 화면 닫기
  251. }else if(isNull(cnstYN)){
  252. var vbOK = messageBox("컨설트 의뢰가 이루어지지", "E007");
  253. if(vbOK == "1") return -1; // 화면 닫기
  254. }
  255. }
  256. var dschdclrtyn = model.getValue("/root/init/cond/list/dschdclrtyn"); //의사퇴원예고여부(Y/N)
  257. var indschacptstat = model.getValue("/root/init/cond/list/indschacptstat "); // 'A'재원, 'T'가퇴원, 'D' 퇴원 삭제
  258. if((dschdclrtyn == 'N') && (indschacptstat != 'A')) {
  259. messageBox("퇴원예고가 이루어지지", "E007");
  260. return -1;
  261. }
  262. indd = model.getValue("/root/init/cond/list/indd");
  263. instcd = model.getValue("/root/init/cond/list/instcd");
  264. orddeptcd = model.getValue("/root/init/cond/list/orddeptcd");
  265. cretno = model.getValue("/root/init/cond/list/cretno");
  266. model.makeValue("/root/send/req/pid", pid);
  267. model.makeValue("/root/send/req/indd", indd);
  268. model.makeValue("/root/send/req/orddd", indd);
  269. model.makeValue("/root/send/req/orddeptcd", orddeptcd);
  270. model.makeValue("/root/send/req/instcd", instcd);
  271. model.makeValue("/root/send/req/recflag", "01");
  272. model.makeValue("/root/send/req/cretno", cretno);
  273. }else{
  274. var pid = model.getValue("/root/hidden/cond/pid");
  275. var indd = model.getValue("/root/hidden/cond/indd");
  276. var instcd = model.getValue("/root/hidden/cond/instcd");
  277. var orddeptcd = model.getValue("/root/hidden/cond/orddeptcd");
  278. var cretno = model.getValue("/root/hidden/cond/cretno");
  279. var dschdt = model.getValue("/root/hidden/cond/dschdt");
  280. model.makeValue("/root/send/req/pid", pid);
  281. model.makeValue("/root/send/req/indd", indd);
  282. model.makeValue("/root/send/req/orddd", indd);
  283. model.makeValue("/root/send/req/orddeptcd", orddeptcd);
  284. model.makeValue("/root/send/req/instcd", instcd);
  285. model.makeValue("/root/send/req/recflag", "01");
  286. model.makeValue("/root/send/req/cretno", cretno);
  287. model.makeValue("/root/send/req/dschdt", dschdt);
  288. }
  289. //로컬 개발.
  290. // model.makeValue("/root/send/req/pid", "13716169");
  291. // model.makeValue("/root/send/req/indd", "20080211");
  292. // model.makeValue("/root/send/req/orddeptcd", "2060000000");
  293. // model.makeValue("/root/send/req/cretno", "");
  294. // model.makeValue("/root/send/req/instcd", "012");
  295. // model.makeValue("/root/send/req/recflag", "01");
  296. if(submit("TRMNF04302")){ // 퇴원시 가정간호의뢰 기록에 있는 데이터 조회
  297. model.setValue("/root/main/cond/recdt",model.getValue("/root/main/dschpatinfo/dschpatinfo/recdt"));
  298. model.setValue("/root/main/cond/recid",model.getValue("/root/main/dschpatinfo/dschpatinfo/recid"));
  299. model.setValue("/root/main/cond/recnm",model.getValue("/root/main/dschpatinfo/dschpatinfo/recnm"));
  300. model.setValue("/root/main/cond/pid", model.getValue("/root/send/req/pid"));
  301. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '99'){
  302. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc"));
  303. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", "");
  304. }else if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '02'){
  305. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc"));
  306. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", "");
  307. }
  308. rdo_diet.dispatch("xforms-value-changed"); // 퇴원교육에 식이값 변경
  309. }
  310. // 퇴원시 가정간호의뢰 기록 작성 유무 YN
  311. var patYN = model.getValue("/root/main/dschpatinfo/patinfo/patYN");
  312. //욕창기록 조회
  313. submit("TRMNF04305");
  314. //기구 및 삽관 기록 조회
  315. submit("TRMNF04306");
  316. //조회시 테이블에 존재하는지 확인을 위해
  317. //if ( getUserInfo("dutplcecd") == "3090100000" || getUserId() == "ENR" ){
  318. // 가정간호센터(2361000000)에서 가정간호팀(3090100000)로 변경 2009.03.27
  319. //if( (getUserInfo("dutplcecd") == "2361000000") ||( getUserInfo("dutplcecd") == "1000000000" )){
  320. // 사용자가 실제 근무하고 있는 기관의 근무하고 있는 근무지가 '병원' 인 사람
  321. //if( (getUserInfo("dutplcecd") == "3090100000") ||( getUserInfo("dutplcecd") == "1000000000" )){
  322. // 가정간호팀(3090100000)에서 가정간호사실(3090000000)로 변경 2012.01.31_손성훈
  323. if( (getUserInfo("dutplcecd") == "3090000000") ){
  324. if(patYN == 'N'){ // 퇴원시 가정간호의뢰 기록이 없으면
  325. model.makeValue("/root/main/dschpatinfo/dschpatinfo/cscsstat", '01'); // 의식상태
  326. model.makeValue("/root/main/dschpatinfo/dschpatinfo/emotstat", '01'); // 정서상태
  327. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschmthd", '01'); // 퇴원방법
  328. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac", '01'); // 퇴원 후 갈 곳
  329. model.makeValue("/root/main/dschpatinfo/dschpatinfo/diet", '01'); // 식이
  330. model.makeValue("/root/main/dschpatinfo/dschpatinfo/actscop", '01'); // 활동범위
  331. model.makeValue("/root/main/dschpatinfo/dschpatinfo/bath", '01'); // 목욕
  332. model.makeValue("/root/main/dschpatinfo/dschpatinfo/carednor", '02'); // 간호제공자
  333. model.makeValue("/root/send/signinfo/status", 'i');
  334. }else{ // 퇴원시 가정간호의뢰 기록이 있으면
  335. model.makeValue("/root/send/signinfo/status", 'u');
  336. }
  337. btn_tmp.visible = false;
  338. btn_sign.visible = false;
  339. }else { // 병동에서 기록을 작성하는 경우
  340. if(patYN == 'N'){ // 퇴원시 가정간호의뢰 기록이 없으면
  341. model.makeValue("/root/send/signinfo/status", 'i');
  342. if(submit("TRMNF04303")){
  343. model.makeValue("/root/main/dschpatinfo/dschpatinfo/cscsstat", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/cscsstatcd"));
  344. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschmthd", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschmthdcd"));
  345. if(model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschmthdcd") == '06'){ // 퇴원방법
  346. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschmthd", '99');
  347. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschmthdetc", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschmthdnm"));
  348. }
  349. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschgoplaccd"));
  350. if(model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschgoplaccd") == '04'){
  351. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac", '99');
  352. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschgoplacetc", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschgoplacnm"));
  353. }
  354. model.makeValue("/root/main/dschpatinfo/dschpatinfo/diet", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd"));
  355. if(model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd") == '04'){
  356. model.makeValue("/root/main/dschpatinfo/dschpatinfo/diet", '99');
  357. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm"));
  358. }else if(model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd") == '02'){
  359. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet"));
  360. }
  361. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet"));
  362. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm"));
  363. model.makeValue("/root/main/dschpatinfo/dschpatinfo/actscop", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/actscop"));
  364. model.makeValue("/root/main/dschpatinfo/dschpatinfo/bath", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd"));
  365. if(model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd") == '07'){
  366. model.makeValue("/root/main/dschpatinfo/dschpatinfo/bath", '99');
  367. model.makeValue("/root/main/dschpatinfo/dschpatinfo/bathetc", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathnm"));
  368. }
  369. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/carednor", '02');
  370. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/cscsstat", '01');
  371. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/emotstat", '01');
  372. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschmthd", '01');
  373. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac", '01');
  374. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/diet", '01');
  375. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/actscop", '01');
  376. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/bath", '01');
  377. // model.makeValue("/root/main/dschpatinfo/dschpatinfo/carednor", '02');
  378. model.setValue("/root/main/cond/recdt", getCurrentDate());
  379. model.setValue("/root/main/cond/pid", model.getValue("/root/send/req/pid"));
  380. model.setValue("/root/main/cond/recid", getUserId());
  381. model.setValue("/root/main/cond/recnm", getUserName());
  382. }
  383. }else{ // 퇴원시 가정간호의뢰 기록이 있으면
  384. model.makeValue("/root/send/signinfo/status", 'u');
  385. }
  386. }
  387. rdo_dschmthd.dispatch("xforms-value-changed");
  388. rdo_dschgoplac.dispatch("xforms-value-changed");
  389. rdo_diet.dispatch("xforms-value-changed");
  390. rdo_bath.dispatch("xforms-value-changed");
  391. rdo_carednor.dispatch("xforms-value-changed");
  392. ipt_pid.dispatch("xforms-value-changed");
  393. //환자 정보 조회
  394. btn_reqpatnm.dispatch("DOMActivate");
  395. }
  396. // 인증저장할 데이터 생성
  397. function fSetDschInfo(certflag) {
  398. //상처유뮤 저장
  399. var wundynlist = getGridUpdateData(grd_wundynlist);
  400. model.setValue("/root/send/savedata", wundynlist);
  401. //욕창상태 저장
  402. var derenodeList = instance1.selectNodes("/root/main/dschwundstatinfo/dschwundstatlist[homecareyn='Y']");
  403. model.setValue("/root/send/deredata", getNodeListCSV(derenodeList) );
  404. //욕창상태 저장
  405. var itemnodeList = instance1.selectNodes("/root/main/dschtoolstatinfo/dschtoolstatlist[homecareyn='Y']");
  406. model.setValue("/root/send/itemdata", getNodeListCSV(itemnodeList) );
  407. model.makeValue("/root/send/signinfo/pid", model.getValue("/root/main/cond/pid"));
  408. model.makeValue("/root/send/signinfo/hngnm", model.getValue("/root/main/cond/hngnm"));
  409. model.makeValue("/root/send/signinfo/recdt", model.getValue("/root/main/cond/recdt"));
  410. model.makeValue("/root/send/signinfo/recid", model.getValue("/root/main/cond/recid"));
  411. model.makeValue("/root/send/signinfo/recnm", model.getValue("/root/main/cond/recnm"));
  412. //model.makeValue("/root/send/indd", model.getValue("/root/init/cond/list/indd"));
  413. model.makeValue("/root/send/signinfo/indd", model.getValue("/root/init/cond/list/indd"));
  414. model.makeValue("/root/send/signinfo/orddeptcd", model.getValue("/root/init/cond/list/orddeptcd"));
  415. model.makeValue("/root/send/signinfo/instcd", model.getValue("/root/init/cond/list/instcd"));
  416. model.makeValue("/root/send/signinfo/dschdt", model.getValue("/root/init/cond/list/dschdclrdt"));
  417. model.makeValue("/root/send/signinfo/cscsstat", model.getValue("/root/main/dschpatinfo/dschpatinfo/cscsstat")); // 의식상태
  418. model.makeValue("/root/send/signinfo/emotstat", model.getValue("/root/main/dschpatinfo/dschpatinfo/emotstat")); // 정서상태
  419. model.makeValue("/root/send/signinfo/dschmthd", model.getValue("/root/main/dschpatinfo/dschpatinfo/dschmthd")); // 퇴원방법
  420. model.makeValue("/root/send/signinfo/dschgoplac", model.getValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac")); // 퇴원 후 갈 곳
  421. model.makeValue("/root/send/signinfo/minbp", model.getValue("/root/main/dschpatinfo/dschpatinfo/minbp"));
  422. model.makeValue("/root/send/signinfo/maxbp", model.getValue("/root/main/dschpatinfo/dschpatinfo/maxbp"));
  423. model.makeValue("/root/send/signinfo/pr", model.getValue("/root/main/dschpatinfo/dschpatinfo/pr"));
  424. model.makeValue("/root/send/signinfo/rr", model.getValue("/root/main/dschpatinfo/dschpatinfo/rr"));
  425. model.makeValue("/root/send/signinfo/bt", model.getValue("/root/main/dschpatinfo/dschpatinfo/bt"));
  426. model.makeValue("/root/send/signinfo/diet", model.getValue("/root/main/dschpatinfo/dschpatinfo/diet")); // 식이
  427. model.makeValue("/root/send/signinfo/actscop", model.getValue("/root/main/dschpatinfo/dschpatinfo/actscop")); // 활동범위
  428. model.makeValue("/root/send/signinfo/bath", model.getValue("/root/main/dschpatinfo/dschpatinfo/bath")); // 목욕
  429. model.makeValue("/root/send/signinfo/carednor", model.getValue("/root/main/dschpatinfo/dschpatinfo/carednor")) // 간호제공자;
  430. model.makeValue("/root/send/signinfo/dschmthdetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/dschmthdetc"));
  431. model.makeValue("/root/send/signinfo/dschgoplacetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/dschgoplacetc"));
  432. // 통합기록조회에서 인증저장된 데이터 불러올때 코드값을 불어와서 value값 추가 (2010.02.19 hhm)
  433. model.makeValue("/root/send/signinfo/cscsstatnm", rdo_cscsstat.label); // 의식상태
  434. model.makeValue("/root/send/signinfo/emotstatnm", rdo_emotstat.label); // 정서상태
  435. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/dschmthd") == '99'){ // 기타를 선택한 경우
  436. model.makeValue("/root/send/signinfo/dschmthdnm", rdo_dschmthd.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/dschmthdetc")); // 퇴원방법
  437. }else{
  438. model.makeValue("/root/send/signinfo/dschmthdnm", rdo_dschmthd.label); // 퇴원방법
  439. }
  440. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/dschgoplac") == '99'){ // 퇴원 후 갈 곳: 기타를 선택한 경우
  441. model.makeValue("/root/send/signinfo/dschgoplacnm", rdo_dschgoplac.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/dschgoplacetc")); // 퇴원 후 갈 곳
  442. }else{
  443. model.makeValue("/root/send/signinfo/dschgoplacnm", rdo_dschgoplac.label); // 퇴원 후 갈 곳
  444. }
  445. model.makeValue("/root/send/signinfo/actscopnm", rdo_actscop.label); // 활동범위
  446. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '99'){
  447. model.makeValue("/root/send/signinfo/dietetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc"));
  448. model.makeValue("/root/send/signinfo/dietnm", rdo_diet.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc")); // 식이- 기타일 경우
  449. }else if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '02'){
  450. model.makeValue("/root/send/signinfo/dietetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/curediet"));
  451. model.makeValue("/root/send/signinfo/dietnm", rdo_diet.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/curediet")); // 식이- 치료식일 경우
  452. }else{
  453. model.makeValue("/root/send/signinfo/dietnm", rdo_diet.label); // 식이
  454. }
  455. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/bath") == '99'){
  456. model.makeValue("/root/send/signinfo/bathnm", rdo_bath.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/bathetc") ); // 목욕
  457. }else{
  458. model.makeValue("/root/send/signinfo/bathnm", rdo_bath.label);
  459. }
  460. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/carednor") == '01'){ // 간호제공자 - 유
  461. model.makeValue("/root/send/signinfo/carednornm", rdo_carednor.label + " : " + model.getValue("/root/main/dschpatinfo/dschpatinfo/carednoryes")) // 간호제공자;
  462. }else{
  463. model.makeValue("/root/send/signinfo/carednornm", rdo_carednor.label);
  464. }
  465. model.makeValue("/root/send/signinfo/bathetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/bathetc"));
  466. model.makeValue("/root/send/signinfo/carednoryes", model.getValue("/root/main/dschpatinfo/dschpatinfo/carednoryes"));
  467. model.makeValue("/root/send/signinfo/dschcaulist", model.getValue("/root/main/dschpatinfo/dschpatinfo/dschcaulist")); // 퇴원시 유의사항
  468. model.makeValue("/root/send/signinfo/pid", model.getValue("/root/main/cond/pid")); // 등록번호
  469. model.makeValue("/root/send/signinfo/orddd", model.getValue("/root/init/cond/list/indd")); // 진료일자
  470. model.makeValue("/root/send/signinfo/signno", model.getValue("/root/hidden/dschcareinfo/dschcareinfo/signno")); // 서명번호
  471. model.makeValue("/root/send/signinfo/cretno" , model.getValue("/root/init/cond/list/cretno")); // 생성번호
  472. model.makeValue("/root/send/signinfo/recdd", getCurrentDate());
  473. model.makeValue("/root/send/signinfo/rectm", getCurrentTime());
  474. model.makeValue("/root/send/signinfo/recsaveflag" , "Y"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  475. model.makeValue("/root/send/signinfo/signflag" , "20"); // 서명자료구분(01 : 진료, 02 : 간호, 20 : 가정간호)
  476. model.makeValue("/root/send/signinfo/signgenrflag", "I"); // 서명발생구분 (코드정의서 M0010 참조)
  477. model.makeValue("/root/send/signinfo/formcd", "0000002466"); // 각 기록지별 서식코드(0000002466 - 퇴원시 가정간호 의뢰 간호 기록)
  478. model.makeValue("/root/send/signinfo/orddeptcd" , model.getValue("/root/init/cond/list/orddeptcd")); // 진료부서코드
  479. model.makeValue("/root/send/signinfo/orddrid" , model.getValue("/root/init/cond/list/medispclid")); // 진료의사ID
  480. model.makeValue("/root/send/signinfo/signbfcnts" , Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  481. model.makeValue("/root/send/signinfo/signaftcnts" , Sign.signedInfos[2]); // 공인인증 처리후 데이터
  482. model.makeValue("/root/send/signinfo/screenid", getScreenID());
  483. model.makeValue("/root/send/signinfo/certflag", certflag);
  484. }
  485. // 인증데이터 만들기.
  486. function fMake_SignData()
  487. {
  488. Sign.addnode("/root/send/signinfo");
  489. // var xRecinfoPath = Sign.XPATH_SIGNINFO+"/recinfo/recinfolists";
  490. }
  491. ]]>
  492. </script>
  493. </xhtml:head>
  494. <xhtml:body guideline="1,1177;1,544;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  495. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  496. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">퇴원시 가정간호 의뢰 간호기록</caption>
  497. </group>
  498. <group id="grp_btn" scroll="auto" style="left:0px; top:650px; width:1195px; height:27px; "/>
  499. <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:627px; ">
  500. <select1 id="rdo_dschgoplac" ref="/root/main/dschpatinfo/dschpatinfo/dschgoplac" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:93px; top:361px; width:222px; height:40px; border-style:none; ">
  501. <choices>
  502. <item>
  503. <label>자가</label>
  504. <value>01</value>
  505. </item>
  506. <item>
  507. <label>친척</label>
  508. <value>02</value>
  509. </item>
  510. <item>
  511. <label>타병원</label>
  512. <value>03</value>
  513. </item>
  514. <item>
  515. <label>기타</label>
  516. <value>99</value>
  517. </item>
  518. </choices>
  519. <script type="javascript" ev:event="xforms-value-changed">
  520. <![CDATA[
  521. if(rdo_dschgoplac.value == '99') { // 기타
  522. ipt_dschgoplacetc.value = "";
  523. ipt_dschgoplacetc.disabled = false;
  524. } else {
  525. ipt_dschgoplacetc.disabled = true;
  526. ipt_dschgoplacetc.value = "";
  527. ipt_dschgoplacetc.refresh();
  528. }
  529. ]]>
  530. </script>
  531. </select1>
  532. <line id="line1" class="line_1" style="x1:0px; y1:10px; x2:544px; y2:10px; "/>
  533. <caption id="caption7" class="cell_1" style="left:0px; top:15px; width:65px; height:23px; text-align:center; ">등록번호</caption>
  534. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_default" style="left:68px; top:16px; width:80px; height:19px; ">
  535. <script type="javascript" ev:event="onkeyup">
  536. <![CDATA[
  537. //등록번호 입력후 바로 엔터가능 하게 수정
  538. if(event.keyCode == 13) {
  539. inputEnterKey("btn_reqpatnm", "DOMActivate");
  540. //model.resetInstanceNode("/root/main/cond/patinfo/pid");
  541. ipt_pid.refresh();
  542. }
  543. ]]>
  544. </script>
  545. </input>
  546. <output id="output3" ref="/root/main/cond/hngnm" class="output_fix" style="left:151px; top:16px; width:80px; height:19px; "/>
  547. <caption id="caption1" class="cell_1" style="left:234px; top:15px; width:65px; height:23px; text-align:center; ">기록일시</caption>
  548. <input id="input7" ref="/root/main/cond/recdt" class="input_default" inputtype="date" style="left:302px; top:16px; width:90px; height:19px; "/>
  549. <caption id="caption2" class="cell_1" style="left:395px; top:15px; width:65px; height:23px; text-align:center; ">기록자</caption>
  550. <input id="input1" ref="/root/main/cond/recnm" class="input_default" style="left:463px; top:16px; width:80px; height:19px; "/>
  551. <caption id="caption22" class="tit_2" style="left:5px; top:48px; width:118px; height:14px; ">퇴원시 환자 정보</caption>
  552. <line id="line3" class="line_1" style="x1:0px; y1:62px; x2:544px; y2:62px; "/>
  553. <caption id="caption3" class="cell_1" style="left:0px; top:67px; width:88px; height:38px; ">
  554. <![CDATA[ 활력증상
  555. ]]>
  556. </caption>
  557. <input id="input2" ref="/root/main/dschpatinfo/dschpatinfo/maxbp" class="input_default" style="left:130px; top:73px; width:60px; height:19px; "/>
  558. <line id="line4" class="line_2" style="x1:0px; y1:104px; x2:544px; y2:104px; "/>
  559. <caption id="caption5" style="left:265px; top:74px; width:26px; height:20px; ">PR</caption>
  560. <input id="input4" ref="/root/main/dschpatinfo/dschpatinfo/pr" class="input_default" style="left:285px; top:73px; width:60px; height:19px; "/>
  561. <caption id="caption8" style="left:355px; top:74px; width:26px; height:20px; ">RR</caption>
  562. <input id="input5" ref="/root/main/dschpatinfo/dschpatinfo/rr" class="input_default" style="left:375px; top:73px; width:60px; height:19px; "/>
  563. <caption id="caption9" style="left:450px; top:74px; width:26px; height:20px; ">BT</caption>
  564. <input id="input6" ref="/root/main/dschpatinfo/dschpatinfo/bt" class="input_default" style="left:470px; top:73px; width:60px; height:19px; "/>
  565. <caption id="caption10" class="cell_1" style="left:0px; top:106px; width:88px; height:23px; text-align:center; ">의식상태</caption>
  566. <line id="line5" class="line_2" style="x1:0px; y1:128px; x2:544px; y2:128px; "/>
  567. <caption id="caption11" class="cell_1" style="left:0px; top:130px; width:88px; height:137px; text-align:center; ">
  568. <![CDATA[상처유무
  569. ]]>
  570. </caption>
  571. <datagrid id="grd_wundynlist" nodeset="/root/main/dschpatinfo/wundynlist" caption="부위^크기 (cm X cm)" colsep="^" colwidth="236, 200" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:90px; top:130px; width:455px; height:137px; ">
  572. <col ref="part" type="input"/>
  573. <col ref="sizenval" type="input"/>
  574. <col ref="pid" visibility="hidden"/>
  575. <col ref="indd" visibility="hidden"/>
  576. <col ref="orddeptcd" visibility="hidden"/>
  577. <col ref="recseq" visibility="hidden"/>
  578. <col ref="instcd" visibility="hidden"/>
  579. <col ref="indd" visibility="hidden"/>
  580. <col ref="dschdt" visibility="hidden"/>
  581. </datagrid>
  582. <button id="button11" class="btn2_letter3" style="left:18px; top:190px; width:53px; height:19px; ">
  583. <caption>행추가</caption>
  584. <script type="javascript" ev:event="DOMActivate">
  585. <![CDATA[
  586. grd_wundynlist.additem();
  587. var row = grd_wundynlist.row;
  588. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/pid", model.getValue("/root/main/cond/pid"));
  589. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/hngnm", model.getValue("/root/main/cond/hngnm"));
  590. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/recdt", model.getValue("/root/main/cond/recdt"));
  591. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/recid", model.getValue("/root/main/cond/recid"));
  592. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/recnm", model.getValue("/root/main/cond/recnm"));
  593. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/indd", model.getValue("/root/init/cond/list/indd"));
  594. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/orddeptcd", model.getValue("/root/init/cond/list/orddeptcd"));
  595. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/instcd", model.getValue("/root/init/cond/list/instcd"));
  596. model.makeValue("/root/main/dschpatinfo/wundynlist[" + row + "]/dschdt", model.getValue("/root/init/cond/list/dschnotidt"));
  597. model.refresh();
  598. ]]>
  599. </script>
  600. </button>
  601. <button id="button1" class="btn2_letter3" style="left:19px; top:210px; width:53px; height:19px; ">
  602. <caption>행삭제</caption>
  603. <script type="javascript" ev:event="DOMActivate">
  604. <![CDATA[
  605. grd_wundynlist.removeitem();
  606. ]]>
  607. </script>
  608. </button>
  609. <caption id="caption12" class="cell_1" style="left:0px; top:270px; width:88px; height:43px; text-align:center; ">정서상태</caption>
  610. <line id="line6" class="line_2" style="x1:0px; y1:268px; x2:544px; y2:268px; "/>
  611. <select1 id="rdo_emotstat" ref="/root/main/dschpatinfo/dschpatinfo/emotstat" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:93px; top:274px; width:207px; height:35px; border-style:none; ">
  612. <choices>
  613. <item>
  614. <label>안정</label>
  615. <value>01</value>
  616. </item>
  617. <item>
  618. <label>불안</label>
  619. <value>02</value>
  620. </item>
  621. <item>
  622. <label>분노</label>
  623. <value>03</value>
  624. </item>
  625. <item>
  626. <label>슬픔</label>
  627. <value>04</value>
  628. </item>
  629. <item>
  630. <label>우울</label>
  631. <value>05</value>
  632. </item>
  633. </choices>
  634. </select1>
  635. <line id="line7" class="line_2" style="x1:0px; y1:312px; x2:544px; y2:312px; "/>
  636. <caption id="caption13" class="cell_1" style="left:0px; top:314px; width:88px; height:43px; text-align:center; ">퇴원방법</caption>
  637. <line id="line8" class="line_2" style="x1:0px; y1:356px; x2:544px; y2:356px; "/>
  638. <caption id="caption14" class="cell_1" style="left:0px; top:358px; width:88px; height:43px; text-align:center; ">퇴원 후 갈 곳</caption>
  639. <caption id="caption17" class="tit_2" style="left:5px; top:411px; width:118px; height:13px; ">퇴원교육</caption>
  640. <line id="line10" class="line_3" style="x1:0px; y1:475px; x2:546px; y2:475px; "/>
  641. <line id="line11" class="line_1" style="x1:0px; y1:425px; x2:544px; y2:425px; "/>
  642. <caption id="caption15" class="cell_1" style="left:0px; top:431px; width:88px; height:45px; text-align:center; ">식이</caption>
  643. <line id="line12" class="line_2" style="x1:0px; y1:477px; x2:544px; y2:477px; "/>
  644. <caption id="caption16" class="cell_1" style="left:0px; top:480px; width:88px; height:40px; text-align:center; ">활동범위</caption>
  645. <line id="line13" class="line_2" style="x1:0px; y1:521px; x2:544px; y2:521px; "/>
  646. <caption id="caption18" class="cell_1" style="left:0px; top:523px; width:88px; height:37px; text-align:center; ">목욕</caption>
  647. <line id="line14" class="line_2" style="x1:0px; y1:562px; x2:544px; y2:562px; "/>
  648. <caption id="caption20" class="cell_1" style="left:0px; top:565px; width:88px; height:38px; text-align:center; ">간호제공자</caption>
  649. <select1 id="rdo_carednor" ref="/root/main/dschpatinfo/dschpatinfo/carednor" appearance="full" overflow="visible" style="left:93px; top:567px; width:152px; height:37px; border-style:none; ">
  650. <choices>
  651. <item>
  652. <label>유</label>
  653. <value>01</value>
  654. </item>
  655. <item>
  656. <label>무</label>
  657. <value>02</value>
  658. </item>
  659. </choices>
  660. <script type="javascript" ev:event="xforms-value-changed">
  661. <![CDATA[
  662. if(rdo_carednor.value == '01') {
  663. ipt_carednoryes.value = "";
  664. ipt_carednoryes.disabled = false;
  665. } else {
  666. ipt_carednoryes.value = "";
  667. ipt_carednoryes.disabled = true;
  668. }
  669. ]]>
  670. </script>
  671. </select1>
  672. <input id="ipt_carednoryes" ref="/root/main/dschpatinfo/dschpatinfo/carednoryes" class="input_default" disabled="true" style="left:140px; top:567px; width:185px; height:19px; "/>
  673. <line id="line15" class="line_3" style="x1:0px; y1:603px; x2:544px; y2:603px; "/>
  674. <caption id="caption21" class="tit_2" style="left:553px; top:47px; width:138px; height:13px; color:#0000ff; ">퇴원 시 욕창상태 *</caption>
  675. <line id="line16" class="line_1" style="x1:549px; y1:62px; x2:1195px; y2:62px; "/>
  676. <datagrid id="grd_dschwundstatlist" nodeset="/root/main/dschwundstatinfo/dschwundstatlist" class="datagrid2" caption="가정간호&#xA;유지^욕창발생부위^발생일자^발생시간^원인^구분^크기^크기^크기^단계^기저부색^삼출물&#xA;상태^삼출물 &#xA;양^상처감염&#xA;증상" colsep="^" colwidth="70,150,80,80,70,70,30,30, 30,80,80,80,80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:549px; top:67px; width:646px; height:200px; ">
  677. <col checkvalue="Y,N" disabled="true" ref="homecareyn" type="checkbox"/>
  678. <col ref="obspartnm"/>
  679. <col ref="genrdd" format="yyyy-mm-dd"/>
  680. <col ref="genrtm" format="hh:nn"/>
  681. <col ref="cause"/>
  682. <col ref="flag" type="combo">
  683. <choices>
  684. <item>
  685. <label>등록</label>
  686. <value>00</value>
  687. </item>
  688. <item>
  689. <label>사정</label>
  690. <value>01</value>
  691. </item>
  692. <item>
  693. <label>종료</label>
  694. <value>99</value>
  695. </item>
  696. </choices>
  697. </col>
  698. <col ref="sizewidth"/>
  699. <col ref="sizeheight"/>
  700. <col ref="sizedepth"/>
  701. <col ref="stage" type="combo">
  702. <choices>
  703. <itemset nodeset="/root/hidden/codelist/getVOStage">
  704. <label ref="cdnm"/>
  705. <value ref="cd"/>
  706. </itemset>
  707. </choices>
  708. </col>
  709. <col ref="color"/>
  710. <col ref="state" type="combo">
  711. <choices>
  712. <itemset nodeset="/root/hidden/codelist/getVOState">
  713. <label ref="cdnm"/>
  714. <value ref="cd"/>
  715. </itemset>
  716. </choices>
  717. </col>
  718. <col ref="amount" type="combo">
  719. <choices>
  720. <itemset nodeset="/root/hidden/codelist/getVOAmount">
  721. <label ref="cdnm"/>
  722. <value ref="cd"/>
  723. </itemset>
  724. </choices>
  725. </col>
  726. <col ref="pid" visibility="hidden"/>
  727. <col ref="instcd" visibility="hidden"/>
  728. <col ref="grupcd" visibility="hidden"/>
  729. <col ref="obsrecseq" visibility="hidden"/>
  730. <col ref="signno" visibility="hidden"/>
  731. <col ref="indd" visibility="hidden"/>
  732. <col ref="cretno" visibility="hidden"/>
  733. <col ref="orddeptcd" visibility="hidden"/>
  734. <col ref="orddrid" visibility="hidden"/>
  735. </datagrid>
  736. <datagrid id="grd_dschtoolstatlist" nodeset="/root/main/dschtoolstatinfo/dschtoolstatlist" class="datagrid2" caption="가정간호&#xA;유지^Item^부위^구분^시행일시^종류^크기^크기^고정^고정^압력^압력^비고" colsep="^" colwidth="70,120,50,50,100,150,50,50,50,50,50,50,100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:549px; top:295px; width:646px; height:175px; ">
  737. <col checkvalue="Y,N" disabled="true" ref="homecareyn" type="checkbox"/>
  738. <col ref="itemnm"/>
  739. <col ref="loc"/>
  740. <col disabled="true" ref="opflag" type="combo">
  741. <choices>
  742. <item>
  743. <label>삽입</label>
  744. <value>01</value>
  745. </item>
  746. <item>
  747. <label>교환</label>
  748. <value>02</value>
  749. </item>
  750. <item>
  751. <label>세척</label>
  752. <value>03</value>
  753. </item>
  754. <item>
  755. <label>흡입</label>
  756. <value>04</value>
  757. </item>
  758. <item>
  759. <label>제거</label>
  760. <value>05</value>
  761. </item>
  762. </choices>
  763. </col>
  764. <col ref="opdt" format="yyyy-mm-dd hh:nn:ss"/>
  765. <col ref="supnm"/>
  766. <col ref="vol"/>
  767. <col ref="volunit"/>
  768. <col ref="fix"/>
  769. <col ref="fixunit"/>
  770. <col ref="pres"/>
  771. <col ref="presunit"/>
  772. <col ref="cathremark"/>
  773. <col ref="pid" visibility="hidden"/>
  774. <col ref="orddd" visibility="hidden"/>
  775. <col ref="cretno" visibility="hidden"/>
  776. <col ref="patseqno" visibility="hidden"/>
  777. <col ref="cathseqno" visibility="hidden"/>
  778. <col ref="status" visibility="hidden"/>
  779. <col ref="setno" visibility="hidden"/>
  780. <col ref="settypecd" visibility="hidden"/>
  781. <col ref="setcdno" visibility="hidden"/>
  782. <col ref="opid" visibility="hidden"/>
  783. <col ref="carerecseqno" visibility="hidden"/>
  784. <col ref="mappseqno" visibility="hidden"/>
  785. <col ref="tempprcpseqno" visibility="hidden"/>
  786. <col ref="recdd" visibility="hidden"/>
  787. </datagrid>
  788. <caption id="caption23" class="tit_2" style="left:553px; top:275px; width:188px; height:13px; color:#0000ff; ">퇴원 시 기구 및 삽관 상태 *</caption>
  789. <line id="line17" class="line_1" style="x1:549px; y1:290px; x2:1195px; y2:290px; "/>
  790. <caption id="caption24" class="tit_2" style="left:553px; top:480px; width:172px; height:14px; color:#0000ff; ">퇴원 시 유의사항 *</caption>
  791. <line id="line18" class="line_1" style="x1:549px; y1:495px; x2:1195px; y2:495px; "/>
  792. <textarea id="textarea1" ref="/root/main/dschpatinfo/dschpatinfo/dschcaulist" style="left:549px; top:500px; width:646px; height:102px; "/>
  793. <line id="line19" class="line_3" style="x1:549px; y1:603px; x2:1195px; y2:603px; "/>
  794. <select1 id="rdo_dschmthd" ref="/root/main/dschpatinfo/dschpatinfo/dschmthd" appearance="full" cellspacing="30" cols="5" overflow="visible" style="left:93px; top:317px; width:392px; height:33px; border-style:none; ">
  795. <choices>
  796. <item>
  797. <label>도보</label>
  798. <value>01</value>
  799. </item>
  800. <item>
  801. <label>목발</label>
  802. <value>02</value>
  803. </item>
  804. <item>
  805. <label>휠체어</label>
  806. <value>03</value>
  807. </item>
  808. <item>
  809. <label>이동침대</label>
  810. <value>04</value>
  811. </item>
  812. <item>
  813. <label>응급차</label>
  814. <value>05</value>
  815. </item>
  816. <item>
  817. <label>기타</label>
  818. <value>99</value>
  819. </item>
  820. </choices>
  821. <script type="javascript" ev:event="xforms-value-changed">
  822. <![CDATA[
  823. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/dschmthd") == "99") {
  824. ipt_dschmthdetc.value = "";
  825. ipt_dschmthdetc.disabled = false;
  826. ipt_dschmthdetc.refresh();
  827. } else {
  828. ipt_dschmthdetc.disabled = true;
  829. ipt_dschmthdetc.value = "";
  830. ipt_dschmthdetc.refresh();
  831. }
  832. ]]>
  833. </script>
  834. </select1>
  835. <select1 id="rdo_cscsstat" ref="/root/main/dschpatinfo/dschpatinfo/cscsstat" appearance="full" cellspacing="30" cols="5" overflow="visible" style="left:93px; top:109px; width:434px; height:16px; border-style:none; ">
  836. <choices>
  837. <item>
  838. <label>Alert</label>
  839. <value>01</value>
  840. </item>
  841. <item>
  842. <label>Drowsy</label>
  843. <value>02</value>
  844. </item>
  845. <item>
  846. <label>Stupor</label>
  847. <value>03</value>
  848. </item>
  849. <item>
  850. <label>Semicoma</label>
  851. <value>04</value>
  852. </item>
  853. <item>
  854. <label>Coma</label>
  855. <value>05</value>
  856. </item>
  857. </choices>
  858. </select1>
  859. <input id="ipt_dschgoplacetc" ref="/root/main/dschpatinfo/dschpatinfo/dschgoplacetc" class="input_default" disabled="true" style="left:166px; top:378px; width:154px; height:19px; "/>
  860. <select1 id="rdo_diet" ref="/root/main/dschpatinfo/dschpatinfo/diet" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:93px; top:438px; width:332px; height:35px; border-style:none; ">
  861. <choices>
  862. <item>
  863. <label>일반식</label>
  864. <value>01</value>
  865. </item>
  866. <item>
  867. <label>치료식</label>
  868. <value>02</value>
  869. </item>
  870. <item>
  871. <label>경관영양</label>
  872. <value>03</value>
  873. </item>
  874. <item>
  875. <label>기타</label>
  876. <value>99</value>
  877. </item>
  878. </choices>
  879. <script type="javascript" ev:event="xforms-value-changed">
  880. <![CDATA[
  881. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == "99") { // 기타
  882. ipt_curediet.value = "";
  883. //ipt_dietetc.value = "";
  884. ipt_dietetc.disabled = false;
  885. ipt_curediet.disabled = true;
  886. }else if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == "02") { // 치료식
  887. //ipt_curediet.value = "";
  888. ipt_dietetc.value = "";
  889. ipt_dietetc.disabled = true;
  890. ipt_curediet.disabled = false;
  891. }else{
  892. ipt_curediet.value = "";
  893. ipt_dietetc.value = "";
  894. ipt_dietetc.disabled = true;
  895. ipt_curediet.disabled = true;
  896. }
  897. ]]>
  898. </script>
  899. </select1>
  900. <input id="ipt_curediet" ref="/root/main/dschpatinfo/dschpatinfo/curediet" class="input_default" disabled="true" style="left:291px; top:433px; width:154px; height:19px; "/>
  901. <input id="ipt_dietetc" ref="/root/main/dschpatinfo/dschpatinfo/dietetc" class="input_default" disabled="true" style="left:291px; top:453px; width:154px; height:19px; "/>
  902. <select1 id="rdo_bath" ref="/root/main/dschpatinfo/dschpatinfo/bath" appearance="full" cellspacing="30" cols="5" overflow="visible" style="left:93px; top:525px; width:434px; height:33px; border-style:none; ">
  903. <choices>
  904. <item>
  905. <label>제한없음</label>
  906. <value>01</value>
  907. </item>
  908. <item>
  909. <label>샤워</label>
  910. <value>02</value>
  911. </item>
  912. <item>
  913. <label>통목욕</label>
  914. <value>03</value>
  915. </item>
  916. <item>
  917. <label>부분목욕</label>
  918. <value>04</value>
  919. </item>
  920. <item>
  921. <label>침상목욕</label>
  922. <value>05</value>
  923. </item>
  924. <item>
  925. <label>목욕금지</label>
  926. <value>06</value>
  927. </item>
  928. <item>
  929. <label>기타</label>
  930. <value>99</value>
  931. </item>
  932. </choices>
  933. <script type="javascript" ev:event="xforms-value-changed">
  934. <![CDATA[
  935. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/bath") == "99") {
  936. ipt_bathetc.value = "";
  937. ipt_bathetc.disabled = false;
  938. } else {
  939. ipt_bathetc.disabled = true;
  940. ipt_bathetc.value = "";
  941. }
  942. ]]>
  943. </script>
  944. </select1>
  945. <input id="ipt_bathetc" ref="/root/main/dschpatinfo/dschpatinfo/bathetc" class="input_default" disabled="true" style="left:246px; top:541px; width:154px; height:19px; "/>
  946. <select1 id="rdo_actscop" ref="/root/main/dschpatinfo/dschpatinfo/actscop" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:93px; top:482px; width:342px; height:34px; border-style:none; ">
  947. <choices>
  948. <item>
  949. <label>제한없음</label>
  950. <value>01</value>
  951. </item>
  952. <item>
  953. <label>일상생활</label>
  954. <value>02</value>
  955. </item>
  956. <item>
  957. <label>안정</label>
  958. <value>03</value>
  959. </item>
  960. <item>
  961. <label>절대안정</label>
  962. <value>04</value>
  963. </item>
  964. <item>
  965. <label>정기적 운동</label>
  966. <value>05</value>
  967. </item>
  968. <item>
  969. <label>재활지도</label>
  970. <value>06</value>
  971. </item>
  972. </choices>
  973. </select1>
  974. <line id="line2" class="line_3" style="x1:0px; y1:37px; x2:544px; y2:37px; "/>
  975. <button id="btn_reqpatnm" disabled="true" style="left:550px; top:10px; width:45px; height:20px; ">
  976. <caption/>
  977. <script type="javascript" ev:event="DOMActivate">
  978. <![CDATA[
  979. var pid = model.getValue("/root/main/cond/pid");
  980. if(pid == ""){
  981. return;
  982. }
  983. if(reqPatInfo("pid", "ptbs", pid)==true){
  984. var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
  985. model.setValue("/root/main/cond/hngnm", hngnm);
  986. model.refresh();
  987. }
  988. ]]>
  989. </script>
  990. </button>
  991. <button id="btn_VS" class="btn2_letter2" style="left:22px; top:82px; width:42px; height:19px; ">
  992. <caption>V/S</caption>
  993. <script type="javascript" ev:event="DOMActivate">
  994. <![CDATA[
  995. submit("TRMNF04301");
  996. model.makeValue("/root/main/dschpatinfo/dschpatinfo/minbp", model.getValue("/root/hidden/vitalsigninfo/vitalsigninfo/minbp"));
  997. model.makeValue("/root/main/dschpatinfo/dschpatinfo/maxbp", model.getValue("/root/hidden/vitalsigninfo/vitalsigninfo/maxbp"));
  998. model.makeValue("/root/main/dschpatinfo/dschpatinfo/pr", model.getValue("/root/hidden/vitalsigninfo/vitalsigninfo/pr"));
  999. model.makeValue("/root/main/dschpatinfo/dschpatinfo/rr", model.getValue("/root/hidden/vitalsigninfo/vitalsigninfo/rr"));
  1000. model.makeValue("/root/main/dschpatinfo/dschpatinfo/bt", model.getValue("/root/hidden/vitalsigninfo/vitalsigninfo/bt"));
  1001. model.refresh();
  1002. ]]>
  1003. </script>
  1004. </button>
  1005. <button id="btn_tmp" class="btn4_letter4" visibility="hidden" style="left:1027px; top:21px; width:80px; height:22px; ">
  1006. <caption>임시저장</caption>
  1007. <script type="javascript" ev:event="DOMActivate">
  1008. <![CDATA[
  1009. var retMsg = messageBox("임시저장을", "Q004"); // 실행 하시겠습니까? yes=6, no=7
  1010. if(retMsg != "6") {
  1011. return ;
  1012. }
  1013. //컨설트 정보를 조회
  1014. submit("TRMNF04304");
  1015. var cnstflag = model.getValue("/root/init/cnstinfo/cnstflag");
  1016. if((cnstflag == '20') || (cnstflag == '30')){
  1017. messageBox("임시저장을", "E001");
  1018. }else{
  1019. fSetDschInfo("T"); // 인증여부( T : 임시저장, C : 인증저장)
  1020. if(submit("TXMNF04301") == true) {
  1021. model.makeValue("/root/send/signinfo/status", 'u');
  1022. messageBox("저장이 ", "I001");
  1023. } else {
  1024. messageBox("저장이 실패하였습니다.", "E");
  1025. }
  1026. }
  1027. ]]>
  1028. </script>
  1029. </button>
  1030. <button id="btn_sign" class="btn4_letter4" style="left:1109px; top:21px; width:80px; height:22px; ">
  1031. <caption>인증저장</caption>
  1032. <script type="javascript" ev:event="DOMActivate">
  1033. <![CDATA[
  1034. // -- 인증저장 시 필수 항목 여부 체크 (11.08.05)
  1035. var dschwundrow = grd_dschwundstatlist.rows;
  1036. var dschtoolrow = grd_dschtoolstatlist.rows;
  1037. if( dschwundrow > 1 || dschtoolrow > 1 ) {
  1038. if ( dschwundrow > 1) {
  1039. var chkcnt = 0;
  1040. for( var i = 1 ; i < dschwundrow ; i++){
  1041. var chkvalue = model.getValue("/root/main/dschwundstatinfo/dschwundstatlist[" + i + "]/homecareyn");
  1042. if (chkvalue == "Y"){
  1043. chkcnt++;
  1044. }
  1045. }
  1046. if ( chkcnt == 0 ) {
  1047. messageBox(" *필수 항목이 누락 되었습니다.\n\r 최소한 하나의 [퇴원 시 욕창상태 *] 정보를 체크하세요." , "I000");
  1048. return;
  1049. }
  1050. }
  1051. if ( dschtoolrow > 1) {
  1052. var chkcnt = 0;
  1053. for( var i = 1 ; i < dschtoolrow ; i++){
  1054. var chkvalue = model.getValue("/root/main/dschtoolstatinfo/dschtoolstatlist[" + i + "]/homecareyn");
  1055. if (chkvalue == "Y"){
  1056. chkcnt++;
  1057. }
  1058. }
  1059. if ( chkcnt == 0 ) {
  1060. messageBox(" *필수 항목이 누락 되었습니다.\n\r 최소한 하나의 [퇴원시 기구 및 삽관 상태 *] 정보를 체크하세요." , "I000");
  1061. return;
  1062. }
  1063. }
  1064. }
  1065. var comments = model.getValue("/root/main/dschpatinfo/dschpatinfo/dschcaulist");
  1066. if (comments == "") {
  1067. messageBox(" *필수 항목이 누락 되었습니다.\n\r [퇴원 시 유의사항 *] 정보를 기록하세요." , "I000");
  1068. return;
  1069. }
  1070. // //------- 손성훈
  1071. model.setValue("/root/main/cond/recdt", getCurrentDate());
  1072. model.setValue("/root/main/cond/pid", model.getValue("/root/send/req/pid"));
  1073. model.setValue("/root/main/cond/recid", getUserId());
  1074. model.setValue("/root/main/cond/recnm", getUserName());
  1075. var retMsg = messageBox("인증저장을", "Q004"); // 실행 하시겠습니까? yes=6, no=7
  1076. if(retMsg != "6") {
  1077. return ;
  1078. }
  1079. submit("TRMNF04304"); // 퇴원시 가정간호의뢰 기록 - 컨설트 유무 확인
  1080. var cnstflag = model.getValue("/root/init/cnstinfo/cnstflag");
  1081. if((cnstflag == '20') || (cnstflag == '30')){
  1082. messageBox("인증저장을", "E001");
  1083. }else{
  1084. fSetDschInfo("C"); // 퇴원시 가정간호의뢰기록 인증데이터 인스턴스셋팅 // 인증여부( T : 임시저장, C : 인증저장)
  1085. if (Sign.signprocess() == true){
  1086. //src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw"
  1087. // alert("인증성공" );
  1088. // alert("1. 인증성공여부 false / true \n\n" + Sign.signedInfos[0]); // 인증성공여부 false / true
  1089. // alert("2. 인증할 데이터 정보 (미기록 노드 제거전 원본 노드) \n\n" + Sign.signedInfos[3]); // 인증할 데이터 정보 (미기록 노드 제거전 원본 노드)
  1090. // alert("2.--> text 데이터(없는 노드 포함된) text 형태 변형 결과 \n\n" + Sign.signedInfos[4]); // [3] 데이터(없는 노드 포함된) text 형태 변형 결과
  1091. // alert("3. 인증할 데이터 정보(미기록 노드 제거된 정보) \n\n" + Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  1092. // alert("3. -->text 데이터(없는 노드 제거된) text 형태 변형 결과 \n\n" + Sign.signedInfos[5]); // ★[1] 데이터(없는 노드 제거된) text 형태 변형 결과 >>> [5]
  1093. // alert("3. -->text --> sign 공인인증 처리후 데이터 \n\n" + Sign.signedInfos[2]); // ★공인인증 처리후 데이터 >>> [2]
  1094. model.makeValue("/root/send/signinfo/pid", model.getValue("/root/main/cond/pid")); // 등록번호
  1095. model.makeValue("/root/send/signinfo/orddd", model.getValue("/root/init/cond/list/indd")); // 진료일자
  1096. model.makeValue("/root/send/signinfo/signno", model.getValue("/root/main/dschpatinfo/dschpatinfo/signno")); // 서명번호
  1097. model.makeValue("/root/send/signinfo/cretno" , model.getValue("/root/init/cond/list/cretno")); // 생성번호
  1098. model.makeValue("/root/send/signinfo/recdd", getCurrentDate());
  1099. model.makeValue("/root/send/signinfo/rectm", getCurrentTime());
  1100. model.makeValue("/root/send/signinfo/recsaveflag" , "Y"); // 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  1101. model.makeValue("/root/send/signinfo/signflag" , "20"); // 서명자료구분(01 : 진료, 02 : 간호, 20 : 가정간호)
  1102. model.makeValue("/root/send/signinfo/signgenrflag", "I"); // 서명발생구분 (코드정의서 M0010 참조)
  1103. model.makeValue("/root/send/signinfo/formcd", "0000002466"); // 각 기록지별 서식코드(0000002466 - 퇴원시 가정간호 의뢰 간호 기록)
  1104. model.makeValue("/root/send/signinfo/orddeptcd" , model.getValue("/root/init/cond/list/orddeptcd")); // 진료부서코드
  1105. model.makeValue("/root/send/signinfo/orddrid" , model.getValue("/root/init/cond/list/medispclid")); // 진료의사ID
  1106. model.makeValue("/root/send/signinfo/signbfcnts" , Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  1107. model.makeValue("/root/send/signinfo/signaftcnts" , Sign.signedInfos[2]); // 공인인증 처리후 데이터
  1108. model.makeValue("/root/send/signinfo/screenid", getScreenID());
  1109. if(submit("TXMNF04301") == true) {
  1110. model.makeValue("/root/send/signinfo/status", 'u');
  1111. messageBox("저장이 ", "I001");
  1112. submit("TRMNF04302");
  1113. if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '99'){
  1114. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc"));
  1115. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", "");
  1116. }else if(model.getValue("/root/main/dschpatinfo/dschpatinfo/diet") == '02'){
  1117. model.makeValue("/root/main/dschpatinfo/dschpatinfo/curediet", model.getValue("/root/main/dschpatinfo/dschpatinfo/dietetc"));
  1118. model.makeValue("/root/main/dschpatinfo/dschpatinfo/dietetc", "");
  1119. }
  1120. //욕창기록 조회
  1121. submit("TRMNF04305");
  1122. //기구 및 삽관 기로 조회
  1123. submit("TRMNF04306");
  1124. } else {
  1125. messageBox("저장이 실패하였습니다.", "E");
  1126. }
  1127. //
  1128. } else {
  1129. alert("인증실패 Error Code :" + Sign.errcode);
  1130. }
  1131. }
  1132. ]]>
  1133. </script>
  1134. </button>
  1135. <caption id="caption19" style="left:100px; top:74px; width:45px; height:20px; ">BP</caption>
  1136. <input id="input3" ref="/root/main/dschpatinfo/dschpatinfo/minbp" class="input_default" style="left:195px; top:73px; width:60px; height:19px; "/>
  1137. <input id="ipt_dschmthdetc" ref="/root/main/dschpatinfo/dschpatinfo/dschmthdetc" class="input_default" disabled="true" style="left:166px; top:333px; width:154px; height:19px; "/>
  1138. </group>
  1139. </xhtml:body>
  1140. </xhtml:html>