SMMNW09500_NEW일반정보.xrw 93 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <wardrecinfo>
  11. <!--(20101218) 경북대 -->
  12. <!--(20101218) 경북대 -->
  13. <famytree>
  14. <existyn/>
  15. </famytree>
  16. <inmotiveinfo>
  17. <inmotive>
  18. <attackdd/>
  19. <attackdt/>
  20. <inmotive1>Y</inmotive1>
  21. <inmotive2/>
  22. <illnessflag>Y</illnessflag>
  23. </inmotive>
  24. </inmotiveinfo>
  25. <gustoinfo>
  26. <gusto>
  27. <smokinfo>
  28. <smokinfoyn/>
  29. <bfsmokinfoyn/>
  30. <smokinfocnt/>
  31. <nosmokcnstyn/>
  32. <nosmokcnst/>
  33. <nosmokcnstnm/>
  34. </smokinfo>
  35. <drunkinfo>
  36. <drunkinfoyn>1</drunkinfoyn>
  37. <drunkinfokind/>
  38. <drunkinfoterm/>
  39. </drunkinfo>
  40. </gusto>
  41. </gustoinfo>
  42. <spcffact>
  43. <spcf>
  44. <spcffactinclyn/>
  45. <spcffactdetl/>
  46. </spcf>
  47. </spcffact>
  48. <rectmedistatinfo>
  49. <rectmedistat>
  50. <rectmedistatinfoinclyn/>
  51. <antibiodrugyn/>
  52. <rectmedistat>
  53. <drugnm/>
  54. <direc/>
  55. <orddept/>
  56. </rectmedistat>
  57. </rectmedistat>
  58. </rectmedistatinfo>
  59. <basebdinfoinclyn/>
  60. <lowbp/>
  61. <highbp/>
  62. <pulse/>
  63. <breth/>
  64. <bdtp/>
  65. <bdtppartcd/>
  66. <bdht/>
  67. <bdwt/>
  68. <bdbtype/>
  69. <bdbtyperh/>
  70. <privacy/>
  71. <jobcd/>
  72. <jobnm/>
  73. <educgrdecd/>
  74. <educgrdenm/>
  75. <religncd/>
  76. <relignnm/>
  77. <marystatcd/>
  78. <marystatnm/>
  79. <baptnm/>
  80. <indd/>
  81. <indt/>
  82. <inpathcd/>
  83. <inpathnm/>
  84. <inmthdcd/>
  85. <inmthdnm/>
  86. <inacompstcd/>
  87. <inacompstnm/>
  88. <spo2/>
  89. <relignreq/>
  90. <telflag/>
  91. <tel/>
  92. <mphone/>
  93. <etctelflag/>
  94. <etcphone1/>
  95. <etcphone2/>
  96. <bpinspyn/>
  97. <pulseinspyn/>
  98. <brethinspyn/>
  99. <bdtpinspyn/>
  100. <bdhtinspyn/>
  101. <bdwtinspyn/>
  102. <spo2inspyn/>
  103. <apttbdwtchnginfo>
  104. <apttbdwtchng>
  105. <apptstatflag/>
  106. <bdwtchngyn/>
  107. <dysphagiayn/>
  108. </apttbdwtchng>
  109. </apttbdwtchnginfo>
  110. <famyinfo>
  111. <famyinfo>
  112. <famyparent/>
  113. <famybrother/>
  114. <famychildren/>
  115. <famyspouse/>
  116. </famyinfo>
  117. </famyinfo>
  118. <socialwelfareflag>Y</socialwelfareflag>
  119. <nationalityflag>N</nationalityflag>
  120. <nationalitynm/>
  121. </wardrecinfo>
  122. <init/>
  123. <famyfact>
  124. <stat/>
  125. <rela/>
  126. <hngnm/>
  127. <addr/>
  128. <detladdr/>
  129. <tel/>
  130. <mpphone/>
  131. <remfact/>
  132. <fmlyseq/>
  133. </famyfact>
  134. <histinfo>
  135. <pasthistinfo>
  136. <pasthist>
  137. <pasthistinclyn/>
  138. <pasthist>
  139. <genrdd/>
  140. <histspec/>
  141. <remfact/>
  142. </pasthist>
  143. </pasthist>
  144. </pasthistinfo>
  145. <famyhistinfo>
  146. <famyhist>
  147. <famyhistinclyn>X</famyhistinclyn>
  148. <famyhist>
  149. <famyrel/>
  150. <existyn/>
  151. <histspec/>
  152. <remfact/>
  153. </famyhist>
  154. </famyhist>
  155. </famyhistinfo>
  156. <inhistinfo>
  157. <inhist>
  158. <inhistinclyn/>
  159. <inhist>
  160. <indd/>
  161. <dschdd/>
  162. <illnm/>
  163. <orddept/>
  164. <inhistpk/>
  165. </inhist>
  166. </inhist>
  167. </inhistinfo>
  168. <ophistinfo>
  169. <ophist>
  170. <ophistinclyn/>
  171. <ophist>
  172. <opdd/>
  173. <opnm/>
  174. <orddept/>
  175. <ophistpk/>
  176. </ophist>
  177. </ophist>
  178. </ophistinfo>
  179. <allghistinfo>
  180. <allghist>
  181. <allghistinclyn/>
  182. <allghist>
  183. <genrdd/>
  184. <flag/>
  185. <allergespec/>
  186. <hosoutyn/>
  187. <comclscd/>
  188. <drugcd/>
  189. <drugnm/>
  190. <symp/>
  191. <rgstdt/>
  192. <rgster/>
  193. <cretno/>
  194. </allghist>
  195. <tnsseffcyn>1</tnsseffcyn>
  196. <tnsseffcdetl/>
  197. </allghist>
  198. </allghistinfo>
  199. <vacnhistinfo>
  200. <vacnhist>
  201. <vacnhistinfoinclyn/>
  202. <dpttims/>
  203. <infparaltims/>
  204. <ahptstims/>
  205. <bhptstims/>
  206. <bhptsdrugnm/>
  207. <bcgyn/>
  208. <mmrtims/>
  209. <alivvacntims/>
  210. <deadvaccntims/>
  211. <brnmeningitistims/>
  212. <lungcoccustims/>
  213. <chickenpoxtims/>
  214. </vacnhist>
  215. </vacnhistinfo>
  216. <smokinfo>
  217. <smok>
  218. <smokinclyn/>
  219. <smok>
  220. <dosetoday/>
  221. <term/>
  222. </smok>
  223. </smok>
  224. </smokinfo>
  225. <drunkinfo>
  226. <drunk>
  227. <drunkinclyn/>
  228. <drunkinfo>
  229. <kind/>
  230. <dose/>
  231. <tims/>
  232. <term/>
  233. </drunkinfo>
  234. </drunk>
  235. </drunkinfo>
  236. <gustofoodinfo>
  237. <gustofood>
  238. <gustofoodinclyn/>
  239. <gustofood>
  240. <kind/>
  241. <dose/>
  242. <tims/>
  243. <term/>
  244. </gustofood>
  245. </gustofood>
  246. </gustofoodinfo>
  247. <tnsseffcinfo>
  248. <tnsseffc>
  249. <tnsseffcinclyn/>
  250. <tnsseffc>
  251. <tnsyn/>
  252. <tnsdetl/>
  253. </tnsseffc>
  254. </tnsseffc>
  255. </tnsseffcinfo>
  256. </histinfo>
  257. <inbfinfo>
  258. <inbfinfolist>
  259. <inbfyn/>
  260. </inbfinfolist>
  261. </inbfinfo>
  262. <allgtemp>
  263. <antitype>3</antitype>
  264. <antidesc/>
  265. <row/>
  266. <col/>
  267. </allgtemp>
  268. </main>
  269. </root>
  270. </instance>
  271. <script type="javascript">
  272. <![CDATA[
  273. function fInitEventGnrlInfo() {
  274. if(ipt_indt.value == "") {
  275. ipt_indt.value = model.getValue("/root/temp/cond/list/careinrmtm"); //입원시간
  276. }
  277. submit("TRMNW07601"); //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
  278. if(model.getValue("/root/main/inbfinfo/inbfinfolist/inbfyn") == "Y"){
  279. bnt_testroom.visible =true;
  280. } else {
  281. bnt_testroom.visible =false;
  282. }
  283. if(model.getValue("/root/temp/cond/list/sex") == "M") { // 남자일 경우 여성정보 해당사항 없음 체크
  284. model.setValue("/root/main/wardrecinfo/mensinfo/mens/mensinclyn", "1");
  285. //model.setValue("/root/main/wardrecinfo/mensinfo/mens/mensaddinfoyn", "");
  286. //model.makeValue("/root/main/wardrecinfo/mensinfo/mens/mensaddinfoyn", "");
  287. }
  288. // chk_mensinclyn.dispatch("xforms-value-changed"); // 15.04.01 - 추가 - AYS
  289. // cmb_job.dispatch("xforms-value-changed");
  290. // cmb_relign.dispatch("xforms-value-changed");
  291. // cmb_educgrde.dispatch("xforms-value-changed");
  292. // cmb_marystat.dispatch("xforms-value-changed");
  293. // rdo_nationalityflag.dispatch("xforms-value-changed"); // 15.04.01 - 추가 - AYS
  294. var privacychk = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='W25']/cdid");
  295. if(privacychk == "N"){
  296. model.setValue("/root/main/wardrecinfo/privacy", "");
  297. chk_privacy.visible = false;
  298. cap_educgrde.visible = true;
  299. cmb_educgrde.visible = true;
  300. ipt_educgrde.visible = true;
  301. }else{
  302. chk_privacy.visible = true;
  303. cap_educgrde.visible = true; // 본원 - 교육지표 추가 요청 '15.03.19 - AYS
  304. cmb_educgrde.visible = true;
  305. ipt_educgrde.visible = true;
  306. }
  307. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){ // 개인정보사정 미동의 Y인 경우
  308. cmb_job.disabled = true;
  309. ipt_job.disabled = true;
  310. cmb_relign.disabled = true;
  311. ipt_relignnm.disabled = true;
  312. cmb_marystat.disabled = true;
  313. ipt_marystatnm.disabled = true;
  314. rdo_nationalityflag.disabled = true;
  315. ipt_nationalitynm.disabled = true;
  316. rdo_socialwelfare.disabled = true;
  317. chk_famyparent.disabled = true;
  318. ipt_famybrother.disabled = true;
  319. ipt_famychildren.disabled = true;
  320. cap_baptnm.visible = false;
  321. ipt_baptnm.visible = false;
  322. }else{
  323. cmb_job.disabled = false;
  324. cmb_relign.disabled = false;
  325. cmb_marystat.disabled = false;
  326. rdo_nationalityflag.disabled = false;
  327. rdo_socialwelfare.disabled = false;
  328. chk_famyparent.disabled = false;
  329. ipt_famybrother.disabled = false;
  330. ipt_famychildren.disabled = false;
  331. cmb_job.dispatch("xforms-value-changed");
  332. cmb_relign.dispatch("xforms-value-changed");
  333. cmb_educgrde.dispatch("xforms-value-changed");
  334. cmb_marystat.dispatch("xforms-value-changed");
  335. rdo_nationalityflag.dispatch("xforms-value-changed");
  336. }
  337. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn") == "1") { // 기본신체정보 해당없음 체크
  338. chk_basebdinfoinclyn.dispatch("xforms-value-changed");
  339. }
  340. cmb_inpath.dispatch("xforms-value-changed"); // 입원경로 cmb
  341. cmb_inmthd.dispatch("xforms-value-changed"); // 입원방법 cmb
  342. cmb_inacompst.dispatch("xforms-value-changed"); // 입원시동반자 cmb
  343. rdo_nosmokcnstyn.dispatch("xforms-value-changed"); // 금연상담여부 유무 rdo
  344. rdo_drunkinfo.dispatch("xforms-value-changed"); // 음주정보 유무 rdo
  345. //rdo_gustofoodyn.dispatch("xforms-value-changed"); // 기호식품 유무 rdo
  346. rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 수혈부작용 rdo
  347. // 15.03.27 - AYS 수정
  348. // if(model.getValue("/root/main/wardrecinfo/mensinfo/mens/mensinclyn") == "1") { // 여성정보 해당없음 체크시 실행
  349. // chk_mensinclyn.dispatch("xforms-value-changed");
  350. // } else {
  351. // rdo_endmensyn.dispatch("xforms-value-changed");
  352. // }
  353. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") { // 과겨병력 해당없음 체크시 실행
  354. chk_pasthistyn.dispatch("xforms-value-changed");
  355. }
  356. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") { // 가족병력 해당없음 체크시 실행
  357. chk_famyhistyn.dispatch("xforms-value-changed");
  358. }
  359. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") { // 입원이력 해당없음 체크시 실행
  360. chk_inhistyn.dispatch("xforms-value-changed");
  361. }
  362. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") { // 수술이력 해당없음 체크시 실행
  363. chk_ophistinclyn.dispatch("xforms-value-changed");
  364. }
  365. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") { // 최근투약상태 해당없음 체크시 실행
  366. chk_rectmedistatinclyn.dispatch("xforms-value-changed");
  367. }
  368. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") { // 알레르기 해당없음 체크시 실행
  369. rdo_allgyn.dispatch("xforms-value-changed");
  370. }
  371. // 15.04.01 - 국적관련 코드 추가 - AYS
  372. // if(model.getValue("/root/main/wardrecinfo/nationalityflag") != "") {
  373. // rdo_nationalityflag.dispatch("xforms-value-changed");
  374. // }
  375. //신체정보 측정불가시 측정불가 체크표시 추가_20090306_SMY
  376. chk_bpinspyn.dispatch("xforms-value-changed");
  377. chk_pulseinspyn.dispatch("xforms-value-changed");
  378. chk_brethinspyn.dispatch("xforms-value-changed");
  379. chk_bdtpinspyn.dispatch("xforms-value-changed");
  380. chk_bdhtinspyn.dispatch("xforms-value-changed");
  381. chk_bdwtinspyn.dispatch("xforms-value-changed");
  382. chk_spo2inspyn.dispatch("xforms-value-changed");
  383. }
  384. //측정불가 코드값입력 blocking_20090310_SMY
  385. function fChkNoneInspCode(IptPath, IptID){
  386. if(model.getValue(IptPath) == NoneInspCode){
  387. messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  388. model.resetInstanceNode(IptPath);
  389. model.setFocus(IptID);
  390. model.refresh();
  391. return;
  392. }
  393. }
  394. // 15.03.20 - AYS - 영양위험 항목 삭제로 인한 주석처리
  395. // ---------(20101217)
  396. // function fnNRScalc() {
  397. //
  398. // var snrs1 = model.getValue("/root/main/wardrecinfo/nrs1cd");
  399. // var snrs21 = model.getValue("/root/main/wardrecinfo/nrs21cd");
  400. // var snrs22 = model.getValue("/root/main/wardrecinfo/nrs22cd");
  401. // var snrs23 = model.getValue("/root/main/wardrecinfo/nrs23cd");
  402. //
  403. // var totalnrs= 0;
  404. // var snm = "";
  405. //
  406. // if (snrs1 =="") {
  407. // snrs21 = 0;
  408. // model.setValue("/root/main/wardrecinfo/nrs1nm","");
  409. // } else {
  410. // snm = comnrs1.label;
  411. // model.setValue("/root/main/wardrecinfo/nrs1nm",snm);
  412. // }
  413. //
  414. // if (snrs21 =="" || snrs21=="1") {
  415. // snrs21 = 0;
  416. // model.setValue("/root/main/wardrecinfo/nrs21nm","");
  417. // } else {
  418. // snrs21 = 1;
  419. // snm = capnrs21.value;
  420. // model.setValue("/root/main/wardrecinfo/nrs21nm",snm);
  421. // }
  422. //
  423. // if (snrs22 =="" || snrs22=="1") {
  424. // snrs22 = 0;
  425. // model.setValue("/root/main/wardrecinfo/nrs22nm","");
  426. // } else {
  427. // snrs22 = 2;
  428. // snm = capnrs22.value;
  429. // model.setValue("/root/main/wardrecinfo/nrs22nm",snm);
  430. // }
  431. //
  432. // if (snrs23 =="" || snrs23=="1") {
  433. // snrs23 = 0;
  434. // model.setValue("/root/main/wardrecinfo/nrs23nm","");
  435. // } else {
  436. // snrs23 = 3;
  437. // snm = capnrs23.value;
  438. // model.setValue("/root/main/wardrecinfo/nrs23nm",snm);
  439. // }
  440. //
  441. // //----------(20110108) 경북대
  442. // if (snrs1 =="") snrs1 = 0;
  443. // if (snrs21 =="") snrs21 = 0;
  444. // if (snrs22 =="") snrs22 = 0;
  445. // if (snrs23 =="") snrs23 = 0;
  446. // //----------(20110108) 경북대
  447. // totalnrs = parseInt(snrs1) +parseInt(snrs21) + parseInt(snrs22) + parseInt(snrs23);
  448. // model.setValue("/root/main/wardrecinfo/nrsscore",totalnrs);
  449. // model.refresh();
  450. // }
  451. // ---------(20101217)
  452. ]]>
  453. </script>
  454. <script type="javascript" ev:event="xforms-ready">
  455. <![CDATA[
  456. // iviewer1.window.javascript.fGetOCRInfo("0000001778", "20694", "20070824", "1", "I", "3", "Y");
  457. // iviewer1.window.javascript.fPrint("A");
  458. //----------(20101029) 경북대
  459. // 간호정보조사지에서 호출함
  460. // 간호정보조사지 일반정보- 필수항목
  461. if (fEssentialBackColor != "") {
  462. ipt_bdht.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - 신장
  463. ipt_bdwt.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - 체중
  464. ipt_spo2.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - SpO2
  465. rdo_smokinfo.attribute("background-color") = fEssentialBackColor; // 기호정보 - 흡연정보
  466. rdo_nosmokcnstyn.attribute("background-color") = fEssentialBackColor; // 기호정보 - 금연상담여부
  467. cmb_antibiodrugyn.attribute("background-color") = fEssentialBackColor; // 최근투약상태 - 24시간내 항생제 투약여부
  468. tar_inmotv.attribute("background-color") = fEssentialBackColor; // 입원동기
  469. rdo_apttstatflag.attribute("background-color") = fEssentialBackColor; // 영양사정 - 식욕상태
  470. rdo_apttchngyn.attribute("background-color") = fEssentialBackColor; // 영양사정 - 체중감소
  471. rdo_dysphagiayn.attribute("background-color") = fEssentialBackColor; // 영양사정 - 연하곤란
  472. rdo_nationalityflag.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 국적
  473. cmb_job.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 직업
  474. cmb_educgrde.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 교육정도
  475. cmb_relign.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 종교
  476. cmb_marystat.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 결혼상태
  477. rdo_socialwelfare.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 사회복지상담
  478. rdo_tnsseffcyn.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 수혈부작용
  479. rdo_allgyn.attribute("background-color") = fEssentialBackColor; // Allergy
  480. //-------------(20110121) 경북대
  481. //comnrs1.attribute("background-color") = fEssentialBackColor; // 15.03.20 - AYS - 영양위험 항목 삭제로 인한 주석처리
  482. //radnrs21.attribute("background-color") = fEssentialBackColor;
  483. //radnrs22.attribute("background-color") = fEssentialBackColor;
  484. //radnrs23.attribute("background-color") = fEssentialBackColor;
  485. //-------------(20110121) 경북대
  486. }
  487. //----------(20101029) 경북대
  488. ]]>
  489. </script>
  490. <submission id="TRMNW07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inbfinfo"/>
  491. </model>
  492. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  493. <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js"/>
  494. </xhtml:head>
  495. <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  496. <line id="line39" class="line_2" style="x1:400px; y1:486px; x2:791px; y2:486px; "/>
  497. <line id="line21" class="line_2" style="x1:400px; y1:321px; x2:791px; y2:321px; "/>
  498. <line id="line49" class="line_2" style="x1:400px; y1:297px; x2:791px; y2:297px; "/>
  499. <line id="line32" class="line_2" style="x1:5px; y1:371px; x2:396px; y2:371px; "/>
  500. <group id="grp_basebdinfo" style="left:400px; top:30px; width:391px; height:50px; ">
  501. <line id="line20" class="line_2" style="x1:0px; y1:46px; x2:391px; y2:46px; "/>
  502. <caption id="caption30" class="output_fix" visibility="hidden" style="left:335px; top:5px; width:53px; height:19px; text-align:center; ">회/분</caption>
  503. <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="23" visibility="hidden" maxlength="3" format="9#.#" style="left:63px; top:1px; width:50px; height:19px; text-align:center; ">
  504. <script type="javascript" ev:event="xforms-value-changed">
  505. <![CDATA[
  506. fChkNoneInspCode("/root/main/wardrecinfo/highbp", "ipt_highbp");
  507. ]]>
  508. </script>
  509. </input>
  510. <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="24" visibility="hidden" maxlength="3" format="9#.#" style="left:116px; top:1px; width:50px; height:19px; text-align:center; ">
  511. <script type="javascript" ev:event="xforms-value-changed">
  512. <![CDATA[
  513. fChkNoneInspCode("/root/main/wardrecinfo/lowbp", "ipt_lowbp");
  514. ]]>
  515. </script>
  516. </input>
  517. <input id="ipt_pulse" ref="/root/main/wardrecinfo/pulse" navindex="25" visibility="hidden" maxlength="3" format="999" style="left:63px; top:25px; width:103px; height:19px; text-align:center; ">
  518. <script type="javascript" ev:event="xforms-value-changed">
  519. <![CDATA[
  520. fChkNoneInspCode("/root/main/wardrecinfo/pulse", "ipt_pulse");
  521. ]]>
  522. </script>
  523. </input>
  524. <input id="ipt_breth" ref="/root/main/wardrecinfo/breth" navindex="26" visibility="hidden" maxlength="2" format="99" style="left:228px; top:5px; width:103px; height:19px; text-align:center; ">
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. fChkNoneInspCode("/root/main/wardrecinfo/breth", "ipt_breth");
  528. ]]>
  529. </script>
  530. </input>
  531. <input id="ipt_bdtp" ref="/root/main/wardrecinfo/bdtp" navindex="27" visibility="hidden" maxlength="5" format="9#.#" style="left:228px; top:25px; width:50px; height:19px; text-align:center; ">
  532. <script type="javascript" ev:event="xforms-value-changed">
  533. <![CDATA[
  534. fChkNoneInspCode("/root/main/wardrecinfo/bdtp", "ipt_bdtp");
  535. ]]>
  536. </script>
  537. </input>
  538. <select1 id="cmb_bdtp" ref="/root/main/wardrecinfo/bdtppartcd" class="combo_default" navindex="28" visibility="hidden" appearance="minimal" style="left:281px; top:25px; width:50px; height:19px; ">
  539. <choices>
  540. <itemset nodeset="/root/init/mlist/M0375">
  541. <label ref="cdnm"/>
  542. <value ref="cdid"/>
  543. </itemset>
  544. </choices>
  545. </select1>
  546. <line id="line15" class="line_2" style="x1:0px; y1:22px; x2:391px; y2:22px; "/>
  547. <caption id="caption26" class="output_fix" visibility="hidden" style="left:170px; top:0px; width:53px; height:19px; text-align:center; ">mmHg</caption>
  548. <caption id="caption38" class="output_fix" visibility="hidden" style="left:335px; top:25px; width:53px; height:19px; text-align:center; ">℃</caption>
  549. <caption id="caption28" class="output_fix" visibility="hidden" style="left:170px; top:25px; width:53px; height:19px; text-align:center; ">회/분</caption>
  550. <caption id="caption17" class="cell_1" visibility="hidden" style="left:0px; top:0px; width:60px; height:23px; ">.... 혈압</caption>
  551. <caption id="caption18" class="cell_1" visibility="hidden" style="left:0px; top:24px; width:60px; height:23px; ">.... 맥박</caption>
  552. <caption id="caption19" class="cell_1" visibility="hidden" style="left:165px; top:5px; width:60px; height:23px; ">.... 호흡</caption>
  553. <caption id="caption20" class="cell_1" visibility="hidden" style="left:165px; top:24px; width:60px; height:23px; ">.... 체온</caption>
  554. <line id="line29" class="line_3" style="x1:0px; y1:47px; x2:391px; y2:47px; "/>
  555. <select id="chk_bpinspyn" ref="/root/main/wardrecinfo/bpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:5px; top:4px; width:15px; height:15px; border-style:none; ">
  556. <choices>
  557. <item>
  558. <label/>
  559. <value>Y</value>
  560. </item>
  561. </choices>
  562. <script type="javascript" ev:event="xforms-value-changed">
  563. <![CDATA[
  564. if(model.getValue("/root/main/wardrecinfo/bpinspyn") == "Y"){
  565. ipt_highbp.disabled = true;
  566. ipt_lowbp.disabled = true;
  567. model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  568. model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  569. }else{
  570. ipt_highbp.disabled = false;
  571. ipt_lowbp.disabled = false;
  572. }
  573. ipt_highbp.refresh();
  574. ipt_lowbp.refresh();
  575. ]]>
  576. </script>
  577. </select>
  578. <select id="chk_pulseinspyn" ref="/root/main/wardrecinfo/pulseinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:5px; top:28px; width:15px; height:15px; border-style:none; ">
  579. <choices>
  580. <item>
  581. <label/>
  582. <value>Y</value>
  583. </item>
  584. </choices>
  585. <script type="javascript" ev:event="xforms-value-changed">
  586. <![CDATA[
  587. if(model.getValue("/root/main/wardrecinfo/pulseinspyn") == "Y"){
  588. ipt_pulse.disabled = true;
  589. model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  590. }else{
  591. ipt_pulse.disabled = false;
  592. }
  593. ipt_pulse.refresh();
  594. ]]>
  595. </script>
  596. </select>
  597. <select id="chk_brethinspyn" ref="/root/main/wardrecinfo/brethinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:170px; top:5px; width:15px; height:15px; border-style:none; ">
  598. <choices>
  599. <item>
  600. <label/>
  601. <value>Y</value>
  602. </item>
  603. </choices>
  604. <script type="javascript" ev:event="xforms-value-changed">
  605. <![CDATA[
  606. if(model.getValue("/root/main/wardrecinfo/brethinspyn") == "Y"){
  607. ipt_breth.disabled = true;
  608. model.resetInstanceNode("/root/main/wardrecinfo/breth");
  609. }else{
  610. ipt_breth.disabled = false;
  611. }
  612. ipt_breth.refresh();
  613. ]]>
  614. </script>
  615. </select>
  616. <select id="chk_bdtpinspyn" ref="/root/main/wardrecinfo/bdtpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:170px; top:28px; width:15px; height:15px; border-style:none; ">
  617. <choices>
  618. <item>
  619. <label/>
  620. <value>Y</value>
  621. </item>
  622. </choices>
  623. <script type="javascript" ev:event="xforms-value-changed">
  624. <![CDATA[
  625. if(model.getValue("/root/main/wardrecinfo/bdtpinspyn") == "Y"){
  626. ipt_bdtp.disabled = true;
  627. cmb_bdtp.disabled = true;
  628. model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  629. model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  630. }else{
  631. ipt_bdtp.disabled = false;
  632. cmb_bdtp.disabled = false;
  633. }
  634. ipt_bdtp.refresh();
  635. cmb_bdtp.refresh();
  636. ]]>
  637. </script>
  638. </select>
  639. <caption id="cap_bdht" class="cell_1" style="left:0px; top:0px; width:60px; height:23px; ">.... 신장</caption>
  640. <caption id="cap_bdwt" class="cell_1" style="left:0px; top:24px; width:60px; height:23px; ">.... 체중</caption>
  641. <caption id="caption2" class="cell_1" style="left:196px; top:0px; width:60px; height:23px; ">... SpO2</caption>
  642. <select id="chk_bdhtinspyn" ref="/root/main/wardrecinfo/bdhtinspyn" navindex="59" overflow="visible" appearance="full" style="left:5px; top:4px; width:15px; height:15px; border-style:none; ">
  643. <choices>
  644. <item>
  645. <label/>
  646. <value>Y</value>
  647. </item>
  648. </choices>
  649. <script type="javascript" ev:event="xforms-value-changed">
  650. <![CDATA[
  651. if(model.getValue("/root/main/wardrecinfo/bdhtinspyn") == "Y"){
  652. ipt_bdht.disabled = true;
  653. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  654. }else{
  655. ipt_bdht.disabled = false;
  656. }
  657. ipt_bdht.refresh();
  658. ]]>
  659. </script>
  660. </select>
  661. <select id="chk_spo2inspyn" ref="/root/main/wardrecinfo/spo2inspyn" navindex="59" overflow="visible" appearance="full" style="left:199px; top:3px; width:15px; height:15px; border-style:none; ">
  662. <choices>
  663. <item>
  664. <label/>
  665. <value>Y</value>
  666. </item>
  667. </choices>
  668. <script type="javascript" ev:event="xforms-value-changed">
  669. <![CDATA[
  670. if(model.getValue("/root/main/wardrecinfo/spo2inspyn") == "Y"){
  671. ipt_spo2.disabled = true;
  672. model.resetInstanceNode("/root/main/wardrecinfo/spo2");
  673. }else{
  674. ipt_spo2.disabled = false;
  675. }
  676. ipt_spo2.refresh();
  677. ]]>
  678. </script>
  679. </select>
  680. <select id="chk_bdwtinspyn" ref="/root/main/wardrecinfo/bdwtinspyn" navindex="59" overflow="visible" appearance="full" style="left:5px; top:28px; width:15px; height:15px; border-style:none; ">
  681. <choices>
  682. <item>
  683. <label/>
  684. <value>Y</value>
  685. </item>
  686. </choices>
  687. <script type="javascript" ev:event="xforms-value-changed">
  688. <![CDATA[
  689. if(model.getValue("/root/main/wardrecinfo/bdwtinspyn") == "Y"){
  690. ipt_bdwt.disabled = true;
  691. model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
  692. }else{
  693. ipt_bdwt.disabled = false;
  694. }
  695. ipt_bdwt.refresh();
  696. ]]>
  697. </script>
  698. </select>
  699. <caption id="cap_btype" class="cell_1" style="left:196px; top:24px; width:60px; height:23px; ">혈액형</caption>
  700. <input id="ipt_spo2" ref="/root/main/wardrecinfo/spo2" navindex="31" maxlength="6" format="9#.#" style="left:259px; top:1px; width:97px; height:19px; text-align:center; ">
  701. <script type="javascript" ev:event="xforms-value-changed">
  702. <![CDATA[
  703. fChkNoneInspCode("/root/main/wardrecinfo/spo2", "ipt_spo2");
  704. ]]>
  705. </script>
  706. </input>
  707. <input id="ipt_bdht" ref="/root/main/wardrecinfo/bdht" navindex="29" maxlength="5" format="9#.#" style="left:63px; top:1px; width:97px; height:19px; text-align:center; ">
  708. <script type="javascript" ev:event="xforms-value-changed">
  709. <![CDATA[
  710. fChkNoneInspCode("/root/main/wardrecinfo/bdht", "ipt_bdht");
  711. ]]>
  712. </script>
  713. </input>
  714. <input id="ipt_bdwt" ref="/root/main/wardrecinfo/bdwt" navindex="30" maxlength="5" format="9#.#" style="left:63px; top:25px; width:97px; height:19px; text-align:center; ">
  715. <!--(20101028) 경북대 -->
  716. <script type="javascript" ev:event="xforms-value-changed">
  717. <![CDATA[
  718. fChkNoneInspCode("/root/main/wardrecinfo/bdwt", "ipt_bdwt");
  719. ]]>
  720. </script>
  721. </input>
  722. <select1 id="cmb_bdbtype" ref="/root/main/wardrecinfo/bdbtype" class="combo_default" navindex="32" appearance="minimal" style="left:259px; top:25px; width:130px; height:19px; ">
  723. <choices>
  724. <itemset nodeset="/root/init/mlist/M0376">
  725. <label ref="cdnm"/>
  726. <value ref="cdid"/>
  727. </itemset>
  728. </choices>
  729. </select1>
  730. <caption id="caption31" class="output_fix" style="left:163px; top:1px; width:30px; height:19px; text-align:center; ">Cm</caption>
  731. <caption id="caption36" class="output_fix" style="left:163px; top:25px; width:30px; height:19px; text-align:center; ">Kg</caption>
  732. <caption id="caption3" class="output_fix" style="left:359px; top:1px; width:30px; height:19px; text-align:center; ">%</caption>
  733. </group>
  734. <datagrid id="grd_inhist" nodeset="/root/main/histinfo/inhistinfo/inhist/inhist" scroll="auto" caption="입원일자^퇴원일자^병명^진료기관^inhistpk" colsep="^" colwidth="85, 85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:367px; width:390px; height:71px; ">
  735. <col ref="indd" type="input"/>
  736. <col ref="dschdd" type="inputdate" visibility="hidden"/>
  737. <col ref="illnm" type="input"/>
  738. <col ref="orddept" type="input"/>
  739. <col ref="inhistpk" visibility="hidden"/>
  740. <script type="javascript" ev:event="onclick">
  741. <![CDATA[
  742. if(grd_inhist.colType(grd_inhist.col) == "input") { // 입원이력
  743. grd_inhist.editCell();
  744. }
  745. ]]>
  746. </script>
  747. <script type="javascript" ev:event="onkeydown">
  748. <![CDATA[
  749. if(event.keyCode == 9) { // Tab키를 누를 경우
  750. grd_inhist.editCell();
  751. }
  752. ]]>
  753. </script>
  754. </datagrid>
  755. <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:1134px; top:342px; width:53px; height:19px; ">
  756. <caption>행삭제</caption>
  757. <script type="javascript" ev:event="DOMActivate">
  758. <![CDATA[
  759. grd_inhist.deleteRow(grd_inhist.row); // 입원이력 행삭제
  760. ]]>
  761. </script>
  762. </button>
  763. <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:1134px; top:451px; width:53px; height:19px; ">
  764. <caption>행삭제</caption>
  765. <script type="javascript" ev:event="DOMActivate">
  766. <![CDATA[
  767. grd_rectmedistat.deleteRow(grd_rectmedistat.row); // 최근투약상태 행삭제
  768. ]]>
  769. </script>
  770. </button>
  771. <caption id="cap_allghist" class="tit_2" style="left:407px; top:370px; width:69px; height:13px; ">Allergy</caption>
  772. <button id="btn_allghistadd" class="btn2_letter3" navindex="72" style="left:683px; top:365px; width:53px; height:19px; ">
  773. <caption>행추가</caption>
  774. <script type="javascript" ev:event="DOMActivate">
  775. <![CDATA[
  776. grd_allghist.addRow(); // 알레르기 행추가
  777. ]]>
  778. </script>
  779. </button>
  780. <caption id="cap_pasthist" class="tit_2" style="left:802px; top:10px; width:104px; height:13px; ">과거병력</caption>
  781. <select id="chk_pasthistyn" ref="/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn" navindex="56" overflow="visible" appearance="full" style="left:902px; top:7px; width:70px; height:15px; border-style:none; ">
  782. <choices>
  783. <item>
  784. <label>해당없음</label>
  785. <value>1</value>
  786. </item>
  787. </choices>
  788. <script type="javascript" ev:event="xforms-value-changed">
  789. <![CDATA[
  790. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  791. var isEmptyYN = "Y";
  792. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  793. var rtn = fSetStatus();
  794. if(rtn == "6") {
  795. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  796. grd_pasthist.rebuild();
  797. btn_pasthistadd.disabled = true;
  798. btn_pasthistdel.disabled = true;
  799. } else if(rtn == "7") {
  800. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  801. chk_pasthistyn.refresh();
  802. }
  803. } else {
  804. btn_pasthistadd.disabled = false;
  805. btn_pasthistdel.disabled = false;
  806. grd_pasthist.addRow();
  807. }
  808. ]]>
  809. </script>
  810. <script type="javascript" ev:event="xforms-select">
  811. <![CDATA[
  812. status = "click";
  813. ]]>
  814. </script>
  815. </select>
  816. <line id="line23" class="line_1" style="x1:797px; y1:362px; x2:1187px; y2:362px; "/>
  817. <datagrid id="grd_pasthist" nodeset="/root/main/histinfo/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 169, 116" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:30px; width:390px; height:71px; ">
  818. <col ref="genrdd" type="input"/>
  819. <col class="gridcombo" ref="histspec" type="combo">
  820. <choices>
  821. <itemset nodeset="/root/init/mlist/M0532">
  822. <label ref="cdnm"/>
  823. <value ref="cdid"/>
  824. </itemset>
  825. </choices>
  826. </col>
  827. <col ref="remfact" type="input"/>
  828. <script type="javascript" ev:event="onclick">
  829. <![CDATA[
  830. if(grd_pasthist.colType(grd_pasthist.col) == "input") {
  831. grd_pasthist.editCell();
  832. }
  833. ]]>
  834. </script>
  835. <script type="javascript" ev:event="onkeydown">
  836. <![CDATA[
  837. if(event.keyCode == 9) {
  838. grd_pasthist.editCell();
  839. }
  840. ]]>
  841. </script>
  842. </datagrid>
  843. <line id="line25" class="line_1" style="x1:797px; y1:471px; x2:1187px; y2:471px; "/>
  844. <line id="line26" class="line_1" style="x1:797px; y1:471px; x2:1187px; y2:471px; "/>
  845. <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:1078px; top:342px; width:53px; height:19px; ">
  846. <caption>행추가</caption>
  847. <script type="javascript" ev:event="DOMActivate">
  848. <![CDATA[
  849. grd_inhist.addRow(); // 입원이력 행추가
  850. ]]>
  851. </script>
  852. </button>
  853. <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:1078px; top:451px; width:53px; height:19px; ">
  854. <caption>행추가</caption>
  855. <script type="javascript" ev:event="DOMActivate">
  856. <![CDATA[
  857. grd_rectmedistat.addRow(); // 최근투약상태
  858. ]]>
  859. </script>
  860. </button>
  861. <line id="line27" class="line_1" style="x1:402px; y1:385px; x2:792px; y2:385px; "/>
  862. <line id="line28" class="line_1" style="x1:402px; y1:385px; x2:792px; y2:385px; "/>
  863. <caption id="cap_rectmedistat" class="tit_2" style="left:801px; top:456px; width:104px; height:13px; ">최근투약상태</caption>
  864. <select id="chk_rectmedistatinclyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:902px; top:453px; width:70px; height:15px; border-style:none; ">
  865. <choices>
  866. <item>
  867. <label>해당없음</label>
  868. <value>
  869. <![CDATA[// 최근투약상태
  870. 1]]>
  871. </value>
  872. </item>
  873. </choices>
  874. <script type="javascript" ev:event="xforms-value-changed">
  875. <![CDATA[
  876. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
  877. var isEmptyYN = "Y";
  878. isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
  879. var rtn = fSetStatus();
  880. if(rtn == "6") {
  881. model.removeNodeset("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat");
  882. grd_rectmedistat.rebuild();
  883. btn_rectmedistatadd.disabled = true;
  884. btn_rectmedistatdel.disabled = true;
  885. } else if(rtn == "7") {
  886. model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
  887. chk_rectmedistatinclyn.refresh();
  888. }
  889. } else {
  890. btn_rectmedistatadd.disabled = false;
  891. btn_rectmedistatdel.disabled = false;
  892. grd_rectmedistat.addRow();
  893. }
  894. ]]>
  895. </script>
  896. <script type="javascript" ev:event="xforms-select">
  897. <![CDATA[
  898. status = "click";
  899. ]]>
  900. </script>
  901. </select>
  902. <button id="btn_allghistdel" class="btn2_letter3" navindex="73" style="left:739px; top:365px; width:53px; height:19px; ">
  903. <caption>행삭제</caption>
  904. <script type="javascript" ev:event="DOMActivate">
  905. <![CDATA[
  906. grd_allghist.deleteRow(grd_allghist.row);
  907. ]]>
  908. </script>
  909. </button>
  910. <line id="line19" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
  911. <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:1078px; top:5px; width:53px; height:19px; ">
  912. <caption>행추가</caption>
  913. <script type="javascript" ev:event="DOMActivate">
  914. <![CDATA[
  915. grd_pasthist.addRow();
  916. ]]>
  917. </script>
  918. </button>
  919. <button id="btn_pasthistdel" class="btn2_letter3" navindex="58" style="left:1134px; top:5px; width:53px; height:19px; ">
  920. <caption>행삭제</caption>
  921. <script type="javascript" ev:event="DOMActivate">
  922. <![CDATA[
  923. grd_pasthist.deleteRow(grd_pasthist.row);
  924. ]]>
  925. </script>
  926. </button>
  927. <caption id="cap_inhist" class="tit_2" style="left:801px; top:347px; width:104px; height:13px; ">입원이력</caption>
  928. <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:902px; top:344px; width:70px; height:15px; border-style:none; ">
  929. <choices>
  930. <item>
  931. <label>해당없음</label>
  932. <value>1</value>
  933. </item>
  934. </choices>
  935. <script type="javascript" ev:event="xforms-value-changed">
  936. <![CDATA[
  937. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
  938. var isEmptyYN = "Y";
  939. isEmptyYN = isCheckGridDataYN(grd_inhist);
  940. var rtn = fSetStatus();
  941. if(rtn == "6") {
  942. model.removeNodeset("/root/main/histinfo/inhistinfo/inhist/inhist");
  943. grd_inhist.rebuild();
  944. btn_inhistadd.disabled = true;
  945. btn_inhistdel.disabled = true;
  946. btn_inhistpop.disabled = true;
  947. } else if(rtn == "7") {
  948. model.setValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn", "");
  949. chk_inhistyn.refresh();
  950. }
  951. } else {
  952. btn_inhistadd.disabled = false;
  953. btn_inhistdel.disabled = false;
  954. btn_inhistpop.disabled = false;
  955. grd_inhist.addRow();
  956. }
  957. ]]>
  958. </script>
  959. <script type="javascript" ev:event="xforms-select">
  960. <![CDATA[
  961. status = "click";
  962. ]]>
  963. </script>
  964. </select>
  965. <datagrid id="grd_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:500px; width:390px; height:71px; ">
  966. <col ref="drugnm" type="input"/>
  967. <col ref="direc" type="input"/>
  968. <col ref="orddept" type="input"/>
  969. <script type="javascript" ev:event="onclick">
  970. <![CDATA[
  971. grd_rectmedistat.editCell();
  972. ]]>
  973. </script>
  974. <script type="javascript" ev:event="onkeydown">
  975. <![CDATA[
  976. if(event.keyCode == 9) {
  977. grd_rectmedistat.editCell();
  978. }
  979. ]]>
  980. </script>
  981. </datagrid>
  982. <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" scroll="auto" caption="발생일자^분류^Allergy 내역 및 증상" colsep="^" colwidth="85, 70, 199, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:402px; top:390px; width:390px; height:71px; ">
  983. <col ref="genrdd" type="inputdate"/>
  984. <col class="gridcombo" ref="flag" type="combo">
  985. <choices>
  986. <itemset nodeset="/root/init/mlist/M0090">
  987. <label ref="cdnm"/>
  988. <value ref="cdid"/>
  989. </itemset>
  990. </choices>
  991. </col>
  992. <col ref="allergespec" type="input"/>
  993. <col ref="hosoutyn" visibility="hidden"/>
  994. <col ref="comclscd" visibility="hidden"/>
  995. <col ref="drugcd" visibility="hidden"/>
  996. <col ref="drugnm" visibility="hidden"/>
  997. <col ref="rgstdt" type="inputdate" visibility="hidden"/>
  998. <col ref="rgster" visibility="hidden">
  999. <![CDATA[/>]]>
  1000. </col>
  1001. <col ref="cretno" visibility="hidden">
  1002. <![CDATA[/>]]>
  1003. </col>
  1004. <script type="javascript" ev:event="onclick">
  1005. <![CDATA[
  1006. if(grd_allghist.colType(grd_allghist.col) == "input") {
  1007. grd_allghist.editCell();
  1008. }
  1009. if (grd_allghist.col == 2) {
  1010. if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
  1011. // 분류값이 항생제로 선택이 되면..
  1012. model.makeNode("/root/main/allgtemp/antitype");
  1013. model.makeNode("/root/main/allgtemp/antidesc");
  1014. model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
  1015. model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
  1016. grp_anti.visible = true;
  1017. rdo_anti.visible = true;
  1018. txt_anti.visible = true;
  1019. btn_anti1.visible = true;
  1020. btn_anti2.visible = true;
  1021. } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
  1022. // 조영제로 선택이 되면
  1023. messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  1024. modal("SPMMD03300", 1,10, 10);
  1025. } else {
  1026. grp_anti.visible = false;
  1027. rdo_anti.visible = false;
  1028. txt_anti.visible = false;
  1029. btn_anti1.visible = false;
  1030. btn_anti2.visible = false;
  1031. }
  1032. }
  1033. ]]>
  1034. </script>
  1035. <script type="javascript" ev:event="onkeydown">
  1036. <![CDATA[
  1037. if(event.keyCode == 9) {
  1038. grd_allghist.editCell();
  1039. }
  1040. ]]>
  1041. </script>
  1042. <script type="javascript" ev:event="xforms-value-changed">
  1043. <![CDATA[
  1044. // 분류값이 항생제로 선택이 되면..
  1045. if (grd_allghist.col == 2) {
  1046. if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
  1047. model.makeNode("/root/main/allgtemp/antitype");
  1048. model.makeNode("/root/main/allgtemp/antidesc");
  1049. model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
  1050. model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
  1051. grp_anti.visible = true;
  1052. rdo_anti.visible = true;
  1053. txt_anti.visible = true;
  1054. btn_anti1.visible = true;
  1055. btn_anti2.visible = true;
  1056. } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
  1057. // 조영제로 선택이 되면
  1058. messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  1059. modal("SPMMD03300", 1,10, 10);
  1060. } else {
  1061. grp_anti.visible = false;
  1062. rdo_anti.visible = false;
  1063. txt_anti.visible = false;
  1064. btn_anti1.visible = false;
  1065. btn_anti2.visible = false;
  1066. }
  1067. }
  1068. ]]>
  1069. </script>
  1070. </datagrid>
  1071. <line id="line1" class="line_1" style="x1:5px; y1:344px; x2:396px; y2:344px; "/>
  1072. <caption id="caption1" class="tit_2" style="left:10px; top:329px; width:120px; height:13px; ">사회문화적 정보</caption>
  1073. <line id="line2" class="line_2" style="x1:5px; y1:395px; x2:396px; y2:395px; "/>
  1074. <line id="line3" class="line_2" style="x1:5px; y1:419px; x2:396px; y2:419px; "/>
  1075. <line id="line6" class="line_1" style="x1:5px; y1:547px; x2:396px; y2:547px; "/>
  1076. <caption id="caption10" class="tit_2" style="left:10px; top:10px; width:120px; height:13px; ">일반 및 입원정보</caption>
  1077. <line id="line9" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
  1078. <line id="line10" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
  1079. <line id="line11" class="line_2" style="x1:5px; y1:76px; x2:396px; y2:76px; "/>
  1080. <line id="line12" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
  1081. <line id="line14" class="line_1" style="x1:5px; y1:149px; x2:396px; y2:149px; "/>
  1082. <caption id="caption16" class="tit_2" style="left:10px; top:134px; width:175px; height:13px; ">입원동기와 병에 대한 인식</caption>
  1083. <select1 id="rdo_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive1" navindex="20" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:183px; width:131px; height:13px; border-style:none; ">
  1084. <choices>
  1085. <item>
  1086. <label>자의</label>
  1087. <value>Y</value>
  1088. </item>
  1089. <item>
  1090. <label>타의</label>
  1091. <value>N</value>
  1092. </item>
  1093. </choices>
  1094. </select1>
  1095. <line id="line16" class="line_2" style="x1:5px; y1:176px; x2:396px; y2:176px; "/>
  1096. <textarea id="tar_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive2" navindex="21" scroll="autovscroll" style="left:88px; top:205px; width:308px; height:85px; "/>
  1097. <line id="line17" class="line_2" style="x1:86px; y1:202px; x2:396px; y2:202px; "/>
  1098. <line id="line18" class="line_2" style="x1:5px; y1:292px; x2:396px; y2:292px; "/>
  1099. <select1 id="rdo_illnessflag" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/illnessflag" navindex="22" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:297px; width:131px; height:13px; border-style:none; ">
  1100. <choices>
  1101. <item>
  1102. <label>무</label>
  1103. <value>N</value>
  1104. </item>
  1105. <item>
  1106. <label>유</label>
  1107. <value>Y</value>
  1108. </item>
  1109. </choices>
  1110. </select1>
  1111. <line id="line30" class="line_3" style="x1:5px; y1:317px; x2:396px; y2:317px; "/>
  1112. <input id="ipt_attackdt" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdt" class="input_default" navindex="19" maxlength="100" format="hh:nn" style="left:295px; top:155px; width:100px; height:19px; "/>
  1113. <caption id="caption29" class="cell_1" style="left:5px; top:294px; width:80px; height:23px; vertical-align:middle; ">병에대한인식</caption>
  1114. <input id="ipt_attackdd" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdd" class="input_default" navindex="18" autonext="true" inputtype="date" style="left:88px; top:155px; width:119px; height:19px; "/>
  1115. <caption id="caption27" class="cell_1" style="left:5px; top:178px; width:80px; height:115px; vertical-align:middle; ">입원동기</caption>
  1116. <caption id="cap_attackdd" class="cell_1" style="left:5px; top:154px; width:80px; height:23px; vertical-align:middle; ">발병일자</caption>
  1117. <line id="line31" class="line_2" style="x1:401px; y1:234px; x2:792px; y2:234px; "/>
  1118. <line id="line33" class="line_1" style="x1:401px; y1:118px; x2:792px; y2:118px; "/>
  1119. <caption id="caption42" class="tit_2" style="left:406px; top:103px; width:104px; height:13px; ">기호정보</caption>
  1120. <line id="line41" class="line_1" style="x1:401px; y1:547px; x2:791px; y2:547px; "/>
  1121. <caption id="caption53" class="tit_2" style="left:406px; top:532px; width:74px; height:13px; ">특이사항</caption>
  1122. <select1 id="cmb_job" ref="/root/main/wardrecinfo/jobcd" class="combo_default" navindex="1" appearance="minimal" style="left:68px; top:374px; width:78px; height:19px; ">
  1123. <choices>
  1124. <itemset nodeset="/root/init/mlist/M0068">
  1125. <label ref="cdnm"/>
  1126. <value ref="cdid"/>
  1127. </itemset>
  1128. </choices>
  1129. <script type="javascript" ev:event="xforms-value-changed">
  1130. <![CDATA[
  1131. var job = model.getValue("/root/main/wardrecinfo/jobcd");
  1132. if(job == "10") { //기타
  1133. ipt_job.disabled = false;
  1134. } else {
  1135. model.resetInstanceNode("/root/main/wardrecinfo/jobnm");
  1136. ipt_job.disabled = true;
  1137. ipt_job.refresh();
  1138. }
  1139. ]]>
  1140. </script>
  1141. </select1>
  1142. <select1 id="cmb_educgrde" ref="/root/main/wardrecinfo/educgrdecd" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:266px; top:374px; width:77px; height:19px; ">
  1143. <choices>
  1144. <itemset nodeset="/root/init/mlist/M0069">
  1145. <label ref="cdnm"/>
  1146. <value ref="cdid"/>
  1147. </itemset>
  1148. </choices>
  1149. <script type="javascript" ev:event="xforms-value-changed">
  1150. <![CDATA[
  1151. var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
  1152. if(educgrde == "15") { //기타
  1153. ipt_educgrde.disabled = false;
  1154. } else {
  1155. model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
  1156. ipt_educgrde.disabled = true;
  1157. ipt_educgrde.refresh();
  1158. }
  1159. ]]>
  1160. </script>
  1161. </select1>
  1162. <select1 id="cmb_marystat" ref="/root/main/wardrecinfo/marystatcd" class="combo_default" navindex="7" appearance="minimal" style="left:68px; top:422px; width:78px; height:19px; ">
  1163. <choices>
  1164. <itemset nodeset="/root/init/mlist/M0151">
  1165. <label ref="cdnm"/>
  1166. <value ref="cdid"/>
  1167. </itemset>
  1168. </choices>
  1169. <script type="javascript" ev:event="xforms-value-changed">
  1170. <![CDATA[
  1171. var marystatcd = model.getValue("/root/main/wardrecinfo/marystatcd");
  1172. if(marystatcd == "09") {
  1173. ipt_marystatnm.disabled = false;
  1174. } else {
  1175. ipt_marystatnm.disabled = true;
  1176. model.resetInstanceNode("/root/main/wardrecinfo/marystatnm");
  1177. ipt_marystatnm.refresh();
  1178. }
  1179. ]]>
  1180. </script>
  1181. </select1>
  1182. <datagrid id="grd_famyfact" nodeset="/root/main/famyfact" visibility="visible" scroll="auto" caption="상태^관계^성명^휴대폰^전화번호^주보호자^주소(동/구)^세부주소^비고^fmlyseq" colsep="^" colwidth="0, 45, 0, 85, 82, 55, 94, 130, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:552px; width:391px; height:108px; ">
  1183. <col ref="stat"/>
  1184. <col class="gridcombo" ref="rela" type="combo">
  1185. <choices>
  1186. <itemset nodeset="/root/init/mlist/M0072">
  1187. <label ref="cdnm"/>
  1188. <value ref="cdid"/>
  1189. </itemset>
  1190. </choices>
  1191. </col>
  1192. <col ref="hngnm" type="input"/>
  1193. <col ref="mpphone" type="input">
  1194. <script type="javascript" ev:event="xforms-value-changed">
  1195. <![CDATA[
  1196. ]]>
  1197. </script>
  1198. </col>
  1199. <col ref="tel" type="input"/>
  1200. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  1201. <col ref="addr" type="input" visibility="hidden"/>
  1202. <col ref="detladdr" type="input" visibility="hidden"/>
  1203. <col ref="remfact" type="input" visibility="visible"/>
  1204. <col ref="fmlyseq" visibility="hidden"/>
  1205. <script type="javascript" ev:event="xforms-value-changed">
  1206. <![CDATA[
  1207. ]]>
  1208. </script>
  1209. <script type="javascript" ev:event="onclick">
  1210. <![CDATA[
  1211. grd_famyfact.editCell();
  1212. ]]>
  1213. </script>
  1214. </datagrid>
  1215. <caption id="cap_famyfact" class="tit_2" style="left:10px; top:532px; width:104px; height:15px; ">보호자 연락처</caption>
  1216. <button id="btn_famyfactadd" class="btn2_letter3" style="left:286px; top:527px; width:53px; height:19px; ">
  1217. <caption>행추가</caption>
  1218. <script type="javascript" ev:event="DOMActivate">
  1219. <![CDATA[
  1220. grd_famyfact.addRow();
  1221. ]]>
  1222. </script>
  1223. </button>
  1224. <button id="btn_famyfactdel" class="btn2_letter3" style="left:342px; top:527px; width:53px; height:19px; ">
  1225. <caption>행삭제</caption>
  1226. <script type="javascript" ev:event="DOMActivate">
  1227. <![CDATA[
  1228. grd_famyfact.deleteRow(grd_famyfact.row);
  1229. ]]>
  1230. </script>
  1231. </button>
  1232. <input id="ipt_indd" ref="/root/main/wardrecinfo/indd" class="input_default" disabled="true" navindex="10" inputtype="date" style="left:108px; top:31px; width:100px; height:19px; "/>
  1233. <caption id="cap_indd" class="cell_1" style="left:5px; top:30px; width:100px; height:23px; ">입원일자</caption>
  1234. <caption id="cap_indt" class="cell_1" style="left:211px; top:30px; width:82px; height:23px; ">입원시간</caption>
  1235. <input id="ipt_indt" ref="/root/main/wardrecinfo/indt" navindex="11" imemode="alpha" maxlength="4" format="hh:nn" style="left:295px; top:31px; width:100px; height:19px; text-align:center; "/>
  1236. <caption id="cap_inpath" class="cell_1" style="left:5px; top:54px; width:100px; height:23px; ">입원경로</caption>
  1237. <select1 id="cmb_inpath" ref="/root/main/wardrecinfo/inpathcd" class="combo_default" navindex="12" appearance="minimal" style="left:108px; top:55px; width:100px; height:19px; ">
  1238. <choices>
  1239. <itemset nodeset="/root/init/mlist/M0418">
  1240. <label ref="cdnm"/>
  1241. <value ref="cdid"/>
  1242. </itemset>
  1243. </choices>
  1244. <script type="javascript" ev:event="xforms-value-changed">
  1245. <![CDATA[
  1246. if(model.getValue("/root/main/wardrecinfo/inpathcd") == "08") {
  1247. ipt_inpathnm.visible = true;
  1248. } else {
  1249. ipt_inpathnm.visible = false;
  1250. model.resetInstanceNode("/root/main/wardrecinfo/inpathnm");
  1251. }
  1252. ]]>
  1253. </script>
  1254. </select1>
  1255. <caption id="cap_inmthd" class="cell_1" style="left:5px; top:78px; width:100px; height:23px; ">입원방법</caption>
  1256. <select1 id="cmb_inmthd" ref="/root/main/wardrecinfo/inmthdcd" class="combo_default" navindex="14" appearance="minimal" style="left:108px; top:79px; width:100px; height:19px; ">
  1257. <choices>
  1258. <itemset nodeset="/root/init/mlist/M0210">
  1259. <label ref="cdnm"/>
  1260. <value ref="cdid"/>
  1261. </itemset>
  1262. </choices>
  1263. <script type="javascript" ev:event="xforms-value-changed">
  1264. <![CDATA[
  1265. if(model.getValue("/root/main/wardrecinfo/inmthdcd") == "08") {
  1266. ipt_inmthdnm.visible = true;
  1267. } else {
  1268. ipt_inmthdnm.visible = false;
  1269. model.resetInstanceNode("/root/main/wardrecinfo/inmthdnm");
  1270. ipt_inmthdnm.refresh();
  1271. }
  1272. ]]>
  1273. </script>
  1274. </select1>
  1275. <caption id="cap_inptner" class="cell_1" style="left:5px; top:102px; width:100px; height:23px; ">입원시동반자</caption>
  1276. <select1 id="cmb_inacompst" ref="/root/main/wardrecinfo/inacompstcd" class="combo_default" navindex="16" appearance="minimal" style="left:108px; top:103px; width:100px; height:19px; ">
  1277. <choices>
  1278. <itemset nodeset="/root/init/mlist/M0098">
  1279. <label ref="cdnm"/>
  1280. <value ref="cdid"/>
  1281. </itemset>
  1282. </choices>
  1283. <script type="javascript" ev:event="xforms-value-changed">
  1284. <![CDATA[
  1285. if(model.getValue("/root/main/wardrecinfo/inacompstcd") == "04") {
  1286. ipt_inacompstnm.visible = true;
  1287. } else {
  1288. ipt_inacompstnm.visible = false;
  1289. model.resetInstanceNode("/root/main/wardrecinfo/inacompstnm");
  1290. ipt_inacompstnm.refresh();
  1291. }
  1292. ]]>
  1293. </script>
  1294. </select1>
  1295. <textarea id="tar_spcffact" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactdetl" navindex="53" scroll="autovscroll" style="left:401px; top:553px; width:390px; height:107px; "/>
  1296. <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="9" cols="2" rows="2" vcellspacing="2" overflow="visible" style="left:494px; top:123px; width:145px; height:38px; border-style:none; ">
  1297. <choices>
  1298. <item>
  1299. <label>현재흡연</label>
  1300. <value>4</value>
  1301. </item>
  1302. <item>
  1303. <label>과거흡연</label>
  1304. <value>2</value>
  1305. </item>
  1306. <item>
  1307. <label>비흡연</label>
  1308. <value>1</value>
  1309. </item>
  1310. <item>
  1311. <label>확인불능</label>
  1312. <value>3</value>
  1313. </item>
  1314. </choices>
  1315. <script type="javascript" ev:event="xforms-value-changed">
  1316. <![CDATA[
  1317. /*
  1318. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  1319. ipt_smokinfocnt.disabled = false;
  1320. ipt_smokinfocnt.refresh();
  1321. } else {
  1322. ipt_smokinfocnt.disabled = true;
  1323. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
  1324. ipt_smokinfocnt.refresh();
  1325. }
  1326. */
  1327. //입원전1개월이내흡연 체크
  1328. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  1329. rdo_bfsmokinfo.disabled = false;
  1330. } else {
  1331. rdo_bfsmokinfo.disabled = true;
  1332. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn");
  1333. }
  1334. rdo_bfsmokinfo.refresh();
  1335. //금연상담여부컨트롤
  1336. /*
  1337. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4") {
  1338. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  1339. }else if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  1340. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  1341. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  1342. } else{
  1343. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  1344. }
  1345. }else{
  1346. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  1347. }
  1348. */
  1349. rdo_nosmokcnstyn.dispatch("xforms-value-changed");
  1350. rdo_nosmokcnstyn.refresh();
  1351. ]]>
  1352. </script>
  1353. </select1>
  1354. <caption id="cap_drunkinfo" class="cell_1" style="left:401px; top:212px; width:90px; height:23px; ">음주정보</caption>
  1355. <select1 id="rdo_drunkinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="37" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:494px; top:216px; width:75px; height:13px; border-style:none; ">
  1356. <choices>
  1357. <item>
  1358. <label>무</label>
  1359. <value>1</value>
  1360. </item>
  1361. <item>
  1362. <label>유</label>
  1363. <value>2</value>
  1364. </item>
  1365. </choices>
  1366. <script type="javascript" ev:event="xforms-value-changed">
  1367. <![CDATA[
  1368. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
  1369. ipt_drunkinfokind.disabled = false;
  1370. ipt_drunkinfoterm.disabled = false;
  1371. } else {
  1372. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind");
  1373. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm");
  1374. ipt_drunkinfokind.disabled = true;
  1375. ipt_drunkinfoterm.disabled = true;
  1376. ipt_drunkinfokind.refresh();
  1377. ipt_drunkinfoterm.refresh();
  1378. }
  1379. ]]>
  1380. </script>
  1381. </select1>
  1382. <caption id="cap_tnsseffcyn" class="cell_1" style="left:402px; top:463px; width:90px; height:49px; ">수혈부작용</caption>
  1383. <line id="line36" class="line_3" style="x1:401px; y1:234px; x2:792px; y2:234px; "/>
  1384. <line id="line13" class="line_3" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
  1385. <line id="line5" class="line_2" style="x1:5px; y1:443px; x2:396px; y2:443px; "/>
  1386. <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:374px; width:50px; height:19px; "/>
  1387. <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" visibility="hidden" style="left:346px; top:374px; width:50px; height:19px; "/>
  1388. <input id="ipt_marystatnm" ref="/root/main/wardrecinfo/marystatnm" disabled="true" navindex="8" style="left:150px; top:422px; width:50px; height:19px; "/>
  1389. <input id="ipt_inpathnm" ref="/root/main/wardrecinfo/inpathnm" navindex="13" visibility="hidden" style="left:210px; top:55px; width:185px; height:19px; "/>
  1390. <input id="ipt_inmthdnm" ref="/root/main/wardrecinfo/inmthdnm" navindex="15" visibility="hidden" style="left:210px; top:79px; width:185px; height:19px; "/>
  1391. <input id="ipt_inacompstnm" ref="/root/main/wardrecinfo/inacompstnm" navindex="17" visibility="hidden" style="left:210px; top:103px; width:185px; height:19px; "/>
  1392. <select id="chk_basebdinfoinclyn" ref="/root/main/wardrecinfo/basebdinfoinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:631px; top:9px; width:70px; height:15px; border-style:none; ">
  1393. <choices>
  1394. <item>
  1395. <label>해당없음</label>
  1396. <value>1</value>
  1397. </item>
  1398. </choices>
  1399. <script type="javascript" ev:event="xforms-value-changed">
  1400. <![CDATA[
  1401. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn")=="1") {
  1402. var rtn = "";
  1403. var isEmptyYN = "Y";
  1404. while(1) {
  1405. // if(model.getValue("/root/main/wardrecinfo/lowbp") != "") {
  1406. // isEmptyYN = "N";
  1407. // break;
  1408. // }
  1409. // if(model.getValue("/root/main/wardrecinfo/highbp") != "") {
  1410. // isEmptyYN = "N";
  1411. // break;
  1412. // }
  1413. // if(model.getValue("/root/main/wardrecinfo/pulse") !="") {
  1414. // isEmptyYN = "N";
  1415. // break;
  1416. // }
  1417. // if(model.getValue("/root/main/wardrecinfo/breth") !="") {
  1418. // isEmptyYN = "N";
  1419. // break;
  1420. // }
  1421. // if(model.getValue("/root/main/wardrecinfo/bdtp") !="") {
  1422. // isEmptyYN = "N";
  1423. // break;
  1424. // }
  1425. // if(model.getValue("/root/main/wardrecinfo/bdtppartcd") !="") {
  1426. // isEmptyYN = "N";
  1427. // break;
  1428. // }
  1429. if(model.getValue("/root/main/wardrecinfo/bdht") !="") {
  1430. isEmptyYN = "N";
  1431. break;
  1432. }
  1433. if(model.getValue("/root/main/wardrecinfo/bdwt") !="") {
  1434. isEmptyYN = "N";
  1435. break;
  1436. }
  1437. if(model.getValue("/root/main/wardrecinfo/bdbtype") !="") {
  1438. isEmptyYN = "N";
  1439. break;
  1440. }
  1441. if(model.getValue("/root/main/wardrecinfo/bdbtyperh") !="") {
  1442. isEmptyYN = "N";
  1443. break;
  1444. }
  1445. if(model.getValue("/root/main/wardrecinfo/spo2") !="") {
  1446. isEmptyYN = "N";
  1447. break;
  1448. }
  1449. break;
  1450. }
  1451. if(isEmptyYN == "Y") {
  1452. status = "select";
  1453. }
  1454. rtn = fSetStatus();
  1455. if(rtn == "6") {
  1456. // ipt_lowbp.disabled = true;
  1457. // ipt_highbp.disabled = true;
  1458. // ipt_pulse.disabled = true;
  1459. // ipt_breth.disabled = true;
  1460. // ipt_bdtp.disabled = true;
  1461. // cmb_bdtp.disabled = true;
  1462. ipt_bdht.disabled = true;
  1463. ipt_bdwt.disabled = true;
  1464. ipt_spo2.disabled = true;
  1465. cmb_bdbtype.disabled = true;
  1466. // model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  1467. // model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  1468. // model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  1469. // model.resetInstanceNode("/root/main/wardrecinfo/breth");
  1470. // model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  1471. // model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  1472. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  1473. model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
  1474. model.resetInstanceNode("/root/main/wardrecinfo/bdbtype");
  1475. model.resetInstanceNode("/root/main/wardrecinfo/bdbtyperh");
  1476. model.resetInstanceNode("/root/main/wardrecinfo/spo2");
  1477. } else {
  1478. model.setValue("/root/main/wardrecinfo/basebdinfoinclyn", "");
  1479. chk_basebdinfoinclyn.refresh();
  1480. return;
  1481. }
  1482. } else {
  1483. // ipt_lowbp.disabled = false;
  1484. // ipt_highbp.disabled = false;
  1485. // ipt_pulse.disabled = false;
  1486. // ipt_breth.disabled = false;
  1487. // ipt_bdtp.disabled = false;
  1488. // cmb_bdtp.disabled = false;
  1489. ipt_bdht.disabled = false;
  1490. ipt_bdwt.disabled = false;
  1491. cmb_bdbtype.disabled = false;
  1492. ipt_spo2.disabled = false;
  1493. }
  1494. // ipt_lowbp.refresh();
  1495. // ipt_highbp.refresh();
  1496. // ipt_pulse.refresh();
  1497. // ipt_breth.refresh();
  1498. // ipt_bdtp.refresh();
  1499. // cmb_bdtp.refresh();
  1500. ipt_bdht.refresh();
  1501. ipt_bdwt.refresh();
  1502. cmb_bdbtype.refresh();
  1503. ipt_spo2.refresh();
  1504. ]]>
  1505. </script>
  1506. <script type="javascript" ev:event="xforms-select">
  1507. <![CDATA[
  1508. status = "click";
  1509. ]]>
  1510. </script>
  1511. </select>
  1512. <caption id="caption39" class="tit_2" style="left:405px; top:10px; width:104px; height:13px; ">기본 신체정보</caption>
  1513. <line id="line34" class="line_1" style="x1:400px; y1:25px; x2:791px; y2:25px; "/>
  1514. <line id="line43" class="line_2" style="x1:797px; y1:498px; x2:1188px; y2:498px; "/>
  1515. <caption id="caption4" class="cell_1" style="left:797px; top:476px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
  1516. <select1 id="cmb_antibiodrugyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/antibiodrugyn" navindex="16" appearance="minimal" style="left:1015px; top:477px; width:172px; height:19px; text-align:center; ">
  1517. <choices>
  1518. <item>
  1519. <label>Y</label>
  1520. <value>Y</value>
  1521. </item>
  1522. <item>
  1523. <label>N</label>
  1524. <value>N</value>
  1525. </item>
  1526. <item>
  1527. <label>확인불가</label>
  1528. <value>U</value>
  1529. </item>
  1530. </choices>
  1531. </select1>
  1532. <input id="ipt_nosmokcnstnm" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm" disabled="true" navindex="36" style="left:493px; top:189px; width:297px; height:19px; "/>
  1533. <select1 id="cmb_nosmokcnst" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:600px; top:164px; width:190px; height:19px; ">
  1534. <choices>
  1535. <item>
  1536. <label/>
  1537. <value>00</value>
  1538. </item>
  1539. <item>
  1540. <label>환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</label>
  1541. <value>01</value>
  1542. </item>
  1543. <item>
  1544. <label>환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</label>
  1545. <value>02</value>
  1546. </item>
  1547. <item>
  1548. <label>기타</label>
  1549. <value>03</value>
  1550. </item>
  1551. </choices>
  1552. <script type="javascript" ev:event="xforms-value-changed">
  1553. <![CDATA[
  1554. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst") == "03") {
  1555. ipt_nosmokcnstnm.disabled = false;
  1556. } else {
  1557. ipt_nosmokcnstnm.disabled = true;
  1558. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  1559. ipt_nosmokcnstnm.refresh();
  1560. }
  1561. ]]>
  1562. </script>
  1563. </select1>
  1564. <select1 id="rdo_nosmokcnstyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn" navindex="34" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:494px; top:167px; width:101px; height:13px; border-style:none; ">
  1565. <choices>
  1566. <item>
  1567. <label>시행</label>
  1568. <value>2</value>
  1569. </item>
  1570. <item>
  1571. <label>미시행</label>
  1572. <value>1</value>
  1573. </item>
  1574. </choices>
  1575. <script type="javascript" ev:event="xforms-value-changed">
  1576. <![CDATA[
  1577. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn") == "1") {
  1578. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4"
  1579. || model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  1580. cmb_nosmokcnst.disabled = false;
  1581. ipt_nosmokcnstnm.disabled = false;
  1582. }else{
  1583. cmb_nosmokcnst.disabled = true;
  1584. ipt_nosmokcnstnm.disabled = true;
  1585. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
  1586. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  1587. }
  1588. } else {
  1589. cmb_nosmokcnst.disabled = true;
  1590. ipt_nosmokcnstnm.disabled = true;
  1591. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
  1592. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  1593. }
  1594. cmb_nosmokcnst.refresh();
  1595. ipt_nosmokcnstnm.refresh();
  1596. ]]>
  1597. </script>
  1598. </select1>
  1599. <line id="line44" class="line_2" style="x1:400px; y1:160px; x2:791px; y2:160px; "/>
  1600. <caption id="cap_smokinfo" class="cell_1" style="left:401px; top:123px; width:90px; height:38px; text-align:left; ">흡연정보</caption>
  1601. <line id="line45" class="line_2" style="x1:400px; y1:186px; x2:791px; y2:186px; "/>
  1602. <line id="line46" class="line_2" style="x1:400px; y1:210px; x2:791px; y2:210px; "/>
  1603. <caption id="caption5" class="cell_1" style="left:401px; top:162px; width:90px; height:49px; ">금연상담여부</caption>
  1604. <input id="ipt_drunkinfoterm" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="39" style="left:689px; top:213px; width:55px; height:19px; text-align:center; "/>
  1605. <caption id="cap_drunkinfoterm" style="left:744px; top:213px; width:53px; height:19px; text-align:center; ">기간(년)</caption>
  1606. <input id="ipt_drunkinfokind" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind" disabled="true" navindex="38" style="left:572px; top:213px; width:114px; height:19px; text-align:center; "/>
  1607. <select1 id="cmb_relign" ref="/root/main/wardrecinfo/religncd" class="combo_default" navindex="5" appearance="minimal" style="left:68px; top:398px; width:78px; height:19px; ">
  1608. <choices>
  1609. <itemset nodeset="/root/init/mlist/M0070">
  1610. <label ref="cdnm"/>
  1611. <value ref="cdid"/>
  1612. </itemset>
  1613. </choices>
  1614. <script type="javascript" ev:event="xforms-value-changed">
  1615. <![CDATA[
  1616. var religncd = model.getValue("/root/main/wardrecinfo/religncd");
  1617. // if(religncd == "01") { //천주교일 경우 세례명 입력
  1618. // cap_baptnm.visible = true;
  1619. // ipt_baptnm.visible = true;
  1620. // ipt_baptnm.disabled = false;
  1621. // ipt_relignnm.visible = false;
  1622. //
  1623. // } else {
  1624. // cap_baptnm.visible = false;
  1625. // ipt_baptnm.visible = false;
  1626. // ipt_relignnm.visible = true;
  1627. // model.resetInstanceNode("/root/main/wardrecinfo/baptnm");
  1628. //
  1629. // if(religncd == "09") { //기타
  1630. // ipt_relignnm.disabled = false;
  1631. // } else {
  1632. // ipt_relignnm.disabled = true;
  1633. // }
  1634. // }
  1635. if(religncd == "09") { //기타
  1636. ipt_relignnm.disabled = false;
  1637. } else {
  1638. ipt_relignnm.disabled = true;
  1639. }
  1640. ]]>
  1641. </script>
  1642. </select1>
  1643. <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:397px; width:50px; height:23px; ">세례명</caption>
  1644. <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:398px; width:60px; height:19px; "/>
  1645. <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:475px; top:369px; width:140px; height:13px; border-style:none; ">
  1646. <choices>
  1647. <item>
  1648. <label>무</label>
  1649. <value>1</value>
  1650. </item>
  1651. <item>
  1652. <label>유</label>
  1653. <value>2</value>
  1654. </item>
  1655. <item>
  1656. <label>잘모름</label>
  1657. <value>3</value>
  1658. </item>
  1659. </choices>
  1660. <script type="javascript" ev:event="xforms-value-changed">
  1661. <![CDATA[
  1662. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
  1663. var isEmptyYN = "Y";
  1664. isEmptyYN = isCheckGridDataYN(grd_allghist);
  1665. var rtn = fSetStatus();
  1666. if(rtn == "6") {
  1667. model.removeNodeset("/root/main/histinfo/allghistinfo/allghist/allghist");
  1668. grd_allghist.rebuild();
  1669. btn_allghistadd.disabled = true;
  1670. btn_allghistdel.disabled = true;
  1671. } else if(rtn == "7") {
  1672. model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
  1673. rdo_allgyn.refresh();
  1674. }
  1675. } else {
  1676. btn_allghistadd.disabled = false;
  1677. btn_allghistdel.disabled = false;
  1678. if(grd_allghist.rows == 1) {
  1679. grd_allghist.addRow();
  1680. }
  1681. }
  1682. ]]>
  1683. </script>
  1684. <script type="javascript" ev:event="xforms-select">
  1685. <![CDATA[
  1686. status = "click";
  1687. ]]>
  1688. </script>
  1689. </select1>
  1690. <button id="btn_allg" class="icon_search" style="left:662px; top:367px; width:16px; height:16px; ">
  1691. <script type="javascript" ev:event="DOMActivate">
  1692. <![CDATA[
  1693. open("SPMMD03300");
  1694. ]]>
  1695. </script>
  1696. <caption/>
  1697. </button>
  1698. <select1 id="cmb_relignreq" ref="/root/main/wardrecinfo/relignreq" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:327px; top:398px; width:69px; height:19px; ">
  1699. <choices>
  1700. <itemset nodeset="/root/init/mlist/M0411">
  1701. <label ref="cdnm"/>
  1702. <value ref="cdid"/>
  1703. </itemset>
  1704. </choices>
  1705. </select1>
  1706. <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:106px; top:488px; width:139px; height:19px; "/>
  1707. <line id="line4" class="line_2" style="x1:5px; y1:484px; x2:396px; y2:484px; "/>
  1708. <caption id="caption9" class="cell_1" style="left:5px; top:445px; width:60px; height:40px; ">가족사항</caption>
  1709. <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:254px; top:488px; width:139px; height:19px; "/>
  1710. <input id="ipt_famybrother" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famybrother" style="left:265px; top:445px; width:127px; height:19px; "/>
  1711. <line id="line35" class="line_3" style="x1:5px; y1:510px; x2:396px; y2:510px; "/>
  1712. <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:398px; width:112px; height:19px; "/>
  1713. <caption id="caption11" class="cell_1" style="left:5px; top:486px; width:95px; height:23px; ">연락처/휴대폰</caption>
  1714. <caption id="cap_marystat" class="cell_1" style="left:5px; top:421px; width:60px; height:23px; ">결혼상태</caption>
  1715. <caption id="caption7" class="cell_1" visibility="hidden" style="left:265px; top:397px; width:60px; height:23px; ">영적요구</caption>
  1716. <caption id="cap_relign" class="cell_1" style="left:5px; top:397px; width:60px; height:23px; ">종교</caption>
  1717. <caption id="cap_job" class="cell_1" style="left:5px; top:373px; width:60px; height:23px; ">직업</caption>
  1718. <caption id="cap_educgrde" class="cell_1" visibility="hidden" style="left:203px; top:373px; width:60px; height:23px; ">교육정도</caption>
  1719. <caption id="caption12" class="cell_1" style="left:211px; top:154px; width:82px; height:22px; ">발병시간</caption>
  1720. <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" visibility="hidden" style="left:682px; top:98px; width:110px; height:19px; "/>
  1721. <button id="btn_inhistpop" class="icon_search" style="left:1058px; top:344px; width:16px; height:16px; ">
  1722. <script type="javascript" ev:event="DOMActivate">
  1723. <![CDATA[
  1724. setParameter("histflag", "inhist");
  1725. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  1726. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  1727. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  1728. open("SPMNW12800");
  1729. ]]>
  1730. </script>
  1731. <caption/>
  1732. </button>
  1733. <caption id="caption13" style="left:634px; top:124px; width:13px; height:19px; text-align:center; ">(</caption>
  1734. <caption id="caption14" style="left:770px; top:143px; width:13px; height:19px; text-align:center; ">)</caption>
  1735. <caption id="cap_insp" style="left:717px; top:6px; width:73px; height:19px; text-align:center; ">측정불가 V</caption>
  1736. <button id="bnt_testroom" class="btn2_letter6" visibility="hidden" style="left:515px; top:5px; width:86px; height:19px; ">
  1737. <caption>입원전검사실</caption>
  1738. <script type="javascript" ev:event="DOMActivate">
  1739. <![CDATA[
  1740. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  1741. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  1742. modal("SPMNW12900", 1,10, 10);
  1743. ]]>
  1744. </script>
  1745. </button>
  1746. <button id="btn_SPMMO14900" class="btn5_letter4" navindex="69" visibility="hidden" style="left:1011px; top:451px; width:64px; height:19px; ">
  1747. <caption>처방조회</caption>
  1748. <script type="javascript" ev:event="DOMActivate">
  1749. <![CDATA[
  1750. open("SPMMO14900");
  1751. ]]>
  1752. </script>
  1753. </button>
  1754. <line id="line42" class="line_1" style="x1:400px; y1:270px; x2:790px; y2:270px; "/>
  1755. <caption id="caption21" class="tit_2" style="left:405px; top:255px; width:380px; height:13px; ">영양사정</caption>
  1756. <caption id="caption25" style="left:645px; top:123px; width:148px; height:20px; ">입원전1개월이내</caption>
  1757. <select1 id="rdo_bfsmokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:705px; top:143px; width:70px; height:15px; border-style:none; ">
  1758. <choices>
  1759. <item>
  1760. <label>무</label>
  1761. <value>N</value>
  1762. </item>
  1763. <item>
  1764. <label>유</label>
  1765. <value>Y</value>
  1766. </item>
  1767. </choices>
  1768. <script type="javascript" ev:event="xforms-value-changed">
  1769. <![CDATA[
  1770. rdo_smokinfo.dispatch("xforms-value-changed");
  1771. ]]>
  1772. </script>
  1773. </select1>
  1774. <caption id="caption32" style="left:645px; top:143px; width:65px; height:15px; ">흡연여부 :</caption>
  1775. <select id="chk_privacy" ref="/root/main/wardrecinfo/privacy" visibility="hidden" overflow="visible" appearance="full" style="left:266px; top:328px; width:130px; height:15px; border-style:none; ">
  1776. <choices>
  1777. <item>
  1778. <label>개인정보사정 미동의</label>
  1779. <value>Y</value>
  1780. </item>
  1781. </choices>
  1782. <script type="javascript" ev:event="onclick">
  1783. <![CDATA[
  1784. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
  1785. model.setValue("/root/main/wardrecinfo/jobcd",""); // 직업코드
  1786. model.setValue("/root/main/wardrecinfo/jobnm",""); // 직업명
  1787. model.setValue("/root/main/wardrecinfo/religncd",""); // 종교코드
  1788. model.setValue("/root/main/wardrecinfo/relignnm",""); // 종교명
  1789. model.setValue("/root/main/wardrecinfo/baptnm",""); // 세례명
  1790. model.setValue("/root/main/wardrecinfo/marystatcd",""); // 결혼상태코드
  1791. model.setValue("/root/main/wardrecinfo/marystatnm",""); // 결혼상태
  1792. model.setValue("/root/main/wardrecinfo/nationalityflag",""); // 국적
  1793. model.setValue("/root/main/wardrecinfo/nationalitynm",""); // 국적(외국인)
  1794. model.setValue("/root/main/wardrecinfo/socialwelfareflag",""); // 사회복지상담
  1795. model.setValue("/root/main/wardrecinfo/famyinfo/famyparent",""); // 가족사항(부모)
  1796. model.setValue("/root/main/wardrecinfo/famyinfo/famybrother",""); // 가족사항(형제)
  1797. model.setValue("/root/main/wardrecinfo/famyinfo/famychildren",""); // 가족사항(자녀)
  1798. cmb_job.disabled = true;
  1799. ipt_job.disabled = true;
  1800. cmb_relign.disabled = true;
  1801. ipt_relignnm.disabled = true;
  1802. cmb_marystat.disabled = true;
  1803. ipt_marystatnm.disabled = true;
  1804. cap_baptnm.visible = false;
  1805. ipt_baptnm.visible = false;
  1806. ipt_relignnm.visible = true;
  1807. rdo_nationalityflag.disabled = true;
  1808. ipt_nationalitynm.disabled = true;
  1809. rdo_socialwelfare.disabled = true;
  1810. chk_famyparent.disabled = true;
  1811. ipt_famybrother.disabled = true;
  1812. ipt_famychildren.disabled = true;
  1813. }else{
  1814. cmb_job.disabled = false;
  1815. cmb_relign.disabled = false;
  1816. cmb_marystat.disabled = false;
  1817. rdo_nationalityflag.disabled = false;
  1818. ipt_nationalitynm.disabled = false;
  1819. rdo_socialwelfare.disabled = false;
  1820. chk_famyparent.disabled = false;
  1821. ipt_famybrother.disabled = false;
  1822. ipt_famychildren.disabled = false;
  1823. cmb_job.dispatch("xforms-value-changed");
  1824. cmb_relign.dispatch("xforms-value-changed");
  1825. cmb_marystat.dispatch("xforms-value-changed");
  1826. }
  1827. model.refresh();
  1828. ]]>
  1829. </script>
  1830. </select>
  1831. <group id="group1" style="left:798px; top:589px; width:395px; height:45px; ">
  1832. <line id="line8" class="line_3" visibility="hidden" style="x1:0px; y1:42px; x2:391px; y2:42px; "/>
  1833. <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:0px; top:20px; width:100px; height:23px; ">존재유무</caption>
  1834. <button id="button40" class="btn2_letter4" visibility="hidden" style="left:206px; top:21px; width:64px; height:19px; ">
  1835. <caption>끌어오기</caption>
  1836. <script type="javascript" ev:event="DOMActivate">
  1837. <![CDATA[
  1838. setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  1839. modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  1840. if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  1841. model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  1842. opt_existyn.refresh();
  1843. } else {
  1844. model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  1845. opt_existyn.refresh();
  1846. }
  1847. ]]>
  1848. </script>
  1849. </button>
  1850. <caption id="caption8" class="tit_2" visibility="hidden" style="left:5px; top:0px; width:104px; height:13px; ">가계도</caption>
  1851. <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="9" visibility="hidden" appearance="input" style="left:103px; top:21px; width:100px; height:19px; "/>
  1852. <line id="line7" class="line_1" visibility="hidden" style="x1:0px; y1:15px; x2:391px; y2:15px; "/>
  1853. </group>
  1854. <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:902px; top:232px; width:70px; height:15px; border-style:none; ">
  1855. <choices>
  1856. <item>
  1857. <label>해당없음</label>
  1858. <value>1</value>
  1859. </item>
  1860. </choices>
  1861. <script type="javascript" ev:event="xforms-value-changed">
  1862. <![CDATA[
  1863. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
  1864. var isEmptyYN = "Y";
  1865. isEmptyYN = isCheckGridDataYN(grd_ophist);
  1866. var rtn = fSetStatus();
  1867. if(rtn == "6") {
  1868. model.removeNodeset("/root/main/histinfo/ophistinfo/ophist/ophist");
  1869. grd_ophist.rebuild();
  1870. btn_ophistadd.disabled = true;
  1871. btn_ophistdel.disabled = true;
  1872. btn_ophistpop.disabled = true;
  1873. } else if(rtn == "7") {
  1874. model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
  1875. chk_ophistinclyn.refresh();
  1876. }
  1877. } else {
  1878. btn_ophistadd.disabled = false;
  1879. btn_ophistdel.disabled = false;
  1880. btn_ophistpop.disabled = false;
  1881. grd_ophist.addRow();
  1882. }
  1883. ]]>
  1884. </script>
  1885. </select>
  1886. <line id="line24" class="line_1" style="x1:797px; y1:250px; x2:1187px; y2:250px; "/>
  1887. <caption id="cap_ophist" class="tit_2" style="left:802px; top:235px; width:104px; height:13px; ">수술이력</caption>
  1888. <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:1134px; top:230px; width:53px; height:19px; ">
  1889. <caption>행삭제</caption>
  1890. <script type="javascript" ev:event="DOMActivate">
  1891. <![CDATA[
  1892. grd_ophist.deleteRow(grd_ophist.row);
  1893. ]]>
  1894. </script>
  1895. </button>
  1896. <datagrid id="grd_ophist" nodeset="/root/main/histinfo/ophistinfo/ophist/ophist" scroll="auto" caption="수술일자^수술명^진료기관^ophistpk" colsep="^" colwidth="85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:255px; width:390px; height:71px; ">
  1897. <col ref="opdd" type="input"/>
  1898. <col ref="opnm" type="input"/>
  1899. <col ref="orddept" type="input"/>
  1900. <col ref="ophistpk" visibility="hidden"/>
  1901. <script type="javascript" ev:event="onclick">
  1902. <![CDATA[
  1903. if(grd_ophist.colType(grd_ophist.col) == "input") {
  1904. grd_ophist.editCell();
  1905. }
  1906. ]]>
  1907. </script>
  1908. <script type="javascript" ev:event="onkeydown">
  1909. <![CDATA[
  1910. if(event.keyCode == 9) {
  1911. grd_ophist.editCell();
  1912. }
  1913. ]]>
  1914. </script>
  1915. </datagrid>
  1916. <button id="btn_ophistpop" class="icon_search" style="left:1058px; top:232px; width:16px; height:16px; ">
  1917. <script type="javascript" ev:event="DOMActivate">
  1918. <![CDATA[
  1919. setParameter("histflag", "ophist");
  1920. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  1921. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  1922. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  1923. open("SPMNW12800");
  1924. ]]>
  1925. </script>
  1926. <caption/>
  1927. </button>
  1928. <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:1078px; top:230px; width:53px; height:19px; ">
  1929. <caption>행추가</caption>
  1930. <script type="javascript" ev:event="DOMActivate">
  1931. <![CDATA[
  1932. grd_ophist.addRow();
  1933. ]]>
  1934. </script>
  1935. </button>
  1936. <select1 id="rdo_apttstatflag" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/apptstatflag" navindex="3" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:484px; top:279px; width:262px; height:13px; border-style:none; ">
  1937. <choices>
  1938. <item>
  1939. <label>좋음</label>
  1940. <value>1</value>
  1941. </item>
  1942. <item>
  1943. <label>보통</label>
  1944. <value>2</value>
  1945. </item>
  1946. <item>
  1947. <label>나쁨</label>
  1948. <value>3</value>
  1949. </item>
  1950. <item>
  1951. <label>매우 나쁨</label>
  1952. <value>4</value>
  1953. </item>
  1954. </choices>
  1955. <script type="javascript" ev:event="onmouseover">
  1956. <![CDATA[
  1957. var colidx = rdo_apttstatflag.mouseCol;
  1958. var cdid = rdo_apttstatflag.item(colidx).value;
  1959. rdo_apttstatflag.hint = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='177' and cdid = '"+ cdid +"']/grupdetldesc");//식용상태 정의 추가 20091216 김홍점
  1960. rdo_apttstatflag.refresh();
  1961. ]]>
  1962. </script>
  1963. </select1>
  1964. <caption id="cap_apttstatflag" class="cell_1" style="left:401px; top:275px; width:80px; height:23px; vertical-align:middle; ">식욕상태</caption>
  1965. <caption id="cap_apttchng" class="cell_1" style="left:401px; top:299px; width:80px; height:23px; vertical-align:middle; ">체중감소</caption>
  1966. <select1 id="rdo_apttchngyn" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/bdwtchngyn" navindex="1" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:304px; width:72px; height:13px; border-style:none; ">
  1967. <choices>
  1968. <item>
  1969. <label>무</label>
  1970. <value>1</value>
  1971. </item>
  1972. <item>
  1973. <label>유</label>
  1974. <value>2</value>
  1975. </item>
  1976. </choices>
  1977. </select1>
  1978. <caption id="caption35" class="cell_1" style="left:401px; top:324px; width:80px; height:23px; vertical-align:middle; ">연하곤란</caption>
  1979. <select1 id="rdo_dysphagiayn" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/dysphagiayn" navindex="1" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:327px; width:72px; height:13px; border-style:none; ">
  1980. <choices>
  1981. <item>
  1982. <label>무</label>
  1983. <value>1</value>
  1984. </item>
  1985. <item>
  1986. <label>유</label>
  1987. <value>2</value>
  1988. </item>
  1989. </choices>
  1990. </select1>
  1991. <line id="line51" class="line_3" style="x1:400px; y1:347px; x2:791px; y2:347px; "/>
  1992. <caption id="caption6" class="cell_1" style="left:5px; top:349px; width:60px; height:23px; ">국적</caption>
  1993. <select1 id="rdo_nationalityflag" ref="/root/main/wardrecinfo/nationalityflag" appearance="full" cols="2" overflow="visible" style="left:71px; top:353px; width:110px; height:13px; border-style:none; ">
  1994. <choices>
  1995. <item>
  1996. <label>내국인</label>
  1997. <value>N</value>
  1998. </item>
  1999. <item>
  2000. <label>외국인</label>
  2001. <value>Y</value>
  2002. </item>
  2003. </choices>
  2004. <script type="javascript" ev:event="xforms-value-changed">
  2005. <![CDATA[
  2006. if(model.getValue("/root/main/wardrecinfo/nationalityflag") == "N") {
  2007. model.resetInstanceNode("/root/main/wardrecinfo/nationalitynm");
  2008. ipt_nationalitynm.disabled = true;
  2009. } else {
  2010. ipt_nationalitynm.disabled = false;
  2011. }
  2012. ipt_nationalitynm.refresh();
  2013. ]]>
  2014. </script>
  2015. </select1>
  2016. <caption id="caption15" class="cell_1" style="left:205px; top:421px; width:83px; height:23px; ">사회복지상담</caption>
  2017. <input id="ipt_nationalitynm" ref="/root/main/wardrecinfo/nationalitynm" disabled="true" style="left:189px; top:351px; width:111px; height:19px; "/>
  2018. <select1 id="rdo_socialwelfare" ref="/root/main/wardrecinfo/socialwelfareflag" appearance="full" cols="2" overflow="visible" style="left:293px; top:425px; width:98px; height:13px; border-style:none; ">
  2019. <choices>
  2020. <item>
  2021. <label>필요</label>
  2022. <value>Y</value>
  2023. </item>
  2024. <item>
  2025. <label>불필요</label>
  2026. <value>N</value>
  2027. </item>
  2028. </choices>
  2029. </select1>
  2030. <caption id="caption22" style="left:67px; top:447px; width:30px; height:14px; vertical-align:middle; ">부모:</caption>
  2031. <caption id="caption23" style="left:232px; top:447px; width:30px; height:14px; vertical-align:middle; ">형제:</caption>
  2032. <input id="ipt_famychildren" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famychildren" style="left:98px; top:465px; width:128px; height:19px; "/>
  2033. <caption id="caption24" style="left:67px; top:467px; width:30px; height:14px; vertical-align:middle; ">자녀:</caption>
  2034. <line id="line22" class="line_1" style="x1:797px; y1:138px; x2:1187px; y2:138px; "/>
  2035. <select id="chk_famyhistyn" ref="/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn" navindex="59" overflow="visible" appearance="full" style="left:902px; top:120px; width:70px; height:15px; border-style:none; ">
  2036. <choices>
  2037. <item>
  2038. <label>해당없음</label>
  2039. <value>1</value>
  2040. </item>
  2041. </choices>
  2042. <script type="javascript" ev:event="xforms-value-changed">
  2043. <![CDATA[
  2044. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
  2045. var isEmptyYN = "Y";
  2046. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  2047. var rtn = fSetStatus();
  2048. if(rtn == "6") {
  2049. model.removeNodeset("/root/main/histinfo/famyhistinfo/famyhist/famyhist");
  2050. grd_famyhist.rebuild();
  2051. btn_famyhistadd.disabled = true;
  2052. btn_famyhistdel.disabled = true;
  2053. } else if(rtn == "7") {
  2054. model.setValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn", "");
  2055. chk_famyhistyn.refresh();
  2056. }
  2057. } else {
  2058. btn_famyhistadd.disabled = false;
  2059. btn_famyhistdel.disabled = false;
  2060. grd_famyhist.addRow();
  2061. }
  2062. ]]>
  2063. </script>
  2064. <script type="javascript" ev:event="xforms-select">
  2065. <![CDATA[
  2066. status = "click";
  2067. ]]>
  2068. </script>
  2069. </select>
  2070. <caption id="cap_famyhist" class="tit_2" style="left:801px; top:123px; width:74px; height:13px; ">가족병력</caption>
  2071. <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:1078px; top:118px; width:53px; height:19px; ">
  2072. <caption>행추가</caption>
  2073. <script type="javascript" ev:event="DOMActivate">
  2074. <![CDATA[
  2075. grd_famyhist.addRow();
  2076. ]]>
  2077. </script>
  2078. </button>
  2079. <datagrid id="grd_famyhist" nodeset="/root/main/histinfo/famyhistinfo/famyhist/famyhist" scroll="auto" caption="관계^생존^병력내역^비고" colsep="^" colwidth="60, 40, 169, 102" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:143px; width:390px; height:71px; ">
  2080. <col class="gridcombo" ref="famyrel" type="combo">
  2081. <choices>
  2082. <itemset nodeset="/root/init/mlist/M0072">
  2083. <label ref="cdnm"/>
  2084. <value ref="cdid"/>
  2085. </itemset>
  2086. </choices>
  2087. </col>
  2088. <col class="gridcombo" ref="existyn" type="combo">
  2089. <choices>
  2090. <itemset nodeset="/root/init/mlist/M0088">
  2091. <label ref="cdnm"/>
  2092. <value ref="cdid"/>
  2093. </itemset>
  2094. </choices>
  2095. </col>
  2096. <col class="gridcombo" ref="histspec" type="combo">
  2097. <choices>
  2098. <itemset nodeset="/root/init/mlist/M0368">
  2099. <label ref="cdnm"/>
  2100. <value ref="cdid"/>
  2101. </itemset>
  2102. </choices>
  2103. </col>
  2104. <col ref="remfact" type="input"/>
  2105. <script type="javascript" ev:event="onclick">
  2106. <![CDATA[
  2107. grd_famyhist.editCell();
  2108. ]]>
  2109. </script>
  2110. <script type="javascript" ev:event="onkeydown">
  2111. <![CDATA[
  2112. if(event.keyCode == 9) {
  2113. grd_famyhist.editCell();
  2114. }
  2115. ]]>
  2116. </script>
  2117. </datagrid>
  2118. <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:1134px; top:118px; width:53px; height:19px; ">
  2119. <caption>행삭제</caption>
  2120. <script type="javascript" ev:event="DOMActivate">
  2121. <![CDATA[
  2122. grd_famyhist.deleteRow(grd_famyhist.row);
  2123. ]]>
  2124. </script>
  2125. </button>
  2126. <line id="line37" class="line_3" style="x1:401px; y1:512px; x2:792px; y2:512px; "/>
  2127. <line id="line38" class="line_2" style="x1:401px; y1:463px; x2:793px; y2:463px; "/>
  2128. <group id="grp_anti" visibility="hidden" style="left:505px; top:275px; width:240px; height:140px; background-color:#ccffcc; border-style:solid; ">
  2129. <button id="btn_anti1" class="btn5_letter2" visibility="hidden" style="left:140px; top:105px; width:42px; height:19px; ">
  2130. <caption>선택</caption>
  2131. <script type="javascript" ev:event="onclick">
  2132. <![CDATA[
  2133. //txt_anti.refresh();
  2134. var antitype = model.getValue("/root/main/allgtemp/antitype");
  2135. var antilabel = rdo_anti.label;
  2136. var antidesc = model.getValue("/root/main/allgtemp/antidesc");
  2137. var allgrow = model.getValue("root/main/allgtemp/row");
  2138. var allgcol = eval(model.getValue("root/main/allgtemp/col")) + 1;
  2139. var alldesc = grd_allghist.valueMatrix(allgrow, allgcol);
  2140. if (alldesc != "" && antitype != "") {
  2141. alldesc = alldesc + ",";
  2142. }
  2143. if (antitype == "3") {
  2144. if (antidesc != "") {
  2145. antidesc = ":" + antidesc;
  2146. }
  2147. } else {
  2148. antidesc = "";
  2149. }
  2150. var allgdesc = alldesc + antilabel + antidesc;
  2151. grd_allghist.valueMatrix(allgrow, allgcol) = allgdesc;
  2152. model.removeNodeset("/root/main/allgtemp");
  2153. model.refresh();
  2154. //allergespec
  2155. grp_anti.visible = false;
  2156. rdo_anti.visible = false;
  2157. txt_anti.visible = false;
  2158. btn_anti1.visible = false;
  2159. btn_anti2.visible = false;
  2160. ]]>
  2161. </script>
  2162. </button>
  2163. <button id="btn_anti2" class="btn5_letter2" visibility="hidden" style="left:183px; top:105px; width:42px; height:19px; ">
  2164. <caption>취소</caption>
  2165. <script type="javascript" ev:event="onclick">
  2166. <![CDATA[
  2167. grp_anti.visible = false;
  2168. rdo_anti.visible = false;
  2169. txt_anti.visible = false;
  2170. btn_anti1.visible = false;
  2171. btn_anti2.visible = false;
  2172. model.removeNodeset("/root/main/allgtemp");
  2173. model.refresh();
  2174. ]]>
  2175. </script>
  2176. </button>
  2177. <select1 id="rdo_anti" ref="/root/main/allgtemp/antitype" visibility="hidden" appearance="full" cellspacing="10" cols="2" rows="2" vcellspacing="15" overflow="visible" style="left:19px; top:9px; width:200px; height:65px; background-color:#ccffcc; border-style:none; ">
  2178. <choices>
  2179. <item>
  2180. <label>페니실린계</label>
  2181. <value>1</value>
  2182. </item>
  2183. <item>
  2184. <label>기타 베타락탐계</label>
  2185. <value>2</value>
  2186. </item>
  2187. <item>
  2188. <label>기타</label>
  2189. <value>3</value>
  2190. </item>
  2191. </choices>
  2192. </select1>
  2193. <textarea id="txt_anti" ref="/root/main/allgtemp/antidesc" visibility="hidden" style="left:70px; top:50px; width:155px; height:50px; "/>
  2194. </group>
  2195. <select1 id="rdo_tnsseffcyn" ref="/root/main/histinfo/allghistinfo/allghist/tnsseffcyn" navindex="37" appearance="full" cellspacing="25" cols="3" overflow="visible" style="left:495px; top:469px; width:295px; height:13px; border-style:none; ">
  2196. <choices>
  2197. <item>
  2198. <label>무</label>
  2199. <value>1</value>
  2200. </item>
  2201. <item>
  2202. <label>유</label>
  2203. <value>2</value>
  2204. </item>
  2205. <item>
  2206. <label>해당없음</label>
  2207. <value>3</value>
  2208. </item>
  2209. </choices>
  2210. <script type="javascript" ev:event="xforms-value-changed">
  2211. <![CDATA[
  2212. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/tnsseffcyn") == "2") {
  2213. ipt_tnsseffc.disabled = false;
  2214. } else {
  2215. model.resetInstanceNode("/root/main/histinfo/allghistinfo/allghist/tnsseffcdetl");
  2216. ipt_tnsseffc.disabled = true;
  2217. ipt_tnsseffc.refresh();
  2218. }
  2219. ]]>
  2220. </script>
  2221. </select1>
  2222. <input id="ipt_tnsseffc" ref="/root/main/histinfo/allghistinfo/allghist/tnsseffcdetl" disabled="true" navindex="43" style="left:495px; top:490px; width:295px; height:19px; "/>
  2223. <caption id="caption33" style="left:232px; top:467px; width:50px; height:14px; vertical-align:middle; ">배우자:</caption>
  2224. <select1 id="rdo_famyspouse" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famyspouse" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:278px; top:467px; width:97px; height:13px; border-style:none; ">
  2225. <choices>
  2226. <item>
  2227. <label>유</label>
  2228. <value>Y</value>
  2229. </item>
  2230. <item>
  2231. <label>무</label>
  2232. <value>N</value>
  2233. </item>
  2234. </choices>
  2235. </select1>
  2236. <select id="chk_famyparent" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famyparent" disabled="true" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:96px; top:447px; width:126px; height:13px; border-style:none; ">
  2237. <choices>
  2238. <item>
  2239. <label>부</label>
  2240. <value>1</value>
  2241. </item>
  2242. <item>
  2243. <label>모</label>
  2244. <value>2</value>
  2245. </item>
  2246. <item>
  2247. <label>무</label>
  2248. <value>3</value>
  2249. </item>
  2250. </choices>
  2251. </select>
  2252. </xhtml:body>
  2253. </xhtml:html>