SMMNW08000_소아정보.xrw 103 KB

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