SMZUM00100_환자정보.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/hismainweb/css/hismain.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>환자정보</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <infection/>
  11. </send>
  12. <main>
  13. <patinfo>
  14. <pid/>
  15. <!--환자ID-->
  16. <pname/>
  17. <!--환자명-->
  18. <pname2/>
  19. <!--환자명2-->
  20. <dispnm1/>
  21. <!--환자표시명1-->
  22. <dispnm2/>
  23. <!--환자표시명2-->
  24. <recovwardnm/>
  25. <!-- 중증병실 -->
  26. <age/>
  27. <!--나이-->
  28. <rrgstno/>
  29. <!--주민번호-->
  30. <addr/>
  31. <!--주소-->
  32. <insukind/>
  33. <!--보험유형-->
  34. <ininfo/>
  35. <!--외래/입원정보-->
  36. <btype/>
  37. <!--혈액형-->
  38. <orddept/>
  39. <!--진료과-->
  40. <apntdr/>
  41. <!--주치의-->
  42. <attndr/>
  43. <diagnosis/>
  44. <!--진단명-->
  45. <operation/>
  46. <!--수술명-->
  47. <stgediagnm/>
  48. <!--C상병-->
  49. <stgecd/>
  50. <!--TNM -->
  51. <tnmcd1/>
  52. <tnmcd2/>
  53. <tnmcd3/>
  54. <infection/>
  55. <!--혈액,접촉,공기주의버튼-->
  56. <allergy/>
  57. <!--ADR버튼-->
  58. <newallergy/>
  59. <chart/>
  60. <!--차트버튼:상태값없음-->
  61. <organ/>
  62. <!--이식버튼-->
  63. <cp/>
  64. <!--CP버튼-->
  65. <drgyn/>
  66. <!--DRG버튼-->
  67. <vip/>
  68. <!--VIP버튼-->
  69. <healexam/>
  70. <!--건진버튼-->
  71. <intncare/>
  72. <!--특례버튼-->
  73. <coop/>
  74. <!--협력버튼-->
  75. <inspection/>
  76. <!--심사버튼:상태값없음-->
  77. <home/>
  78. <!--홈버튼:상태값없음-->
  79. <clear/>
  80. <!--클리어버튼:상태값없음-->
  81. <cnsttypenm/>
  82. <!--협진명:매핑없이 인스턴스만 존재-->
  83. <regstno/>
  84. <!--주민번호:매핑없이 인스턴스만 존재-->
  85. <detladdr/>
  86. <!--상세주소:매핑없이 인스턴스만 존재-->
  87. <zipcd/>
  88. <!--우편번호:매핑없이 인스턴스만 존재-->
  89. <diagcd/>
  90. <!--진단코드:매핑없이 인스턴스만 존재-->
  91. <stgediagcd/>
  92. <!--병기진단코드:매핑없이 인스턴스만 존재-->
  93. <addrdetl/>
  94. <!--이하 정보없음-->
  95. <telno/>
  96. <cnsttypenm/>
  97. <pinfo/>
  98. <!--사생활보호-->
  99. <binfo/>
  100. <dinfo/>
  101. <nutinfo/>
  102. <!--영양고위험-->
  103. <recmer/>
  104. <!--환자 지인 존재여부-->
  105. <recmerinfo/>
  106. <!--환자 지인 정보-->
  107. </patinfo>
  108. </main>
  109. <properties>
  110. <patient>
  111. <inpatientinfo/>
  112. <outpatientinfo/>
  113. <operationinfo/>
  114. <consultinfo/>
  115. <patientinfopath/>
  116. <ordertargetflag/>
  117. </patient>
  118. </properties>
  119. </root>
  120. </instance>
  121. <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
  122. <submission id="TXMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
  123. </model>
  124. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  126. </xhtml:head>
  127. <script type="javascript">
  128. <![CDATA[
  129. // 수술 및 진단 정보 마우스 오버시 인스턴스 내용 다 보이기
  130. function fSetCtrlHint(){
  131. var ctrl = document.controls(event.target);
  132. ctrl.hint = model.getValue(ctrl.attribute("ref"));
  133. ctrl.refresh();
  134. }
  135. // 버튼 그룹에서 버튼을 클릭한 경우 실행되는 공통 함수
  136. function fClickButton(ctrlID) {
  137. var btnID = "";
  138. if (ctrlID == "btn_top_infection0") { // 혈액주의
  139. model.setValue("/root/send/infection", "B");
  140. //2013/05/03 Start
  141. open("SMASB01100", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  142. //open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  143. //2013/05/03 End
  144. } else if (ctrlID == "btn_top_infection1") { // 접촉주의
  145. model.setValue("/root/send/infection", "C");
  146. //2013/05/03 Start
  147. open("SMASB01100", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  148. //open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  149. //2013/05/03 End
  150. } else if (ctrlID == "btn_top_infection2") { // 공기주의
  151. model.setValue("/root/send/infection", "A");
  152. //2013/05/03 Start
  153. open("SMASB01100", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  154. //open("SPASB01600", "", "", "", ""," /root/send/infection", "/root/main/cond/isolkind");
  155. //2013/05/03 End
  156. } else if (ctrlID == "btn_top_allergy") { // ADR (알러지)
  157. open("SPMMD03300");
  158. } else if (ctrlID == "btn_top_chart") { // 차트
  159. messageBox("아직 구현되지 않은 기능", "E008");
  160. } else if (ctrlID == "btn_top_organ") { // 이식
  161. messageBox("아직 구현되지 않은 기능", "E008");
  162. var value = fGetPatientInfo("organ");
  163. if (value != "Y") {
  164. return;
  165. }
  166. } else if (ctrlID == "btn_top_cp") { // CP
  167. var value = fGetPatientInfo("cp");
  168. if (value == "Y") {
  169. open("SMMMP02700");
  170. }else{
  171. return;
  172. }
  173. } else if (ctrlID == "btn_top_drgyn") { // DRG
  174. var pid = model.getValue("/root/properties/patient/inpatientinfo/pid");
  175. var orddd = model.getValue("/root/properties/patient/inpatientinfo/indd");
  176. var cretno = model.getValue("/root/properties/patient/inpatientinfo/cretno");
  177. setParameter("pid", pid);
  178. setParameter("indd", orddd);
  179. setParameter("cretno", cretno);
  180. open("SPPIJ03201");
  181. } else if (ctrlID == "btn_top_vip") { // VIP
  182. var value = fGetPatientInfo("vip");
  183. if (value == "Y") {
  184. modal("../../../pam/patinfomngtweb/xrw/SPPMC08000", "1","150","150", "SMPAI00200", "/root/main/patinfo", "/root/send/patinfo");
  185. }else{
  186. return;
  187. }
  188. } else if (ctrlID == "btn_top_intncare") { // 특례
  189. curIntncareObj = getOpenWindow("SPMMO21700"); //활성화된 특례 화면 object loading
  190. if(curIntncareObj != null){
  191. var pid = model.getValue("/root/main/patinfo/pid");
  192. curIntncareObj.model.setvalue("/root/main/cond/pid", pid );
  193. curIntncareObj.javascript.btn_req.dispatch("DOMActivate");
  194. curIntncareObj.window.activate();
  195. }else{
  196. open("SPMMO21700", "", "", "", "","/root/main/patinfo/pid", "/root/init/pid");
  197. }
  198. return;
  199. } else if (ctrlID == "btn_top_clear") { // 클리어
  200. fInitialize();
  201. grp_blank.attribute("visibility") = "visible";
  202. grp_patientinfo.attribute("visibility") = "hidden";
  203. var mainObj = getMainViewer();
  204. var mainscrnid = mainObj.javascript.getScreenID(); //메인화면의 기록지 ID
  205. var curCpObj = mainObj.javascript.getOpenWindow("SMMMP00800"); //활성화된 CP Main 화면 object loading
  206. var curPrcpObj = mainObj.javascript.getOpenWindow("SMMMO00100"); //활성화된 처방Main 화면 object loading
  207. var curCpSrchObj = mainObj.javascript.getOpenWindow("SPMMP01200"); //활성화된 CP 검색 화면 object loading
  208. if(curPrcpObj != null) { //활성화된 처방Main 화면이 있는 경우 close
  209. curPrcpObj.javascript.fPrcpWndClose();
  210. }
  211. if(curCpObj != null){ //활성화된 CP Main화면이 있는 경우 close
  212. curCpObj.javascript.fCloseGPS();
  213. }
  214. if(curCpSrchObj != null){ //활성화된 CP검색화면이 있는 경우 close
  215. curCpSrchObj.javascript.fCpSrchWndClose();
  216. }
  217. if (mainscrnid == "SMMMR00100") {
  218. curFormLoaderObj = getOpenWindow("SSMMR01100"); //활성화된 서식로더창 체크
  219. if(curFormLoaderObj != null){ //서식로더 Close : 2009-06-03 : 이상현 D/L 요청 : 김영학 ;
  220. //knuh 20120104 최원돈 OCS 진료대상자 OCS 조회 시 환자메모를 자동으로 사라지게 설정 SMMMO04100.js, SPMMR05600.js, MMR00100.js
  221. var curMemoObj = getOpenWindow("SPMMR05600");
  222. if(curMemoObj != null){curMemoObj.javascript.window.close();} //환자메모 화면 close
  223. curFormLoaderObj.javascript.fClose();
  224. } //서식로더 close()
  225. mainObj.window.javascript.navigate("SMMMB08100"); // 빈페이지
  226. }
  227. return;
  228. } else if (ctrlID == "btn_top_healexam" || ctrlID == "btn_top_coop") {
  229. event.stopPropagation();
  230. return;
  231. } else if (ctrlID == "btn_top_pinfo") { // 사생활보호
  232. open("SPPMC06900", "", "", "", ""," /root/main/patinfo/pid", "/root/init/pid");
  233. return;
  234. } else if (ctrlID == "btn_tnm" || ctrlID == "btn_stgediagnm") { // C상병, TNM
  235. open("SPMMO08500");
  236. return;
  237. } else if(ctrlID == "btn_top_recmer"){
  238. setParameter("SPPMC05600_pid",model.getValue("/root/main/patinfo/pid"));
  239. open("SPPMC05700");
  240. } else {
  241. messageBox("아직 구현되지 않은 기능", "E008");
  242. return;
  243. }
  244. }
  245. //값이 Y일때만 도트 및 명칭 반전
  246. function fSetCtrlClass(key){
  247. var nodeValue = fGetPatientInfo(key);
  248. var valueArr = nodeValue.split("^");
  249. var ctrlOjb = null;
  250. if (valueArr.length > 1) { // infection or allergy
  251. if (key == "infection") {
  252. for (var i = 0; i < valueArr.length; i++) {
  253. ctrlObj = document.controls("btn_top_" + key + i);
  254. if (valueArr[i] == "Y") {
  255. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + i + ".gif";
  256. } else {
  257. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + i + "_d.gif";
  258. }
  259. }
  260. } else if (key == "allergy") {
  261. // 기존에 ADR/Allergy 로 두 개의 값(allergy0, allergy1)을 받던걸 하나로 변경. 둘 중하나라도 Y 이면 Y(실제로는 둘다 Y 이거나, 둘다 N으로 넘겨주기로 함)
  262. ctrlObj = document.controls("btn_top_" + key);
  263. if (valueArr[0] == "Y") {
  264. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + ".gif";
  265. } else {
  266. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + "_d.gif";
  267. }
  268. }
  269. } else {
  270. ctrlObj = document.controls("btn_top_" + key);
  271. if (valueArr[0] == "Y") {
  272. // 이식, CP, VIP, 평가의 경우 활성화 상태일때만 button 으로 동작하게끔
  273. if (key == "organ" || key == "cp" || key == "vip" || key == "binfo" || key == "dinfo" || key == "nutinfo") {
  274. ctrlObj.disabled = false;
  275. } else if (key == "newallergy") {
  276. ctrlObj = document.controls("btn_top_allergy");
  277. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_newallergy.gif";
  278. return;
  279. }
  280. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + ".gif";
  281. //ctrlObj.attribute("class") = "btn_top_" + key + "_enable";
  282. } else if (valueArr[0] == "N") {
  283. // 이식, CP, VIP, 평가의 경우 활성화 상태일때만 button 으로 동작하게끔
  284. if (key == "organ" || key == "cp" || key == "vip" || key == "binfo" || key == "dinfo" || key == "nutinfo") {
  285. ctrlObj.disabled = true;
  286. } else if (key == "newallergy") {
  287. ctrlObj = document.controls("btn_top_allergy");
  288. if (fGetPatientInfo("allergy") == "N") {
  289. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_allergy_d.gif";
  290. } else if (fGetPatientInfo(key) == "Y") {
  291. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_allergy.gif";
  292. }
  293. return;
  294. }
  295. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + "_d.gif";
  296. //ctrlObj.attribute("class") = "btn_top_" + key + "_disable";
  297. } else if (valueArr[0] == "H") { // 사생활보호(과거 사생활보호 경력)인 경우 by 손병은
  298. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_" + key + "_h.gif";
  299. }
  300. }
  301. if(key == "recmer"){
  302. ctrlObj = document.controls("btn_top_recmer");
  303. if (fGetPatientInfo("recmer") != "Y") {
  304. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_recmer_d.gif";
  305. } else if (fGetPatientInfo("recmer") == "Y") {
  306. ctrlObj.attribute("background-image") = "../../../com/hismainweb/images/btn_top_recmer.gif";
  307. }
  308. }
  309. /*
  310. //var ctrlObj = "";
  311. //var infectionCtrlObj = document.controls("btn_top_"+ key);
  312. //dotCtrlObj.attribute("class") = "info_bullet3";
  313. for( var i = 0; i < valueArr.length; i++ ) {
  314. ctrlObj = document.controls("btn_"+key+i);
  315. if(ctrlObj != null){
  316. if(valueArr[i] == "Y"){
  317. if(key == "infection"){
  318. ctrlObj.attribute("class") = "icon_infection"+i+"_enable";
  319. }else{
  320. ctrlObj.attribute("class") = "diagnosis_orange";
  321. }
  322. dotCtrlObj.attribute("class") = "info_bullet3_over";
  323. }else{
  324. if(key == "infection"){
  325. ctrlObj.attribute("class") = "icon_infection"+i+"_disable";
  326. }else{
  327. ctrlObj.attribute("class") = "diagnosis_gray";
  328. }
  329. }
  330. }
  331. }
  332. */
  333. }
  334. //환자정보 초기화 및 스타일 초기화
  335. function fInitialize(){
  336. /* 01. 상단화면 초기화 */
  337. if ( grp_blank.attribute("visibility") != "hidden") {
  338. grp_blank.attribute("visibility") = "hidden"; // main background image hidden
  339. grp_patientinfo.attribute("visibility") = "visible"; // patientinfo image visible ( grp_patient & grp_doctor & grp_diagnosis & grp_buttons visible )
  340. }
  341. //인스턴스 초기화
  342. model.resetInstanceNode("/root/send/infection")
  343. model.resetInstanceNode("/root/main/patinfo");
  344. /* 02. 버튼 초기화*/
  345. model.setValue("/root/main/patinfo/infection","N^N^N"); // 혈액주의,접촉주의,공기주의
  346. model.setValue("/root/main/patinfo/allergy","N^N"); // allergy & newallergy
  347. //model.setValue("/root/main/patinfo/chart", "N"); // 차트 - 상태체크 없음
  348. model.setValue("/root/main/patinfo/organ","N"); // 이식
  349. model.setValue("/root/main/patinfo/cp","N"); // CP
  350. model.setValue("/root/main/patinfo/drgyn","N"); // DRG
  351. model.setValue("/root/main/patinfo/vip","N"); // VIP
  352. model.setValue("/root/main/patinfo/healexam","N"); // 건진
  353. model.setValue("/root/main/patinfo/intncare","N"); // 특례
  354. model.setValue("/root/main/patinfo/coop","N"); // 협력
  355. //model.setValue("/root/main/patinfo/inspection", "N"); // 심사 - 상태체크 없음
  356. //model.setValue("/root/main/patinfo/home", "N"); // 홈 - 상태체크 없음
  357. //model.setValue("/root/main/patinfo/clear", "N"); // 클리어 - 상태체크 없음
  358. model.setValue("/root/main/patinfo/pinfo", "N"); // 사생활
  359. model.setValue("/root/main/patinfo/dinfo", "N"); // 낙상
  360. model.setValue("/root/main/patinfo/binfo", "N"); // 욕창
  361. model.setValue("/root/main/patinfo/nutinfo", "N"); // 영양고위험
  362. //환자 상세 정보 초기화
  363. model.removeNodeset(gvPatientInfoPath);
  364. model.makeNode(gvPatientInfoPath);
  365. setGlobalVariable("paminfo", ""); //원무정보
  366. setGlobalVariable("consult", ""); //협진정보
  367. setGlobalVariable("operation", ""); //수술정보
  368. //스타일 초기화
  369. fSetCtrlClass("infection"); // 혈액주의,접촉주의,공기주의
  370. fSetCtrlClass("allergy"); // allergy & newallergy
  371. fSetCtrlClass("organ"); // 이식
  372. fSetCtrlClass("cp"); // CP
  373. fSetCtrlClass("drgyn"); // DRG
  374. fSetCtrlClass("vip"); // VIP
  375. fSetCtrlClass("healexam"); // 건진
  376. fSetCtrlClass("intncare"); // 특례
  377. fSetCtrlClass("coop"); // 협력
  378. fSetCtrlClass("pinfo"); // 사생활
  379. fSetCtrlClass("binfo"); // 욕창
  380. fSetCtrlClass("dinfo"); // 낙상
  381. fSetCtrlClass("nutinfo"); // 영양고위험
  382. fSetCtrlClass("recmer"); // 지인정보
  383. grp_patientinfo.refresh();
  384. }
  385. //환자 정보 삭제
  386. function fDelPatientInfos(){
  387. //초기화
  388. fInitialize();
  389. //환자정보 숨기기...
  390. grp_patientinfo.attribute("visibility") = "hidden";
  391. grp_blank.attribute("visibility") = "visible";
  392. return true;
  393. }
  394. /*
  395. pid, pname, age, addr, insukind, ininfo, body, btype,
  396. orddept, apntdr, attndr, diagnosis, operation, allergy, infection, intncare, cp
  397. addrdetl, regstno, telno, zipcd
  398. */
  399. /**
  400. * common.js 의 setPatientInfo(key, value) 에서 호출하는 메소드
  401. * 인터페이스 변경금지.
  402. */
  403. // key별 환자정보 저장
  404. function fSetPatientInfo(key, value) {
  405. //환자번호 세팅시 초기화
  406. if(key == "pid"){
  407. fInitialize();
  408. }
  409. var nodeObj = instance1.selectSingleNode("/root/main/patinfo/"+key);
  410. if (nodeObj != null){
  411. model.setValue(nodeObj, value);
  412. if( key == "infection" || key == "allergy" || key == "newallergy"
  413. || key == "organ" || key == "cp" || key == "drgyn"
  414. || key == "vip" || key == "healexam" || key == "intncare"
  415. || key == "coop" || key == "binfo" || key == "dinfo"
  416. || key == "pinfo" || key == "nutinfo" || key == "recmer" ) {
  417. fSetCtrlClass(key);
  418. } else if ( key == "diagnosis" || key == "operation" || key == "stgediagnm"
  419. || key == "stgecd" || key == "tnmcd1" || key == "tnmcd2" || key == "tnmcd3") {
  420. ctrlObj = document.controls("opt_"+key);
  421. if (ctrlObj == null) {
  422. return false;
  423. }
  424. if(fGetPatientInfo(key) != ""){
  425. ctrlObj.attribute("class") = "output_over";
  426. } else if (fGetPatientInfo(key) == "") {
  427. ctrlObj.attribute("class") = "output_d";
  428. }
  429. } else if(key == "btype" || key == "recovwardnm"){ // 손병은
  430. ctrlObj = document.controls("opt_"+key);
  431. if (ctrlObj == null) {
  432. return false;
  433. }
  434. if(fGetPatientInfo(key) != ""){
  435. ctrlObj.attribute("visibility") = "visible";
  436. if(key=="recovwardnm"){
  437. ctrlObj.attribute("hint") = "신속진료대상자입니다(B★:허혈성뇌졸중, C★:심근경색증,T★:중증외상)";
  438. }
  439. } else if (fGetPatientInfo(key) == "") {
  440. ctrlObj.attribute("visibility") = "hidden";
  441. }
  442. }
  443. model.refresh();
  444. return true;
  445. }
  446. return false;
  447. }
  448. //환자정보 전체 저장
  449. function fSetPatientInfos(values) {
  450. fInitialize();
  451. var patientInfoArr = values.split("|");
  452. var node = instance1.selectSingleNode("/root/main/patinfo");
  453. var nodeList = node.childNodes;
  454. for(var i=0; i< patientInfoArr.length; i++){
  455. nodeList.item(i).value = patientInfoArr[i];
  456. }
  457. //스타일 초기화
  458. fSetCtrlClass("infection"); // 혈액주의,접촉주의,공기주의
  459. fSetCtrlClass("allergy"); // allergy & newallergy
  460. //fSetCtrlClass("chart"); // 차트 - 상태체크없음
  461. fSetCtrlClass("organ"); // 이식
  462. fSetCtrlClass("cp"); // CP
  463. fSetCtrlClass("drgyn"); // DRG
  464. fSetCtrlClass("vip"); // VIP
  465. fSetCtrlClass("healexam"); // 건진
  466. fSetCtrlClass("intncare"); // 특례
  467. fSetCtrlClass("coop"); // 협력
  468. //fSetCtrlClass("inspection"); // 심사 - 상태체크없음
  469. //fSetCtrlClass("home"); // 홈 - 상태체크없음
  470. //fSetCtrlClass("clear"); // 클리어 - 상태체크없음
  471. fSetCtrlClass("pinfo"); // 사생활
  472. fSetCtrlClass("binfo"); // 욕창
  473. fSetCtrlClass("dinfo"); // 낙상
  474. fSetCtrlClass("nutinfo"); // 영양고위험
  475. fSetCtrlClass("recmer"); // 지인정보
  476. model.refresh();
  477. return true;
  478. }
  479. //key별 환자정보 반환
  480. function fGetPatientInfo(key) {
  481. var nodeObj = instance1.selectSingleNode("/root/main/patinfo/"+key);
  482. if (nodeObj != null){
  483. return model.getValue(nodeObj);
  484. }
  485. }
  486. //환자번호 조회
  487. function fGetPatientId() {
  488. return fGetPatientInfo("pid");
  489. }
  490. //환자명 조회
  491. function fGetPatientName() {
  492. return fGetPatientInfo("pname");
  493. }
  494. //환자정보 조회 전체
  495. function fGetPatientInfos() {
  496. var node = instance1.selectSingleNode("/root/main/patinfo");
  497. var childNodeList = node.childNodes;
  498. var childCnt = childNodeList.length;
  499. var patientInfos = "";
  500. for( var i = 0; i < childCnt - 1; i++ ) {
  501. patientInfos += childNodeList.item(i).text + "|";
  502. }
  503. patientInfos += childNodeList.item(i).text + "|";
  504. return patientInfos;
  505. }
  506. //환자정보 상세 created by 김선희 (2007.12.14)
  507. //환자정보가 이전 환자와 같은 정보인지 체크한다.
  508. function fCheckPatientId(checkPath, key){
  509. var pid = fGetPatientId();
  510. if(pid != null && pid != ""){
  511. if(pid != model.getValue(checkPath+"/pid")){
  512. messageBox("환자정보가", "E004");
  513. model.removeNodeset(checkPath);
  514. return false;
  515. }
  516. }else{
  517. messageBox("환자기본정보를 저장후 저장","I006");
  518. return false;
  519. }
  520. //전체세션정보 저장
  521. setGlobalVariable(key, getNodeListCSV(instance1.selectNodes(checkPath)));
  522. return true;
  523. }
  524. //환자구분에 설정한다.(Ver1.1)
  525. function fSetPatientFlag(value){
  526. //외래환자
  527. if(value == "O" || value == "S"){
  528. model.makeNode(gvPatientInfoPath+"/outpatientinfo");
  529. model.removeNodeset(gvPatientInfoPath+"/inpatientinfo");
  530. model.makeValue(gvPatientInfoFlagPath, gvPatientInfoPath+"/outpatientinfo");
  531. }
  532. //입원환자
  533. if(value == "I" || value == "D" || value == "E"){
  534. model.makeNode(gvPatientInfoPath+"/inpatientinfo");
  535. model.removeNodeset(gvPatientInfoPath+"/outpatientinfo");
  536. model.makeValue(gvPatientInfoFlagPath, gvPatientInfoPath+"/inpatientinfo");
  537. }
  538. setGlobalVariable("patflag", "prcpgenrflag▩"+value+"▩");
  539. return true;
  540. }
  541. function fGetPatientInfoPath(){
  542. return model.getValue(gvPatientInfoFlagPath);
  543. }
  544. //환자구분에 따른 상세정보 반환
  545. function fGetPatientInfoDetail(key){
  546. var nodeObj = instance1.selectSingleNode(fGetPatientInfoPath()+"/"+key);
  547. if (nodeObj != null){
  548. return model.getValue(nodeObj);
  549. } else {
  550. return false;
  551. }
  552. }
  553. // 환자 상세정보를 key 별로 저장한다.
  554. function fSetPatientInfoDetailByKey(key, value) {
  555. var nodeObj = instance1.selectSingleNode(fGetPatientInfoPath()+"/"+key);
  556. if (nodeObj != null) {
  557. return model.setValue(nodeObj, value);
  558. } else {
  559. return false;
  560. }
  561. }
  562. // 수술 상세정보를 key 별로 저장한다.
  563. function fSetOperationInfoDetailByKey(key, value) {
  564. var nodeObj = instance1.selectSingleNode(gvOperationInfoPath + "/" + key);
  565. if (nodeObj != null) {
  566. return model.setValue(nodeObj, value);
  567. } else {
  568. return false;
  569. }
  570. }
  571. // 협진 상세정보를 key 별로 저장한다.
  572. function fSetConsultInfoDetailByKey(key, value) {
  573. var nodeObj = instance1.selectSingleNode(gvConsultInfoPath + "/" + key);
  574. if (nodeObj != null) {
  575. return model.setValue(nodeObj, value);
  576. } else {
  577. return false;
  578. }
  579. }
  580. //수술정보를 조회한다.
  581. function fGetOperationInfo(key){
  582. var nodeObj = instance1.selectSingleNode(gvOperationInfoPath+"/"+key);
  583. if (nodeObj != null){
  584. return model.getValue(nodeObj);
  585. }
  586. }
  587. //협진정보를 조회한다.
  588. function fGetConsultInfo(key){
  589. var nodeObj = instance1.selectSingleNode(gvConsultInfoPath+"/"+key);
  590. if (nodeObj != null){
  591. return model.getValue(nodeObj);
  592. }
  593. }
  594. //CP환자 여부 검사 - 2008.08.26 김영학SW
  595. function fChkCPPatValid(){
  596. var outpid = model.getValue("/root/properties/patient/outpatientinfo/pid");
  597. if (outpid == "") {
  598. var pid = model.getValue("/root/properties/patient/inpatientinfo/pid");
  599. var orddd = model.getValue("/root/properties/patient/inpatientinfo/indd");
  600. var cretno = model.getValue("/root/properties/patient/inpatientinfo/cretno");
  601. var cpyn = model.getValue("/root/properties/patient/inpatientinfo/cpyn");
  602. var hngnm = model.getValue("/root/properties/patient/inpatientinfo/hngnm");
  603. var orddeptcd = model.getValue("/root/properties/patient/inpatientinfo/orddeptcd");
  604. model.removeNodeset("/root/send/reqdata");
  605. model.makeValue("/root/send/reqdata/pid" , pid);
  606. model.makeValue("/root/send/reqdata/orddd" , orddd);
  607. model.makeValue("/root/send/reqdata/cretno" , cretno);
  608. model.makeValue("/root/send/reqdata/prcpgenrflag", "I");
  609. model.makeValue("/root/send/reqdata/srchtabflag" , "I"); //대상자리스트탭(I/D):조회결과orddd,cretno는 외래이력의 수전정보임
  610. } else {
  611. var pid = model.getValue("/root/properties/patient/outpatientinfo/pid");
  612. var orddd = model.getValue("/root/properties/patient/outpatientinfo/orddd");
  613. var cretno = model.getValue("/root/properties/patient/outpatientinfo/cretno");
  614. var hngnm = model.getValue("/root/properties/patient/outpatientinfo/hngnm");
  615. model.removeNodeset("/root/send/reqdata");
  616. model.makeValue("/root/send/reqdata/pid" , pid);
  617. model.makeValue("/root/send/reqdata/orddd" , orddd);
  618. model.makeValue("/root/send/reqdata/cretno" , cretno);
  619. model.makeValue("/root/send/reqdata/prcpgenrflag", "O");
  620. }
  621. model.makeNode("/root/init/rsltgetdata/getdata");
  622. if(submit("TRMMO04303")) {
  623. var cppatnode = model.instance1.selectNodes("/root/init/rsltgetdata/getdata");
  624. //alert (cppatnode);
  625. if(cppatnode.length < 1) { //cp적용환자 tbl에 유효한 데이터가 없는 경우
  626. model.setValue("/root/main/patinfo/cp", "N"); //처방open
  627. return true;
  628. } else { //CP적용환자 tbl에 유효한 데이터가 있는 경우
  629. var appstat = model.getValue("/root/init/rsltgetdata/getdata/appstat");
  630. var cpgnm = model.getValue("/root/init/rsltgetdata/getdata/cpgnm");
  631. if(appstat == 11) { //CP적용상태가 11인 경우
  632. var rtnval = messageBox("[" + hngnm + "]환자의 [" + cpgnm + "] CP를", "Q003");
  633. if(rtnval == 6) { //예 선택, CP Main open, CP적용환자 tbl에 appstat 10 진행중
  634. model.setValue("/root/main/patinfo/cp", "Y");
  635. return fUpdtCPPatAppStatVal(10);
  636. } else { //아니오 선택, 처방 Main open, CP적용환자 tbl에 appstat 50 : CP Drop
  637. model.setValue(opener.root.cpflag, "N");
  638. //return fUpdtCPPatAppStatVal(50);
  639. if(fUpdtCPPatAppStatVal(50) != false) {
  640. model.setValue("/root/main/patinfo/cp", "N");
  641. return;
  642. } else {
  643. return false;
  644. }
  645. }
  646. }else if(appstat == 53){
  647. model.setValue("/root/main/patinfo/cp", "X");
  648. return true;
  649. }else{ //CP적용상태가 11가 아닌 경우, CP Main창 open
  650. model.setValue("/root/main/patinfo/cp", "Y");
  651. return true;
  652. }
  653. }
  654. }
  655. }
  656. // CP환자 적용상태값 변경 - 2008.08.26 김영학SW
  657. function fUpdtCPPatAppStatVal(appstat){
  658. var cpgappno = model.getValue("/root/init/rsltgetdata/getdata/cpgappno");
  659. model.removeNodeset("/root/send/savedata");
  660. model.makeValue("/root/send/savedata/cpgappno", cpgappno);
  661. model.makeValue("/root/send/savedata/appstat" , appstat);
  662. return submit("TXMMO04301");
  663. }
  664. ]]>
  665. </script>
  666. <xhtml:body guideline="1,1217;2,61;1,1126;2,9;">
  667. <group id="grp_blank" class="patient_blank" visibility="visible" style="left:0px; top:0px; width:1217px; height:61px; "/>
  668. <group id="grp_patientinfo" class="patient_info" visibility="hidden" style="left:0px; top:0px; width:1217px; height:61px; ">
  669. <group id="grp_patient" class="patient" visibility="visible" style="left:0px; top:0px; width:540px; height:61px; ">
  670. <input id="opt_pid" ref="/root/main/patinfo/pid" class="patient_num" editable="false" style="left:20px; top:7px; width:105px; height:23px; "/>
  671. <output id="opt_name" ref="/root/main/patinfo/dispnm2" class="patient_num" ellipsis="true" style="left:138px; top:7px; width:152px; height:23px; "/>
  672. <script type="javascript" ev:event="onmouseover">
  673. <![CDATA[
  674. fSetCtrlHint();
  675. ]]>
  676. </script>
  677. <output id="opt_recovwardnm" ref="/root/main/patinfo/recovwardnm" class="patient_num" style="left:105px; top:8px; width:35px; height:23px; font-weight:bold; border-color:#ff0000; border-style:solid; ">
  678. <hint>
  679. <![CDATA[신속진료대상자입니다(B★:허혈성뇌졸중, C★:심근경색증,T★:중증외상)]]>
  680. </hint>
  681. </output>
  682. <output id="opt_age" ref="/root/main/patinfo/age" class="patient_text_black" style="left:290px; top:4px; width:60px; height:13px; ">
  683. <script type="javascript" ev:event="onmouseover">
  684. <![CDATA[
  685. fSetCtrlHint();
  686. ]]>
  687. </script>
  688. </output>
  689. <output id="opt_addr" ref="/root/main/patinfo/addr" class="patient_text_black" ellipsis="true" style="left:355px; top:17px; width:180px; height:13px; ">
  690. <script type="javascript" ev:event="onmouseover">
  691. <![CDATA[
  692. fSetCtrlHint();
  693. ]]>
  694. </script>
  695. </output>
  696. <caption id="caption15" class="patient_text_black" style="left:353px; top:4px; width:8px; height:13px; ">[</caption>
  697. <output id="opt_insukind" ref="/root/main/patinfo/insukind" class="patient_text_black" style="left:359px; top:4px; width:50px; height:13px; "/>
  698. <caption id="caption17" class="patient_text_black" style="left:407px; top:4px; width:8px; height:13px; ">]</caption>
  699. <output id="opt_ininfo" ref="/root/main/patinfo/ininfo" class="patient_text_black" style="left:20px; top:37px; width:280px; height:13px; "/>
  700. <output id="opt_btype" ref="/root/main/patinfo/btype" class="patient_text_red" border="1px" style="left:306px; top:35px; width:29px; height:20px; font-weight:bold; text-align:center; border-color:#999999; border-style:solid; ">
  701. <script type="javascript" ev:event="onmouseover">
  702. <![CDATA[
  703. fSetCtrlHint();
  704. ]]>
  705. </script>
  706. </output>
  707. <output id="output1" ref="/root/main/patinfo/rrgstno" class="patient_text_black" style="left:290px; top:17px; width:50px; height:13px; ">
  708. <!--script type="javascript" ev:event="onmouseover">
  709. <![CDATA[
  710. fSetCtrlHint();
  711. ]]>
  712. </script-->
  713. </output>
  714. </group>
  715. <!-- 의사정보 그룹 -->
  716. <group id="grp_doctor" class="doctor" visibility="visible" style="left:540px; top:0px; width:213px; height:61px; ">
  717. <output id="opt_orddept" ref="/root/main/patinfo/orddept" class="output_w_b" ellipsis="true" style="left:5px; top:8px; width:45px; height:19px; ">
  718. <script type="javascript" ev:event="onmouseover">
  719. <![CDATA[
  720. fSetCtrlHint();
  721. ]]>
  722. </script>
  723. </output>
  724. <caption id="caption5" class="output_w" style="left:48px; top:9px; width:10px; height:19px; ">[</caption>
  725. <output id="opt_apntdr" ref="/root/main/patinfo/apntdr" class="output_w" style="left:55px; top:9px; width:40px; height:19px; "/>
  726. <caption id="caption7" class="output_w" style="left:96px; top:9px; width:10px; height:19px; ">/</caption>
  727. <output id="opt_attndr" ref="/root/main/patinfo/attndr" class="output_w" style="left:102px; top:9px; width:80px; height:19px; "/>
  728. <caption id="caption6" class="output_w" style="left:180px; top:9px; width:10px; height:19px; ">]</caption>
  729. <button id="btn_prescription" class="btn_certificate" style="left:188px; top:8px; width:20px; height:20px; ">
  730. <caption/>
  731. <script type="javascript" ev:event="DOMActivate">
  732. <![CDATA[
  733. // 권한이 없으면 아예 못보도록 - 오지훈SW 요청 2008.07.17
  734. var jobkindcd = (getUserInfo("jobkindcd")).substr(0, 2);
  735. if(jobkindcd == "03"){
  736. // CP 환자 여부 확인후 - 2008.08.26 김영학SW
  737. if (fChkCPPatValid()) {
  738. var cpyn = model.getValue("/root/main/patinfo/cp");
  739. if (cpyn == "Y") {
  740. open("SMMMP00800");
  741. } else if (cpyn =="X") {
  742. open("SPMMP01200");
  743. } else {
  744. open("SMMMO00100");
  745. }
  746. }
  747. }else{
  748. messageBox("처방화면 사용", "E002");
  749. return;
  750. }
  751. ]]>
  752. </script>
  753. </button>
  754. </group>
  755. <!-- 진단/수술명 그룹 -->
  756. <group id="grp_diagnosis" class="diagnosis" visibility="visible" style="left:753px; top:0px; width:537px; height:163px; ">
  757. <caption id="cap_diagnosis" class="diagnosis_text" appearance="caption" style="left:18px; top:9px; width:28px; height:20px; ">진단</caption>
  758. <output id="opt_diagnosis" ref="/root/main/patinfo/diagnosis" class="output_d" ellipsis="true" style="left:49px; top:9px; width:191px; height:19px; ">
  759. <script type="javascript" ev:event="onmouseover">
  760. <![CDATA[
  761. fSetCtrlHint();
  762. ]]>
  763. </script>
  764. </output>
  765. <caption id="cap_operation" class="diagnosis_text" style="left:18px; top:34px; width:28px; height:20px; ">수술</caption>
  766. <output id="opt_operation" ref="/root/main/patinfo/operation" class="output_d" ellipsis="true" style="left:49px; top:34px; width:191px; height:19px; ">
  767. <script type="javascript" ev:event="onmouseover">
  768. <![CDATA[
  769. fSetCtrlHint();
  770. ]]>
  771. </script>
  772. </output>
  773. <button id="btn_stgediagnm" class="diagnosis_text" appearance="button" style="left:253px; top:9px; width:49px; height:20px; ">
  774. <caption>C상병</caption>
  775. <script type="javascript" ev:event="DOMActivate">
  776. <![CDATA[
  777. fClickButton(document.controls.item(event.target).attribute("id"));
  778. ]]>
  779. </script>
  780. </button>
  781. <output id="opt_stgediagnm" ref="/root/main/patinfo/stgediagnm" class="output_d" ellipsis="true" style="left:297px; top:9px; width:155px; height:19px; ">
  782. <script type="javascript" ev:event="onmouseover">
  783. <![CDATA[
  784. fSetCtrlHint();
  785. ]]>
  786. </script>
  787. </output>
  788. <button id="btn_tnm" class="diagnosis_text" style="left:263px; top:34px; width:31px; height:20px; ">
  789. <caption>TNM</caption>
  790. <script type="javascript" ev:event="DOMActivate">
  791. <![CDATA[
  792. fClickButton(document.controls.item(event.target).attribute("id"));
  793. ]]>
  794. </script>
  795. </button>
  796. <output id="opt_stgecd" ref="/root/main/patinfo/stgecd" class="output_d" style="left:297px; top:34px; width:39px; height:19px; text-align:center; ">
  797. <script type="javascript" ev:event="onmouseover">
  798. <![CDATA[
  799. fSetCtrlHint();
  800. ]]>
  801. </script>
  802. </output>
  803. <output id="opt_tnmcd1" ref="/root/main/patinfo/tnmcd1" class="output_d" style="left:335px; top:34px; width:39px; height:19px; text-align:center; ">
  804. <script type="javascript" ev:event="onmouseover">
  805. <![CDATA[
  806. fSetCtrlHint();
  807. ]]>
  808. </script>
  809. </output>
  810. <output id="opt_tnmcd2" ref="/root/main/patinfo/tnmcd2" class="output_d" style="left:373px; top:34px; width:40px; height:19px; text-align:center; ">
  811. <script type="javascript" ev:event="onmouseover">
  812. <![CDATA[
  813. fSetCtrlHint();
  814. ]]>
  815. </script>
  816. </output>
  817. <output id="opt_tnmcd3" ref="/root/main/patinfo/tnmcd3" class="output_d" style="left:412px; top:34px; width:40px; height:19px; text-align:center; ">
  818. <script type="javascript" ev:event="onmouseover">
  819. <![CDATA[
  820. fSetCtrlHint();
  821. ]]>
  822. </script>
  823. </output>
  824. </group>
  825. <!-- 버튼 그룹 -->
  826. <group id="grp_buttons" class="buttons" visibility="visible" style="left:345px; top:32px; width:407px; height:26px; ">
  827. <button id="btn_top_infection0" class="btn_top_letter1" style="left:13px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_infection0_d.gif; ">
  828. <caption/>
  829. <hint>
  830. <![CDATA[혈액주의]]>
  831. </hint>
  832. </button>
  833. <button id="btn_top_infection1" class="btn_top_letter1" style="left:36px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_infection1_d.gif; ">
  834. <caption/>
  835. <hint>
  836. <![CDATA[접촉주의]]>
  837. </hint>
  838. </button>
  839. <button id="btn_top_infection2" class="btn_top_letter1" style="left:58px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_infection2_d.gif; ">
  840. <caption/>
  841. <hint>
  842. <![CDATA[공기주의]]>
  843. </hint>
  844. </button>
  845. <button id="btn_top_allergy" class="btn_top_letter3" style="left:81px; top:3px; width:28px; height:20px; background-image:../../../com/hismainweb/images/btn_top_allergy_d.gif; ">
  846. <caption/>
  847. </button>
  848. <button id="btn_top_chart" class="btn_top_letter1" visibility="hidden" style="left:280px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_chart.gif; ">
  849. <caption/>
  850. </button>
  851. <button id="btn_top_organ" class="btn_top_letter2" style="left:103px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_organ_d.gif; ">
  852. <caption/>
  853. </button>
  854. <button id="btn_top_cp" class="btn_top_letter2" style="left:125px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_cp_d.gif; ">
  855. <caption/>
  856. </button>
  857. <button id="btn_top_drgyn" class="btn_top_letter3" style="left:147px; top:3px; width:28px; height:20px; background-image:../../../com/hismainweb/images/btn_top_drgyn_d.gif; ">
  858. <caption/>
  859. <hint>
  860. <![CDATA[DRG정보]]>
  861. </hint>
  862. </button>
  863. <button id="btn_top_vip" class="btn_top_letter1" style="left:169px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_vip_d.gif; ">
  864. <caption/>
  865. </button>
  866. <button id="btn_top_healexam" class="btn_top_letter2" disabled="true" style="left:213px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_healexam_d.gif; ">
  867. <caption/>
  868. </button>
  869. <button id="btn_top_intncare" class="btn_top_letter2" style="left:236px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_intncare_d.gif; ">
  870. <caption/>
  871. <hint>
  872. <![CDATA[산정특례]]>
  873. </hint>
  874. </button>
  875. <button id="btn_top_coop" class="btn_top_letter2" disabled="true" style="left:259px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_coop_d.gif; ">
  876. <caption/>
  877. </button>
  878. <button id="btn_top_nutinfo" class="btn_top_letter2" disabled="true" style="left:282px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_nutinfo_d.gif; ">
  879. <caption/>
  880. <hint>
  881. <![CDATA[영양고위험군]]>
  882. </hint>
  883. </button>
  884. <button id="btn_top_inspection" class="btn_top_letter2" visibility="hidden" style="left:303px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_inspection.gif; ">
  885. <caption/>
  886. </button>
  887. <button id="btn_top_home" class="btn_top_letter1" visibility="hidden" style="left:329px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_home.gif; ">
  888. <caption/>
  889. </button>
  890. <button id="btn_top_clear" class="btn_top_letter3" style="left:379px; top:3px; width:28px; height:20px; background-image:../../../com/hismainweb/images/btn_top_clear.gif; ">
  891. <caption/>
  892. </button>
  893. <button id="btn_top_dinfo" class="btn_top_letter2" style="left:305px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_dinfo_d.gif; ">
  894. <caption/>
  895. <hint>
  896. <![CDATA[낙상고위험군]]>
  897. </hint>
  898. </button>
  899. <button id="btn_top_binfo" class="btn_top_letter2" style="left:327px; top:3px; width:26px; height:20px; background-image:../../../com/hismainweb/images/btn_top_binfo_d.gif; ">
  900. <caption/>
  901. <hint>
  902. <![CDATA[욕창발생위험군]]>
  903. </hint>
  904. </button>
  905. <button id="btn_top_pinfo" class="btn_top_letter3" style="left:350px; top:3px; width:28px; height:20px; background-image:../../../com/hismainweb/images/btn_top_pinfo_d.gif; ">
  906. <caption/>
  907. </button>
  908. <script type="javascript" ev:event="onclick">
  909. <![CDATA[
  910. var targetObj = document.controls.item(event.target);
  911. if (targetObj.elementName == "xforms:button") {
  912. fClickButton(targetObj.attribute("id"));
  913. }
  914. ]]>
  915. </script>
  916. <button id="btn_top_recmer" class="btn_top_letter1" style="left:191px; top:3px; width:20px; height:20px; background-image:../../../com/hismainweb/images/btn_top_recmer_d.gif; ">
  917. <caption/>
  918. <hint>
  919. <![CDATA[지인]]>
  920. </hint>
  921. <script type="javascript" ev:event="onmouseover">
  922. <![CDATA[
  923. var recmerinfo = model.getValue("/root/main/patinfo/recmerinfo");
  924. if(recmerinfo == "-" || recmerinfo == ""){
  925. recmerinfo = "지인정보";
  926. }
  927. btn_top_recmer.hint = recmerinfo;
  928. ]]>
  929. </script>
  930. </button>
  931. </group>
  932. </group>
  933. </xhtml:body>
  934. </xhtml:html>