SMMNW07610_NEW일반정보.xrw 94 KB

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