SPAER01900_조영제부작용조회.xrw 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>조영제 부작용 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist/>
  12. </patinfo>
  13. <aeahinfo>
  14. <aeahlist1>
  15. <execprcpuniqno/>
  16. <inputgb/>
  17. <excucdnm/>
  18. <execprcpstatcd/>
  19. <cdnm/>
  20. <prcpdd/>
  21. <excuexectodt/>
  22. </aeahlist1>
  23. </aeahinfo>
  24. <aeahdyes1>
  25. <aeahdyeslist1>
  26. <execprcpuniqno/>
  27. <excucdnm/>
  28. <prcpdd/>
  29. <excuexectodt/>
  30. <excuexecfromdd/>
  31. <excuexecfromtm/>
  32. <excuexectodd/>
  33. <excuexectotm/>
  34. <prcpdd/>
  35. <pid/>
  36. <seriseffcflag/>
  37. <trivialseffcflag/>
  38. <sympetc/>
  39. <usedyecd/>
  40. <usedyenm/>
  41. <usedyeqty/>
  42. <usedyetrivialrem/>
  43. <bpcnts/>
  44. <pulsecnts/>
  45. <erroomtrandd/>
  46. <erroomtrantm/>
  47. <tretrsltflag/>
  48. <seriseffcflag1>0</seriseffcflag1>
  49. <seriseffcflag2>0</seriseffcflag2>
  50. <seriseffcflag3>0</seriseffcflag3>
  51. <seriseffcflag4>0</seriseffcflag4>
  52. <trivialseffcflag1/>
  53. <trivialseffcflag2/>
  54. <trivialseffcflag3/>
  55. <trivialseffcflag4/>
  56. <trivialseffcflag5/>
  57. <trivialseffcflag6/>
  58. <trivialseffcflag7/>
  59. <trivialseffcflag8/>
  60. <trivialseffcflag9/>
  61. <trivialseffcflag10/>
  62. <trivialseffcflag11/>
  63. <trivialseffcflag12/>
  64. <trivialseffcflag13/>
  65. <cnstcnts6/>
  66. <cnstcnts7/>
  67. <cnstcnts8/>
  68. <cnstcnts9/>
  69. <cnstcnts10/>
  70. <cnstcnts11/>
  71. <cnstcnts12/>
  72. <cnstcnts13/>
  73. <cnstcnts23/>
  74. <cnstcnts24/>
  75. <cnstcnts25/>
  76. <cnstcnts26/>
  77. <cnstcnts30/>
  78. <cnstcnts31/>
  79. <cnstcnts32/>
  80. <newflag/>
  81. <etccd/>
  82. <drugtoxicflag/>
  83. <drugtoxicname/>
  84. <drugtoxicnamenm/>
  85. <pretreaflag/>
  86. <posttreaflag/>
  87. <patprogress/>
  88. <allergycd/>
  89. <allergyrmk/>
  90. </aeahdyeslist1>
  91. </aeahdyes1>
  92. <aeahdyes2>
  93. <aeahdyeslist2>
  94. <prcpdd/>
  95. <execprcpuniqno/>
  96. <pid/>
  97. <excuexectodt/>
  98. <excuexecfromdd/>
  99. <excuexecfromtm/>
  100. <excuexectodd/>
  101. <excuexectotm/>
  102. <seriseffcflag/>
  103. <seriseffcflag1>0</seriseffcflag1>
  104. <seriseffcflag2>0</seriseffcflag2>
  105. <seriseffcflag3>0</seriseffcflag3>
  106. <seriseffcflag4>0</seriseffcflag4>
  107. <trivialseffcflag/>
  108. <trivialseffcflag1/>
  109. <trivialseffcflag2/>
  110. <trivialseffcflag3/>
  111. <trivialseffcflag4/>
  112. <trivialseffcflag5/>
  113. <trivialseffcflag6/>
  114. <trivialseffcflag7/>
  115. <trivialseffcflag8/>
  116. <trivialseffcflag9/>
  117. <trivialseffcflag10/>
  118. <trivialseffcflag11/>
  119. <trivialseffcflag12/>
  120. <trivialseffcflag13/>
  121. <sympetc/>
  122. <usedyecd/>
  123. <usedyenm/>
  124. <usedyeqty/>
  125. <usedyetrivialrem/>
  126. <bpcnts/>
  127. <pulsecnts/>
  128. <erroomtrandd/>
  129. <erroomtrantm/>
  130. <tretrsltflag>3</tretrsltflag>
  131. <cnstcnts6/>
  132. <cnstcnts7/>
  133. <cnstcnts8/>
  134. <cnstcnts9/>
  135. <cnstcnts10/>
  136. <cnstcnts11/>
  137. <cnstcnts12/>
  138. <cnstcnts13/>
  139. <cnstcnts23/>
  140. <cnstcnts24/>
  141. <cnstcnts25/>
  142. <cnstcnts26/>
  143. <cnstcnts30/>
  144. <cnstcnts31/>
  145. <cnstcnts32/>
  146. <newflag/>
  147. <drugtoxicflag/>
  148. <drugtoxicname/>
  149. <drugtoxicnamenm/>
  150. <pretreaflag/>
  151. <posttreaflag/>
  152. <patprogress/>
  153. <allergycd/>
  154. <allergyrmk/>
  155. <allergylvl/>
  156. </aeahdyeslist2>
  157. </aeahdyes2>
  158. <popupendflag/>
  159. <result>
  160. <patinfo/>
  161. </result>
  162. <checkrslt>
  163. <checkrsltinfo/>
  164. </checkrslt>
  165. </main>
  166. <send>
  167. <reqdata>
  168. <srchpid/>
  169. <hngnm/>
  170. <stdate/>
  171. <todate/>
  172. <flag/>
  173. <spiddata/>
  174. <deptcd/>
  175. </reqdata>
  176. <reqdata1>
  177. <sprcpdd/>
  178. <sexecprcpuniqno/>
  179. </reqdata1>
  180. <aeahdyeslist2/>
  181. <globalinstance>
  182. <instance1/>
  183. </globalinstance>
  184. <calcreqdata>
  185. <earncls1>05</earncls1>
  186. <earncls2>18</earncls2>
  187. <earncls3/>
  188. </calcreqdata>
  189. <allergy>
  190. <prcpdd/>
  191. <execprcpuniqno/>
  192. <allergycd/>
  193. <allergyrmk/>
  194. <allergylvl/>
  195. </allergy>
  196. </send>
  197. <init>
  198. <cmb_info>
  199. </cmb_info>
  200. <baseinfo>
  201. <usedyecd/>
  202. </baseinfo>
  203. <M0760list>
  204. <M0760>
  205. <cdid/>
  206. <cdnm/>
  207. </M0760>
  208. </M0760list>
  209. </init>
  210. <source>
  211. <srchcond/>
  212. <pid/>
  213. <hngnm/>
  214. <rrgstno1/>
  215. <rrgstno2/>
  216. </source>
  217. <hidden>
  218. <count/>
  219. <ocrprint>
  220. <calcscor>
  221. <pid/>
  222. <cretno/>
  223. <orddd/>
  224. <ordtype/>
  225. <calcscorcd/>
  226. <prcpyn/>
  227. <execprcpuniqno/>
  228. </calcscor>
  229. </ocrprint>
  230. </hidden>
  231. </root>
  232. </instance>
  233. <script type="javascript" ev:event="xforms-ready">
  234. <![CDATA[
  235. var sPid = model.getValue("/root/hidden/ocrprint/calcscor/pid");
  236. var sPrcpYn = model.getValue("/root/hidden/ocrprint/calcscor/prcpyn");
  237. if( sPid != "") {
  238. model.SetValue("/root/send/reqdata/srchpid", sPid );
  239. ipt_pid.refresh();
  240. //20150916 kya 수정
  241. ipt_pid.dispatch("xforms-value-changed");
  242. readfunc();
  243. // 조영제
  244. // submit("TRAER00704");
  245. zbcfGetCodeList(new Array( "M0760"), new Array( "/root/init/M0760list"));
  246. if(sPrcpYn == "N") { // 처방에서 팝업 되지 않은 경우
  247. btn_chg.visible = false; // 처방 변경 버튼 숨김 처리
  248. if(getUserInfo("dutplcecd") == "2011000000" || getUserInfo("userid") == "EMR") { // 알레르기감염 내과만 활성화 처리
  249. btn_allergy.visible = true; // 감염내과 의견저장 버튼
  250. } else {
  251. btn_allergy.visible = false; // 감염내과 의견저장 버튼
  252. }
  253. var sExecPrcpUniqNo = model.getValue("/root/hidden/ocrprint/calcscor/execprcpuniqno");
  254. for (var i = 1; i < grd_aeahdyelist.rows; i ++){
  255. if(model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+i+"]/execprcpuniqno") == sExecPrcpUniqNo) {
  256. grd_aeahdyelist.row = i;
  257. display_list();
  258. break;
  259. }
  260. }
  261. } else {// 처방시 팝업 되었을경우
  262. btn_chg.visible = true; // 처방 변경 버튼 활성화 처리
  263. btn_allergy.visible = false; // 감염내과 의견저장 버튼
  264. if(opener.model.getValue("/root/paminfo/list/orddeptcd") != "2010700000" ) { // 신장내과 제외
  265. var srcPrcpList = opener.model.instances(0).selectNodes ( "/root/main/prcp/prcplist[prcpcd='LH1026']" );
  266. if(srcPrcpList.length == 0 ) {
  267. model.resetInstanceNode("/root/main/checkrslt/checkrsltinfo");
  268. if(submit("TRAER01904") ) {
  269. var checkrsltinfo = model.instances(0).selectNodes( "/root/main/checkrslt/checkrsltinfo" ).length;
  270. if ( checkrsltinfo > 0 ) {
  271. var msgyn = model.getValue("/root/main/checkrslt/checkrsltinfo/msgyn");
  272. if(msgyn == "Y") {
  273. var reptrslt = model.getValue("/root/main/checkrslt/checkrsltinfo/reptrslt");
  274. var lastreptdt = model.getValue("/root/main/checkrslt/checkrsltinfo/lastreptdt");
  275. if(fContainsHardCD("561", "Y")) { // 조영제 부작용 관련 신장내과 진료의뢰여부 (본원일 경우만)
  276. if (messageBox("serum creatinine 수치가 1.5 이상으로 조영제 사용 영상검사 시\n신독성이 유발될 수 있습니다.\n\n최근보고일자 : " +lastreptdt+ " 결과 값 : " +reptrslt + " mg/dl\n\n신장내과로 협진의뢰하시어\n신독성 예방 처방의뢰하실 것을 권장합니다.\n(신장내과 당일 접수 후 진료 가능 합니다.)\n\n협진의뢰 하시겠습니까?", "Q" ) == "6" ) {
  277. var formcd = "0000000677";
  278. var deptcd = "2010700000";
  279. var deptnm = "신장내과";
  280. var drid = "08071";
  281. var drnm = "정희연";
  282. var reqcnt = "\n상기 환자에게 조영제 포함 처방 발행 시\nserum creatinine 수치가 1.5 이상입니다. \n최근보고일자 : " +lastreptdt+ " 결과 값 : " +reptrslt + " mg/dl\n\n적절한 평가 및 처치 위해 진료의뢰 드립니다. ";
  283. var cnstflag = "1"
  284. var orddd = getCurrentDate();
  285. var ordtype = model.getValue("/root/hidden/ocrprint/calcscor/ordtype");
  286. if(ordtype == "O" || ordtype == "S") {
  287. ordtype = "O";
  288. } else {
  289. ordtype = "I";
  290. }
  291. setParameter("SMMMR05000_nonstopyn", "Y");
  292. setParameter("SMMMR05000_formcd", formcd);
  293. setParameter("SMMMR05000_deptcd", deptcd);
  294. setParameter("SMMMR05000_deptnm", deptnm);
  295. setParameter("SMMMR05000_drid", drid);
  296. setParameter("SMMMR05000_drnm", drnm);
  297. setParameter("SMMMR05000_cnstflag", cnstflag);
  298. setParameter("SMMMR05000_reqcnt", reqcnt);
  299. setParameter("SMMMR05000_orddd", orddd);
  300. setParameter("SMMMR05000_cnstioflag", ordtype);
  301. modal("SMMMR05000");
  302. }
  303. } else {
  304. if (messageBox("serum creatinine 수치가 1.5 이상으로 조영제 사용 영상검사시\n신독성이 유발될 수 있습니다.\n\n최근보고일자 : " +lastreptdt+ " 결과 값 : " +reptrslt + " mg/dl\n\n계속 하시겠습니까?", "Q" ) == "7" ) {
  305. btn_chg.dispatch("onclick");
  306. return;
  307. }
  308. }
  309. }
  310. } else {
  311. if (messageBox("최근 6개월이내 신기능검사 결과가 없습니다.\n조영제로 인한 신독성 유발가능성을 평가 할 수 없으므로\nserum creatinine [LH1026] 검사확인을 권장 합니다.\n\n Y : 신기능검사 처방 추가\n N : 신기능검사 없이 진행", "Q" ) == "6" ) {
  312. opener.javascript.setParameter("SPAER01900_addprcpcd" , "LH1026");
  313. btn_chg.dispatch("onclick");
  314. return;
  315. }
  316. }
  317. }
  318. }
  319. }
  320. var srchLength1 = model.instances(0).selectNodes( "/root/main/aeahdyes1/aeahdyeslist1" ).length;
  321. if ( srchLength1 > 0 ) {
  322. xforms_display_list();
  323. var sAllergyCd = "";
  324. var sAllergyLvl = "";
  325. var sAllergyLvlNm = "";
  326. for (var i = 1; i <= srchLength1; i++ ) { // 감염내과 의견이 없는경우 이전 의견을 조회 한다.
  327. sAllergyCd = model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+i+"]/allergycd") ;
  328. sAllergyLvl = model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+i+"]/allergylvl") ;
  329. if(!isNull(sAllergyCd)) {
  330. if(sAllergyLvl == "A") {
  331. sAllergyLvlNm = "경증";
  332. } else if(sAllergyLvl == "B") {
  333. sAllergyLvlNm = "중등증";
  334. } else if(sAllergyLvl == "C") {
  335. sAllergyLvlNm = "중증";
  336. }
  337. break;
  338. }
  339. }
  340. if(isNull(sAllergyCd)) { // 감염내과 의견이 없는경우
  341. if (messageBox("조영제 유해반응이 있었던 환자 입니다.\n\n적절한 평가 및 전처치를 위해 알레르기내과에\n진료의뢰 하시겠습니까?", "Q" ) == "6" ) {
  342. var formcd = "0000000677";
  343. var deptcd = "2011000000";
  344. var deptnm = "알레르기감염내과";
  345. var drid = "14168";
  346. var drnm = "김수정";
  347. var reqcnt = "\n조영제 유해반응의 병력이 있는 분으로 적절한 평가 및 처치 위해 알레르기내과 진료의뢰 드립니다. ";
  348. var cnstflag = "1"
  349. var orddd = getCurrentDate();
  350. var ordtype = model.getValue("/root/hidden/ocrprint/calcscor/ordtype");
  351. if(ordtype == "O" || ordtype == "S") {
  352. ordtype = "O";
  353. } else {
  354. ordtype = "I";
  355. }
  356. setParameter("SMMMR05000_nonstopyn", "Y");
  357. setParameter("SMMMR05000_formcd", formcd);
  358. setParameter("SMMMR05000_deptcd", deptcd);
  359. setParameter("SMMMR05000_deptnm", deptnm);
  360. setParameter("SMMMR05000_drid", drid);
  361. setParameter("SMMMR05000_drnm", drnm);
  362. setParameter("SMMMR05000_cnstflag", cnstflag);
  363. setParameter("SMMMR05000_reqcnt", reqcnt);
  364. setParameter("SMMMR05000_orddd", orddd);
  365. setParameter("SMMMR05000_cnstioflag", ordtype);
  366. modal("SMMMR05000");
  367. }
  368. } else if(sAllergyCd == "A") { // 전처치 필요 없음.
  369. // 아무것도 하지 않음.
  370. } else if(sAllergyCd == "B") { // 항히스타민제 단독 전처치
  371. var srcPrcpList = opener.model.instances(0).selectNodes ( "/root/main/prcp/prcplist[prcpcd='DICHLOR']" );
  372. if(srcPrcpList.length == 0 ) {
  373. if (messageBox(sAllergyLvlNm + " 조영제 과민반응이 있었던 환자 입니다.\n\n검사 1시간 전 항히스타민제(chlorpheniramine 1amp IV)\n전처치 시행을 추천 합니다.\n\n진행 하시겠습니까?", "Q" ) == "6" ) {
  374. opener.javascript.setParameter("SPAER01900_addprcpcd" , "B");
  375. btn_chg.dispatch("onclick");
  376. return;
  377. } else {
  378. sPopUpMsg = "조영제 과민반응 재발위험에 대해 설명 후 검사 진행하시기 바랍니다.\n\n";
  379. }
  380. }
  381. } else if(sAllergyCd == "C") { // 항히스타민제+스테로이드 복합 전처치
  382. var srcPrcpList = opener.model.instances(0).selectNodes ( "/root/main/prcp/prcplist[prcpcd='DICHLOR']" );
  383. if(srcPrcpList.length == 0 ) {
  384. if (messageBox(sAllergyLvlNm + " 조영제 과민반응이 있었던 환자입니다.\n\n검사 전 경구 스테로이드 및 항히스타민제 전처치 시행을 추천합니다. \n\n진행 하시겠습니까?", "Q" ) == "6" ) {
  385. opener.javascript.setParameter("SPAER01900_addprcpcd" , "C");
  386. btn_chg.dispatch("onclick");
  387. return;
  388. } else {
  389. sPopUpMsg = "조영제 과민반응 재발위험에 대해 설명 후 검사 진행하시기 바랍니다.\n\n";
  390. }
  391. }
  392. } else if (sAllergyCd == "D") { // 알레르기내과 진료 후 검사
  393. if (messageBox(sAllergyLvlNm + " 조영제 과민반응이 있었던 환자로 전처치 후에도 중증 조영제 과민반응의 재발 위험이 있습니다.\n\n조영제 검사가 불가피한 경우라면 알레르기 전문의 진료 후 진행하실 것을 추천합니다.\n\n진행 하시겠습니까?", "Q" ) == "6" ) {
  394. var formcd = "0000000677";
  395. var deptcd = "2011000000";
  396. var deptnm = "알레르기감염내과";
  397. var drid = "14168";
  398. var drnm = "김수정";
  399. var reqcnt = "\n조영제 유해반응의 병력이 있는 분으로 적절한 평가 및 처치 위해 알레르기내과 진료의뢰 드립니다. ";
  400. var cnstflag = "1"
  401. var orddd = getCurrentDate();
  402. var ordtype = model.getValue("/root/hidden/ocrprint/calcscor/ordtype");
  403. if(ordtype == "O" || ordtype == "S") {
  404. ordtype = "O";
  405. } else {
  406. ordtype = "I";
  407. }
  408. setParameter("SMMMR05000_nonstopyn", "Y");
  409. setParameter("SMMMR05000_formcd", formcd);
  410. setParameter("SMMMR05000_deptcd", deptcd);
  411. setParameter("SMMMR05000_deptnm", deptnm);
  412. setParameter("SMMMR05000_drid", drid);
  413. setParameter("SMMMR05000_drnm", drnm);
  414. setParameter("SMMMR05000_cnstflag", cnstflag);
  415. setParameter("SMMMR05000_reqcnt", reqcnt);
  416. setParameter("SMMMR05000_orddd", orddd);
  417. setParameter("SMMMR05000_cnstioflag", ordtype);
  418. modal("SMMMR05000");
  419. }else {
  420. if (messageBox(sAllergyLvlNm + " 조영제 과민반응이 있었던 환자로\n전처치 후에도 중증 조영제 과민반응의 재발 위험이 있습니다.\n\n이에 대해 환자 및 보호자에게 설명이 필요하며,\n진료과 의료진 동행하에 검사를 진행하시기 바랍니다.\n\n전처치를 처방하시겠습니까?", "Q" ) == "6" ) {
  421. opener.javascript.setParameter("SPAER01900_addprcpcd" , "D");
  422. btn_chg.dispatch("onclick");
  423. return;
  424. }
  425. }
  426. } else if (sAllergyCd == "E") { // 지연성 반응 예방을 위한 스테로이드 처방
  427. var ordtype = model.getValue("/root/hidden/ocrprint/calcscor/ordtype");
  428. if(ordtype == "O") { // 외래만 적용
  429. if (messageBox("지연성 조영제 과민반응이 있었던 환자입니다.\n\n검사 진행 후 과민반응 재발 위험이 있어 검사 당일부터 3일간 경구 스테로이드 예방적 투여를 추천합니다.\n\n진행하시겠습니까?", "Q" ) == "6" ) {
  430. opener.javascript.setParameter("SPAER01900_addprcpcd" , "E");
  431. btn_chg.dispatch("onclick");
  432. return;
  433. } else {
  434. sPopUpMsg = "조영제 과민반응 발생위험에 대해 설명이 필요합니다.\n\n";
  435. }
  436. }
  437. }
  438. }
  439. btn_prt.dispatch("onclick");
  440. }
  441. }else {
  442. messageBox("등록번호 정보가 존재하지 않습니다", "I999");
  443. }
  444. model.refresh();
  445. ]]>
  446. </script>
  447. <submission id="TRAER00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/aeahinfo/aeahlist1"/>
  448. <submission id="TRZBC00101"/>
  449. <submission id="TXAER00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  450. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  451. <submission id="TRAER00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/aeahdyes1/aeahdyeslist1"/>
  452. <submission id="TRAER01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/aeahdyes1/aeahdyeslist1"/>
  453. <submission id="TRAER01904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/checkrslt/checkrsltinfo"/>
  454. <submission id="TRAER00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/calcreqdata" replace="instance" resultref="/root/init/baseinfo"/>
  455. <submission id="TRAER00706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/baseinfo"/>
  456. <submission id="TXAER01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/allergy" resultref="/root/hidden/count"/>
  457. </model>
  458. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  459. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  460. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  461. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  462. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  463. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  464. <script type="javascript">
  465. <![CDATA[
  466. var sPopUpMsg = ""; // 팝업 메세지 설정
  467. function xforms_display_list(){ // 검사 내역에서 클릭한 해당 조영제 부작용 내역을 보여준다.
  468. model.resetInstanceNode("/root/main/aeahdyes2/aeahdyeslist2");
  469. var row = 1;
  470. model.copyNode("/root/main/aeahdyes2/aeahdyeslist2", "/root/main/aeahdyes1/aeahdyeslist1["+row+"]");
  471. //var row = grd_aeahdyelist.row;
  472. var data = grd_aeahdyelist.valueMatrix(row, grd_aeahdyelist.colRef("seriseffcflag"));
  473. var str = data.substring(0);
  474. var k = 0;
  475. for(var i=0; i < str.length; i++){
  476. //var ch = escape(str.charAt(i));
  477. var ch = str.charAt(i);
  478. if (ch != "^"){
  479. k = parseInt(k) + 1;
  480. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + k, ch);
  481. }
  482. }
  483. var data = grd_aeahdyelist.valueMatrix(row, grd_aeahdyelist.colRef("trivialseffcflag"));
  484. var str = data.substring(0);
  485. var k = 0;
  486. for(var i=0; i < str.length; i++){
  487. //var ch = escape(str.charAt(i));
  488. var ch = str.charAt(i);
  489. if (ch != "^"){
  490. k = parseInt(k) + 1;
  491. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + k, ch);
  492. }
  493. }
  494. model.refresh();
  495. }
  496. function readfunc(){ // 해당 조건에 대한 검사내역을 조회한다.
  497. if (model.getValue("/root/send/reqdata/srchpid") == ""){
  498. messageBox("등록번호는 필수 입력 또는 선택 항목", "E008");
  499. model.setFocus("ipt_pid");
  500. return;
  501. }
  502. /*if (model.getValue("/root/send/reqdata/stdate") == ""){
  503. messageBox("실시 시작일자는 필수 입력 또는 선택 항목", "E008");
  504. model.setFocus("ipt_date1");
  505. return;
  506. }
  507. if (model.getValue("/root/send/reqdata/todate") == ""){
  508. messageBox("실시 종료일자는 필수 입력 또는 선택 항목", "E008");
  509. model.setFocus("ipt_date2");
  510. return;
  511. }
  512. if (isDate(model.getValue("/root/send/reqdata/stdate")) == false){
  513. messageBox("실시 시작일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  514. model.setFocus("ipt_date1");
  515. return;
  516. }
  517. if (isDate(model.getValue("/root/send/reqdata/todate")) == false){
  518. messageBox("실시 종료일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  519. model.setFocus("ipt_date2");
  520. return;
  521. }
  522. if (model.getValue("/root/send/reqdata/stdate") > model.getValue("/root/send/reqdata/todate")){
  523. messageBox("실시 시작일자가 종료일자 보다 커서 처리", "E001");
  524. model.setFocus("ipt_date2");
  525. return;
  526. } */
  527. model.removeNodeset("/root/main/aeahinfo/aeahlist1");
  528. model.removeNodeset("/root/main/aeahdyes1/aeahdyeslist1");
  529. model.resetInstanceNode("/root/main/aeahdyes2/aeahdyeslist2");
  530. //20151021 kya
  531. model.setValue("/root/send/reqdata/deptcd", model.getValue("/root/send/globalinstance/instance1"));
  532. submit("TRAER00701");
  533. //model.setValue("/root/send/reqdata/deptcd", model.getValue("/root/send/globalinstance/instance1"));
  534. submit("TRAER01901");
  535. //var msg = model.getValue("/root/hidden/error/msg");
  536. // var msg = model.getValue("/root/properties/error/msg");
  537. // var refCnt = msg.substring(0, 1);
  538. // if( refCnt == "0" || refCnt == "") {
  539. // messageBox("조회된 결과가", "I004");
  540. // model.setFocus("ipt_pid");
  541. // }
  542. //20150914 kya
  543. var rows = grd_aeahdyelist.rows;
  544. var row;
  545. if ( rows < 1 ) return;
  546. if ( grd_aeahdyelist.row = -1 ) {
  547. row = grd_aeahdyelist.topRow;
  548. } else {
  549. row = grd_aeahdyelist.row ;
  550. }
  551. var newflag = model.getValue("/root/main/aeahdyes1/aeahdyeslist1[" + row + "]/newflag"); //첫번째 것으로 고정
  552. if ( newflag == 'Y' ) {
  553. model.toggle("case2");
  554. }else {
  555. model.toggle("case1");
  556. }
  557. //grp_aeahlist.disabled = false;
  558. //grd_aeahdyelist.disabled = false;
  559. model.refresh();
  560. }
  561. function readfunc1(){ // 해당 조건에 대한 검사내역을 조회한다.
  562. if (model.getValue("/root/send/reqdata/stdate") == ""){
  563. messageBox("실시 시작일자는 필수 입력 또는 선택 항목", "E008");
  564. model.setFocus("ipt_date1");
  565. return;
  566. }
  567. if (model.getValue("/root/send/reqdata/todate") == ""){
  568. messageBox("실시 종료일자는 필수 입력 또는 선택 항목", "E008");
  569. model.setFocus("ipt_date2");
  570. return;
  571. }
  572. if (isDate(model.getValue("/root/send/reqdata/stdate")) == false){
  573. messageBox("실시 시작일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  574. model.setFocus("ipt_date1");
  575. return;
  576. }
  577. if (isDate(model.getValue("/root/send/reqdata/todate")) == false){
  578. messageBox("실시 종료일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  579. model.setFocus("ipt_date2");
  580. return;
  581. }
  582. if (model.getValue("/root/send/reqdata/stdate") > model.getValue("/root/send/reqdata/todate")){
  583. messageBox("실시 시작일자가 종료일자 보다 커서 처리", "E001");
  584. model.setFocus("ipt_date2");
  585. return;
  586. }
  587. submit("TRAER00703");
  588. var msg = model.getValue("/root/properties/error/msg");
  589. var refCnt = msg.substring(0, 1);
  590. if( refCnt == "0" || refCnt == "") {
  591. messageBox("조회된 결과가", "I004");
  592. model.setFocus("ipt_date1");
  593. }
  594. //grp_aeahlist.disabled = true;
  595. //grd_aeahdyelist.disabled = true;
  596. model.refresh();
  597. }
  598. function isDate(str) { // 날짜 형식에 대한 적합여부 체크
  599. if (str == "") return true; // 빈건 체크안함
  600. if (trim(str) == "") return true; // 빈건 체크안함
  601. if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
  602. if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
  603. var yy = new Number(str.substring(0, 4));
  604. var mm = new Number(str.substring(4, 6)) - 1;
  605. var dd = new Number(str.substring(6, 8));
  606. var date = new Date(yy, mm, dd);
  607. //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
  608. if (yy != date.getFullYear() ||
  609. mm != date.getMonth() ||
  610. dd != date.getDate()) {
  611. return false; // 존재하지 않는 날짜
  612. }
  613. return true; // 존재하는 날짜
  614. }
  615. function listupdate() { // 부작용 입력 내용을 그리드에 반영한다.
  616. //model.resetInstanceNode("/root/main/aeahdyes1/aeahdyeslist1");
  617. grd_aeahdyelist.deleteitem(1);
  618. grd_aeahdyelist.rebuild();
  619. grd_aeahdyelist.addItem();
  620. model.copyNode("/root/main/aeahdyes1/aeahdyeslist1["+1+"]", "/root/main/aeahdyes2/aeahdyeslist2");
  621. model.refresh();
  622. }
  623. function datacheck() { // 입력 또는 수정 항목에 대한 적합성 체크
  624. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd")) == false){
  625. messageBox("검사 시작일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  626. model.setFocus("ipt_excuexecfromdd");
  627. return false;
  628. }
  629. var stime;
  630. var stime1;
  631. var stime2;
  632. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromtm");
  633. stime1 = stime.substring(0, 2);
  634. stime2 = stime.substring(2, 4);
  635. if (stime1 > "24" || stime2 > "60"){
  636. messageBox("검사 시작시간을 올바르게", "C001");
  637. model.setFocus("ipt_excuexecfromtm");
  638. return false;
  639. }
  640. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd")) == false){
  641. messageBox("검사 종료일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  642. model.setFocus("ipt_excuexectodd");
  643. return false;
  644. }
  645. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectotm");
  646. stime1 = stime.substring(0, 2);
  647. stime2 = stime.substring(2, 4);
  648. if (stime1 > "24" || stime2 > "60"){
  649. messageBox("검사 종료시간을 올바르게", "C001");
  650. model.setFocus("ipt_excuexectotm");
  651. return false;
  652. }
  653. var time1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd") + model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromtm");
  654. var time2 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd") + model.getValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectotm");
  655. if (trim(time1) > trim(time2)){
  656. messageBox("검사 시작과 종료일자를 올바르게", "C001");
  657. model.setFocus("ipt_excuexectodd");
  658. return false;
  659. }
  660. if (isDate(model.getValue("/root/main/aeahdyes2/aeahdyeslist2/erroomtrandd")) == false){
  661. messageBox("응급실 이송일자의 날짜 형식이 잘못 입력되어 처리", "E001");
  662. model.setFocus("ipt_erroomtrandd");
  663. return false;
  664. }
  665. stime = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/erroomtrantm");
  666. stime1 = stime.substring(0, 2);
  667. stime2 = stime.substring(2, 4);
  668. if (stime1 > "24" || stime2 > "60"){
  669. messageBox("응급실 이송시간을 올바르게", "C001");
  670. model.setFocus("ipt_erroomtrantm");
  671. return false;
  672. }
  673. return true;
  674. }
  675. function seriseffc1(){ // 심각한 부작용 및 가벼운 부작용 개별 항목을 하나의 내용으로 취합한다.
  676. var schk = "";
  677. var schk1 = "";
  678. for (var i = 1; i < 5; i++){
  679. schk1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + i);
  680. if (i == 4){
  681. schk = schk + schk1;
  682. }else{
  683. schk = schk + schk1 + "^";
  684. }
  685. }
  686. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag", schk);
  687. schk = "";
  688. schk1 = "";
  689. for (var i = 1; i < 14; i++){
  690. schk1 = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + i);
  691. if (i == 13){
  692. schk = schk + schk1;
  693. }else{
  694. schk = schk + schk1 + "^";
  695. }
  696. }
  697. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag", schk);
  698. }
  699. function resetfunc(){ // 입력할 내용에 대한 초기화를 한다.
  700. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexecfromdd", getCurrentDate());
  701. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodd", getCurrentDate());
  702. model.setFocus("ipt_excuexecfromdd");
  703. for (var i = 1; i < 5; i++){
  704. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + i, "0");
  705. }
  706. for (var i = 1; i < 14; i++){
  707. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + i, "0");
  708. }
  709. var row = grp_aeahlist.row;
  710. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/prcpdd", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("prcpdd")));
  711. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/execprcpuniqno", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("execprcpuniqno")));
  712. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/pid", model.getValue("/root/send/reqdata/srchpid"));
  713. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/excuexectodt", grp_aeahlist.valueMatrix(row, grp_aeahlist.colRef("excuexectodt")));
  714. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/tretrsltflag", "2");
  715. grd_aeahdyelist.deleteitem(1);
  716. }
  717. function display_list(){ // 검사 내역에서 클릭한 해당 조영제 부작용 내역을 보여준다.
  718. model.resetInstanceNode("/root/main/aeahdyes2/aeahdyeslist2");
  719. var row = grd_aeahdyelist.row;
  720. if ( row < 1 ) return;
  721. model.copyNode("/root/main/aeahdyes2/aeahdyeslist2", "/root/main/aeahdyes1/aeahdyeslist1["+grd_aeahdyelist.row+"]");
  722. //20150908 유행증상 신규유무를 확인하는 방법
  723. var newflag = model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+row+"]/newflag");
  724. if ( newflag == 'Y' ) {
  725. model.toggle("case2");
  726. }else {
  727. model.toggle("case1");
  728. }
  729. //var row = grd_aeahdyelist.row;
  730. var data = grd_aeahdyelist.valueMatrix(grd_aeahdyelist.row, grd_aeahdyelist.colRef("seriseffcflag"));
  731. var str = data.substring(0);
  732. var k = 0;
  733. for(var i=0; i < str.length; i++){
  734. //var ch = escape(str.charAt(i));
  735. var ch = str.charAt(i);
  736. if (ch != "^"){
  737. k = parseInt(k) + 1;
  738. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag" + k, ch);
  739. }
  740. }
  741. var data = grd_aeahdyelist.valueMatrix(grd_aeahdyelist.row, grd_aeahdyelist.colRef("trivialseffcflag"));
  742. var str = data.substring(0);
  743. var k = 0;
  744. for(var i=0; i < str.length; i++){
  745. //var ch = escape(str.charAt(i));
  746. var ch = str.charAt(i);
  747. if (ch != "^"){
  748. k = parseInt(k) + 1;
  749. model.setValue("/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag" + k, ch);
  750. }
  751. }
  752. model.refresh();
  753. }
  754. function fSearchPatInfo(){ // 등록번호에 대한 정보를 가져온다.
  755. model.setValue("/root/source/srchcond", "1");
  756. model.setValue("/root/source/pid", ipt_pid.currentText);
  757. //inputEnterKey("btn_search", "DOMActivate");
  758. //환자등록번호 체크
  759. if(ipt_pid.currentText.length >= 1 ){
  760. model.resetInstanceNode("/root/main/result");
  761. model.makeNode("/root/main/result/patinfo");
  762. if(submit("TRPMC02500")){
  763. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  764. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  765. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  766. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/result/patinfo/patinfolist/hngnm"));
  767. var sdata1 = "";
  768. if (model.getValue("/root/main/result/patinfo/patinfolist/sex") == "M"){
  769. sdata1 = "남 / ";
  770. }else{
  771. sdata1 = "여 / ";
  772. }
  773. var sdata = sdata1 + model.getValue("/root/main/result/patinfo/patinfolist/age") + "세 / " + model.getValue("/root/main/result/patinfo/patinfolist/hometel");
  774. model.setValue("/root/send/reqdata/spiddata", sdata);
  775. model.setValue("/root/main/popupendflag", "ok");
  776. model.refresh();
  777. readfunc();
  778. }else{
  779. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  780. messageBox("없는 환자 번호 입니다.", "E999", "");
  781. model.refresh();
  782. }
  783. }
  784. }else{
  785. messageBox("환자등록번호를 정확히", "C001");
  786. }
  787. }
  788. function trim(data){ // 문자에 대한 TRIM 작업
  789. return data.replace(/(^\s*)|(\s*$)/g, "");
  790. }
  791. ]]>
  792. </script>
  793. </xhtml:head>
  794. <xhtml:body pagewidth="860" pageheight="670" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  795. <shape id="roundrect2" visibility="hidden" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:835px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  796. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:138px; height:14px; ">조영제 부작용 내역</caption>
  797. <caption id="caption3" class="tit_2" visibility="hidden" style="left:160px; top:5px; width:87px; height:13px; ">부작용 내역</caption>
  798. <line id="line2" class="line_1" style="x1:1px; y1:19px; x2:836px; y2:19px; "/>
  799. <datagrid id="grd_aeahdyelist" nodeset="/root/main/aeahdyes1/aeahdyeslist1" caption="No^검사명^처방일^검사일^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^caption25^caption26^caption27^caption28^caption29^caption30^cnstcnts32^newflag" colsep="^" colwidth="67, 452, 130, 155, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" navindex="6" style="left:0px; top:24px; width:835px; height:101px; ">
  800. <col ref="execprcpuniqno" style="text-align:center; "/>
  801. <col ref="excucdnm" style="text-align:left; "/>
  802. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  803. <col ref="excuexectodt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  804. <col ref="prcpdd" visibility="hidden"/>
  805. <col ref="pid" visibility="hidden"/>
  806. <col ref="seriseffcflag" visibility="hidden"/>
  807. <col ref="trivialseffcflag" visibility="hidden"/>
  808. <col ref="sympetc" visibility="hidden"/>
  809. <col ref="usedyecd" visibility="hidden"/>
  810. <col ref="usedyeqty" visibility="hidden"/>
  811. <col ref="usedyetrivialrem" visibility="hidden"/>
  812. <col ref="bpcnts" visibility="hidden"/>
  813. <col ref="pulsecnts" visibility="hidden"/>
  814. <col ref="erroomtrandd" visibility="hidden"/>
  815. <col ref="erroomtrantm" visibility="hidden"/>
  816. <col ref="tretrsltflag" visibility="hidden"/>
  817. <col ref="seriseffcflag1" visibility="hidden"/>
  818. <col ref="seriseffcflag2" visibility="hidden"/>
  819. <col ref="seriseffcflag3" visibility="hidden"/>
  820. <col ref="seriseffcflag4" visibility="hidden"/>
  821. <col ref="trivialseffcflag1" visibility="hidden"/>
  822. <col ref="trivialseffcflag2" visibility="hidden"/>
  823. <col ref="trivialseffcflag3" visibility="hidden"/>
  824. <col ref="trivialseffcflag4" visibility="hidden"/>
  825. <col ref="trivialseffcflag5" visibility="hidden"/>
  826. <col ref="trivialseffcflag6" visibility="hidden"/>
  827. <col ref="trivialseffcflag7" visibility="hidden"/>
  828. <col ref="trivialseffcflag8" visibility="hidden"/>
  829. <col ref="trivialseffcflag9" visibility="hidden"/>
  830. <col ref="trivialseffcflag10" visibility="hidden"/>
  831. <col ref="trivialseffcflag11" visibility="hidden"/>
  832. <col ref="trivialseffcflag12" visibility="hidden"/>
  833. <col ref="trivialseffcflag13" visibility="hidden"/>
  834. <col ref="cnstcnts32" visibility="hidden"/>
  835. <col ref="newflag" visibility="hidden"/>
  836. <script type="javascript" ev:event="onclick">
  837. <![CDATA[
  838. if (grd_aeahdyelist.rows == 0){
  839. return;
  840. }
  841. display_list();
  842. ]]>
  843. </script>
  844. </datagrid>
  845. <line id="line13" class="line_4" visibility="hidden" style="x1:761px; y1:26px; x2:761px; y2:48px; "/>
  846. <button id="btn_sea" class="btn1_letter2" navindex="4" visibility="hidden" style="left:769px; top:26px; width:56px; height:22px; ">
  847. <caption>조회</caption>
  848. <script type="javascript" ev:event="onclick">
  849. <![CDATA[
  850. readfunc();
  851. ]]>
  852. </script>
  853. </button>
  854. <button id="btn_prt" class="btn4_letter5" navindex="39" visibility="hidden" style="left:680px; top:632px; width:92px; height:22px; ">
  855. <caption>동의서출력</caption>
  856. <script type="javascript" ev:event="onclick">
  857. <![CDATA[
  858. opener.javascript.setParameter("SPAER01900_lnkno" , "216");
  859. // 동의서 출력 기능은 처방 저장시만 적용되므로 해제함. 20080929,
  860. /*
  861. var sColSep = "▦";
  862. model.setValue("/root/hidden/ocrprint/calcscor/calcscorcd", sColSep+model.getValue("/root/hidden/ocrprint/calcscor/calcscorcd")+sColSep );
  863. modal ( "SPMRF04500", 1, 0, 0, "SSMRF03800", "/root/hidden/ocrprint/calcscor","/root/main/temp/calcscor", "", false );
  864. */
  865. //alert(getParameter("SPAER01900_lnkno"));
  866. messageBox(sPopUpMsg + "검사에 대해 환자에게 설명하고 [동의서 출력 확인] 후 작성하시기 바랍니다.", "E999", "");
  867. window.close();
  868. ]]>
  869. </script>
  870. </button>
  871. <input id="ipt_pid" ref="/root/send/reqdata/srchpid" class="input_search" navindex="3" visibility="hidden" style="left:97px; top:27px; width:100px; height:19px; ">
  872. <script type="javascript" ev:event="xforms-value-changed">
  873. <![CDATA[
  874. model.resetInstanceNode("/root/main/aeahinfo/aeahlist1");
  875. model.resetInstanceNode("/root/main/aeahdyes1/aeahdyeslist1");
  876. model.resetInstanceNode("/root/main/aeahdyes2/aeahdyeslist2");
  877. fSearchPatInfo();
  878. ]]>
  879. </script>
  880. </input>
  881. <button id="button61" class="icon_search" visibility="hidden" style="left:200px; top:28px; width:16px; height:16px; ">
  882. <caption/>
  883. <script type="javascript" ev:event="onclick">
  884. <![CDATA[
  885. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/reqdata","/root/send");
  886. if (model.getValue("/root/main/popupendflag") != "cancel"){
  887. model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  888. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  889. var sdata1 = "";
  890. if (model.getValue("/root/main/patinfo/patinfolist/sex") == "M"){
  891. sdata1 = "남 / ";
  892. }else{
  893. sdata1 = "여 / ";
  894. }
  895. var sdata = sdata1 + model.getValue("/root/main/patinfo/patinfolist/age") + "세 / " + model.getValue("/root/main/patinfo/patinfolist/hometel");
  896. model.setValue("/root/send/reqdata/spiddata", sdata);
  897. readfunc();
  898. }
  899. model.refresh();
  900. ]]>
  901. </script>
  902. </button>
  903. <caption id="caption18" class="search_name" visibility="hidden" style="left:8px; top:27px; width:86px; height:17px; ">등록번호 :</caption>
  904. <output id="output1" ref="/root/send/reqdata/hngnm" class="output_fix" visibility="hidden" style="left:218px; top:28px; width:94px; height:19px; "/>
  905. <output id="output2" ref="/root/send/reqdata/spiddata" class="output_fix" visibility="hidden" style="left:318px; top:28px; width:159px; height:19px; "/>
  906. <button id="btn_cls" class="btn4_letter2" style="left:776px; top:632px; width:56px; height:22px; ">
  907. <caption>확인</caption>
  908. <script type="javascript" ev:event="onclick">
  909. <![CDATA[
  910. opener.javascript.setParameter("SPAER01900_lnkno" , "216");
  911. window.close();
  912. ]]>
  913. </script>
  914. </button>
  915. <button id="btn_chg" class="btn4_letter5" navindex="39" visibility="hidden" style="left:680px; top:632px; width:92px; height:22px; ">
  916. <caption>처방변경</caption>
  917. <script type="javascript" ev:event="onclick">
  918. <![CDATA[
  919. opener.javascript.setParameter("SPAER01900_lnkno" , "DYENO");
  920. window.close();
  921. /* 검사 기준자료에 대체처방이 존재 하지 않음. 해당기능 사용하지 않게 처리 2014.12.04 엄영만
  922. opener.javascript.setParameter("SPAER01900_lnkno" , "216");
  923. modal("SPAER01901", "", "400", "300", "SPAER01901","/root/hidden/ocrprint/calcscor/calcscorcd","/root/init/calcscorcd");
  924. if (!isNull(getParameter ( "SPAER01901_prcpcd" ))) {
  925. opener.javascript.setParameter("SPAER01900_prcpcd", getParameter ( "SPAER01901_prcpcd" ));
  926. window.close();
  927. }
  928. */
  929. ]]>
  930. </script>
  931. </button>
  932. <switch id="switch1" style="left:0px; top:125px; width:835px; height:500px; ">
  933. <case id="case1">
  934. <input id="input1" ref="/root/main/aeahdyes2/aeahdyeslist2/sympetc" class="input_search" navindex="28" imemode="hangul" maxlength="150" style="left:130px; top:93px; width:645px; height:19px; "/>
  935. <caption id="caption1" style="left:618px; top:46px; width:50px; height:20px; ">피부발진</caption>
  936. <caption id="caption4" style="left:688px; top:46px; width:38px; height:20px; ">발열감</caption>
  937. <caption id="caption15" style="left:373px; top:21px; width:90px; height:20px; ">일시적 신장장애</caption>
  938. <caption id="caption22" style="left:746px; top:46px; width:38px; height:20px; ">현기증</caption>
  939. <caption id="caption36" style="left:146px; top:46px; width:66px; height:20px; ">가벼운 구토</caption>
  940. <caption id="caption37" style="left:145px; top:70px; width:66px; height:20px; ">조영제 누출</caption>
  941. <caption id="caption38" style="left:146px; top:21px; width:55px; height:20px; ">쇼크상태</caption>
  942. <caption id="caption39" style="left:235px; top:70px; width:74px; height:20px; ">국소피부부종</caption>
  943. <caption id="caption40" style="left:303px; top:21px; width:50px; height:20px; ">호흡곤란</caption>
  944. <caption id="caption41" style="left:330px; top:70px; width:90px; height:20px; ">일시적 신장장애</caption>
  945. <caption id="caption42" style="left:233px; top:46px; width:56px; height:20px; ">두드러기</caption>
  946. <caption id="caption43" style="left:303px; top:46px; width:56px; height:20px; ">가려움증</caption>
  947. <caption id="caption44" class="tit_2" style="left:0px; top:0px; width:82px; height:13px; ">주증상</caption>
  948. <caption id="caption45" style="left:373px; top:46px; width:31px; height:20px; ">홍조</caption>
  949. <caption id="caption46" class="cell_1" style="left:0px; top:45px; width:125px; height:45px; text-align:center; vertical-align:middle; ">가벼운 부작용</caption>
  950. <caption id="caption47" style="left:418px; top:46px; width:31px; height:20px; ">기침</caption>
  951. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:820px; y2:15px; "/>
  952. <caption id="caption48" style="left:463px; top:46px; width:31px; height:20px; ">콧물</caption>
  953. <bool id="bool1" navindex="12" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag2" style="left:214px; top:20px; width:21px; height:20px; "/>
  954. <caption id="caption49" class="cell_1" style="left:0px; top:20px; width:125px; height:23px; text-align:center; vertical-align:middle; ">심각한 부작용</caption>
  955. <caption id="caption50" style="left:508px; top:46px; width:90px; height:20px; ">일시적 호흡곤란</caption>
  956. <caption id="caption51" class="cell_1" style="left:0px; top:91px; width:125px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  957. <bool id="bool2" navindex="15" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag1" style="left:127px; top:45px; width:21px; height:20px; "/>
  958. <bool id="bool3" navindex="24" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag10" style="left:727px; top:45px; width:21px; height:20px; "/>
  959. <bool id="bool4" navindex="16" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag2" style="left:214px; top:45px; width:21px; height:20px; "/>
  960. <bool id="bool5" navindex="25" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag11" style="left:126px; top:69px; width:21px; height:20px; "/>
  961. <bool id="bool6" navindex="17" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag3" style="left:284px; top:45px; width:21px; height:20px; "/>
  962. <bool id="bool7" navindex="26" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag12" style="left:216px; top:69px; width:21px; height:20px; "/>
  963. <bool id="bool8" navindex="18" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag4" style="left:354px; top:45px; width:21px; height:20px; "/>
  964. <bool id="bool9" navindex="27" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag13" style="left:311px; top:69px; width:21px; height:20px; "/>
  965. <bool id="bool10" navindex="19" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag5" style="left:399px; top:45px; width:21px; height:20px; "/>
  966. <bool id="bool11" navindex="20" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag6" style="left:444px; top:45px; width:21px; height:20px; "/>
  967. <bool id="bool12" navindex="21" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag7" style="left:489px; top:45px; width:21px; height:20px; "/>
  968. <bool id="bool13" navindex="22" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag8" style="left:599px; top:45px; width:21px; height:20px; "/>
  969. <bool id="bool14" navindex="23" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/trivialseffcflag9" style="left:669px; top:45px; width:21px; height:20px; "/>
  970. <caption id="caption52" style="left:235px; top:20px; width:30px; height:20px; ">빈맥</caption>
  971. <bool id="bool15" navindex="11" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag1" style="left:127px; top:20px; width:21px; height:20px; "/>
  972. <bool id="bool16" navindex="13" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag3" style="left:284px; top:20px; width:21px; height:20px; "/>
  973. <bool id="bool17" navindex="14" checkvalue="1,0" ref="/root/main/aeahdyes2/aeahdyeslist2/seriseffcflag4" style="left:354px; top:20px; width:21px; height:20px; "/>
  974. <input id="input2" ref="/root/main/aeahdyes2/aeahdyeslist2/usedyetrivialrem" class="input_search" disabled="false" navindex="31" imemode="hangul" maxlength="150" style="left:130px; top:183px; width:695px; height:19px; "/>
  975. <input id="input3" ref="/root/main/aeahdyes2/aeahdyeslist2/erroomtrantm" class="input_search" disabled="false" navindex="35" format="nn:ss" style="left:483px; top:218px; width:47px; height:19px; text-align:center; "/>
  976. <input id="input4" ref="/root/main/aeahdyes2/aeahdyeslist2/bpcnts" class="input_search" disabled="false" navindex="32" maxlength="10" style="left:130px; top:218px; width:135px; height:19px; "/>
  977. <input id="input5" ref="/root/main/aeahdyes2/aeahdyeslist2/pulsecnts" class="input_search" disabled="false" navindex="33" maxlength="10" style="left:130px; top:244px; width:135px; height:19px; "/>
  978. <caption id="caption2" class="cell_1" style="left:0px; top:159px; width:125px; height:23px; text-align:center; vertical-align:middle; ">사용조영제 및 용량</caption>
  979. <caption id="caption5" class="cell_1" style="left:0px; top:184px; width:125px; height:23px; text-align:center; vertical-align:middle; ">가벼운 부작용</caption>
  980. <caption id="caption6" class="tit_2" style="left:0px; top:138px; width:131px; height:13px; ">사용조영제 및 용량</caption>
  981. <caption id="caption7" class="cell_1" style="left:0px; top:217px; width:125px; height:23px; text-align:center; vertical-align:middle; ">혈압</caption>
  982. <select1 id="radio2" ref="/root/main/aeahdyes2/aeahdyeslist2/tretrsltflag" disabled="false" navindex="36" appearance="full" cols="3" rows="1" overflow="visible" style="left:390px; top:244px; width:260px; height:20px; border-style:none; ">
  983. <choices>
  984. <item>
  985. <label>응급실 이송후 퇴원</label>
  986. <value>1</value>
  987. </item>
  988. <item>
  989. <label>입원</label>
  990. <value>2</value>
  991. </item>
  992. <item>
  993. <label>관찰후 퇴원</label>
  994. <value>3</value>
  995. </item>
  996. </choices>
  997. </select1>
  998. <caption id="caption8" class="cell_1" style="left:0px; top:243px; width:125px; height:23px; text-align:center; vertical-align:middle; ">맥박</caption>
  999. <input id="input6" ref="/root/main/aeahdyes2/aeahdyeslist2/erroomtrandd" class="input_search" disabled="false" navindex="34" inputtype="date" style="left:389px; top:218px; width:91px; height:19px; "/>
  1000. <caption id="caption9" class="cell_1" style="left:275px; top:217px; width:110px; height:23px; text-align:center; vertical-align:middle; ">응급실 이송시간</caption>
  1001. <input id="input7" ref="/root/main/aeahdyes2/aeahdyeslist2/usedyeqty" class="input_search" disabled="false" navindex="30" format="#,###.9999" style="left:390px; top:160px; width:100px; height:19px; text-align:right; "/>
  1002. <input id="input14" ref="/root/main/aeahdyes2/aeahdyeslist2/usedyenm" class="input_search" disabled="false" navindex="29" style="left:130px; top:160px; width:255px; height:19px; text-align:right; "/>
  1003. <caption id="caption12" class="cell_1" style="left:274px; top:243px; width:110px; height:23px; text-align:center; vertical-align:middle; ">처리결과</caption>
  1004. <line id="line3" class="line_1" style="x1:1px; y1:153px; x2:825px; y2:153px; "/>
  1005. <line id="line7" class="line_1" style="x1:1px; y1:210px; x2:825px; y2:210px; "/>
  1006. </case>
  1007. <case id="case2" selected="true">
  1008. <select id="chk_breth" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts7" overflow="visible" appearance="full" cellspacing="10" cols="2" vcellspacing="3" style="left:560px; top:20px; width:150px; height:85px; border-style:none; ">
  1009. <choices>
  1010. <item>
  1011. <label>호흡곤란</label>
  1012. <value>21</value>
  1013. </item>
  1014. <item>
  1015. <label>천명</label>
  1016. <value>22</value>
  1017. </item>
  1018. <item>
  1019. <label>기침</label>
  1020. <value>23</value>
  1021. </item>
  1022. <item>
  1023. <label>콧물</label>
  1024. <value>24</value>
  1025. </item>
  1026. <item>
  1027. <label>재채기</label>
  1028. <value>25</value>
  1029. </item>
  1030. <item>
  1031. <label>코막힘</label>
  1032. <value>26</value>
  1033. </item>
  1034. <item>
  1035. <label>객담증가</label>
  1036. <value>27</value>
  1037. </item>
  1038. <item>
  1039. <label>쉰목소리</label>
  1040. <value>28</value>
  1041. </item>
  1042. </choices>
  1043. </select>
  1044. <select id="chk_blood" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts10" overflow="visible" appearance="full" cellspacing="5" cols="1" vcellspacing="3" style="left:740px; top:20px; width:80px; height:85px; border-style:none; ">
  1045. <choices>
  1046. <item>
  1047. <label>빈혈</label>
  1048. <value>51</value>
  1049. </item>
  1050. <item>
  1051. <label>혈소판감소</label>
  1052. <value>52</value>
  1053. </item>
  1054. <item>
  1055. <label>백혈구감소</label>
  1056. <value>53</value>
  1057. </item>
  1058. <item>
  1059. <label>호산구증가</label>
  1060. <value>54</value>
  1061. </item>
  1062. </choices>
  1063. </select>
  1064. <caption id="caption53" class="cell_1" style="left:0px; top:20px; width:25px; height:85px; ">피부병변</caption>
  1065. <caption id="caption54" class="cell_1" style="left:275px; top:110px; width:25px; height:80px; ">소화기계</caption>
  1066. <caption id="caption55" class="cell_1" style="left:0px; top:110px; width:25px; height:80px; ">신경계</caption>
  1067. <caption id="caption56" class="cell_1" style="left:0px; top:195px; width:70px; height:20px; ">정신증상</caption>
  1068. <caption id="caption57" class="cell_1" style="left:275px; top:194px; width:65px; height:20px; ">신장이상</caption>
  1069. <caption id="caption58" class="cell_1" style="left:595px; top:110px; width:25px; height:80px; ">심혈관계</caption>
  1070. <caption id="caption59" class="cell_1" style="left:535px; top:16px; width:25px; height:85px; ">호흡기계</caption>
  1071. <caption id="caption60" class="cell_1" style="left:275px; top:20px; width:25px; height:85px; ">전신증상</caption>
  1072. <select id="chk_shin" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts26" overflow="visible" appearance="full" cellspacing="23" cols="5" vcellspacing="3" style="left:345px; top:193px; width:395px; height:20px; border-style:none; ">
  1073. <choices>
  1074. <item>
  1075. <label>혈뇨</label>
  1076. <value>91</value>
  1077. </item>
  1078. <item>
  1079. <label>신기능이상</label>
  1080. <value>92</value>
  1081. </item>
  1082. <item>
  1083. <label>신부전</label>
  1084. <value>93</value>
  1085. </item>
  1086. <item>
  1087. <label>당뇨</label>
  1088. <value>94</value>
  1089. </item>
  1090. <item>
  1091. <label>배뇨장애</label>
  1092. <value>95</value>
  1093. </item>
  1094. </choices>
  1095. </select>
  1096. <caption id="caption61" class="cell_1" style="left:719px; top:20px; width:21px; height:85px; ">혈액이상</caption>
  1097. <textarea id="textarea1" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts23" disabled="false" style="left:270px; top:245px; width:520px; height:25px; "/>
  1098. <select id="chk_gitaok" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts32" overflow="visible" appearance="full" style="left:220px; top:245px; width:50px; height:20px; border-style:none; ">
  1099. <choices>
  1100. <item>
  1101. <label>기타</label>
  1102. <value>99</value>
  1103. </item>
  1104. </choices>
  1105. </select>
  1106. <select id="chk_skin" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts6" overflow="visible" appearance="full" cellspacing="6" cols="3" vcellspacing="3" style="left:25px; top:20px; width:235px; height:85px; border-style:none; ">
  1107. <choices>
  1108. <item>
  1109. <label>발진:(</label>
  1110. <value>11</value>
  1111. </item>
  1112. <item>
  1113. <label>전신</label>
  1114. <value>1A</value>
  1115. </item>
  1116. <item>
  1117. <label>국소)</label>
  1118. <value>1B</value>
  1119. </item>
  1120. <item>
  1121. <label>가려움:(</label>
  1122. <value>13</value>
  1123. </item>
  1124. <item>
  1125. <label>전신</label>
  1126. <value>1C</value>
  1127. </item>
  1128. <item>
  1129. <label>국소)</label>
  1130. <value>1D</value>
  1131. </item>
  1132. <item>
  1133. <label>두드러기</label>
  1134. <value>12</value>
  1135. </item>
  1136. <item>
  1137. <label>농포</label>
  1138. <value>14</value>
  1139. </item>
  1140. <item>
  1141. <label>혈관부종</label>
  1142. <value>15</value>
  1143. </item>
  1144. <item>
  1145. <label>수포</label>
  1146. <value>16</value>
  1147. </item>
  1148. <item>
  1149. <label>과색소침착</label>
  1150. <value>17</value>
  1151. </item>
  1152. <item>
  1153. <label>탈모</label>
  1154. <value>18</value>
  1155. </item>
  1156. </choices>
  1157. </select>
  1158. <select id="chk_heart" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts9" overflow="visible" appearance="full" cellspacing="10" cols="2" vcellspacing="3" style="left:620px; top:109px; width:140px; height:81px; border-style:none; ">
  1159. <choices>
  1160. <item>
  1161. <label>저혈압</label>
  1162. <value>41</value>
  1163. </item>
  1164. <item>
  1165. <label>부정맥</label>
  1166. <value>42</value>
  1167. </item>
  1168. <item>
  1169. <label>쇽</label>
  1170. <value>43</value>
  1171. </item>
  1172. <item>
  1173. <label>빈맥</label>
  1174. <value>44</value>
  1175. </item>
  1176. <item>
  1177. <label>서맥</label>
  1178. <value>45</value>
  1179. </item>
  1180. <item>
  1181. <label>실신</label>
  1182. <value>46</value>
  1183. </item>
  1184. <item>
  1185. <label>가슴통증</label>
  1186. <value>47</value>
  1187. </item>
  1188. </choices>
  1189. </select>
  1190. <select id="chk_stom" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts8" overflow="visible" appearance="full" cellspacing="10" cols="3" vcellspacing="3" style="left:300px; top:110px; width:280px; height:80px; border-style:none; ">
  1191. <choices>
  1192. <item>
  1193. <label>설사</label>
  1194. <value>31</value>
  1195. </item>
  1196. <item>
  1197. <label>복통</label>
  1198. <value>32</value>
  1199. </item>
  1200. <item>
  1201. <label>오심(메시꺼움)</label>
  1202. <value>33</value>
  1203. </item>
  1204. <item>
  1205. <label>간기능이상</label>
  1206. <value>34</value>
  1207. </item>
  1208. <item>
  1209. <label>구토</label>
  1210. <value>35</value>
  1211. </item>
  1212. <item>
  1213. <label>소화불량</label>
  1214. <value>36</value>
  1215. </item>
  1216. <item>
  1217. <label>위장관출혈(상부)</label>
  1218. <value>37</value>
  1219. </item>
  1220. <item>
  1221. <label>혈변</label>
  1222. <value>38</value>
  1223. </item>
  1224. <item>
  1225. <label>변비</label>
  1226. <value>39</value>
  1227. </item>
  1228. <item>
  1229. <label>황달</label>
  1230. <value>3A</value>
  1231. </item>
  1232. </choices>
  1233. </select>
  1234. <select id="chk_cho" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts25" overflow="visible" appearance="full" cellspacing="5" cols="3" vcellspacing="3" style="left:75px; top:193px; width:180px; height:22px; border-style:none; ">
  1235. <choices>
  1236. <item>
  1237. <label>섬망</label>
  1238. <value>81</value>
  1239. </item>
  1240. <item>
  1241. <label>불안</label>
  1242. <value>82</value>
  1243. </item>
  1244. <item>
  1245. <label>행동과다</label>
  1246. <value>83</value>
  1247. </item>
  1248. </choices>
  1249. </select>
  1250. <select id="chk_gita" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts31" overflow="visible" appearance="full" cellspacing="7" cols="5" vcellspacing="4" style="left:220px; top:220px; width:365px; height:25px; border-style:none; ">
  1251. <choices>
  1252. <item>
  1253. <label>성욕감퇴</label>
  1254. <value>A1</value>
  1255. </item>
  1256. <item>
  1257. <label>성기능장애</label>
  1258. <value>A2</value>
  1259. </item>
  1260. <item>
  1261. <label>청력장애</label>
  1262. <value>A3</value>
  1263. </item>
  1264. <item>
  1265. <label>이명</label>
  1266. <value>A4</value>
  1267. </item>
  1268. <item>
  1269. <label>시력장애</label>
  1270. <value>A5</value>
  1271. </item>
  1272. </choices>
  1273. </select>
  1274. <select id="chk_nur" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts24" overflow="visible" appearance="full" cols="3" rows="2" vcellspacing="3" style="left:25px; top:110px; width:235px; height:80px; border-style:none; ">
  1275. <choices>
  1276. <item>
  1277. <label>의식저하</label>
  1278. <value>71</value>
  1279. </item>
  1280. <item>
  1281. <label>두통</label>
  1282. <value>72</value>
  1283. </item>
  1284. <item>
  1285. <label>어지러움</label>
  1286. <value>73</value>
  1287. </item>
  1288. <item>
  1289. <label>졸림</label>
  1290. <value>74</value>
  1291. </item>
  1292. <item>
  1293. <label>손발떨림</label>
  1294. <value>75</value>
  1295. </item>
  1296. <item>
  1297. <label>손발저림</label>
  1298. <value>76</value>
  1299. </item>
  1300. <item>
  1301. <label>운동이상증</label>
  1302. <value>77</value>
  1303. </item>
  1304. <item>
  1305. <label>보행장애</label>
  1306. <value>78</value>
  1307. </item>
  1308. <item>
  1309. <label>수면장애</label>
  1310. <value>79</value>
  1311. </item>
  1312. <item>
  1313. <label>언어장애</label>
  1314. <value>7A</value>
  1315. </item>
  1316. <item>
  1317. <label>기억력장애</label>
  1318. <value>7B</value>
  1319. </item>
  1320. </choices>
  1321. </select>
  1322. <select id="chk_body" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts11" overflow="visible" appearance="full" cellspacing="4" cols="3" rows="4" vcellspacing="3" style="left:300px; top:20px; width:230px; height:85px; border-style:none; ">
  1323. <choices>
  1324. <item>
  1325. <label>발열</label>
  1326. <value>61</value>
  1327. </item>
  1328. <item>
  1329. <label>어지러움</label>
  1330. <value>62</value>
  1331. </item>
  1332. <item>
  1333. <label>의식소실</label>
  1334. <value>63</value>
  1335. </item>
  1336. <item>
  1337. <label>체중증가</label>
  1338. <value>64</value>
  1339. </item>
  1340. <item>
  1341. <label>식욕감퇴</label>
  1342. <value>65</value>
  1343. </item>
  1344. <item>
  1345. <label>전신부종</label>
  1346. <value>66</value>
  1347. </item>
  1348. <item>
  1349. <label>관절통</label>
  1350. <value>67</value>
  1351. </item>
  1352. <item>
  1353. <label>근육통</label>
  1354. <value>68</value>
  1355. </item>
  1356. <item>
  1357. <label>림프절병증</label>
  1358. <value>69</value>
  1359. </item>
  1360. <item>
  1361. <label>전신쇠약</label>
  1362. <value>6A</value>
  1363. </item>
  1364. </choices>
  1365. </select>
  1366. <caption id="caption62" class="cell_1" style="left:195px; top:220px; width:25px; height:45px; text-align:center; vertical-align:middle; ">기타</caption>
  1367. <caption id="caption63" class="tit_2" style="left:0px; top:0px; width:82px; height:15px; ">유해증상</caption>
  1368. <line id="line6" class="line_1" style="x1:1px; y1:15px; x2:830px; y2:15px; "/>
  1369. <textarea id="tar_cnstcnts30" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts30" scroll="auto" maxlength="170" style="left:0px; top:295px; width:830px; height:39px; ">
  1370. <script type="javascript" ev:event="onmaxlength">
  1371. <![CDATA[
  1372. messageBox("입력가능한 글자수를", "E003");
  1373. ]]>
  1374. </script>
  1375. </textarea>
  1376. <input id="ipt_cnstcnts12" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts12" class="input_essential" inputtype="date" style="left:75px; top:220px; width:100px; height:19px; "/>
  1377. <input id="ipt_cnstcnts13" ref="/root/main/aeahdyes2/aeahdyeslist2/cnstcnts13" class="input_default" inputtype="date" style="left:75px; top:245px; width:100px; height:19px; "/>
  1378. <caption id="caption64" class="cell_1" style="left:0px; top:217px; width:70px; height:23px; vertical-align:middle; ">증상발현일</caption>
  1379. <caption id="caption65" class="cell_1" style="left:0px; top:272px; width:580px; height:23px; vertical-align:middle; ">5)유해사례의 내용(*유해사례와 관련된 환자의 진행사항 및 진행과정, 특이사항을 서술하여 주십시오.)</caption>
  1380. <caption id="caption66" class="cell_1" style="left:0px; top:244px; width:70px; height:18px; vertical-align:middle; ">종료일</caption>
  1381. <line id="line8" class="line_1" style="x1:316px; y1:350px; x2:495px; y2:350px; "/>
  1382. <caption id="caption10" class="tit_2" style="left:315px; top:335px; width:175px; height:13px; ">전처치 시행여부</caption>
  1383. <select1 id="rdo_dtflag" ref="/root/main/aeahdyes2/aeahdyeslist2/drugtoxicflag" appearance="full" cols="3" overflow="visible" style="left:145px; top:360px; width:140px; height:15px; border-style:none; ">
  1384. <choices>
  1385. <item>
  1386. <label>유</label>
  1387. <value>유</value>
  1388. </item>
  1389. <item>
  1390. <label>무</label>
  1391. <value>무</value>
  1392. </item>
  1393. <item>
  1394. <label>확인불가</label>
  1395. <value>확인불가</value>
  1396. </item>
  1397. </choices>
  1398. </select1>
  1399. <caption id="caption11" class="tit_2" style="left:0px; top:335px; width:210px; height:13px; ">과거조영제 유해반응여부</caption>
  1400. <caption id="caption13" class="cell_1" style="left:0px; top:379px; width:142px; height:23px; text-align:left; vertical-align:middle; ">2)과거유해반응 원인약물</caption>
  1401. <input id="input15" ref="/root/main/aeahdyes2/aeahdyeslist2/drugtoxicnamenm" class="input_search" navindex="29" style="left:145px; top:380px; width:160px; height:19px; "/>
  1402. <caption id="caption23" class="cell_1" style="left:0px; top:355px; width:140px; height:23px; text-align:left; vertical-align:middle; ">1)과거유해반응 여부</caption>
  1403. <select1 id="rdo_pretreaflag" ref="/root/main/aeahdyes2/aeahdyeslist2/pretreaflag" appearance="full" overflow="visible" style="left:315px; top:355px; width:185px; height:55px; border-style:none; ">
  1404. <choices>
  1405. <item>
  1406. <label>시행안함</label>
  1407. <value>시행안함</value>
  1408. </item>
  1409. <item>
  1410. <label>항히스타민제</label>
  1411. <value>항히스타민제</value>
  1412. </item>
  1413. <item>
  1414. <label>항히스타민제 + 스테로이드제</label>
  1415. <value>항히스타민제 + 스테로이드제</value>
  1416. </item>
  1417. </choices>
  1418. </select1>
  1419. <line id="line4" class="line_1" style="x1:1px; y1:350px; x2:305px; y2:350px; "/>
  1420. <select1 id="rdo_patprog" ref="/root/main/aeahdyes2/aeahdyeslist2/patprogress" appearance="full" overflow="visible" style="left:705px; top:355px; width:125px; height:70px; border-style:none; ">
  1421. <choices>
  1422. <item>
  1423. <label>한시간 이내 호전</label>
  1424. <value>한시간 이내 호전</value>
  1425. </item>
  1426. <item>
  1427. <label>한시간 이상 지속</label>
  1428. <value>한시간 이상 지속</value>
  1429. </item>
  1430. <item>
  1431. <label>응급실 이송</label>
  1432. <value>응급실 이송</value>
  1433. </item>
  1434. <item>
  1435. <label>기타</label>
  1436. <value>기타</value>
  1437. </item>
  1438. </choices>
  1439. </select1>
  1440. <line id="line9" class="line_1" style="x1:510px; y1:350px; x2:694px; y2:350px; "/>
  1441. <caption id="caption14" class="tit_2" style="left:515px; top:335px; width:170px; height:13px; ">후처치 시행여부</caption>
  1442. <caption id="caption16" class="tit_2" style="left:705px; top:335px; width:95px; height:13px; ">환자경과</caption>
  1443. <select1 id="rdo_posttreaflag" ref="/root/main/aeahdyes2/aeahdyeslist2/posttreaflag" appearance="full" overflow="visible" style="left:510px; top:355px; width:185px; height:55px; border-style:none; ">
  1444. <choices>
  1445. <item>
  1446. <label>경과관찰</label>
  1447. <value>경과관찰</value>
  1448. </item>
  1449. <item>
  1450. <label>항히스타민제</label>
  1451. <value>항히스타민제</value>
  1452. </item>
  1453. <item>
  1454. <label>항히스타민제 + 스테로이드제</label>
  1455. <value>항히스타민제 + 스테로이드제</value>
  1456. </item>
  1457. </choices>
  1458. </select1>
  1459. <line id="line5" class="line_1" style="x1:705px; y1:350px; x2:830px; y2:350px; "/>
  1460. <line id="line10" class="line_1" style="x1:-5px; y1:425px; x2:310px; y2:425px; "/>
  1461. <caption id="caption20" class="tit_2" style="left:0px; top:410px; width:155px; height:13px; ">알레르기내과 의견</caption>
  1462. <caption id="caption26" class="cell_1" style="left:0px; top:451px; width:65px; height:18px; text-align:center; vertical-align:middle; ">향후조치</caption>
  1463. <select1 id="combo1" ref="/root/main/aeahdyes2/aeahdyeslist2/allergycd" class="combo_search" disabled="false" navindex="29" appearance="minimal" style="left:70px; top:451px; width:240px; height:19px; ">
  1464. <choices>
  1465. <itemset nodeset="/root/init/M0760list/M0760">
  1466. <value ref="cdid"/>
  1467. <label ref="cdnm"/>
  1468. </itemset>
  1469. </choices>
  1470. </select1>
  1471. <input id="input16" ref="/root/main/aeahdyes2/aeahdyeslist2/allergyrmk" class="input_search" navindex="29" style="left:70px; top:472px; width:240px; height:19px; "/>
  1472. <caption id="caption21" class="cell_1" style="left:317px; top:430px; width:65px; height:18px; text-align:center; vertical-align:middle; ">혈압</caption>
  1473. <input id="input8" ref="/root/main/aeahdyes2/aeahdyeslist2/erroomtrantm" class="input_search" disabled="false" navindex="35" format="nn:ss" style="left:658px; top:431px; width:47px; height:19px; text-align:center; "/>
  1474. <caption id="caption24" class="cell_1" style="left:317px; top:451px; width:65px; height:18px; text-align:center; vertical-align:middle; ">맥박</caption>
  1475. <caption id="caption25" class="cell_1" style="left:425px; top:430px; width:125px; height:18px; text-align:center; vertical-align:middle; ">응급실 이송시간</caption>
  1476. <input id="input9" ref="/root/main/aeahdyes2/aeahdyeslist2/bpcnts" class="input_search" disabled="false" navindex="32" maxlength="10" style="left:385px; top:430px; width:35px; height:19px; "/>
  1477. <input id="input10" ref="/root/main/aeahdyes2/aeahdyeslist2/pulsecnts" class="input_search" disabled="false" navindex="33" maxlength="10" style="left:385px; top:452px; width:35px; height:19px; "/>
  1478. <input id="input11" ref="/root/main/aeahdyes2/aeahdyeslist2/erroomtrandd" class="input_search" disabled="false" navindex="34" inputtype="date" style="left:555px; top:431px; width:95px; height:19px; "/>
  1479. <line id="line12" class="line_1" style="x1:315px; y1:425px; x2:830px; y2:425px; "/>
  1480. <input id="input12" ref="/root/main/aeahdyes2/aeahdyeslist2/usedyeqty" class="input_search" navindex="30" format="#,###.9999" style="left:765px; top:451px; width:65px; height:19px; text-align:right; "/>
  1481. <input id="input13" ref="/root/main/aeahdyes2/aeahdyeslist2/usedyenm" class="input_search" navindex="29" style="left:555px; top:451px; width:205px; height:19px; text-align:right; "/>
  1482. <caption id="caption17" class="cell_1" style="left:426px; top:449px; width:125px; height:21px; text-align:center; vertical-align:middle; ">사용조영제 및 용량</caption>
  1483. <caption id="caption27" class="cell_1" style="left:0px; top:473px; width:65px; height:18px; text-align:center; vertical-align:middle; ">비고</caption>
  1484. <caption id="caption28" class="cell_1" style="left:0px; top:430px; width:65px; height:18px; text-align:center; vertical-align:middle; ">중증도</caption>
  1485. <select1 id="radio1" ref="/root/main/aeahdyes2/aeahdyeslist2/allergylvl" appearance="full" cols="3" overflow="visible" style="left:70px; top:431px; width:160px; height:20px; border-style:none; ">
  1486. <choices>
  1487. <item>
  1488. <label>경증</label>
  1489. <value>A</value>
  1490. </item>
  1491. <item>
  1492. <label>중등증</label>
  1493. <value>B</value>
  1494. </item>
  1495. <item>
  1496. <label>중증</label>
  1497. <value>C</value>
  1498. </item>
  1499. </choices>
  1500. </select1>
  1501. </case>
  1502. </switch>
  1503. <button id="btn_allergy" class="btn4_letter4" navindex="39" visibility="hidden" style="left:230px; top:632px; width:80px; height:22px; ">
  1504. <caption>의견저장</caption>
  1505. <script type="javascript" ev:event="onclick">
  1506. <![CDATA[
  1507. var sAllergyCd = model.getValue("/root/main/aeahdyes2/aeahdyeslist2/allergycd");
  1508. if(isNull(sAllergyCd)) {
  1509. messageBox("평가항목을 선택 하세요.", "I999");
  1510. return;
  1511. }
  1512. model.setValue("/root/send/allergy/prcpdd", model.getValue("/root/main/aeahdyes2/aeahdyeslist2/prcpdd"));
  1513. model.setValue("/root/send/allergy/execprcpuniqno", model.getValue("/root/main/aeahdyes2/aeahdyeslist2/execprcpuniqno"));
  1514. model.setValue("/root/send/allergy/allergylvl", model.getValue("/root/main/aeahdyes2/aeahdyeslist2/allergylvl"));
  1515. model.setValue("/root/send/allergy/allergycd", model.getValue("/root/main/aeahdyes2/aeahdyeslist2/allergycd"));
  1516. model.setValue("/root/send/allergy/allergyrmk", model.getValue("/root/main/aeahdyes2/aeahdyeslist2/allergyrmk"));
  1517. if(submit("TXAER01901") ) {
  1518. messageBox("저장 하였습니다.", "I999");
  1519. ipt_pid.dispatch("xforms-value-changed");
  1520. readfunc();
  1521. var sExecPrcpUniqNo = model.getValue("/root/hidden/ocrprint/calcscor/execprcpuniqno");
  1522. for (var i = 1; i < grd_aeahdyelist.rows; i ++){
  1523. if(model.getValue("/root/main/aeahdyes1/aeahdyeslist1["+i+"]/execprcpuniqno") == sExecPrcpUniqNo) {
  1524. grd_aeahdyelist.row = i;
  1525. display_list();
  1526. break;
  1527. }
  1528. }
  1529. } else {
  1530. messageBox("평가항목 저장에 실패 하였습니다.", "E999");
  1531. }
  1532. ]]>
  1533. </script>
  1534. </button>
  1535. </xhtml:body>
  1536. </xhtml:html>