SMMNW08100_HSCT정보.xrw 102 KB

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