SMMNW07910_NEW산과정보.xrw 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <wardrecinfo>
  11. <!--(20101218) 경북대 -->
  12. <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. <gustoinfo>
  26. <gusto>
  27. <smokinfo>
  28. <smokinfoyn>1</smokinfoyn>
  29. <bfsmokinfoyn/>
  30. <smokinfocnt/>
  31. <nosmokcnstyn>1</nosmokcnstyn>
  32. <nosmokcnst/>
  33. <nosmokcnstnm/>
  34. </smokinfo>
  35. <drunkinfo>
  36. <drunkinfoyn>1</drunkinfoyn>
  37. <drunkinfokind/>
  38. <drunkinfoterm/>
  39. </drunkinfo>
  40. <gustofoodinfo>
  41. <gustofoodyn>1</gustofoodyn>
  42. <gustofooddetl/>
  43. </gustofoodinfo>
  44. <tnsseffcinfo>
  45. <tnsseffcyn>1</tnsseffcyn>
  46. <tnsseffcdetl/>
  47. </tnsseffcinfo>
  48. </gusto>
  49. </gustoinfo>
  50. <spcffact>
  51. <spcf>
  52. <spcffactinclyn/>
  53. <spcffactdetl/>
  54. </spcf>
  55. </spcffact>
  56. <rectmedistatinfo>
  57. <rectmedistat>
  58. <rectmedistatinfoinclyn/>
  59. <antibiodrugyn/>
  60. <rectmedistat>
  61. <drugnm/>
  62. <direc/>
  63. <orddept/>
  64. </rectmedistat>
  65. </rectmedistat>
  66. </rectmedistatinfo>
  67. <basebdinfoinclyn/>
  68. <lowbp/>
  69. <highbp/>
  70. <pulse/>
  71. <breth/>
  72. <bdtp/>
  73. <bdtppartcd/>
  74. <spo2/>
  75. <bdht/>
  76. <prgbfbdwt/>
  77. <inbdwt/>
  78. <bdbtype/>
  79. <bdbtyperh/>
  80. <privacy/>
  81. <jobcd/>
  82. <jobnm/>
  83. <educgrdecd/>
  84. <educgrdenm/>
  85. <religncd/>
  86. <relignnm/>
  87. <marystatcd/>
  88. <marystatnm/>
  89. <baptnm/>
  90. <indd/>
  91. <indt/>
  92. <inpathcd/>
  93. <inpathnm/>
  94. <inmthdcd/>
  95. <inmthdnm/>
  96. <inacompstcd/>
  97. <inacompstnm/>
  98. <ptnernm/>
  99. <ptnerage/>
  100. <ptnerbtype/>
  101. <ptnerbtyperh/>
  102. <ptnertel/>
  103. <ptnerinfcinfoyn>1</ptnerinfcinfoyn>
  104. <ptnerinfcinfo/>
  105. <ptnerinfcinfonm/>
  106. <ptnerbrthdd/>
  107. <ptnerjobcd/>
  108. <babyphotoyn>Y</babyphotoyn>
  109. <obgyninfoetc>
  110. <obgyn>
  111. <nbabymucusyn>1</nbabymucusyn>
  112. <nbabymucusdd/>
  113. <nbabymucusdt/>
  114. <ruptureyn>1</ruptureyn>
  115. <rupturedd/>
  116. <rupturedt/>
  117. <angsiayn>1</angsiayn>
  118. <angsiadd/>
  119. <angsiadt/>
  120. <angsiatermmin/>
  121. <angsiatermsec/>
  122. </obgyn>
  123. </obgyninfoetc>
  124. <brthhistinfo>
  125. <brthhist>
  126. <brthhistinfoinclyn/>
  127. <brthhist>
  128. <partrtndd/>
  129. <partrtntype/>
  130. <sex/>
  131. <bdwt/>
  132. <remfact/>
  133. </brthhist>
  134. </brthhist>
  135. </brthhistinfo>
  136. <inrelainfo>
  137. <inrela>
  138. <inrelainfoinclyn/>
  139. <drugintoxicyn/>
  140. <lastfoodintkdd/>
  141. <lastfoodintkdt/>
  142. <ftalhatyn>1</ftalhatyn>
  143. <ftalhatgrde/>
  144. <edemayn>1</edemayn>
  145. <edemakind/>
  146. <urineprotyn>1</urineprotyn>
  147. <urineprotkind/>
  148. <prgcmplyn>1</prgcmplyn>
  149. <prgcmplcnts/>
  150. <bodysympyn>1</bodysympyn>
  151. <bodysympcnts/>
  152. </inrela>
  153. </inrelainfo>
  154. <obgyninfoinclyn/>
  155. <befchildbrthmed/>
  156. <gesage/>
  157. <lastmensdd/>
  158. <edc/>
  159. <parityg/>
  160. <parityp/>
  161. <paritya/>
  162. <paritysa/>
  163. <parityaa/>
  164. <parityl/>
  165. <etcinfo>
  166. <etc>
  167. <lctplan/>
  168. <postpatrecplankind/>
  169. <postpatrecplanetc/>
  170. <partrtneduc/>
  171. <partrtneducetc/>
  172. </etc>
  173. </etcinfo>
  174. <relignreq/>
  175. <telflag/>
  176. <tel/>
  177. <mphone/>
  178. <etctelflag/>
  179. <etcphone1/>
  180. <etcphone2/>
  181. <bpinspyn/>
  182. <pulseinspyn/>
  183. <brethinspyn/>
  184. <bdtpinspyn/>
  185. <bdhtinspyn/>
  186. <bdwtinspyn/>
  187. <spo2inspyn/>
  188. <inmotiveinfo>
  189. <inmotive>
  190. <attackdd/>
  191. <attackdt/>
  192. <inmotive1>Y</inmotive1>
  193. <inmotive2/>
  194. <illnessflag>N</illnessflag>
  195. </inmotive>
  196. </inmotiveinfo>
  197. <ptneinclyn/>
  198. <ogirinmotive/>
  199. </wardrecinfo>
  200. <init/>
  201. <famyfact>
  202. <stat/>
  203. <rela/>
  204. <hngnm/>
  205. <addr/>
  206. <detladdr/>
  207. <tel/>
  208. <mpphone/>
  209. <remfact/>
  210. <fmlyseq/>
  211. </famyfact>
  212. <histinfo>
  213. <pasthistinfo>
  214. <pasthist>
  215. <pasthistinclyn/>
  216. <pasthist>
  217. <genrdd/>
  218. <histspec/>
  219. <remfact/>
  220. </pasthist>
  221. </pasthist>
  222. </pasthistinfo>
  223. <famyhistinfo>
  224. <famyhist>
  225. <famyhistinclyn/>
  226. <famyhist>
  227. <famyrel/>
  228. <existyn/>
  229. <histspec/>
  230. <remfact/>
  231. </famyhist>
  232. </famyhist>
  233. </famyhistinfo>
  234. <inhistinfo>
  235. <inhist>
  236. <inhistinclyn/>
  237. <inhist>
  238. <indd/>
  239. <dschdd/>
  240. <illnm/>
  241. <orddept/>
  242. <inhistpk/>
  243. </inhist>
  244. </inhist>
  245. </inhistinfo>
  246. <ophistinfo>
  247. <ophist>
  248. <ophistinclyn/>
  249. <ophist>
  250. <opdd/>
  251. <opnm/>
  252. <orddept/>
  253. <ophistpk/>
  254. </ophist>
  255. </ophist>
  256. </ophistinfo>
  257. <allghistinfo>
  258. <allghist>
  259. <allghistinclyn/>
  260. <allghist>
  261. <genrdd/>
  262. <flag/>
  263. <allergespec/>
  264. </allghist>
  265. </allghist>
  266. </allghistinfo>
  267. <vacnhistinfo>
  268. <vacnhist>
  269. <vacnhistinfoinclyn/>
  270. <dpttims/>
  271. <infparaltims/>
  272. <ahptstims/>
  273. <bhptstims/>
  274. <bhptsdrugnm/>
  275. <bcgyn/>
  276. <mmrtims/>
  277. <alivvacntims/>
  278. <deadvaccntims/>
  279. <brnmeningitistims/>
  280. <lungcoccustims/>
  281. <chickenpoxtims/>
  282. </vacnhist>
  283. </vacnhistinfo>
  284. <smokinfo>
  285. <smok>
  286. <smokinclyn/>
  287. <smok>
  288. <dosetoday/>
  289. <term/>
  290. </smok>
  291. </smok>
  292. </smokinfo>
  293. <drunkinfo>
  294. <drunk>
  295. <drunkinclyn/>
  296. <drunkinfo>
  297. <kind/>
  298. <dose/>
  299. <tims/>
  300. <term/>
  301. </drunkinfo>
  302. </drunk>
  303. </drunkinfo>
  304. <gustofoodinfo>
  305. <gustofood>
  306. <gustofoodinclyn/>
  307. <gustofood>
  308. <kind/>
  309. <dose/>
  310. <tims/>
  311. <term/>
  312. </gustofood>
  313. </gustofood>
  314. </gustofoodinfo>
  315. <tnsseffcinfo>
  316. <tnsseffc>
  317. <tnsseffcinclyn/>
  318. <tnsseffc>
  319. <tnsyn/>
  320. <tnsdetl/>
  321. </tnsseffc>
  322. </tnsseffc>
  323. </tnsseffcinfo>
  324. </histinfo>
  325. <inbfinfo>
  326. <inbfinfolist>
  327. <inbfyn/>
  328. </inbfinfolist>
  329. </inbfinfo>
  330. <allgtemp>
  331. <antitype>3</antitype>
  332. <antidesc/>
  333. <row/>
  334. <col/>
  335. <smoktemp/>
  336. <smoktemp2/>
  337. </allgtemp>
  338. </main>
  339. </root>
  340. </instance>
  341. <script type="javascript" ev:event="xforms-ready">
  342. <![CDATA[
  343. //----------(20101029) 경북대
  344. // 간호정보조사지 일반정보- 필수항목
  345. if (fEssentialBackColor != "") {
  346. ipt_spo2.attribute("background-color") = fEssentialBackColor;
  347. //-------------(20110121) 경북대
  348. // comnrs1.attribute("background-color") = fEssentialBackColor;
  349. // radnrs21.attribute("background-color") = fEssentialBackColor;
  350. // radnrs22.attribute("background-color") = fEssentialBackColor;
  351. // radnrs23.attribute("background-color") = fEssentialBackColor;
  352. //-------------(20110121) 경북대
  353. ipt_ptnernm.attribute("background-color") = fEssentialBackColor;
  354. ipt_ptnerage.attribute("background-color") = fEssentialBackColor;
  355. ipt_ptnerphone.attribute("background-color") = fEssentialBackColor;
  356. ipt_ptnerbrthdd.attribute("background-color") = fEssentialBackColor;
  357. cmb_ptnerjobcd.attribute("background-color") = fEssentialBackColor;
  358. cmb_ptnerbtype.attribute("background-color") = fEssentialBackColor;
  359. cmb_antibiodrugyn.attribute("background-color") = fEssentialBackColor;
  360. cmb_befchildbrthmed.attribute("background-color") = fEssentialBackColor;
  361. ipt_gesage.attribute("background-color") = fEssentialBackColor;
  362. ipt_lastmensdd.attribute("background-color") = fEssentialBackColor;
  363. ipt_edc.attribute("background-color") = fEssentialBackColor;
  364. rdo_nbabymucusyn.attribute("background-color") = fEssentialBackColor;
  365. rdo_ruptureyn.attribute("background-color") = fEssentialBackColor;
  366. rdo_angsiayn.attribute("background-color") = fEssentialBackColor;
  367. caption79.attribute("background-color") = fEssentialBackColor;
  368. }
  369. ]]>
  370. </script>
  371. <script type="javascript">
  372. <![CDATA[
  373. function fInitEventBrthInfo() {
  374. if(ipt_indt.value == "") {
  375. ipt_indt.value = model.getValue("/root/temp/cond/list/careinrmtm"); //입원시간
  376. }
  377. submit("TRMNW07601"); //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
  378. if(model.getValue("/root/main/inbfinfo/inbfinfolist/inbfyn") == "Y"){
  379. bnt_testroom.visible =true;
  380. } else {
  381. bnt_testroom.visible =false;
  382. }
  383. // cmb_job.dispatch("xforms-value-changed");
  384. // cmb_relign.dispatch("xforms-value-changed");
  385. // cmb_educgrde.dispatch("xforms-value-changed");
  386. // cmb_marystat.dispatch("xforms-value-changed");
  387. var privacychk = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='W25']/cdid");
  388. if(privacychk == "N"){
  389. model.setValue("/root/main/wardrecinfo/privacy", "");
  390. chk_privacy.visible = false;
  391. cap_educgrde.visible = true;
  392. cmb_educgrde.visible = true;
  393. ipt_educgrde.visible = true;
  394. }else{
  395. chk_privacy.visible = true;
  396. cap_educgrde.visible = false;
  397. cmb_educgrde.visible = false;
  398. ipt_educgrde.visible = false;
  399. }
  400. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
  401. cmb_job.disabled = true;
  402. ipt_job.disabled = true;
  403. cmb_relign.disabled = true;
  404. ipt_relignnm.disabled = true;
  405. cmb_marystat.disabled = true;
  406. ipt_marystatnm.disabled = true;
  407. cap_baptnm.visible = false;
  408. ipt_baptnm.visible = false;
  409. }else{
  410. cmb_job.disabled = false;
  411. cmb_relign.disabled = false;
  412. cmb_marystat.disabled = false;
  413. cmb_job.dispatch("xforms-value-changed");
  414. cmb_relign.dispatch("xforms-value-changed");
  415. cmb_educgrde.dispatch("xforms-value-changed");
  416. cmb_marystat.dispatch("xforms-value-changed");
  417. }
  418. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn") == "1") {
  419. chk_basebdinfoinclyn.dispatch("xforms-value-changed");
  420. }
  421. cmb_inpath.dispatch("xforms-value-changed");
  422. cmb_inmthd.dispatch("xforms-value-changed");
  423. cmb_inacompst.dispatch("xforms-value-changed");
  424. if(model.getValue("/root/main/wardrecinfo/obgyninfoinclyn") == "1") {
  425. chk_obgyninfoinclyn.dispatch("xforms-value-changed");
  426. } else {
  427. rdo_nbabymucusyn.dispatch("xforms-value-changed");
  428. rdo_ruptureyn.dispatch("xforms-value-changed");
  429. rdo_angsiayn.dispatch("xforms-value-changed");
  430. }
  431. rdo_ptnerinfcinfoyn.dispatch("xforms-value-changed");
  432. if(model.getValue("/root/main/wardrecinfo/brthhistinfo/brthhist/brthhistinfoinclyn") == "1") {
  433. chk_brthhistyn.dispatch("xforms-value-changed");
  434. }
  435. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/inrelainfoinclyn") == "1") {
  436. chk_inrelainfoinclyn.dispatch("xforms-value-changed");
  437. } else {
  438. rdo_drugintoxicyn.dispatch("xforms-value-changed");
  439. rdo_ftalhatyn.dispatch("xforms-value-changed");
  440. rdo_edemayn.dispatch("xforms-value-changed");
  441. rdo_urineprotyn.dispatch("xforms-value-changed");
  442. rdo_prgcmplyn.dispatch("xforms-value-changed");
  443. rdo_bodysympyn.dispatch("xforms-value-changed");
  444. }
  445. rdo_postpatrecplankind.dispatch("xforms-value-changed");
  446. chk_partrtneduc.dispatch("xforms-value-changed");
  447. //rdo_smokinfo.dispatch("xforms-value-changed");
  448. rdo_nosmokcnstyn.dispatch("xforms-value-changed");
  449. rdo_drunkinfo.dispatch("xforms-value-changed");
  450. rdo_gustofoodyn.dispatch("xforms-value-changed");
  451. rdo_tnsseffcyn.dispatch("xforms-value-changed");
  452. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  453. chk_pasthistyn.dispatch("xforms-value-changed");
  454. }
  455. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
  456. chk_famyhistyn.dispatch("xforms-value-changed");
  457. }
  458. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
  459. chk_inhistyn.dispatch("xforms-value-changed");
  460. }
  461. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
  462. chk_ophistinclyn.dispatch("xforms-value-changed");
  463. }
  464. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
  465. chk_rectmedistatinclyn.dispatch("xforms-value-changed");
  466. }
  467. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
  468. rdo_allgyn.dispatch("xforms-value-changed");
  469. }
  470. //신체정보 측정불가시 측정불가 체크표시 추가_20090306_SMY
  471. chk_bpinspyn.dispatch("xforms-value-changed");
  472. chk_pulseinspyn.dispatch("xforms-value-changed");
  473. //chk_brethinspyn.dispatch("xforms-value-changed");
  474. chk_bdtpinspyn.dispatch("xforms-value-changed");
  475. chk_bdhtinspyn.dispatch("xforms-value-changed");
  476. chk_bdwtinspyn.dispatch("xforms-value-changed");
  477. chk_spo2inspyn.dispatch("xforms-value-changed");
  478. }
  479. //측정불가 코드값입력 blocking_20090310_SMY
  480. function fChkNoneInspCode(IptPath, IptID){
  481. if(model.getValue(IptPath) == NoneInspCode){
  482. messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  483. model.resetInstanceNode(IptPath);
  484. model.setFocus(IptID);
  485. model.refresh();
  486. return;
  487. }
  488. }
  489. // ---------(20101217)
  490. // function fnNRScalc() {
  491. //
  492. // var snrs1 = model.getValue("/root/main/wardrecinfo/nrs1cd");
  493. // var snrs21 = model.getValue("/root/main/wardrecinfo/nrs21cd");
  494. // var snrs22 = model.getValue("/root/main/wardrecinfo/nrs22cd");
  495. // var snrs23 = model.getValue("/root/main/wardrecinfo/nrs23cd");
  496. //
  497. // var totalnrs= 0;
  498. // var snm = "";
  499. //
  500. // if (snrs1 =="") {
  501. // snrs21 = 0;
  502. // model.setValue("/root/main/wardrecinfo/nrs1nm","");
  503. // } else {
  504. // snm = comnrs1.label;
  505. // model.setValue("/root/main/wardrecinfo/nrs1nm",snm);
  506. // }
  507. //
  508. // if (snrs21 =="" || snrs21=="1") {
  509. // snrs21 = 0;
  510. // model.setValue("/root/main/wardrecinfo/nrs21nm","");
  511. // } else {
  512. // snrs21 = 1;
  513. // snm = capnrs21.value;
  514. // model.setValue("/root/main/wardrecinfo/nrs21nm",snm);
  515. // }
  516. //
  517. // if (snrs22 =="" || snrs22=="1") {
  518. // snrs22 = 0;
  519. // model.setValue("/root/main/wardrecinfo/nrs22nm","");
  520. // } else {
  521. // snrs22 = 2;
  522. // snm = capnrs22.value;
  523. // model.setValue("/root/main/wardrecinfo/nrs22nm",snm);
  524. // }
  525. //
  526. // if (snrs23 =="" || snrs23=="1") {
  527. // snrs23 = 0;
  528. // model.setValue("/root/main/wardrecinfo/nrs23nm","");
  529. // } else {
  530. // snrs23 = 3;
  531. // snm = capnrs23.value;
  532. // model.setValue("/root/main/wardrecinfo/nrs23nm",snm);
  533. // }
  534. // //----------(20110108) 경북대
  535. // if (snrs1 =="") snrs1 = 0;
  536. // if (snrs21 =="") snrs21 = 0;
  537. // if (snrs22 =="") snrs22 = 0;
  538. // if (snrs23 =="") snrs23 = 0;
  539. // //----------(20110108) 경북대
  540. // totalnrs = parseInt(snrs1) +parseInt(snrs21) + parseInt(snrs22) + parseInt(snrs23);
  541. //
  542. // model.setValue("/root/main/wardrecinfo/nrsscore",totalnrs);
  543. // model.refresh();
  544. // }
  545. // ---------(20101217)
  546. ]]>
  547. </script>
  548. <submission id="TRMNW07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inbfinfo"/>
  549. </model>
  550. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  551. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  552. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  553. </xhtml:head>
  554. <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  555. <caption id="caption79" style="left:480px; top:74px; width:310px; height:20px; background-color:#ffe4b5; "/>
  556. <select1 id="rdo_illnessflag" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/illnessflag" navindex="22" visibility="hidden" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:959px; top:648px; width:131px; height:13px; border-style:none; ">
  557. <choices>
  558. <item>
  559. <label>무</label>
  560. <value>N</value>
  561. </item>
  562. <item>
  563. <label>유</label>
  564. <value>Y</value>
  565. </item>
  566. </choices>
  567. </select1>
  568. <caption id="caption70" class="cell_1" visibility="hidden" style="left:795px; top:645px; width:80px; height:23px; vertical-align:middle; ">병에대한인식</caption>
  569. <group id="group1" visibility="hidden" style="left:5px; top:198px; width:405px; height:160px; ">
  570. <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:105px; top:77px; width:70px; height:15px; border-style:none; ">
  571. <choices>
  572. <item>
  573. <label>해당없음</label>
  574. <value>1</value>
  575. </item>
  576. </choices>
  577. <script type="javascript" ev:event="xforms-value-changed">
  578. <![CDATA[
  579. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
  580. var isEmptyYN = "Y";
  581. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  582. var rtn = fSetStatus();
  583. if(rtn == "6") {
  584. model.removeNodeset("/root/main/histinfo/ophistinfo/ophist/ophist");
  585. grd_ophist.rebuild();
  586. btn_ophistadd.disabled = true;
  587. btn_ophistdel.disabled = true;
  588. btn_ophistpop.disabled = true;
  589. } else if(rtn == "7") {
  590. model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
  591. chk_ophistinclyn.refresh();
  592. }
  593. } else {
  594. btn_ophistadd.disabled = false;
  595. btn_ophistdel.disabled = false;
  596. btn_ophistpop.disabled = false;
  597. grd_ophist.addRow();
  598. }
  599. ]]>
  600. </script>
  601. </select>
  602. <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:0px; top:22px; width:390px; height:50px; ">
  603. <col ref="indd" type="inputdate"/>
  604. <col ref="dschdd" type="inputdate"/>
  605. <col ref="illnm" type="input"/>
  606. <col ref="orddept" type="input"/>
  607. <col ref="inhistpk" visibility="hidden"/>
  608. <script type="javascript" ev:event="onclick">
  609. <![CDATA[
  610. if(grd_inhist.colType(grd_inhist.col) == "input") {
  611. grd_inhist.editCell();
  612. }
  613. ]]>
  614. </script>
  615. <script type="javascript" ev:event="onkeydown">
  616. <![CDATA[
  617. if(event.keyCode == 9) {
  618. grd_inhist.editCell();
  619. }
  620. ]]>
  621. </script>
  622. </datagrid>
  623. <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:337px; top:0px; width:53px; height:19px; ">
  624. <caption>행삭제</caption>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. grd_inhist.deleteRow(grd_inhist.row);
  628. ]]>
  629. </script>
  630. </button>
  631. <line id="line24" class="line_1" style="x1:0px; y1:17px; x2:390px; y2:17px; "/>
  632. <button id="btn_inhistpop" class="icon_search" style="left:261px; top:0px; width:16px; height:16px; ">
  633. <script type="javascript" ev:event="DOMActivate">
  634. <![CDATA[
  635. setParameter("histflag", "inhist");
  636. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  637. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  638. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  639. open("SPMNW12800");
  640. ]]>
  641. </script>
  642. <caption/>
  643. </button>
  644. <caption id="cap_ophist" class="tit_2" style="left:5px; top:80px; width:104px; height:13px; ">수술이력</caption>
  645. <line id="line25" class="line_1" style="x1:0px; y1:95px; x2:390px; y2:95px; "/>
  646. <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:281px; top:0px; width:53px; height:19px; ">
  647. <caption>행추가</caption>
  648. <script type="javascript" ev:event="DOMActivate">
  649. <![CDATA[
  650. grd_inhist.addRow();
  651. ]]>
  652. </script>
  653. </button>
  654. <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:337px; top:75px; width:53px; height:19px; ">
  655. <caption>행삭제</caption>
  656. <script type="javascript" ev:event="DOMActivate">
  657. <![CDATA[
  658. grd_ophist.deleteRow(grd_ophist.row);
  659. ]]>
  660. </script>
  661. </button>
  662. <caption id="cap_inhist" class="tit_2" style="left:4px; top:2px; width:104px; height:13px; ">입원이력</caption>
  663. <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:0px; top:100px; width:390px; height:52px; ">
  664. <col ref="opdd" type="inputdate"/>
  665. <col ref="opnm" type="input"/>
  666. <col ref="orddept" type="input"/>
  667. <col ref="ophistpk" visibility="hidden"/>
  668. <script type="javascript" ev:event="onclick">
  669. <![CDATA[
  670. if(grd_ophist.colType(grd_ophist.col) == "input") {
  671. grd_ophist.editCell();
  672. }
  673. ]]>
  674. </script>
  675. <script type="javascript" ev:event="onkeydown">
  676. <![CDATA[
  677. if(event.keyCode == 9) {
  678. grd_ophist.editCell();
  679. }
  680. ]]>
  681. </script>
  682. </datagrid>
  683. <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:105px; top:0px; width:70px; height:15px; border-style:none; ">
  684. <choices>
  685. <item>
  686. <label>해당없음</label>
  687. <value>1</value>
  688. </item>
  689. </choices>
  690. <script type="javascript" ev:event="xforms-value-changed">
  691. <![CDATA[
  692. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
  693. var isEmptyYN = "Y";
  694. isEmptyYN = isCheckGridDataYN(grd_inhist);
  695. var rtn = fSetStatus();
  696. if(rtn == "6") {
  697. model.removeNodeset("/root/main/histinfo/inhistinfo/inhist/inhist");
  698. grd_inhist.rebuild();
  699. btn_inhistadd.disabled = true;
  700. btn_inhistdel.disabled = true;
  701. btn_inhistpop.disabled = true;
  702. } else if(rtn == "7") {
  703. model.setValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn", "");
  704. chk_inhistyn.refresh();
  705. }
  706. } else {
  707. btn_inhistadd.disabled = false;
  708. btn_inhistdel.disabled = false;
  709. btn_inhistpop.disabled = false;
  710. grd_inhist.addRow();
  711. }
  712. ]]>
  713. </script>
  714. <script type="javascript" ev:event="xforms-select">
  715. <![CDATA[
  716. status = "click";
  717. ]]>
  718. </script>
  719. </select>
  720. <button id="btn_ophistpop" class="icon_search" style="left:261px; top:77px; width:16px; height:16px; ">
  721. <script type="javascript" ev:event="DOMActivate">
  722. <![CDATA[
  723. setParameter("histflag", "ophist");
  724. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  725. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  726. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  727. open("SPMNW12800");
  728. ]]>
  729. </script>
  730. <caption/>
  731. </button>
  732. <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:281px; top:75px; width:53px; height:19px; ">
  733. <caption>행추가</caption>
  734. <script type="javascript" ev:event="DOMActivate">
  735. <![CDATA[
  736. grd_ophist.addRow();
  737. ]]>
  738. </script>
  739. </button>
  740. </group>
  741. <datagrid id="grd_brthhist" nodeset="/root/main/wardrecinfo/brthhistinfo/brthhist/brthhist" scroll="auto" caption="분만일자^분만형태^성별^체중^특이사항" colsep="^" colwidth="85, 85, 40, 40, 123" mergecellsfixedrows="bycolrec" rowsep="|" style="left:401px; top:264px; width:390px; height:81px; ">
  742. <col ref="partrtndd" type="inputdate"/>
  743. <col ref="partrtntype" type="input"/>
  744. <col ref="sex" type="input"/>
  745. <col ref="bdwt" type="input"/>
  746. <col ref="remfact" type="input"/>
  747. <script type="javascript" ev:event="onclick">
  748. <![CDATA[
  749. grd_brthhist.editCell();
  750. ]]>
  751. </script>
  752. </datagrid>
  753. <button id="btn_brthhistdel" class="btn2_letter3" navindex="66" style="left:738px; top:239px; width:53px; height:19px; ">
  754. <caption>행삭제</caption>
  755. <script type="javascript" ev:event="DOMActivate">
  756. <![CDATA[
  757. if(grd_brthhist.row > 1) {
  758. grd_brthhist.deleteRow(grd_brthhist.row);
  759. } else {
  760. return;
  761. }
  762. ]]>
  763. </script>
  764. </button>
  765. <line id="line23" class="line_1" style="x1:401px; y1:259px; x2:791px; y2:259px; "/>
  766. <line id="line34" class="line_1" style="x1:5px; y1:421px; x2:396px; y2:421px; "/>
  767. <caption id="caption33" class="tit_2" style="left:405px; top:244px; width:75px; height:13px; ">출산이력</caption>
  768. <button id="btn_brthhistadd" class="btn2_letter3" navindex="65" style="left:682px; top:239px; width:53px; height:19px; ">
  769. <caption>행추가</caption>
  770. <script type="javascript" ev:event="DOMActivate">
  771. <![CDATA[
  772. grd_brthhist.addRow();
  773. ]]>
  774. </script>
  775. </button>
  776. <select id="chk_basebdinfoinclyn" ref="/root/main/wardrecinfo/basebdinfoinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:228px; top:403px; width:70px; height:15px; border-style:none; ">
  777. <choices>
  778. <item>
  779. <label>해당없음</label>
  780. <value>1</value>
  781. </item>
  782. </choices>
  783. <script type="javascript" ev:event="xforms-value-changed">
  784. <![CDATA[
  785. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn")=="1") {
  786. var rtn = "";
  787. rtn = fSetStatus();
  788. if(rtn == "6") {
  789. // ipt_lowbp.disabled = true;
  790. // ipt_highbp.disabled = true;
  791. // ipt_pulse.disabled = true;
  792. // ipt_breth.disabled = true;
  793. // ipt_bdtp.disabled = true;
  794. // cmb_bdtp.disabled = true;
  795. ipt_bdht.disabled = true;
  796. ipt_prgbfbdwt.disabled = true;
  797. ipt_inbdwt.disabled = true;
  798. cmb_bdbtype.disabled = true;
  799. cmb_bdbtyperh.disabled = true;
  800. // model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  801. // model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  802. // model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  803. // model.resetInstanceNode("/root/main/wardrecinfo/breth");
  804. // model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  805. // model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  806. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  807. model.resetInstanceNode("/root/main/wardrecinfo/prgbfbdwt");
  808. model.resetInstanceNode("/root/main/wardrecinfo/inbdwt");
  809. model.resetInstanceNode("/root/main/wardrecinfo/bdbtype");
  810. model.resetInstanceNode("/root/main/wardrecinfo/bdbtyperh");
  811. } else {
  812. model.resetInstanceNode("/root/main/wardrecinfo/basebdinfoinclyn");
  813. chk_basebdinfoinclyn.refresh();
  814. return;
  815. }
  816. } else {
  817. // ipt_lowbp.disabled = false;
  818. // ipt_highbp.disabled = false;
  819. // ipt_pulse.disabled = false;
  820. // ipt_breth.disabled = false;
  821. // ipt_bdtp.disabled = false;
  822. // cmb_bdtp.disabled = false;
  823. ipt_bdht.disabled = false;
  824. ipt_prgbfbdwt.disabled = false;
  825. ipt_inbdwt.disabled = false;
  826. cmb_bdbtype.disabled = false;
  827. cmb_bdbtyperh.disabled = false;
  828. }
  829. // ipt_lowbp.refresh();
  830. // ipt_highbp.refresh();
  831. // ipt_pulse.refresh();
  832. // ipt_breth.refresh();
  833. // ipt_bdtp.refresh();
  834. //
  835. // cmb_bdtp.refresh();
  836. ipt_bdht.refresh();
  837. ipt_prgbfbdwt.refresh();
  838. ipt_inbdwt.refresh();
  839. cmb_bdbtype.refresh();
  840. cmb_bdbtyperh.refresh();
  841. ]]>
  842. </script>
  843. <script type="javascript" ev:event="xforms-select">
  844. <![CDATA[
  845. status = "click";
  846. ]]>
  847. </script>
  848. </select>
  849. <caption id="caption39" class="tit_2" style="left:8px; top:406px; width:104px; height:13px; ">기본 신체정보</caption>
  850. <select id="chk_brthhistyn" ref="/root/main/wardrecinfo/brthhistinfo/brthhist/brthhistinfoinclyn" navindex="64" overflow="visible" appearance="full" style="left:556px; top:241px; width:70px; height:15px; border-style:none; ">
  851. <choices>
  852. <item>
  853. <label>해당없음</label>
  854. <value>1</value>
  855. </item>
  856. </choices>
  857. <script type="javascript" ev:event="xforms-value-changed">
  858. <![CDATA[
  859. if(model.getValue("/root/main/wardrecinfo/brthhistinfo/brthhist/brthhistinfoinclyn") == "1") {
  860. var rtn = "";
  861. rtn = fSetStatus();
  862. if(rtn == "6") {
  863. btn_brthhistadd.disabled = true;
  864. btn_brthhistdel.disabled = true;
  865. model.removeNodeset("/root/main/wardrecinfo/brthhistinfo/brthhist/brthhist");
  866. grd_brthhist.rebuild();
  867. } else {
  868. model.resetInstanceNode("/root/main/wardrecinfo/brthhistinfo/brthhist/brthhistinfoinclyn");
  869. chk_brthhistyn.refresh();
  870. return;
  871. }
  872. } else {
  873. btn_brthhistadd.disabled = false;
  874. btn_brthhistdel.disabled = false;
  875. grd_brthhist.addRow();
  876. }
  877. ]]>
  878. </script>
  879. <script type="javascript" ev:event="xforms-select">
  880. <![CDATA[
  881. status = "click";
  882. ]]>
  883. </script>
  884. </select>
  885. <input id="ipt_angsiadd" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadd" class="input_default" disabled="true" navindex="60" inputtype="date" style="left:562px; top:140px; width:133px; height:19px; text-align:center; "/>
  886. <line id="line31" class="line_2" style="x1:401px; y1:138px; x2:792px; y2:138px; "/>
  887. <line id="line33" class="line_1" style="x1:401px; y1:25px; x2:792px; y2:25px; "/>
  888. <line id="line35" class="line_2" style="x1:401px; y1:116px; x2:792px; y2:116px; "/>
  889. <caption id="caption41" class="cell_1" style="left:401px; top:96px; width:80px; height:21px; ">이슬</caption>
  890. <caption id="caption42" class="tit_2" style="left:406px; top:10px; width:104px; height:14px; ">산과정보</caption>
  891. <caption id="caption43" class="cell_1" style="left:401px; top:118px; width:80px; height:21px; ">조기파수</caption>
  892. <select1 id="radio1" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:100px; width:75px; height:13px; border-style:none; ">
  893. <choices>
  894. <item>
  895. <label>무</label>
  896. <value>1</value>
  897. </item>
  898. <item>
  899. <label>유</label>
  900. <value>2</value>
  901. </item>
  902. </choices>
  903. </select1>
  904. <select1 id="radio2" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:122px; width:75px; height:13px; border-style:none; ">
  905. <choices>
  906. <item>
  907. <label>무</label>
  908. <value>1</value>
  909. </item>
  910. <item>
  911. <label>유</label>
  912. <value>2</value>
  913. </item>
  914. </choices>
  915. </select1>
  916. <select1 id="radio3" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:143px; width:75px; height:13px; border-style:none; ">
  917. <choices>
  918. <item>
  919. <label>무</label>
  920. <value>1</value>
  921. </item>
  922. <item>
  923. <label>유</label>
  924. <value>2</value>
  925. </item>
  926. </choices>
  927. </select1>
  928. <input id="input16" style="left:562px; top:162px; width:48px; height:19px; text-align:center; "/>
  929. <input id="ipt_prgbthhisa" ref="/root/main/wardrecinfo/prgbthhis/a" class="input_default" style="left:591px; top:74px; width:26px; height:19px; "/>
  930. <caption id="caption125" style="left:675px; top:72px; width:18px; height:25px; vertical-align:middle; ">AA</caption>
  931. <caption id="caption127" style="left:725px; top:72px; width:18px; height:25px; vertical-align:middle; ">) L</caption>
  932. <input id="ipt_prgbthhisg" ref="/root/main/wardrecinfo/prgbthhis/g" class="input_default" style="left:502px; top:74px; width:26px; height:19px; "/>
  933. <input id="ipt_prgbthhisl" ref="/root/main/wardrecinfo/prgbthhis/l" class="input_default" style="left:751px; top:74px; width:26px; height:19px; "/>
  934. <caption id="caption120" style="left:484px; top:72px; width:15px; height:25px; vertical-align:middle; ">G</caption>
  935. <input id="ipt_prgbthhissa" ref="/root/main/wardrecinfo/prgbthhis/sa" class="input_default" style="left:646px; top:74px; width:26px; height:19px; "/>
  936. <caption id="caption121" style="left:531px; top:71px; width:15px; height:25px; vertical-align:middle; ">P</caption>
  937. <input id="ipt_prgbthhisaa" ref="/root/main/wardrecinfo/prgbthhis/aa" class="input_default" style="left:696px; top:74px; width:26px; height:19px; "/>
  938. <input id="ipt_prgbthhisp" ref="/root/main/wardrecinfo/prgbthhis/p" class="input_default" style="left:549px; top:74px; width:26px; height:19px; "/>
  939. <caption id="caption122" style="left:578px; top:71px; width:15px; height:25px; vertical-align:middle; ">A</caption>
  940. <caption id="caption123" style="left:620px; top:71px; width:23px; height:25px; vertical-align:middle; ">(SA</caption>
  941. <line id="line41" class="line_1" style="x1:400px; y1:361px; x2:790px; y2:361px; "/>
  942. <select id="chk_inrelainfoinclyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/inrelainfoinclyn" navindex="67" overflow="visible" appearance="full" style="left:719px; top:344px; width:70px; height:15px; border-style:none; ">
  943. <choices>
  944. <item>
  945. <label>해당없음</label>
  946. <value>1</value>
  947. </item>
  948. </choices>
  949. <script type="javascript" ev:event="xforms-value-changed">
  950. <![CDATA[
  951. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/inrelainfoinclyn") =="1") {
  952. var rtn = "";
  953. rtn = fSetStatus();
  954. if(rtn == "6") {
  955. rdo_drugintoxicyn.disabled = true;
  956. ipt_lastfoodintkdd.disabled = true;
  957. ipt_lastfoodintkdt.disabled = true;
  958. rdo_ftalhatyn.disabled = true;
  959. ipt_ftalhatgrde.disabled = true;
  960. rdo_edemayn.disabled = true;
  961. cmb_edemakind.disabled = true;
  962. rdo_urineprotyn.disabled = true;
  963. cmb_urineprotkind.disabled = true;
  964. rdo_prgcmplyn.disabled = true;
  965. ipt_prgcmplcnts.disabled = true;
  966. rdo_bodysympyn.disabled = true;
  967. ipt_bodysympcnts.disabled = true;
  968. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/drugintoxicyn");
  969. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/lastfoodintkdd");
  970. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/lastfoodintkdt");
  971. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/ftalhatyn");
  972. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/ftalhatgrde");
  973. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/edemayn");
  974. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/edemakind");
  975. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/urineprotyn");
  976. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/urineprotkind");
  977. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/prgcmplyn");
  978. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/prgcmplcnts");
  979. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/bodysympyn");
  980. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/bodysympcnts");
  981. } else {
  982. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/inrelainfoinclyn");
  983. chk_inrelainfoinclyn.refresh();
  984. return;
  985. }
  986. } else {
  987. rdo_drugintoxicyn.disabled = false;
  988. ipt_lastfoodintkdd.disabled = false;
  989. ipt_lastfoodintkdt.disabled = false;
  990. rdo_ftalhatyn.disabled = false;
  991. rdo_edemayn.disabled = false;
  992. rdo_urineprotyn.disabled = false;
  993. rdo_prgcmplyn.disabled = false;
  994. rdo_bodysympyn.disabled = false;
  995. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/drugintoxicyn", "1");
  996. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/ftalhatyn", "1");
  997. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/edemayn", "1");
  998. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/urineprotyn", "1");
  999. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/prgcmplyn", "1");
  1000. model.setValue("/root/main/wardrecinfo/inrelainfo/inrela/bodysympyn", "1");
  1001. }
  1002. model.refresh();
  1003. ]]>
  1004. </script>
  1005. <script type="javascript" ev:event="xforms-select">
  1006. <![CDATA[
  1007. status = "click";
  1008. ]]>
  1009. </script>
  1010. </select>
  1011. <caption id="caption53" class="tit_2" style="left:405px; top:346px; width:104px; height:13px; ">입원관련정보</caption>
  1012. <line id="line43" class="line_2" style="x1:400px; y1:72px; x2:791px; y2:72px; "/>
  1013. <line id="line44" class="line_2" style="x1:400px; y1:50px; x2:791px; y2:50px; "/>
  1014. <caption id="caption62" class="cell_1" style="left:401px; top:30px; width:80px; height:21px; ">산전진찰</caption>
  1015. <caption id="caption65" class="cell_1" style="left:401px; top:52px; width:80px; height:21px; ">최종월경일</caption>
  1016. <caption id="caption66" class="cell_1" style="left:588px; top:52px; width:80px; height:21px; ">분만예정일</caption>
  1017. <line id="line46" class="line_2" style="x1:400px; y1:94px; x2:791px; y2:94px; "/>
  1018. <caption id="caption63" class="cell_1" style="left:401px; top:74px; width:80px; height:21px; ">임신출산력</caption>
  1019. <caption id="caption40" style="left:495px; top:162px; width:54px; height:19px; text-align:center; ">진통간격</caption>
  1020. <line id="line36" class="line_3" style="x1:401px; y1:182px; x2:792px; y2:182px; "/>
  1021. <line id="line32" class="line_2" style="x1:401px; y1:160px; x2:792px; y2:160px; "/>
  1022. <caption id="caption44" class="cell_1" style="left:401px; top:140px; width:80px; height:42px; ">진통</caption>
  1023. <input id="ipt_rupturedd" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedd" class="input_default" disabled="true" navindex="57" inputtype="date" style="left:562px; top:118px; width:133px; height:19px; text-align:center; "/>
  1024. <input id="ipt_lastmensdd" ref="/root/main/wardrecinfo/lastmensdd" class="input_default" navindex="45" inputtype="date" style="left:484px; top:52px; width:101px; height:19px; text-align:center; "/>
  1025. <input id="ipt_angsiadt" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadt" disabled="true" navindex="61" format="hh:nn" style="left:698px; top:140px; width:92px; height:19px; text-align:center; "/>
  1026. <input id="ipt_rupturedt" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedt" disabled="true" navindex="58" format="hh:nn" style="left:698px; top:118px; width:92px; height:19px; text-align:center; "/>
  1027. <input id="ipt_nbabymucusdt" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdt" disabled="true" navindex="55" format="hh:nn" style="left:698px; top:96px; width:92px; height:19px; text-align:center; "/>
  1028. <input id="ipt_edc" ref="/root/main/wardrecinfo/edc" class="input_default" navindex="46" inputtype="date" style="left:671px; top:52px; width:116px; height:19px; text-align:center; ">
  1029. <script type="javascript" ev:event="xforms-value-changed">
  1030. <![CDATA[
  1031. var edc = model.getValue("/root/main/wardrecinfo/edc");
  1032. //var indd = model.getValue("/root/main/wardrecinfo/indd");
  1033. var indd = model.getValue("/root/temp/cond/list/indd");
  1034. var calcday = 0;
  1035. var weekNum;
  1036. var dayNum;
  1037. if( isNull(indd) ) {
  1038. messageBox("입원일자를 입력하세요", "E");
  1039. return;
  1040. }else {
  1041. if ( !isNull(edc) ){
  1042. calcday = getDateInterval(edc, indd);
  1043. weekNum = parseInt((280+calcday) / 7);
  1044. dayNum = parseInt((280+calcday) % 7);
  1045. var gesage= String(weekNum) + "+" + String(dayNum);
  1046. model.setValue("/root/main/wardrecinfo/gesage", gesage);
  1047. } else {
  1048. model.setValue("/root/main/wardrecinfo/gesage", "");
  1049. }
  1050. }
  1051. ipt_gesage.refresh();
  1052. ]]>
  1053. </script>
  1054. </input>
  1055. <input id="ipt_paritya" ref="/root/main/wardrecinfo/paritya" class="input_default" navindex="49" style="left:591px; top:74px; width:26px; height:19px; "/>
  1056. <caption id="caption46" style="left:675px; top:72px; width:18px; height:25px; vertical-align:middle; ">AA</caption>
  1057. <caption id="caption47" style="left:495px; top:162px; width:54px; height:19px; text-align:center; ">진통간격</caption>
  1058. <caption id="caption48" class="cell_1" style="left:401px; top:30px; width:80px; height:21px; ">산전진찰</caption>
  1059. <caption id="caption49" style="left:725px; top:72px; width:18px; height:25px; vertical-align:middle; ">) L</caption>
  1060. <caption id="caption52" class="cell_1" style="left:588px; top:30px; width:80px; height:21px; ">임신주수</caption>
  1061. <caption id="caption67" class="cell_1" style="left:401px; top:52px; width:80px; height:21px; ">최종월경일</caption>
  1062. <input id="ipt_parityg" ref="/root/main/wardrecinfo/parityg" class="input_default" navindex="47" style="left:502px; top:74px; width:26px; height:19px; "/>
  1063. <caption id="caption71" style="left:625px; top:163px; width:39px; height:19px; text-align:center; ">분마다</caption>
  1064. <select1 id="rdo_nbabymucusyn" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusyn" navindex="53" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:100px; width:75px; height:13px; border-style:none; ">
  1065. <choices>
  1066. <item>
  1067. <label>무</label>
  1068. <value>1</value>
  1069. </item>
  1070. <item>
  1071. <label>유</label>
  1072. <value>2</value>
  1073. </item>
  1074. </choices>
  1075. <script type="javascript" ev:event="xforms-value-changed">
  1076. <![CDATA[
  1077. if(model.getValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusyn") == "2") {
  1078. ipt_nbabymucusdd.disabled = false;
  1079. ipt_nbabymucusdt.disabled = false;
  1080. } else {
  1081. ipt_nbabymucusdd.disabled = true;
  1082. ipt_nbabymucusdt.disabled = true;
  1083. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdd");
  1084. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdt");
  1085. ipt_nbabymucusdd.refresh();
  1086. ipt_nbabymucusdt.refresh();
  1087. }
  1088. ]]>
  1089. </script>
  1090. </select1>
  1091. <input id="ipt_parityl" ref="/root/main/wardrecinfo/parityl" class="input_default" navindex="52" style="left:751px; top:74px; width:26px; height:19px; "/>
  1092. <input id="ipt_angsiatermmin" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermmin" disabled="true" navindex="62" style="left:562px; top:162px; width:58px; height:19px; text-align:center; "/>
  1093. <select1 id="rdo_ruptureyn" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/ruptureyn" navindex="56" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:122px; width:75px; height:13px; border-style:none; ">
  1094. <choices>
  1095. <item>
  1096. <label>무</label>
  1097. <value>1</value>
  1098. </item>
  1099. <item>
  1100. <label>유</label>
  1101. <value>2</value>
  1102. </item>
  1103. </choices>
  1104. <script type="javascript" ev:event="xforms-value-changed">
  1105. <![CDATA[
  1106. if(model.getValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/ruptureyn") == "2") {
  1107. ipt_rupturedd.disabled = false;
  1108. ipt_rupturedt.disabled = false;
  1109. } else {
  1110. ipt_rupturedd.disabled = true;
  1111. ipt_rupturedt.disabled = true;
  1112. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedd");
  1113. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedt");
  1114. ipt_rupturedd.refresh();
  1115. ipt_rupturedt.refresh();
  1116. }
  1117. ]]>
  1118. </script>
  1119. </select1>
  1120. <input id="ipt_prgcmplcnts" ref="/root/main/wardrecinfo/inrelainfo/inrela/prgcmplcnts" class="input_default" disabled="true" navindex="78" style="left:565px; top:454px; width:225px; height:19px; text-align:center; "/>
  1121. <select1 id="rdo_angsiayn" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiayn" navindex="59" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:143px; width:75px; height:13px; border-style:none; ">
  1122. <choices>
  1123. <item>
  1124. <label>무</label>
  1125. <value>1</value>
  1126. </item>
  1127. <item>
  1128. <label>유</label>
  1129. <value>2</value>
  1130. </item>
  1131. </choices>
  1132. <script type="javascript" ev:event="xforms-value-changed">
  1133. <![CDATA[
  1134. if(model.getValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiayn") == "2") {
  1135. ipt_angsiadd.disabled = false;
  1136. ipt_angsiadt.disabled = false;
  1137. ipt_angsiatermmin.disabled = false;
  1138. ipt_angsiatermsec.disabled = false;
  1139. } else {
  1140. ipt_angsiadd.disabled = true;
  1141. ipt_angsiadt.disabled = true;
  1142. ipt_angsiatermmin.disabled = true;
  1143. ipt_angsiatermsec.disabled = true;
  1144. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadd");
  1145. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadt");
  1146. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermmin");
  1147. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermsec");
  1148. ipt_angsiadd.refresh();
  1149. ipt_angsiadt.refresh();
  1150. ipt_angsiatermmin.refresh();
  1151. ipt_angsiatermsec.refresh();
  1152. }
  1153. ]]>
  1154. </script>
  1155. </select1>
  1156. <caption id="caption72" style="left:484px; top:72px; width:15px; height:25px; vertical-align:middle; ">G</caption>
  1157. <caption id="caption73" style="left:531px; top:71px; width:15px; height:25px; vertical-align:middle; ">P</caption>
  1158. <input id="ipt_paritysa" ref="/root/main/wardrecinfo/paritysa" class="input_default" navindex="50" style="left:646px; top:74px; width:26px; height:19px; "/>
  1159. <caption id="caption74" style="left:578px; top:71px; width:15px; height:25px; vertical-align:middle; ">A</caption>
  1160. <input id="ipt_parityp" ref="/root/main/wardrecinfo/parityp" class="input_default" navindex="48" style="left:549px; top:74px; width:26px; height:19px; "/>
  1161. <input id="ipt_parityaa" ref="/root/main/wardrecinfo/parityaa" class="input_default" navindex="51" style="left:696px; top:74px; width:26px; height:19px; "/>
  1162. <caption id="caption75" style="left:620px; top:71px; width:23px; height:25px; vertical-align:middle; ">(SA</caption>
  1163. <line id="line53" class="line_2" style="x1:400px; y1:430px; x2:791px; y2:430px; "/>
  1164. <line id="line54" class="line_2" style="x1:400px; y1:408px; x2:791px; y2:408px; "/>
  1165. <line id="line60" class="line_2" style="x1:400px; y1:452px; x2:791px; y2:452px; "/>
  1166. <caption id="caption92" class="cell_1" style="left:401px; top:388px; width:95px; height:21px; ">태아심음</caption>
  1167. <line id="line62" class="line_2" style="x1:400px; y1:386px; x2:791px; y2:386px; "/>
  1168. <caption id="caption94" class="cell_1" style="left:401px; top:476px; width:95px; height:21px; ">신체증상</caption>
  1169. <line id="line69" class="line_2" style="x1:401px; y1:474px; x2:792px; y2:474px; "/>
  1170. <select1 id="rdo_drugintoxicyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/drugintoxicyn" navindex="68" appearance="full" cols="2" overflow="visible" style="left:499px; top:368px; width:66px; height:13px; border-style:none; ">
  1171. <choices>
  1172. <item>
  1173. <label>무</label>
  1174. <value>1</value>
  1175. </item>
  1176. <item>
  1177. <label>유</label>
  1178. <value>2</value>
  1179. </item>
  1180. </choices>
  1181. </select1>
  1182. <select1 id="rdo_ftalhatyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/ftalhatyn" navindex="71" appearance="full" cols="2" overflow="visible" style="left:499px; top:391px; width:66px; height:13px; border-style:none; ">
  1183. <choices>
  1184. <item>
  1185. <label>무</label>
  1186. <value>1</value>
  1187. </item>
  1188. <item>
  1189. <label>유</label>
  1190. <value>2</value>
  1191. </item>
  1192. </choices>
  1193. <script type="javascript" ev:event="xforms-value-changed">
  1194. <![CDATA[
  1195. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/ftalhatyn") == "2") {
  1196. ipt_ftalhatgrde.disabled = false;
  1197. } else {
  1198. ipt_ftalhatgrde.disabled = true;
  1199. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/ftalhatgrde");
  1200. ipt_ftalhatgrde.refresh();
  1201. }
  1202. ]]>
  1203. </script>
  1204. </select1>
  1205. <select1 id="rdo_edemayn" ref="/root/main/wardrecinfo/inrelainfo/inrela/edemayn" navindex="73" appearance="full" cols="2" overflow="visible" style="left:499px; top:413px; width:66px; height:13px; border-style:none; ">
  1206. <choices>
  1207. <item>
  1208. <label>무</label>
  1209. <value>1</value>
  1210. </item>
  1211. <item>
  1212. <label>유</label>
  1213. <value>2</value>
  1214. </item>
  1215. </choices>
  1216. <script type="javascript" ev:event="xforms-value-changed">
  1217. <![CDATA[
  1218. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/edemayn") == "2") {
  1219. cmb_edemakind.disabled = false;
  1220. } else {
  1221. cmb_edemakind.disabled = true;
  1222. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/edemakind");
  1223. cmb_edemakind.refresh();
  1224. }
  1225. ]]>
  1226. </script>
  1227. </select1>
  1228. <select1 id="rdo_prgcmplyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/prgcmplyn" navindex="77" appearance="full" cols="2" overflow="visible" style="left:499px; top:456px; width:66px; height:13px; border-style:none; ">
  1229. <choices>
  1230. <item>
  1231. <label>무</label>
  1232. <value>1</value>
  1233. </item>
  1234. <item>
  1235. <label>유</label>
  1236. <value>2</value>
  1237. </item>
  1238. </choices>
  1239. <script type="javascript" ev:event="xforms-value-changed">
  1240. <![CDATA[
  1241. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/prgcmplyn") == "2") {
  1242. ipt_prgcmplcnts.disabled = false;
  1243. } else {
  1244. ipt_prgcmplcnts.disabled = true;
  1245. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/prgcmplcnts");
  1246. ipt_prgcmplcnts.refresh();
  1247. }
  1248. ]]>
  1249. </script>
  1250. </select1>
  1251. <select1 id="rdo_bodysympyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/bodysympyn" navindex="79" appearance="full" cols="2" overflow="visible" style="left:499px; top:479px; width:66px; height:13px; border-style:none; ">
  1252. <choices>
  1253. <item>
  1254. <label>무</label>
  1255. <value>1</value>
  1256. </item>
  1257. <item>
  1258. <label>유</label>
  1259. <value>2</value>
  1260. </item>
  1261. </choices>
  1262. <script type="javascript" ev:event="xforms-value-changed">
  1263. <![CDATA[
  1264. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/bodysympyn") == "2") {
  1265. ipt_bodysympcnts.disabled = false;
  1266. } else {
  1267. ipt_bodysympcnts.disabled = true;
  1268. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/bodysympcnts");
  1269. ipt_bodysympcnts.refresh();
  1270. }
  1271. ]]>
  1272. </script>
  1273. </select1>
  1274. <input id="ipt_lastfoodintkdd" ref="/root/main/wardrecinfo/inrelainfo/inrela/lastfoodintkdd" class="input_default" navindex="69" inputtype="date" style="left:662px; top:366px; width:87px; height:19px; text-align:center; "/>
  1275. <input id="ipt_ftalhatgrde" ref="/root/main/wardrecinfo/inrelainfo/inrela/ftalhatgrde" disabled="true" navindex="72" style="left:565px; top:388px; width:47px; height:19px; text-align:center; "/>
  1276. <caption id="caption77" style="left:611px; top:390px; width:39px; height:19px; text-align:center; ">(bpm)</caption>
  1277. <caption id="caption84" class="cell_1" style="left:401px; top:366px; width:95px; height:21px; ">임신중약물복용</caption>
  1278. <caption id="caption87" class="cell_1" style="left:565px; top:366px; width:95px; height:21px; ">최종음식물섭취</caption>
  1279. <caption id="caption76" class="cell_1" style="left:401px; top:410px; width:95px; height:21px; ">부종</caption>
  1280. <caption id="caption82" class="cell_1" style="left:401px; top:454px; width:95px; height:21px; ">임신중합병증</caption>
  1281. <caption id="caption80" class="cell_1" style="left:401px; top:432px; width:95px; height:21px; ">뇨단백</caption>
  1282. <input id="ipt_nbabymucusdd" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdd" class="input_default" disabled="true" navindex="54" inputtype="date" style="left:562px; top:96px; width:133px; height:19px; text-align:center; "/>
  1283. <caption id="caption51" style="left:757px; top:162px; width:34px; height:19px; text-align:center; ">초간</caption>
  1284. <input id="ipt_angsiatermsec" ref="/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermsec" disabled="true" navindex="63" style="left:698px; top:162px; width:57px; height:19px; text-align:center; "/>
  1285. <select id="chk_obgyninfoinclyn" ref="/root/main/wardrecinfo/obgyninfoinclyn" overflow="visible" appearance="full" style="left:720px; top:8px; width:70px; height:15px; border-style:none; ">
  1286. <choices>
  1287. <item>
  1288. <label>해당없음</label>
  1289. <value>1</value>
  1290. </item>
  1291. </choices>
  1292. <script type="javascript" ev:event="xforms-value-changed">
  1293. <![CDATA[
  1294. if(model.getValue("/root/main/wardrecinfo/obgyninfoinclyn") == "1") {
  1295. var rtn = "";
  1296. rtn = fSetStatus();
  1297. if(rtn == "6") {
  1298. cmb_befchildbrthmed.disabled = true;
  1299. ipt_gesage.disabled = true;
  1300. ipt_lastmensdd.disabled = true;
  1301. ipt_edc.disabled = true;
  1302. ipt_parityg.disabled = true;
  1303. ipt_parityp.disabled = true;
  1304. ipt_paritya.disabled = true;
  1305. ipt_paritysa.disabled = true;
  1306. ipt_parityaa.disabled = true;
  1307. ipt_parityl.disabled = true;
  1308. rdo_nbabymucusyn.disabled = true;
  1309. ipt_nbabymucusdd.disabled = true;
  1310. ipt_nbabymucusdt.disabled = true;
  1311. rdo_ruptureyn.disabled = true;
  1312. ipt_rupturedd.disabled = true;
  1313. ipt_rupturedt.disabled = true;
  1314. rdo_angsiayn.disabled = true;
  1315. ipt_angsiadd.disabled = true;
  1316. ipt_angsiadt.disabled = true;
  1317. ipt_angsiatermmin.disabled = true;
  1318. ipt_angsiatermsec.disabled = true;
  1319. model.resetInstanceNode("/root/main/wardrecinfo/befchildbrthmed");
  1320. model.resetInstanceNode("/root/main/wardrecinfo/gesage");
  1321. model.resetInstanceNode("/root/main/wardrecinfo/lastmensdd");
  1322. model.resetInstanceNode("/root/main/wardrecinfo/edc");
  1323. model.resetInstanceNode("/root/main/wardrecinfo/parityg");
  1324. model.resetInstanceNode("/root/main/wardrecinfo/parityp");
  1325. model.resetInstanceNode("/root/main/wardrecinfo/paritya");
  1326. model.resetInstanceNode("/root/main/wardrecinfo/paritysa");
  1327. model.resetInstanceNode("/root/main/wardrecinfo/parityaa");
  1328. model.resetInstanceNode("/root/main/wardrecinfo/parityl");
  1329. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusyn");
  1330. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdd");
  1331. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusdt");
  1332. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/ruptureyn");
  1333. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedd");
  1334. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/rupturedt");
  1335. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiayn");
  1336. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadd");
  1337. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiadt");
  1338. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermmin");
  1339. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiatermsec");
  1340. } else {
  1341. model.resetInstanceNode("/root/main/wardrecinfo/obgyninfoinclyn");
  1342. chk_obgyninfoinclyn.refresh();
  1343. return;
  1344. }
  1345. } else {
  1346. cmb_befchildbrthmed.disabled = false;
  1347. ipt_lastmensdd.disabled = false;
  1348. ipt_edc.disabled = false;
  1349. ipt_parityg.disabled = false;
  1350. ipt_parityp.disabled = false;
  1351. ipt_paritya.disabled = false;
  1352. ipt_paritysa.disabled = false;
  1353. ipt_parityaa.disabled = false;
  1354. ipt_parityl.disabled = false;
  1355. rdo_nbabymucusyn.disabled = false;
  1356. rdo_ruptureyn.disabled = false;
  1357. rdo_angsiayn.disabled = false;
  1358. model.setValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/nbabymucusyn", "1");
  1359. model.setValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/ruptureyn", "1");
  1360. model.setValue("/root/main/wardrecinfo/obgyninfoetc/obgyn/angsiayn", "1");
  1361. }
  1362. model.refresh();
  1363. ]]>
  1364. </script>
  1365. <script type="javascript" ev:event="xforms-select">
  1366. <![CDATA[
  1367. status = "click";
  1368. ]]>
  1369. </script>
  1370. </select>
  1371. <input id="ipt_gesage" ref="/root/main/wardrecinfo/gesage" class="input_default" navindex="44" style="left:671px; top:30px; width:72px; height:19px; text-align:center; "/>
  1372. <select1 id="cmb_befchildbrthmed" ref="/root/main/wardrecinfo/befchildbrthmed" class="combo_default" navindex="43" appearance="minimal" style="left:484px; top:30px; width:101px; height:19px; ">
  1373. <choices>
  1374. <item>
  1375. <label>무</label>
  1376. <value>01</value>
  1377. </item>
  1378. <item>
  1379. <label>본원지정의</label>
  1380. <value>02</value>
  1381. </item>
  1382. <item>
  1383. <label>타원</label>
  1384. <value>03</value>
  1385. </item>
  1386. </choices>
  1387. </select1>
  1388. <caption id="caption45" style="left:745px; top:30px; width:45px; height:19px; text-align:center; ">(주+일)</caption>
  1389. <line id="line9" class="line_1" style="x1:5px; y1:293px; x2:396px; y2:293px; "/>
  1390. <input id="ipt_indt" ref="/root/main/wardrecinfo/indt" navindex="14" maxlength="4" format="hh:nn" style="left:295px; top:299px; width:100px; height:19px; text-align:center; "/>
  1391. <!-- 20110411_KNUH_Start 히든처리-->
  1392. <!-- 20110411_KNUH_End 히든처리-->
  1393. <input id="ipt_inmthdnm" ref="/root/main/wardrecinfo/inmthdnm" navindex="18" visibility="hidden" style="left:210px; top:347px; width:185px; height:19px; "/>
  1394. <input id="ipt_indd" ref="/root/main/wardrecinfo/indd" class="input_default" disabled="true" navindex="13" inputtype="date" style="left:108px; top:299px; width:100px; height:19px; ">
  1395. <script type="javascript" ev:event="xforms-value-changed">
  1396. <![CDATA[
  1397. ipt_edc.dispatch("xforms-value-changed");
  1398. ]]>
  1399. </script>
  1400. </input>
  1401. <line id="line10" class="line_2" style="x1:5px; y1:320px; x2:396px; y2:320px; "/>
  1402. <select1 id="cmb_inmthd" ref="/root/main/wardrecinfo/inmthdcd" class="combo_default" navindex="17" appearance="minimal" style="left:108px; top:347px; width:100px; height:19px; ">
  1403. <choices>
  1404. <itemset nodeset="/root/init/mlist/M0210">
  1405. <label ref="cdnm"/>
  1406. <value ref="cdid"/>
  1407. </itemset>
  1408. </choices>
  1409. <script type="javascript" ev:event="xforms-value-changed">
  1410. <![CDATA[
  1411. if(model.getValue("/root/main/wardrecinfo/inmthdcd") == "08") {
  1412. ipt_inmthdnm.visible = true;
  1413. } else {
  1414. ipt_inmthdnm.visible = false;
  1415. model.resetInstanceNode("/root/main/wardrecinfo/inmthdnm");
  1416. ipt_inmthdnm.refresh();
  1417. }
  1418. ]]>
  1419. </script>
  1420. </select1>
  1421. <line id="line11" class="line_2" style="x1:5px; y1:344px; x2:396px; y2:344px; "/>
  1422. <caption id="cap_inptner" class="cell_1" style="left:5px; top:370px; width:100px; height:23px; ">입원시동반자</caption>
  1423. <button id="btn_famyfactdel" class="btn2_letter3" navindex="10" style="left:342px; top:153px; width:53px; height:19px; ">
  1424. <caption>행삭제</caption>
  1425. <script type="javascript" ev:event="DOMActivate">
  1426. <![CDATA[
  1427. grd_famyfact.deleteRow(grd_famyfact.row);
  1428. ]]>
  1429. </script>
  1430. </button>
  1431. <line id="line12" class="line_2" style="x1:5px; y1:368px; x2:396px; y2:368px; "/>
  1432. <line id="line13" class="line_3" style="x1:5px; y1:392px; x2:396px; y2:392px; "/>
  1433. <caption id="caption10" class="tit_2" style="left:10px; top:278px; width:104px; height:13px; ">입원정보</caption>
  1434. <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:104px; height:14px; ">환자기본정보</caption>
  1435. <input id="ipt_inpathnm" ref="/root/main/wardrecinfo/inpathnm" navindex="16" visibility="hidden" style="left:210px; top:323px; width:185px; height:19px; "/>
  1436. <select1 id="cmb_inpath" ref="/root/main/wardrecinfo/inpathcd" class="combo_default" navindex="15" appearance="minimal" style="left:108px; top:323px; width:100px; height:19px; ">
  1437. <choices>
  1438. <itemset nodeset="/root/init/mlist/M0418">
  1439. <label ref="cdnm"/>
  1440. <value ref="cdid"/>
  1441. </itemset>
  1442. </choices>
  1443. <script type="javascript" ev:event="xforms-value-changed">
  1444. <![CDATA[
  1445. if(model.getValue("/root/main/wardrecinfo/inpathcd") == "08") {
  1446. ipt_inpathnm.visible = true;
  1447. } else {
  1448. ipt_inpathnm.visible = false;
  1449. model.resetInstanceNode("/root/main/wardrecinfo/inpathnm");
  1450. }
  1451. ]]>
  1452. </script>
  1453. </select1>
  1454. <!-- 20110411_KNUH_Start 히든처리-->
  1455. <!-- 20110411_KNUH_End 히든처리-->
  1456. <caption id="cap_indt" class="cell_1" style="left:211px; top:298px; width:82px; height:23px; ">입원시간</caption>
  1457. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
  1458. <select1 id="cmb_inacompst" ref="/root/main/wardrecinfo/inacompstcd" class="combo_default" navindex="19" appearance="minimal" style="left:108px; top:371px; width:100px; height:19px; ">
  1459. <choices>
  1460. <itemset nodeset="/root/init/mlist/M0098">
  1461. <label ref="cdnm"/>
  1462. <value ref="cdid"/>
  1463. </itemset>
  1464. </choices>
  1465. <script type="javascript" ev:event="xforms-value-changed">
  1466. <![CDATA[
  1467. if(model.getValue("/root/main/wardrecinfo/inacompstcd") == "04") {
  1468. ipt_inacompstnm.visible = true;
  1469. } else {
  1470. ipt_inacompstnm.visible = false;
  1471. model.resetInstanceNode("/root/main/wardrecinfo/inacompstnm");
  1472. ipt_inacompstnm.refresh();
  1473. }
  1474. ]]>
  1475. </script>
  1476. </select1>
  1477. <caption id="cap_indd" class="cell_1" style="left:5px; top:298px; width:100px; height:23px; ">입원일자</caption>
  1478. <caption id="cap_inmthd" class="cell_1" style="left:5px; top:346px; width:100px; height:23px; ">입원방법</caption>
  1479. <button id="btn_famyfactadd" class="btn2_letter3" navindex="9" style="left:286px; top:153px; width:53px; height:19px; ">
  1480. <caption>행추가</caption>
  1481. <script type="javascript" ev:event="DOMActivate">
  1482. <![CDATA[
  1483. grd_famyfact.addRow();
  1484. ]]>
  1485. </script>
  1486. </button>
  1487. <input id="ipt_inacompstnm" ref="/root/main/wardrecinfo/inacompstnm" navindex="20" visibility="hidden" style="left:210px; top:371px; width:185px; height:19px; "/>
  1488. <!-- 20110411_KNUH_Start 히든처리-->
  1489. <!-- 20110411_KNUH_Start 히든처리-->
  1490. <!-- 20110411_KNUH_End 히든처리-->
  1491. <caption id="cap_famyfact" class="tit_2" style="left:10px; top:158px; width:104px; height:13px; ">가족사항</caption>
  1492. <line id="line6" class="line_1" style="x1:5px; y1:173px; x2:396px; y2:173px; "/>
  1493. <caption id="cap_inpath" class="cell_1" style="left:5px; top:322px; width:100px; height:23px; ">입원경로</caption>
  1494. <datagrid id="grd_famyfact" nodeset="/root/main/famyfact" scroll="auto" caption="상태^관계^성명^전화번호^핸드폰번호^주소(동/구)^세부주소^비고^fmlyseq" colsep="^" colwidth="0, 45, 0, 90, 90, 94, 130, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:178px; width:391px; height:85px; ">
  1495. <col ref="stat"/>
  1496. <col ref="rela" type="combo">
  1497. <choices>
  1498. <item>
  1499. <label>배우자</label>
  1500. <value>01</value>
  1501. </item>
  1502. <item>
  1503. <label>자녀</label>
  1504. <value>02</value>
  1505. </item>
  1506. <item>
  1507. <label>부</label>
  1508. <value>03</value>
  1509. </item>
  1510. <item>
  1511. <label>모</label>
  1512. <value>04</value>
  1513. </item>
  1514. <item>
  1515. <label>조모</label>
  1516. <value>05</value>
  1517. </item>
  1518. <item>
  1519. <label>조부</label>
  1520. <value>06</value>
  1521. </item>
  1522. <item>
  1523. <label>형제</label>
  1524. <value>07</value>
  1525. </item>
  1526. <item>
  1527. <label>자매</label>
  1528. <value>08</value>
  1529. </item>
  1530. <item>
  1531. <label>장인</label>
  1532. <value>09</value>
  1533. </item>
  1534. <item>
  1535. <label>장모</label>
  1536. <value>10</value>
  1537. </item>
  1538. <item>
  1539. <label>며느리</label>
  1540. <value>11</value>
  1541. </item>
  1542. <item>
  1543. <label>손자</label>
  1544. <value>12</value>
  1545. </item>
  1546. <item>
  1547. <label>기타</label>
  1548. <value>13</value>
  1549. </item>
  1550. </choices>
  1551. </col>
  1552. <col ref="hngnm" type="input"/>
  1553. <col ref="tel" type="input">
  1554. <script type="javascript" ev:event="xforms-value-changed">
  1555. <![CDATA[
  1556. ]]>
  1557. </script>
  1558. </col>
  1559. <col ref="mpphone" type="input" format="999-9999-9999"/>
  1560. <col ref="addr" type="input"/>
  1561. <col ref="detladdr" type="input"/>
  1562. <col ref="remfact" type="input"/>
  1563. <col ref="fmlyseq" visibility="hidden"/>
  1564. <script type="javascript" ev:event="xforms-value-changed">
  1565. <![CDATA[
  1566. ]]>
  1567. </script>
  1568. <script type="javascript" ev:event="onclick">
  1569. <![CDATA[
  1570. grd_famyfact.editCell();
  1571. ]]>
  1572. </script>
  1573. </datagrid>
  1574. <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="22" visibility="hidden" maxlength="3" format="9#.#" style="left:87px; top:427px; width:44px; height:19px; text-align:center; ">
  1575. <script type="javascript" ev:event="xforms-value-changed">
  1576. <![CDATA[
  1577. fChkNoneInspCode("/root/main/wardrecinfo/highbp", "ipt_highbp");
  1578. ]]>
  1579. </script>
  1580. </input>
  1581. <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="23" visibility="hidden" maxlength="3" format="9#.#" style="left:134px; top:427px; width:43px; height:19px; text-align:center; ">
  1582. <script type="javascript" ev:event="xforms-value-changed">
  1583. <![CDATA[
  1584. fChkNoneInspCode("/root/main/wardrecinfo/lowbp", "ipt_lowbp");
  1585. ]]>
  1586. </script>
  1587. </input>
  1588. <input id="ipt_pulse" ref="/root/main/wardrecinfo/pulse" navindex="24" visibility="hidden" maxlength="3" format="9#.#" style="left:87px; top:451px; width:40px; height:19px; text-align:center; ">
  1589. <script type="javascript" ev:event="xforms-value-changed">
  1590. <![CDATA[
  1591. fChkNoneInspCode("/root/main/wardrecinfo/pulse", "ipt_pulse");
  1592. ]]>
  1593. </script>
  1594. </input>
  1595. <input id="ipt_breth" ref="/root/main/wardrecinfo/breth" navindex="25" visibility="hidden" maxlength="2" format="9#.#" style="left:137px; top:451px; width:40px; height:19px; text-align:center; ">
  1596. <script type="javascript" ev:event="xforms-value-changed">
  1597. <![CDATA[
  1598. fChkNoneInspCode("/root/main/wardrecinfo/breth", "ipt_breth");
  1599. ]]>
  1600. </script>
  1601. </input>
  1602. <input id="ipt_bdtp" ref="/root/main/wardrecinfo/bdtp" navindex="26" visibility="hidden" maxlength="4" format="9#.#" style="left:87px; top:475px; width:40px; height:19px; text-align:center; ">
  1603. <script type="javascript" ev:event="xforms-value-changed">
  1604. <![CDATA[
  1605. fChkNoneInspCode("/root/main/wardrecinfo/bdtp", "ipt_bdtp");
  1606. ]]>
  1607. </script>
  1608. </input>
  1609. <select1 id="cmb_bdtp" ref="/root/main/wardrecinfo/bdtppartcd" class="combo_default" navindex="27" visibility="hidden" appearance="minimal" style="left:130px; top:475px; width:47px; height:19px; ">
  1610. <choices>
  1611. <itemset nodeset="/root/init/mlist/M0375">
  1612. <label ref="cdnm"/>
  1613. <value ref="cdid"/>
  1614. </itemset>
  1615. </choices>
  1616. </select1>
  1617. <caption id="caption11" class="output_fix" visibility="hidden" style="left:179px; top:451px; width:43px; height:19px; text-align:center; ">회/분</caption>
  1618. <line id="line47" class="line_2" style="x1:4px; y1:448px; x2:395px; y2:448px; "/>
  1619. <caption id="caption12" class="cell_1" visibility="hidden" style="left:4px; top:450px; width:81px; height:23px; ">.... 맥박/호흡</caption>
  1620. <caption id="caption13" class="cell_1" visibility="hidden" style="left:4px; top:474px; width:81px; height:23px; ">.... 체온</caption>
  1621. <line id="line39" class="line_2" style="x1:4px; y1:472px; x2:395px; y2:472px; "/>
  1622. <caption id="caption6" class="output_fix" visibility="hidden" style="left:179px; top:427px; width:43px; height:19px; text-align:center; ">mmHg</caption>
  1623. <caption id="caption7" class="output_fix" visibility="hidden" style="left:179px; top:475px; width:43px; height:19px; text-align:center; ">℃</caption>
  1624. <caption id="caption9" class="cell_1" visibility="hidden" style="left:4px; top:426px; width:81px; height:23px; ">.... 혈압</caption>
  1625. <line id="line14" class="line_2" style="x1:795px; y1:226px; x2:1186px; y2:226px; "/>
  1626. <input id="ipt_gustofood" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl" disabled="true" navindex="40" style="left:956px; top:229px; width:228px; height:19px; text-align:center; "/>
  1627. <caption id="cap_gustofoodyn" class="cell_1" style="left:795px; top:228px; width:80px; height:23px; ">기호식품</caption>
  1628. <caption id="cap_smokinfo" class="cell_1" style="left:795px; top:180px; width:80px; height:23px; ">흡연정보</caption>
  1629. <line id="line15" class="line_2" style="x1:795px; y1:250px; x2:1186px; y2:250px; "/>
  1630. <select1 id="rdo_drunkinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="36" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:878px; top:208px; width:75px; height:13px; border-style:none; ">
  1631. <choices>
  1632. <item>
  1633. <label>무</label>
  1634. <value>1</value>
  1635. </item>
  1636. <item>
  1637. <label>유</label>
  1638. <value>2</value>
  1639. </item>
  1640. </choices>
  1641. <script type="javascript" ev:event="xforms-value-changed">
  1642. <![CDATA[
  1643. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
  1644. ipt_drunkinfokind.disabled = false;
  1645. ipt_drunkinfoterm.disabled = false;
  1646. } else {
  1647. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind");
  1648. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm");
  1649. ipt_drunkinfokind.disabled = true;
  1650. ipt_drunkinfoterm.disabled =true;
  1651. ipt_drunkinfokind.refresh();
  1652. ipt_drunkinfoterm.refresh();
  1653. }
  1654. ]]>
  1655. </script>
  1656. </select1>
  1657. <line id="line16" class="line_1" style="x1:795px; y1:175px; x2:1186px; y2:175px; "/>
  1658. <caption id="caption16" class="tit_2" style="left:800px; top:160px; width:104px; height:13px; ">기호정보</caption>
  1659. <select1 id="rdo_gustofoodyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn" navindex="39" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:878px; top:231px; width:75px; height:13px; border-style:none; ">
  1660. <choices>
  1661. <item>
  1662. <label>무</label>
  1663. <value>1</value>
  1664. </item>
  1665. <item>
  1666. <label>유</label>
  1667. <value>2</value>
  1668. </item>
  1669. </choices>
  1670. <script type="javascript" ev:event="xforms-value-changed">
  1671. <![CDATA[
  1672. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn") == "2") {
  1673. ipt_gustofood.disabled = false;
  1674. } else {
  1675. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl");
  1676. ipt_gustofood.disabled = true;
  1677. ipt_gustofood.refresh();
  1678. }
  1679. ]]>
  1680. </script>
  1681. </select1>
  1682. <line id="line17" class="line_2" style="x1:795px; y1:202px; x2:1186px; y2:202px; "/>
  1683. <input id="ipt_drunkinfoterm" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="38" style="left:1073px; top:205px; width:55px; height:19px; text-align:center; "/>
  1684. <caption id="cap_tnsseffcyn" class="cell_1" style="left:795px; top:252px; width:80px; height:23px; ">수혈부작용</caption>
  1685. <caption id="cap_drunkinfoterm" style="left:1130px; top:205px; width:54px; height:19px; text-align:center; ">기간(년)</caption>
  1686. <input id="ipt_drunkinfokind" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind" disabled="true" navindex="37" style="left:956px; top:205px; width:114px; height:19px; text-align:center; "/>
  1687. <input id="ipt_tnsseffc" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl" disabled="true" navindex="42" style="left:956px; top:253px; width:228px; height:19px; text-align:center; "/>
  1688. <select1 id="rdo_tnsseffcyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn" navindex="41" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:878px; top:256px; width:75px; height:13px; border-style:none; ">
  1689. <choices>
  1690. <item>
  1691. <label>무</label>
  1692. <value>1</value>
  1693. </item>
  1694. <item>
  1695. <label>유</label>
  1696. <value>2</value>
  1697. </item>
  1698. </choices>
  1699. <script type="javascript" ev:event="xforms-value-changed">
  1700. <![CDATA[
  1701. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn") == "2") {
  1702. ipt_tnsseffc.disabled = false;
  1703. } else {
  1704. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl");
  1705. ipt_tnsseffc.disabled = true;
  1706. ipt_tnsseffc.refresh();
  1707. }
  1708. ]]>
  1709. </script>
  1710. </select1>
  1711. <caption id="cap_drunkinfo" class="cell_1" style="left:795px; top:204px; width:80px; height:23px; ">음주정보</caption>
  1712. <line id="line48" class="line_3" style="x1:4px; y1:497px; x2:395px; y2:497px; "/>
  1713. <line id="line18" class="line_3" style="x1:795px; y1:274px; x2:1186px; y2:274px; "/>
  1714. <line id="line20" class="line_1" style="x1:800px; y1:526px; x2:1190px; y2:526px; "/>
  1715. <caption id="caption21" class="tit_2" style="left:805px; top:511px; width:175px; height:13px; ">신생아사진 게재여부</caption>
  1716. <input id="ipt_lastfoodintkdt" ref="/root/main/wardrecinfo/inrelainfo/inrela/lastfoodintkdt" navindex="70" format="hh:nn" style="left:750px; top:366px; width:40px; height:19px; text-align:center; "/>
  1717. <input id="ipt_bodysympcnts" ref="/root/main/wardrecinfo/inrelainfo/inrela/bodysympcnts" class="input_default" disabled="true" navindex="80" style="left:565px; top:476px; width:225px; height:19px; text-align:center; "/>
  1718. <select1 id="cmb_edemakind" ref="/root/main/wardrecinfo/inrelainfo/inrela/edemakind" class="combo_default" disabled="true" navindex="74" appearance="minimal" style="left:565px; top:410px; width:225px; height:19px; ">
  1719. <choices>
  1720. <item>
  1721. <label>+1</label>
  1722. <value>02</value>
  1723. </item>
  1724. <item>
  1725. <label>+2</label>
  1726. <value>03</value>
  1727. </item>
  1728. <item>
  1729. <label>+3</label>
  1730. <value>04</value>
  1731. </item>
  1732. <item>
  1733. <label>+4</label>
  1734. <value>05</value>
  1735. </item>
  1736. </choices>
  1737. </select1>
  1738. <select1 id="cmb_urineprotkind" ref="/root/main/wardrecinfo/inrelainfo/inrela/urineprotkind" class="combo_default" disabled="true" navindex="76" appearance="minimal" style="left:565px; top:432px; width:225px; height:19px; ">
  1739. <choices>
  1740. <item>
  1741. <label>±</label>
  1742. <value>06</value>
  1743. </item>
  1744. <item>
  1745. <label>+1</label>
  1746. <value>02</value>
  1747. </item>
  1748. <item>
  1749. <label>+2</label>
  1750. <value>03</value>
  1751. </item>
  1752. <item>
  1753. <label>+3</label>
  1754. <value>04</value>
  1755. </item>
  1756. <item>
  1757. <label>+4</label>
  1758. <value>05</value>
  1759. </item>
  1760. </choices>
  1761. </select1>
  1762. <line id="line55" class="line_3" style="x1:401px; y1:496px; x2:792px; y2:496px; "/>
  1763. <line id="line21" class="line_1" style="x1:400px; y1:530px; x2:790px; y2:530px; "/>
  1764. <caption id="caption22" class="tit_2" style="left:405px; top:515px; width:74px; height:13px; ">기타</caption>
  1765. <select1 id="cmb_lctplan" ref="/root/main/wardrecinfo/etcinfo/etc/lctplan" class="combo_default" navindex="81" appearance="minimal" style="left:483px; top:535px; width:306px; height:19px; ">
  1766. <choices>
  1767. <item>
  1768. <label>모유영양</label>
  1769. <value>01</value>
  1770. </item>
  1771. <item>
  1772. <label>인공영양</label>
  1773. <value>02</value>
  1774. </item>
  1775. <item>
  1776. <label>혼합영양</label>
  1777. <value>03</value>
  1778. </item>
  1779. <item>
  1780. <label>해당없음</label>
  1781. <value>04</value>
  1782. </item>
  1783. </choices>
  1784. </select1>
  1785. <line id="line29" class="line_2" style="x1:400px; y1:555px; x2:791px; y2:555px; "/>
  1786. <caption id="caption23" class="cell_1" style="left:400px; top:535px; width:80px; height:21px; ">수유계획</caption>
  1787. <line id="line30" class="line_2" style="x1:400px; y1:595px; x2:791px; y2:595px; "/>
  1788. <caption id="caption25" class="cell_1" style="left:400px; top:597px; width:80px; height:38px; ">분만교육</caption>
  1789. <select1 id="rdo_postpatrecplankind" ref="/root/main/wardrecinfo/etcinfo/etc/postpatrecplankind" navindex="82" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:483px; top:558px; width:307px; height:17px; border-style:none; ">
  1790. <choices>
  1791. <item>
  1792. <label>해당없음</label>
  1793. <value>05</value>
  1794. </item>
  1795. <item>
  1796. <label>자가</label>
  1797. <value>01</value>
  1798. </item>
  1799. <item>
  1800. <label>친지</label>
  1801. <value>02</value>
  1802. </item>
  1803. <item>
  1804. <label>조리원</label>
  1805. <value>03</value>
  1806. </item>
  1807. <item>
  1808. <label>기타</label>
  1809. <value>04</value>
  1810. </item>
  1811. </choices>
  1812. <script type="javascript" ev:event="xforms-value-changed">
  1813. <![CDATA[
  1814. if(model.getValue("/root/main/wardrecinfo/etcinfo/etc/postpatrecplankind") == "04") {
  1815. ipt_postpatrecplanetc.disabled = false;
  1816. } else {
  1817. ipt_postpatrecplanetc.disabled = true;
  1818. model.resetInstanceNode("/root/main/wardrecinfo/etcinfo/etc/postpatrecplanetc");
  1819. ipt_postpatrecplanetc.disabled = false;
  1820. }
  1821. ]]>
  1822. </script>
  1823. </select1>
  1824. <input id="ipt_postpatrecplanetc" ref="/root/main/wardrecinfo/etcinfo/etc/postpatrecplanetc" disabled="true" navindex="83" style="left:483px; top:575px; width:307px; height:19px; text-align:left; "/>
  1825. <select id="chk_partrtneduc" ref="/root/main/wardrecinfo/etcinfo/etc/partrtneduc" navindex="84" overflow="visible" appearance="full" cols="5" vcellspacing="2" style="left:483px; top:597px; width:290px; height:38px; border-style:none; ">
  1826. <choices>
  1827. <item>
  1828. <label>해당없음</label>
  1829. <value>6</value>
  1830. </item>
  1831. <item>
  1832. <label>호흡법</label>
  1833. <value>1</value>
  1834. </item>
  1835. <item>
  1836. <label>이완법</label>
  1837. <value>2</value>
  1838. </item>
  1839. <item>
  1840. <label>맛사지</label>
  1841. <value>3</value>
  1842. </item>
  1843. <item>
  1844. <label>연상법</label>
  1845. <value>4</value>
  1846. </item>
  1847. <item>
  1848. <label>기타</label>
  1849. <value>5</value>
  1850. </item>
  1851. </choices>
  1852. <script type="javascript" ev:event="xforms-value-changed">
  1853. <![CDATA[
  1854. var partrtneduc = model.getValue("/root/main/wardrecinfo/etcinfo/etc/partrtneduc");
  1855. var kind = new Array();
  1856. var arr = new Array(10);
  1857. kind = partrtneduc.split(" ");
  1858. for(var i = 0; i < arr.length; i++) {
  1859. arr[i] = "";
  1860. }
  1861. for(var i = 0; i < kind.length; i++) {
  1862. switch(kind[i]) {
  1863. case '1':
  1864. arr[0] = kind[i];
  1865. break;
  1866. case '2':
  1867. arr[1] = kind[i];
  1868. break;
  1869. case '3':
  1870. arr[2] = kind[i];
  1871. break;
  1872. case '4':
  1873. arr[3] = kind[i];
  1874. break;
  1875. case '5':
  1876. arr[4] = kind[i];
  1877. break;
  1878. }
  1879. }
  1880. for(var i = 0; i < arr.length; i++) {
  1881. if(arr[4] == '5') {
  1882. ipt_partrtneducetc.disabled = false;
  1883. } else {
  1884. ipt_partrtneducetc.disabled = true;
  1885. model.resetInstanceNode("/root/main/wardrecinfo/etcinfo/etc/partrtneducetc");
  1886. ipt_partrtneducetc.refresh();
  1887. }
  1888. }
  1889. ]]>
  1890. </script>
  1891. </select>
  1892. <caption id="caption24" class="cell_1" style="left:400px; top:557px; width:80px; height:38px; ">산후조리계획</caption>
  1893. <line id="line37" class="line_3" style="x1:401px; y1:637px; x2:792px; y2:637px; "/>
  1894. <input id="ipt_partrtneducetc" ref="/root/main/wardrecinfo/etcinfo/etc/partrtneducetc" disabled="true" navindex="85" style="left:525px; top:616px; width:265px; height:19px; text-align:left; "/>
  1895. <select1 id="rdo_urineprotyn" ref="/root/main/wardrecinfo/inrelainfo/inrela/urineprotyn" navindex="75" appearance="full" cols="2" overflow="visible" style="left:499px; top:435px; width:66px; height:13px; border-style:none; ">
  1896. <choices>
  1897. <item>
  1898. <label>무</label>
  1899. <value>1</value>
  1900. </item>
  1901. <item>
  1902. <label>유</label>
  1903. <value>2</value>
  1904. </item>
  1905. </choices>
  1906. <script type="javascript" ev:event="xforms-value-changed">
  1907. <![CDATA[
  1908. if(model.getValue("/root/main/wardrecinfo/inrelainfo/inrela/urineprotyn") == "2") {
  1909. cmb_urineprotkind.disabled = false;
  1910. } else {
  1911. cmb_urineprotkind.disabled = true;
  1912. model.resetInstanceNode("/root/main/wardrecinfo/inrelainfo/inrela/urineprotkind");
  1913. cmb_urineprotkind.refresh();
  1914. }
  1915. ]]>
  1916. </script>
  1917. </select1>
  1918. <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" scroll="auto" caption="발생일자^분류^Allerge 내역 및 증상" colsep="^" colwidth="85, 70, 216" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:441px; width:390px; height:54px; ">
  1919. <col ref="genrdd" type="inputdate"/>
  1920. <col ref="flag" type="combo">
  1921. <choices>
  1922. <itemset nodeset="/root/init/mlist/M0090">
  1923. <label ref="cdnm"/>
  1924. <value ref="cdid"/>
  1925. </itemset>
  1926. </choices>
  1927. </col>
  1928. <col ref="allergespec" type="input"/>
  1929. <script type="javascript" ev:event="onclick">
  1930. <![CDATA[
  1931. if(grd_allghist.colType(grd_allghist.col) == "input") {
  1932. grd_allghist.editCell();
  1933. }
  1934. // 분류값이 항생제로 선택이 되면..
  1935. if (grd_allghist.col == 1) {
  1936. if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
  1937. model.makeNode("/root/main/allgtemp/antitype");
  1938. model.makeNode("/root/main/allgtemp/antidesc");
  1939. model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
  1940. model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
  1941. grp_anti.visible = true;
  1942. rdo_anti.visible = true;
  1943. txt_anti.visible = true;
  1944. btn_anti1.visible = true;
  1945. btn_anti2.visible = true;
  1946. } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
  1947. // 조영제로 선택이 되면
  1948. messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  1949. modal("SPMMD03300", 1,10, 10);
  1950. } else {
  1951. grp_anti.visible = false;
  1952. rdo_anti.visible = false;
  1953. txt_anti.visible = false;
  1954. btn_anti1.visible = false;
  1955. btn_anti2.visible = false;
  1956. }
  1957. }
  1958. ]]>
  1959. </script>
  1960. <script type="javascript" ev:event="onkeydown">
  1961. <![CDATA[
  1962. if(event.keyCode == 9) {
  1963. grd_allghist.editCell();
  1964. }
  1965. ]]>
  1966. </script>
  1967. <script type="javascript" ev:event="xforms-value-changed">
  1968. <![CDATA[
  1969. if (grd_allghist.col == 1) {
  1970. if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
  1971. model.makeNode("/root/main/allgtemp/antitype");
  1972. model.makeNode("/root/main/allgtemp/antidesc");
  1973. model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
  1974. model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
  1975. grp_anti.visible = true;
  1976. rdo_anti.visible = true;
  1977. txt_anti.visible = true;
  1978. btn_anti1.visible = true;
  1979. btn_anti2.visible = true;
  1980. } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
  1981. // 조영제로 선택이 되면
  1982. messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  1983. modal("SPMMD03300", 1,10, 10);
  1984. } else {
  1985. grp_anti.visible = false;
  1986. rdo_anti.visible = false;
  1987. txt_anti.visible = false;
  1988. btn_anti1.visible = false;
  1989. btn_anti2.visible = false;
  1990. }
  1991. }
  1992. ]]>
  1993. </script>
  1994. </datagrid>
  1995. <button id="btn_allghistdel" class="btn2_letter3" navindex="100" style="left:1134px; top:416px; width:53px; height:19px; ">
  1996. <caption>행삭제</caption>
  1997. <script type="javascript" ev:event="DOMActivate">
  1998. <![CDATA[
  1999. grd_allghist.deleteRow(grd_allghist.row);
  2000. ]]>
  2001. </script>
  2002. </button>
  2003. <line id="line27" class="line_1" style="x1:797px; y1:436px; x2:1187px; y2:436px; "/>
  2004. <line id="line28" class="line_1" style="x1:797px; y1:436px; x2:1187px; y2:436px; "/>
  2005. <button id="button41" class="icon_search" style="left:1057px; top:418px; width:16px; height:16px; ">
  2006. <caption/>
  2007. <script type="javascript" ev:event="DOMActivate">
  2008. <![CDATA[
  2009. open("SPMMD03300");
  2010. ]]>
  2011. </script>
  2012. </button>
  2013. <button id="btn_allghistadd" class="btn2_letter3" navindex="99" style="left:1078px; top:416px; width:53px; height:19px; ">
  2014. <caption>행추가</caption>
  2015. <script type="javascript" ev:event="DOMActivate">
  2016. <![CDATA[
  2017. grd_allghist.addRow();
  2018. ]]>
  2019. </script>
  2020. </button>
  2021. <caption id="cap_allghist" class="tit_2" style="left:802px; top:421px; width:69px; height:13px; ">Allergy</caption>
  2022. <input id="ipt_spcffact" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactdetl" disabled="true" navindex="86" visibility="hidden" style="left:1110px; top:531px; width:80px; height:19px; text-align:left; ">
  2023. <script type="javascript" ev:event="onmouseover">
  2024. <![CDATA[
  2025. ipt_spcffact.hint = ipt_spcffact.value;
  2026. ]]>
  2027. </script>
  2028. </input>
  2029. <line id="line42" class="line_1" style="x1:400px; y1:207px; x2:790px; y2:207px; "/>
  2030. <caption id="caption26" class="tit_2" style="left:405px; top:192px; width:82px; height:13px; ">배우자정보</caption>
  2031. <caption id="caption27" class="cell_1" style="left:400px; top:212px; width:80px; height:23px; ">배우자정보</caption>
  2032. <line id="line45" class="line_3" style="x1:400px; y1:234px; x2:791px; y2:234px; "/>
  2033. <caption id="caption28" style="left:482px; top:213px; width:307px; height:20px; ">
  2034. <![CDATA[마우스를 가져가면 배우자정보 확인을 할수 있습니다.]]>
  2035. <script type="javascript" ev:event="onmouseover">
  2036. <![CDATA[
  2037. grp_ptnerinfo.visible = true;
  2038. // model.setFocus("ipt_ptnernm"); // 20100311주석_kja - 포커스 자동 셋팅시 배우자이름에 홍길동->홍길동동으로 글자변경되는 현상발행하여 주석처리하였음.
  2039. model.setFocus("caption26"); // 20100311추가_kja
  2040. ]]>
  2041. </script>
  2042. <script type="javascript" ev:event="onmouseout">
  2043. <![CDATA[
  2044. grp_ptnerinfo.visible = false;
  2045. model.setFocus("caption26"); // 20100311추가_kja
  2046. ]]>
  2047. </script>
  2048. </caption>
  2049. <line id="line51" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
  2050. <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:55px; width:112px; height:19px; "/>
  2051. <input id="ipt_marystatnm" ref="/root/main/wardrecinfo/marystatnm" disabled="true" navindex="8" style="left:150px; top:79px; width:50px; height:19px; "/>
  2052. <select1 id="cmb_relign" ref="/root/main/wardrecinfo/religncd" class="combo_default" navindex="5" appearance="minimal" style="left:68px; top:55px; width:78px; height:19px; ">
  2053. <choices>
  2054. <itemset nodeset="/root/init/mlist/M0070">
  2055. <label ref="cdnm"/>
  2056. <value ref="cdid"/>
  2057. </itemset>
  2058. </choices>
  2059. <script type="javascript" ev:event="xforms-value-changed">
  2060. <![CDATA[
  2061. var religncd = model.getValue("/root/main/wardrecinfo/religncd");
  2062. if(religncd == "01") { //천주교일 경우 세례명 입력
  2063. cap_baptnm.visible = true;
  2064. ipt_baptnm.visible = true;
  2065. ipt_baptnm.disabled = false;
  2066. ipt_relignnm.visible = false;
  2067. } else {
  2068. cap_baptnm.visible = false;
  2069. ipt_baptnm.visible = false;
  2070. ipt_relignnm.visible = true;
  2071. model.resetInstanceNode("/root/main/wardrecinfo/baptnm");
  2072. if(religncd == "09") { //기타
  2073. ipt_relignnm.disabled = false;
  2074. } else {
  2075. ipt_relignnm.disabled = true;
  2076. }
  2077. }
  2078. ]]>
  2079. </script>
  2080. </select1>
  2081. <select1 id="cmb_job" ref="/root/main/wardrecinfo/jobcd" class="combo_default" navindex="1" appearance="minimal" style="left:68px; top:31px; width:78px; height:19px; ">
  2082. <choices>
  2083. <itemset nodeset="/root/init/mlist/M0068">
  2084. <label ref="cdnm"/>
  2085. <value ref="cdid"/>
  2086. </itemset>
  2087. </choices>
  2088. <script type="javascript" ev:event="xforms-value-changed">
  2089. <![CDATA[
  2090. var job = model.getValue("/root/main/wardrecinfo/jobcd");
  2091. if(job == "10") { //기타
  2092. ipt_job.disabled = false;
  2093. } else {
  2094. model.resetInstanceNode("/root/main/wardrecinfo/jobnm");
  2095. ipt_job.disabled = true;
  2096. ipt_job.refresh();
  2097. }
  2098. ]]>
  2099. </script>
  2100. </select1>
  2101. <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:31px; width:50px; height:19px; "/>
  2102. <select1 id="cmb_relignreq" ref="/root/main/wardrecinfo/relignreq" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:327px; top:55px; width:69px; height:19px; ">
  2103. <choices>
  2104. <itemset nodeset="/root/init/mlist/M0411">
  2105. <label ref="cdnm"/>
  2106. <value ref="cdid"/>
  2107. </itemset>
  2108. </choices>
  2109. </select1>
  2110. <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:55px; width:60px; height:19px; "/>
  2111. <select1 id="cmb_marystat" ref="/root/main/wardrecinfo/marystatcd" class="combo_default" navindex="7" appearance="minimal" style="left:68px; top:79px; width:78px; height:19px; ">
  2112. <choices>
  2113. <itemset nodeset="/root/init/mlist/M0151">
  2114. <label ref="cdnm"/>
  2115. <value ref="cdid"/>
  2116. </itemset>
  2117. </choices>
  2118. <script type="javascript" ev:event="xforms-value-changed">
  2119. <![CDATA[
  2120. var marystatcd = model.getValue("/root/main/wardrecinfo/marystatcd");
  2121. if(marystatcd == "09") {
  2122. ipt_marystatnm.disabled = false;
  2123. } else {
  2124. ipt_marystatnm.disabled = true;
  2125. model.resetInstanceNode("/root/main/wardrecinfo/marystatnm");
  2126. ipt_marystatnm.refresh();
  2127. }
  2128. ]]>
  2129. </script>
  2130. </select1>
  2131. <caption id="cap_marystat" class="cell_1" style="left:5px; top:78px; width:60px; height:23px; ">결혼상태</caption>
  2132. <caption id="caption37" class="cell_1" visibility="hidden" style="left:265px; top:54px; width:60px; height:23px; ">영적요구</caption>
  2133. <caption id="caption38" class="cell_1" style="left:5px; top:126px; width:95px; height:23px; ">기타 전화번호</caption>
  2134. <line id="line3" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
  2135. <line id="line4" class="line_2" style="x1:5px; y1:76px; x2:265px; y2:76px; "/>
  2136. <caption id="caption17" class="cell_1" style="left:5px; top:102px; width:95px; height:23px; ">연락처/휴대폰</caption>
  2137. <caption id="cap_job" class="cell_1" style="left:5px; top:30px; width:60px; height:23px; ">직업</caption>
  2138. <line id="line5" class="line_2" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
  2139. <select1 id="cmb_educgrde" ref="/root/main/wardrecinfo/educgrdecd" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:266px; top:31px; width:77px; height:19px; ">
  2140. <choices>
  2141. <itemset nodeset="/root/init/mlist/M0069">
  2142. <label ref="cdnm"/>
  2143. <value ref="cdid"/>
  2144. </itemset>
  2145. </choices>
  2146. <script type="javascript" ev:event="xforms-value-changed">
  2147. <![CDATA[
  2148. var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
  2149. if(educgrde == "15") { //기타
  2150. ipt_educgrde.disabled = false;
  2151. } else {
  2152. model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
  2153. ipt_educgrde.disabled = true;
  2154. ipt_educgrde.refresh();
  2155. }
  2156. ]]>
  2157. </script>
  2158. </select1>
  2159. <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" visibility="hidden" style="left:346px; top:31px; width:50px; height:19px; "/>
  2160. <caption id="cap_educgrde" class="cell_1" visibility="hidden" style="left:203px; top:30px; width:60px; height:23px; ">교육정도</caption>
  2161. <line id="line2" class="line_3" style="x1:5px; y1:148px; x2:396px; y2:148px; "/>
  2162. <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:1078px; top:5px; width:53px; height:19px; ">
  2163. <caption>행추가</caption>
  2164. <script type="javascript" ev:event="DOMActivate">
  2165. <![CDATA[
  2166. grd_pasthist.addRow();
  2167. ]]>
  2168. </script>
  2169. </button>
  2170. <caption id="cap_rectmedistat" class="tit_2" style="left:804px; top:318px; width:104px; height:13px; ">최근투약상태</caption>
  2171. <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:1137px; top:313px; width:53px; height:19px; ">
  2172. <caption>행삭제</caption>
  2173. <script type="javascript" ev:event="DOMActivate">
  2174. <![CDATA[
  2175. grd_rectmedistat.deleteRow(grd_rectmedistat.row);
  2176. ]]>
  2177. </script>
  2178. </button>
  2179. <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; ">
  2180. <choices>
  2181. <item>
  2182. <label>해당없음</label>
  2183. <value>1</value>
  2184. </item>
  2185. </choices>
  2186. <script type="javascript" ev:event="xforms-value-changed">
  2187. <![CDATA[
  2188. //과거병력 해당없음이 체크가 되어있느냐 없느냐 .
  2189. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  2190. var isEmptyYN = "Y";
  2191. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  2192. var rtn = fSetStatus();
  2193. if(rtn == "6") {
  2194. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  2195. grd_pasthist.rebuild();
  2196. btn_pasthistadd.disabled = true;
  2197. btn_pasthistdel.disabled = true;
  2198. } else if(rtn == "7") {
  2199. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  2200. chk_pasthistyn.refresh();
  2201. }
  2202. } else {
  2203. btn_pasthistadd.disabled = false;
  2204. btn_pasthistdel.disabled = false;
  2205. grd_pasthist.addRow();
  2206. }
  2207. ]]>
  2208. </script>
  2209. <script type="javascript" ev:event="xforms-select">
  2210. <![CDATA[
  2211. status = "click";
  2212. ]]>
  2213. </script>
  2214. </select>
  2215. <caption id="cap_pasthist" class="tit_2" style="left:802px; top:10px; width:104px; height:13px; ">과거병력</caption>
  2216. <line id="line22" class="line_1" style="x1:796px; y1:100px; x2:1186px; y2:100px; "/>
  2217. <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; ">
  2218. <choices>
  2219. <item>
  2220. <label>해당없음</label>
  2221. <value>1</value>
  2222. </item>
  2223. </choices>
  2224. <script type="javascript" ev:event="xforms-value-changed">
  2225. <![CDATA[
  2226. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
  2227. var isEmptyYN = "Y";
  2228. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  2229. var rtn = fSetStatus();
  2230. if(rtn == "6") {
  2231. model.removeNodeset("/root/main/histinfo/famyhistinfo/famyhist/famyhist");
  2232. grd_famyhist.rebuild();
  2233. btn_famyhistadd.disabled = true;
  2234. btn_famyhistdel.disabled = true;
  2235. } else if(rtn == "7") {
  2236. model.setValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn", "");
  2237. chk_famyhistyn.refresh();
  2238. }
  2239. } else {
  2240. btn_famyhistadd.disabled = false;
  2241. btn_famyhistdel.disabled = false;
  2242. grd_famyhist.addRow();
  2243. }
  2244. ]]>
  2245. </script>
  2246. <script type="javascript" ev:event="xforms-select">
  2247. <![CDATA[
  2248. status = "click";
  2249. ]]>
  2250. </script>
  2251. </select>
  2252. <caption id="cap_famyhist" class="tit_2" style="left:800px; top:85px; width:74px; height:13px; ">가족병력</caption>
  2253. <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:1077px; top:80px; width:53px; height:19px; ">
  2254. <caption>행추가</caption>
  2255. <script type="javascript" ev:event="DOMActivate">
  2256. <![CDATA[
  2257. grd_famyhist.addRow();
  2258. ]]>
  2259. </script>
  2260. </button>
  2261. <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; ">
  2262. <col ref="genrdd" type="inputdate"/>
  2263. <col class="gridcombo" ref="histspec" type="combo">
  2264. <choices>
  2265. <itemset nodeset="/root/init/mlist/M0532">
  2266. <label ref="cdnm"/>
  2267. <value ref="cdid"/>
  2268. </itemset>
  2269. </choices>
  2270. </col>
  2271. <col ref="remfact" type="input"/>
  2272. <script type="javascript" ev:event="onclick">
  2273. <![CDATA[
  2274. if(grd_pasthist.colType(grd_pasthist.col) == "input") {
  2275. grd_pasthist.editCell();
  2276. }
  2277. ]]>
  2278. </script>
  2279. <script type="javascript" ev:event="onkeydown">
  2280. <![CDATA[
  2281. if(event.keyCode == 9) {
  2282. grd_pasthist.editCell();
  2283. }
  2284. ]]>
  2285. </script>
  2286. </datagrid>
  2287. <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:50px; ">
  2288. <col class="gridcombo" ref="famyrel" type="combo">
  2289. <choices>
  2290. <itemset nodeset="/root/init/mlist/M0072">
  2291. <label ref="cdnm"/>
  2292. <value ref="cdid"/>
  2293. </itemset>
  2294. </choices>
  2295. </col>
  2296. <col class="gridcombo" ref="existyn" type="combo">
  2297. <choices>
  2298. <itemset nodeset="/root/init/mlist/M0088">
  2299. <label ref="cdnm"/>
  2300. <value ref="cdid"/>
  2301. </itemset>
  2302. </choices>
  2303. </col>
  2304. <col class="gridcombo" ref="histspec" type="combo">
  2305. <choices>
  2306. <itemset nodeset="/root/init/mlist/M0368">
  2307. <label ref="cdnm"/>
  2308. <value ref="cdid"/>
  2309. </itemset>
  2310. </choices>
  2311. </col>
  2312. <col ref="remfact" type="input"/>
  2313. <script type="javascript" ev:event="onclick">
  2314. <![CDATA[
  2315. grd_famyhist.editCell();
  2316. ]]>
  2317. </script>
  2318. <script type="javascript" ev:event="onkeydown">
  2319. <![CDATA[
  2320. if(event.keyCode == 9) {
  2321. grd_famyhist.editCell();
  2322. }
  2323. ]]>
  2324. </script>
  2325. </datagrid>
  2326. <line id="line26" class="line_1" style="x1:800px; y1:333px; x2:1190px; y2:333px; "/>
  2327. <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:1081px; top:313px; width:53px; height:19px; ">
  2328. <caption>행추가</caption>
  2329. <script type="javascript" ev:event="DOMActivate">
  2330. <![CDATA[
  2331. grd_rectmedistat.addRow();
  2332. ]]>
  2333. </script>
  2334. </button>
  2335. <button id="btn_pasthistdel" class="btn2_letter3" navindex="58" style="left:1134px; top:5px; width:53px; height:19px; ">
  2336. <caption>행삭제</caption>
  2337. <script type="javascript" ev:event="DOMActivate">
  2338. <![CDATA[
  2339. grd_pasthist.deleteRow(grd_pasthist.row);
  2340. ]]>
  2341. </script>
  2342. </button>
  2343. <line id="line57" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
  2344. <datagrid id="grd_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:800px; top:362px; width:390px; height:53px; ">
  2345. <col ref="drugnm" type="input"/>
  2346. <col ref="direc" type="input"/>
  2347. <col ref="orddept" type="input"/>
  2348. <script type="javascript" ev:event="onclick">
  2349. <![CDATA[
  2350. grd_rectmedistat.editCell();
  2351. ]]>
  2352. </script>
  2353. <script type="javascript" ev:event="onkeydown">
  2354. <![CDATA[
  2355. if(event.keyCode == 9) {
  2356. grd_rectmedistat.editCell();
  2357. }
  2358. ]]>
  2359. </script>
  2360. </datagrid>
  2361. <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:1133px; top:80px; width:53px; height:19px; ">
  2362. <caption>행삭제</caption>
  2363. <script type="javascript" ev:event="DOMActivate">
  2364. <![CDATA[
  2365. grd_famyhist.deleteRow(grd_famyhist.row);
  2366. ]]>
  2367. </script>
  2368. </button>
  2369. <select id="chk_rectmedistatinclyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:905px; top:315px; width:70px; height:15px; border-style:none; ">
  2370. <choices>
  2371. <item>
  2372. <label>해당없음</label>
  2373. <value>1</value>
  2374. </item>
  2375. </choices>
  2376. <script type="javascript" ev:event="xforms-value-changed">
  2377. <![CDATA[
  2378. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
  2379. var isEmptyYN = "Y";
  2380. isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
  2381. var rtn = fSetStatus();
  2382. if(rtn == "6") {
  2383. model.removeNodeset("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat");
  2384. grd_rectmedistat.rebuild();
  2385. btn_rectmedistatadd.disabled = true;
  2386. btn_rectmedistatdel.disabled = true;
  2387. } else if(rtn == "7") {
  2388. model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
  2389. chk_rectmedistatinclyn.refresh();
  2390. }
  2391. } else {
  2392. btn_rectmedistatadd.disabled = false;
  2393. btn_rectmedistatdel.disabled = false;
  2394. grd_rectmedistat.addRow();
  2395. }
  2396. ]]>
  2397. </script>
  2398. <script type="javascript" ev:event="xforms-select">
  2399. <![CDATA[
  2400. status = "click";
  2401. ]]>
  2402. </script>
  2403. </select>
  2404. <caption id="caption18" style="left:878px; top:180px; width:307px; height:20px; ">
  2405. <![CDATA[마우스를 가져가면 흡연정보 확인을 할수 있습니다.]]>
  2406. <script type="javascript" ev:event="onmouseover">
  2407. <![CDATA[
  2408. grp_smokinfo.visible = true;
  2409. model.setFocus("rdo_smokinfo");
  2410. ]]>
  2411. </script>
  2412. <script type="javascript" ev:event="onmouseout">
  2413. <![CDATA[
  2414. grp_smokinfo.visible = false;
  2415. ]]>
  2416. </script>
  2417. </caption>
  2418. <group id="grp_smokinfo" visibility="hidden" style="left:795px; top:180px; width:390px; height:89px; ">
  2419. <script type="javascript" ev:event="onmouseout">
  2420. <![CDATA[
  2421. grp_smokinfo.visible = false;
  2422. ]]>
  2423. </script>
  2424. <script type="javascript" ev:event="onmouseover">
  2425. <![CDATA[
  2426. grp_smokinfo.visible = true;
  2427. ]]>
  2428. </script>
  2429. <line id="line59" class="line_2" style="x1:0px; y1:38px; x2:389px; y2:38px; "/>
  2430. <select1 id="cmb_nosmokcnst" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:172px; top:42px; width:217px; height:19px; ">
  2431. <choices>
  2432. <item>
  2433. <label/>
  2434. <value>00</value>
  2435. </item>
  2436. <item>
  2437. <label>환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</label>
  2438. <value>01</value>
  2439. </item>
  2440. <item>
  2441. <label>환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</label>
  2442. <value>02</value>
  2443. </item>
  2444. <item>
  2445. <label>기타</label>
  2446. <value>03</value>
  2447. </item>
  2448. </choices>
  2449. <script type="javascript" ev:event="xforms-value-changed">
  2450. <![CDATA[
  2451. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst") == "03") {
  2452. ipt_nosmokcnstnm.disabled = false;
  2453. } else {
  2454. ipt_nosmokcnstnm.disabled = true;
  2455. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  2456. ipt_nosmokcnstnm.refresh();
  2457. }
  2458. ]]>
  2459. </script>
  2460. </select1>
  2461. <line id="line63" class="line_2" style="x1:0px; y1:64px; x2:390px; y2:64px; "/>
  2462. <caption id="caption54" class="cell_1" style="left:0px; top:0px; width:90px; height:38px; text-align:left; ">흡연정보</caption>
  2463. <caption id="caption55" class="cell_1" style="left:0px; top:40px; width:90px; height:49px; ">금연상담여부</caption>
  2464. <line id="line64" class="line_2" style="x1:0px; y1:88px; x2:389px; y2:88px; "/>
  2465. <select1 id="rdo_nosmokcnstyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn" navindex="34" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:94px; top:43px; width:75px; height:13px; border-style:none; ">
  2466. <choices>
  2467. <item>
  2468. <label>무</label>
  2469. <value>1</value>
  2470. </item>
  2471. <item>
  2472. <label>유</label>
  2473. <value>2</value>
  2474. </item>
  2475. </choices>
  2476. <script type="javascript" ev:event="xforms-value-changed">
  2477. <![CDATA[
  2478. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn") == "1") {
  2479. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4"
  2480. || model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  2481. cmb_nosmokcnst.disabled = false;
  2482. ipt_nosmokcnstnm.disabled = false;
  2483. }else{
  2484. cmb_nosmokcnst.disabled = true;
  2485. ipt_nosmokcnstnm.disabled = true;
  2486. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
  2487. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  2488. }
  2489. } else {
  2490. cmb_nosmokcnst.disabled = true;
  2491. ipt_nosmokcnstnm.disabled = true;
  2492. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
  2493. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
  2494. }
  2495. cmb_nosmokcnst.refresh();
  2496. ipt_nosmokcnstnm.refresh();
  2497. ]]>
  2498. </script>
  2499. </select1>
  2500. <input id="ipt_nosmokcnstnm" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm" disabled="true" navindex="36" style="left:93px; top:67px; width:297px; height:19px; "/>
  2501. <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="9" cols="2" rows="2" vcellspacing="2" overflow="visible" style="left:94px; top:0px; width:145px; height:38px; border-style:none; ">
  2502. <choices>
  2503. <item>
  2504. <label>현재흡연</label>
  2505. <value>4</value>
  2506. </item>
  2507. <item>
  2508. <label>과거흡연</label>
  2509. <value>2</value>
  2510. </item>
  2511. <item>
  2512. <label>비흡연</label>
  2513. <value>1</value>
  2514. </item>
  2515. <item>
  2516. <label>확인불능</label>
  2517. <value>3</value>
  2518. </item>
  2519. </choices>
  2520. <script type="javascript" ev:event="xforms-value-changed">
  2521. <![CDATA[
  2522. /*
  2523. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  2524. ipt_smokinfocnt.disabled = false;
  2525. ipt_smokinfocnt.refresh();
  2526. } else {
  2527. ipt_smokinfocnt.disabled = true;
  2528. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
  2529. ipt_smokinfocnt.refresh();
  2530. }
  2531. */
  2532. //입원전1개월이내흡연 체크
  2533. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  2534. rdo_bfsmokinfo.disabled = false;
  2535. } else {
  2536. rdo_bfsmokinfo.disabled = true;
  2537. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn");
  2538. }
  2539. rdo_bfsmokinfo.refresh();
  2540. /*
  2541. //금연상담여부컨트롤
  2542. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4") {
  2543. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  2544. }else if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  2545. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
  2546. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
  2547. } else{
  2548. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  2549. }
  2550. }else{
  2551. model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
  2552. }
  2553. */
  2554. rdo_nosmokcnstyn.dispatch("xforms-value-changed");
  2555. rdo_nosmokcnstyn.refresh();
  2556. ]]>
  2557. </script>
  2558. </select1>
  2559. <input id="input5" ref="/root/main/allgtemp/smoktemp" editable="false" style="left:240px; top:0px; width:145px; height:19px; color:#000000; border-style:none; "/>
  2560. <input id="input7" ref="/root/main/allgtemp/smoktemp2" editable="false" style="left:245px; top:20px; width:65px; height:19px; color:#000000; border-style:none; "/>
  2561. <caption id="caption56" style="left:375px; top:20px; width:10px; height:20px; ">)</caption>
  2562. <select1 id="rdo_bfsmokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:310px; top:20px; width:65px; height:20px; border-style:none; ">
  2563. <choices>
  2564. <item>
  2565. <label>무</label>
  2566. <value>N</value>
  2567. </item>
  2568. <item>
  2569. <label>유</label>
  2570. <value>Y</value>
  2571. </item>
  2572. </choices>
  2573. <script type="javascript" ev:event="xforms-value-changed">
  2574. <![CDATA[
  2575. rdo_smokinfo.dispatch("xforms-value-changed");
  2576. ]]>
  2577. </script>
  2578. </select1>
  2579. </group>
  2580. <line id="line19" class="line_2" style="x1:800px; y1:360px; x2:1191px; y2:360px; "/>
  2581. <caption id="caption20" class="cell_1" style="left:800px; top:338px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
  2582. <select1 id="cmb_antibiodrugyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/antibiodrugyn" class="combo_default" navindex="16" appearance="minimal" style="left:1018px; top:339px; width:170px; height:19px; text-align:center; ">
  2583. <choices>
  2584. <item>
  2585. <label>Y</label>
  2586. <value>Y</value>
  2587. </item>
  2588. <item>
  2589. <label>N</label>
  2590. <value>N</value>
  2591. </item>
  2592. <item>
  2593. <label>확인불가</label>
  2594. <value>U</value>
  2595. </item>
  2596. </choices>
  2597. </select1>
  2598. <button id="bnt_testroom" class="btn2_letter6" visibility="hidden" style="left:120px; top:401px; width:86px; height:19px; ">
  2599. <caption>입원전검사실</caption>
  2600. <script type="javascript" ev:event="DOMActivate">
  2601. <![CDATA[
  2602. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  2603. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  2604. setParameter("recflag", "03");
  2605. modal("SPMNW12900", 1,10, 10);
  2606. ]]>
  2607. </script>
  2608. </button>
  2609. <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:870px; top:420px; width:140px; height:13px; border-style:none; ">
  2610. <choices>
  2611. <item>
  2612. <label>무</label>
  2613. <value>1</value>
  2614. </item>
  2615. <item>
  2616. <label>유</label>
  2617. <value>2</value>
  2618. </item>
  2619. <item>
  2620. <label>잘모름</label>
  2621. <value>3</value>
  2622. </item>
  2623. </choices>
  2624. <script type="javascript" ev:event="xforms-value-changed">
  2625. <![CDATA[
  2626. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
  2627. var isEmptyYN = "Y";
  2628. isEmptyYN = isCheckGridDataYN(grd_allghist);
  2629. var rtn = fSetStatus();
  2630. if(rtn == "6") {
  2631. model.removeNodeset("/root/main/histinfo/allghistinfo/allghist/allghist");
  2632. grd_allghist.rebuild();
  2633. btn_allghistadd.disabled = true;
  2634. btn_allghistdel.disabled = true;
  2635. } else if(rtn == "7") {
  2636. model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
  2637. rdo_allgyn.refresh();
  2638. }
  2639. } else {
  2640. btn_allghistadd.disabled = false;
  2641. btn_allghistdel.disabled = false;
  2642. if(grd_allghist.rows == 1) {
  2643. grd_allghist.addRow();
  2644. }
  2645. }
  2646. ]]>
  2647. </script>
  2648. <script type="javascript" ev:event="xforms-select">
  2649. <![CDATA[
  2650. status = "click";
  2651. ]]>
  2652. </script>
  2653. </select1>
  2654. <caption id="caption2" visibility="hidden" style="left:127px; top:455px; width:11px; height:14px; text-align:center; ">/</caption>
  2655. <caption id="caption50" class="output_fix" style="left:357px; top:452px; width:38px; height:19px; text-align:center; ">%</caption>
  2656. <select id="chk_bpinspyn" ref="/root/main/wardrecinfo/bpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:9px; top:430px; width:15px; height:15px; border-style:none; ">
  2657. <choices>
  2658. <item>
  2659. <label/>
  2660. <value>Y</value>
  2661. </item>
  2662. </choices>
  2663. <script type="javascript" ev:event="xforms-value-changed">
  2664. <![CDATA[
  2665. if(model.getValue("/root/main/wardrecinfo/bpinspyn") == "Y"){
  2666. ipt_highbp.disabled = true;
  2667. ipt_lowbp.disabled = true;
  2668. model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  2669. model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  2670. }else{
  2671. ipt_highbp.disabled = false;
  2672. ipt_lowbp.disabled = false;
  2673. }
  2674. ipt_highbp.refresh();
  2675. ipt_lowbp.refresh();
  2676. ]]>
  2677. </script>
  2678. </select>
  2679. <select id="chk_pulseinspyn" ref="/root/main/wardrecinfo/pulseinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:9px; top:454px; width:15px; height:15px; border-style:none; ">
  2680. <choices>
  2681. <item>
  2682. <label/>
  2683. <value>Y</value>
  2684. </item>
  2685. </choices>
  2686. <script type="javascript" ev:event="xforms-value-changed">
  2687. <![CDATA[
  2688. if(model.getValue("/root/main/wardrecinfo/pulseinspyn") == "Y"){
  2689. ipt_pulse.disabled = true;
  2690. ipt_breth.disabled = true;
  2691. model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  2692. model.resetInstanceNode("/root/main/wardrecinfo/breth");
  2693. }else{
  2694. ipt_pulse.disabled = false;
  2695. ipt_breth.disabled = false;
  2696. }
  2697. ipt_pulse.refresh();
  2698. ipt_breth.refresh();
  2699. ]]>
  2700. </script>
  2701. </select>
  2702. <select id="chk_bdtpinspyn" ref="/root/main/wardrecinfo/bdtpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:9px; top:478px; width:15px; height:15px; border-style:none; ">
  2703. <choices>
  2704. <item>
  2705. <label/>
  2706. <value>Y</value>
  2707. </item>
  2708. </choices>
  2709. <script type="javascript" ev:event="xforms-value-changed">
  2710. <![CDATA[
  2711. if(model.getValue("/root/main/wardrecinfo/bdtpinspyn") == "Y"){
  2712. ipt_bdtp.disabled = true;
  2713. cmb_bdtp.disabled = true;
  2714. model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  2715. model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  2716. }else{
  2717. ipt_bdtp.disabled = false;
  2718. cmb_bdtp.disabled = false;
  2719. }
  2720. ipt_bdtp.refresh();
  2721. cmb_bdtp.refresh();
  2722. ]]>
  2723. </script>
  2724. </select>
  2725. <caption id="cap_insp" style="left:322px; top:402px; width:73px; height:19px; text-align:center; ">측정불가 V</caption>
  2726. <button id="btn_SPMMO14900" class="btn5_letter4" navindex="69" visibility="hidden" style="left:1014px; top:313px; width:64px; height:19px; ">
  2727. <caption>처방조회</caption>
  2728. <script type="javascript" ev:event="DOMActivate">
  2729. <![CDATA[
  2730. open("SPMMO14900");
  2731. ]]>
  2732. </script>
  2733. </button>
  2734. <line id="line8" class="line_3" visibility="hidden" style="x1:5px; y1:652px; x2:396px; y2:652px; "/>
  2735. <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:5px; top:630px; width:100px; height:23px; ">존재유무</caption>
  2736. <button id="button40" class="btn2_letter4" navindex="12" visibility="hidden" style="left:211px; top:631px; width:64px; height:19px; ">
  2737. <caption>끌어오기</caption>
  2738. <script type="javascript" ev:event="DOMActivate">
  2739. <![CDATA[
  2740. setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  2741. modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  2742. if(model.getValue("/root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  2743. model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  2744. opt_existyn.refresh();
  2745. } else {
  2746. model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  2747. opt_existyn.refresh();
  2748. }
  2749. ]]>
  2750. </script>
  2751. </button>
  2752. <caption id="caption8" class="tit_2" visibility="hidden" style="left:10px; top:625px; width:104px; height:13px; ">가계도</caption>
  2753. <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="11" visibility="hidden" style="left:108px; top:631px; width:100px; height:19px; "/>
  2754. <line id="line7" class="line_1" visibility="hidden" style="x1:5px; y1:640px; x2:396px; y2:640px; "/>
  2755. <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:54px; width:50px; height:23px; ">세례명</caption>
  2756. <caption id="cap_relign" class="cell_1" style="left:5px; top:54px; width:60px; height:23px; ">종교</caption>
  2757. <line id="line65" class="line_1" style="x1:5px; y1:530px; x2:396px; y2:530px; "/>
  2758. <select1 id="rdo_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive1" navindex="20" visibility="hidden" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:170px; top:564px; width:131px; height:13px; border-style:none; ">
  2759. <choices>
  2760. <item>
  2761. <label>자의</label>
  2762. <value>Y</value>
  2763. </item>
  2764. <item>
  2765. <label>타의</label>
  2766. <value>N</value>
  2767. </item>
  2768. </choices>
  2769. </select1>
  2770. <line id="line66" class="line_2" style="x1:5px; y1:557px; x2:396px; y2:557px; "/>
  2771. <line id="line67" class="line_2" visibility="hidden" style="x1:87px; y1:583px; x2:397px; y2:583px; "/>
  2772. <caption id="caption64" class="cell_1" style="left:211px; top:535px; width:82px; height:22px; ">발병시간</caption>
  2773. <textarea id="tar_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive2" navindex="21" scroll="autovscroll" style="left:88px; top:560px; width:308px; height:80px; "/>
  2774. <caption id="caption68" class="cell_1" style="left:5px; top:559px; width:80px; height:83px; vertical-align:middle; ">입원동기</caption>
  2775. <caption id="caption69" class="tit_2" style="left:10px; top:515px; width:175px; height:13px; ">입원동기와 병에 대한 인식</caption>
  2776. <input id="ipt_attackdt" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdt" class="input_default" navindex="19" maxlength="100" format="hh:nn" style="left:295px; top:536px; width:100px; height:19px; "/>
  2777. <input id="ipt_attackdd" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdd" class="input_default" navindex="18" autonext="true" inputtype="date" style="left:88px; top:536px; width:119px; height:19px; "/>
  2778. <caption id="cap_attackdd" class="cell_1" style="left:5px; top:535px; width:80px; height:23px; vertical-align:middle; ">발병일자</caption>
  2779. <line id="line61" class="line_3" style="x1:5px; y1:666px; x2:396px; y2:666px; "/>
  2780. <select1 id="rdo_etctelflag" ref="/root/main/wardrecinfo/etctelflag" appearance="full" cols="2" overflow="visible" style="left:103px; top:129px; width:100px; height:13px; border-style:none; ">
  2781. <choices>
  2782. <item>
  2783. <label>본인</label>
  2784. <value>1</value>
  2785. </item>
  2786. <item>
  2787. <label>보호자</label>
  2788. <value>2</value>
  2789. </item>
  2790. </choices>
  2791. </select1>
  2792. <select1 id="rdo_telflag" ref="/root/main/wardrecinfo/telflag" appearance="full" cols="2" overflow="visible" style="left:103px; top:105px; width:100px; height:13px; border-style:none; ">
  2793. <choices>
  2794. <item>
  2795. <label>본인</label>
  2796. <value>1</value>
  2797. </item>
  2798. <item>
  2799. <label>보호자</label>
  2800. <value>2</value>
  2801. </item>
  2802. </choices>
  2803. </select1>
  2804. <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:206px; top:103px; width:94px; height:19px; "/>
  2805. <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:302px; top:103px; width:94px; height:19px; "/>
  2806. <input id="input3" ref="/root/main/wardrecinfo/etcphone1" style="left:206px; top:127px; width:94px; height:19px; "/>
  2807. <input id="input4" ref="/root/main/wardrecinfo/etcphone2" style="left:302px; top:127px; width:94px; height:19px; "/>
  2808. <select1 id="rdo_babyphotoyn" ref="/root/main/wardrecinfo/babyphotoyn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:883px; top:532px; width:82px; height:20px; border-style:none; ">
  2809. <choices>
  2810. <item>
  2811. <label>유</label>
  2812. <value>Y</value>
  2813. </item>
  2814. <item>
  2815. <label>무</label>
  2816. <value>N</value>
  2817. </item>
  2818. </choices>
  2819. </select1>
  2820. <caption id="caption78" class="cell_1" style="left:800px; top:530px; width:80px; height:21px; ">사진게재여부</caption>
  2821. <select id="chk_ptneinclyn" ref="/root/main/wardrecinfo/ptneinclyn" overflow="visible" appearance="full" style="left:745px; top:190px; width:45px; height:15px; border-style:none; ">
  2822. <choices>
  2823. <item>
  2824. <label>모름</label>
  2825. <value>1</value>
  2826. </item>
  2827. </choices>
  2828. <script type="javascript" ev:event="xforms-value-changed">
  2829. <![CDATA[
  2830. if(model.getValue("/root/main/wardrecinfo/ptneinclyn") == "1") {
  2831. ipt_ptnernm.disabled = true;
  2832. ipt_ptnerbrthdd.disabled = true;
  2833. ipt_ptnerphone.disabled = true;
  2834. ipt_ptnerage.disabled = true;
  2835. cmb_ptnerjobcd.disabled = true;
  2836. cmb_ptnerbtype.disabled = true;
  2837. rdo_ptnerinfcinfoyn.disabled = true;
  2838. chk_ptnerinfcinfo.disabled = true;
  2839. ipt_ptnerinfcnm.disabled = true;
  2840. model.setValue("/root/main/wardrecinfo/ptnernm", "");
  2841. model.setValue("/root/main/wardrecinfo/ptnerbrthdd", "");
  2842. model.setValue("/root/main/wardrecinfo/ptnertel", "");
  2843. model.setValue("/root/main/wardrecinfo/ptnerage", "");
  2844. model.setValue("/root/main/wardrecinfo/ptnerjobcd", "");
  2845. model.setValue("/root/main/wardrecinfo/ptnerbtype", "");
  2846. model.setValue("/root/main/wardrecinfo/ptnerinfcinfoyn", "");
  2847. model.setValue("/root/main/wardrecinfo/ptnerinfcinfo", "");
  2848. model.setValue("/root/main/wardrecinfo/ptnerinfcinfonm", "");
  2849. } else {
  2850. ipt_ptnernm.disabled = false;
  2851. ipt_ptnerbrthdd.disabled = false;
  2852. ipt_ptnerphone.disabled = false;
  2853. ipt_ptnerage.disabled = false;
  2854. cmb_ptnerjobcd.disabled = false;
  2855. cmb_ptnerbtype.disabled = false;
  2856. rdo_ptnerinfcinfoyn.disabled = false;
  2857. chk_ptnerinfcinfo.disabled = true;
  2858. ipt_ptnerinfcnm.disabled = true;
  2859. model.setValue("/root/main/wardrecinfo/ptnerinfcinfoyn", "1");
  2860. }
  2861. model.refresh();
  2862. ]]>
  2863. </script>
  2864. <script type="javascript" ev:event="xforms-select">
  2865. <![CDATA[
  2866. status = "click";
  2867. ]]>
  2868. </script>
  2869. </select>
  2870. <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" visibility="hidden" style="left:1075px; top:155px; width:110px; height:19px; "/>
  2871. <caption id="caption57" class="cell_1" style="left:5px; top:643px; width:80px; height:23px; vertical-align:middle; ">산모입원동기</caption>
  2872. <select1 id="cmb_ogirinmotive" ref="/root/main/wardrecinfo/ogirinmotive" class="combo_default" navindex="81" appearance="minimal" style="left:88px; top:645px; width:308px; height:19px; ">
  2873. <choices>
  2874. <itemset nodeset="/root/codeinfo/codeinfo/codelist[cdgrupid ='R02']">
  2875. <label ref="cdnm"/>
  2876. <value ref="cdid"/>
  2877. </itemset>
  2878. </choices>
  2879. </select1>
  2880. <line id="line52" class="line_2" style="x1:5px; y1:641px; x2:396px; y2:641px; "/>
  2881. <group id="grp_ptnerinfo" visibility="hidden" style="left:410px; top:210px; width:385px; height:195px; ">
  2882. <line id="line49" class="line_1" style="x1:5px; y1:25px; x2:361px; y2:25px; "/>
  2883. <caption id="caption29" class="tit_2" style="left:10px; top:10px; width:82px; height:13px; ">배우자정보</caption>
  2884. <line id="line50" class="line_2" style="x1:5px; y1:50px; x2:361px; y2:50px; "/>
  2885. <caption id="caption30" class="cell_1" style="left:5px; top:30px; width:80px; height:21px; ">이름</caption>
  2886. <caption id="caption31" class="cell_1" style="left:190px; top:30px; width:80px; height:21px; ">생년월일</caption>
  2887. <caption id="caption35" class="cell_1" style="left:5px; top:97px; width:80px; height:80px; ">감염정보</caption>
  2888. <input id="ipt_ptnernm" ref="/root/main/wardrecinfo/ptnernm" navindex="87" style="left:88px; top:30px; width:99px; height:19px; "/>
  2889. <input id="ipt_ptnerbrthdd" ref="/root/main/wardrecinfo/ptnerbrthdd" navindex="88" imemode="disabled" maxlength="8" format="yyyymmdd" style="left:273px; top:30px; width:67px; height:19px; "/>
  2890. <select1 id="cmb_ptnerbtype" ref="/root/main/wardrecinfo/ptnerbtype" class="combo_default" navindex="91" appearance="minimal" style="left:273px; top:74px; width:87px; height:19px; ">
  2891. <choices>
  2892. <itemset nodeset="/root/init/mlist/M0376">
  2893. <label ref="cdnm"/>
  2894. <value ref="cdid"/>
  2895. </itemset>
  2896. </choices>
  2897. </select1>
  2898. <input id="ipt_ptnerphone" ref="/root/main/wardrecinfo/ptnertel" navindex="90" style="left:88px; top:52px; width:99px; height:19px; "/>
  2899. <select1 id="rdo_ptnerinfcinfoyn" ref="/root/main/wardrecinfo/ptnerinfcinfoyn" navindex="91" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:88px; top:98px; width:75px; height:13px; border-style:none; ">
  2900. <choices>
  2901. <item>
  2902. <label>무</label>
  2903. <value>1</value>
  2904. </item>
  2905. <item>
  2906. <label>유</label>
  2907. <value>2</value>
  2908. </item>
  2909. </choices>
  2910. <script type="javascript" ev:event="xforms-value-changed">
  2911. <![CDATA[
  2912. if(model.getValue("/root/main/wardrecinfo/ptnerinfcinfoyn") == "2") {
  2913. chk_ptnerinfcinfo.disabled = false;
  2914. ipt_ptnerinfcnm.disabled = false;
  2915. } else {
  2916. model.resetInstanceNode("/root/main/wardrecinfo/ptnerinfcinfo");
  2917. model.resetInstanceNode("/root/main/wardrecinfo/ptnerinfcinfonm");
  2918. chk_ptnerinfcinfo.disabled = true;
  2919. ipt_ptnerinfcnm.disabled = true;
  2920. chk_ptnerinfcinfo.refresh();
  2921. ipt_ptnerinfcnm.refresh();
  2922. }
  2923. ]]>
  2924. </script>
  2925. </select1>
  2926. <select id="chk_ptnerinfcinfo" ref="/root/main/wardrecinfo/ptnerinfcinfo" disabled="true" navindex="92" overflow="visible" appearance="full" cellspacing="40" cols="3" vcellspacing="5" style="left:88px; top:114px; width:272px; height:40px; border-style:none; ">
  2927. <choices>
  2928. <item>
  2929. <label>Hbs Ag</label>
  2930. <value>1</value>
  2931. </item>
  2932. <item>
  2933. <label>HCV ab</label>
  2934. <value>2</value>
  2935. </item>
  2936. <item>
  2937. <label>VDRL</label>
  2938. <value>3</value>
  2939. </item>
  2940. <item>
  2941. <label>HIV</label>
  2942. <value>4</value>
  2943. </item>
  2944. <item>
  2945. <label>active TB</label>
  2946. <value>5</value>
  2947. </item>
  2948. <item>
  2949. <label>기타</label>
  2950. <value>6</value>
  2951. </item>
  2952. </choices>
  2953. <script type="javascript" ev:event="xforms-value-changed">
  2954. <![CDATA[
  2955. var ptnerinfcinfo = isSearchString(chk_ptnerinfcinfo.value, "6");
  2956. if(ptnerinfcinfo == true) {
  2957. ipt_ptnerinfcnm.disabled = false;
  2958. } else {
  2959. ipt_ptnerinfcnm.disabled = true;
  2960. model.resetInstanceNode("/root/main/wardrecinfo/ptnerinfcnm");
  2961. ipt_ptnerinfcnm.refresh();
  2962. }
  2963. ]]>
  2964. </script>
  2965. </select>
  2966. <input id="ipt_ptnerinfcnm" ref="/root/main/wardrecinfo/ptnerinfcinfonm" disabled="true" navindex="93" style="left:88px; top:156px; width:272px; height:19px; "/>
  2967. <line id="line58" class="line_3" style="x1:5px; y1:177px; x2:361px; y2:177px; "/>
  2968. <script type="javascript" ev:event="onmouseout">
  2969. <![CDATA[
  2970. grp_ptnerinfo.visible = false;
  2971. ]]>
  2972. </script>
  2973. <script type="javascript" ev:event="oncursor">
  2974. <![CDATA[
  2975. ]]>
  2976. </script>
  2977. <script type="javascript" ev:event="DOMFocusIn">
  2978. <![CDATA[
  2979. ]]>
  2980. </script>
  2981. <script type="javascript" ev:event="DOMFocusOut">
  2982. <![CDATA[
  2983. ]]>
  2984. </script>
  2985. <script type="javascript" ev:event="onmouseover">
  2986. <![CDATA[
  2987. grp_ptnerinfo.visible = true;
  2988. ]]>
  2989. </script>
  2990. <line id="line56" class="line_2" style="x1:5px; y1:72px; x2:361px; y2:72px; "/>
  2991. <caption id="caption34" class="cell_1" style="left:5px; top:52px; width:80px; height:21px; ">연락처</caption>
  2992. <caption id="caption32" class="cell_1" style="left:190px; top:74px; width:80px; height:21px; ">혈액형</caption>
  2993. <line id="line70" class="line_2" style="x1:5px; y1:95px; x2:361px; y2:95px; "/>
  2994. <input id="ipt_ptnerage" ref="/root/main/wardrecinfo/ptnerage" navindex="89" maxlength="3" style="left:273px; top:52px; width:87px; height:19px; "/>
  2995. <caption id="caption81" class="cell_1" style="left:190px; top:52px; width:80px; height:21px; ">나이</caption>
  2996. <select1 id="cmb_ptnerjobcd" ref="/root/main/wardrecinfo/ptnerjobcd" class="combo_default" navindex="91" appearance="minimal" style="left:88px; top:74px; width:99px; height:19px; ">
  2997. <choices>
  2998. <itemset nodeset="/root/init/mlist/M0068">
  2999. <label ref="cdnm"/>
  3000. <value ref="cdid"/>
  3001. </itemset>
  3002. </choices>
  3003. </select1>
  3004. <caption id="caption83" class="cell_1" style="left:5px; top:74px; width:80px; height:21px; ">직업</caption>
  3005. <img id="img1" src="../../../emr/commonweb/images/icon_btn.gif" style="left:345px; top:32px; width:15px; height:15px; background-stretch:stretch; ">
  3006. <script type="javascript" ev:event="onclick">
  3007. <![CDATA[
  3008. var ptnerbrthdd = model.getValue("/root/main/wardrecinfo/ptnerbrthdd");
  3009. var dt = getCurrentDate();
  3010. if(ptnerbrthdd != "" && ptnerbrthdd.length == 8){
  3011. var age = eval(dt.substring(0,4)) - eval(ptnerbrthdd.substring(0,4));
  3012. var mm = eval(dt.substring(4,6)) - eval(ptnerbrthdd.substring(4,6));
  3013. var dd = eval(dt.substring(6,8)) - eval(ptnerbrthdd.substring(6,8));
  3014. if(mm < 0){
  3015. age = age - 1;
  3016. }else if(mm == 0) {
  3017. if(dd < 0){
  3018. age = age - 1;
  3019. }
  3020. }
  3021. model.setValue("/root/main/wardrecinfo/ptnerage", age);
  3022. ipt_ptnerage.refresh();
  3023. }
  3024. ]]>
  3025. </script>
  3026. </img>
  3027. <caption id="caption85" style="left:100px; top:5px; width:152px; height:20px; color:#ff0000; ">생년월일을 8자리로 입력 후</caption>
  3028. <img id="img2" src="../../../emr/commonweb/images/icon_btn.gif" style="left:255px; top:7px; width:15px; height:15px; background-stretch:stretch; "/>
  3029. <caption id="caption86" style="left:270px; top:5px; width:85px; height:20px; color:#ff0000; ">를 클릭하세요.</caption>
  3030. </group>
  3031. <group id="grp_anti" visibility="hidden" style="left:645px; top:280px; width:240px; height:140px; background-color:#ccffcc; border-style:solid; ">
  3032. <button id="btn_anti1" class="btn5_letter2" visibility="hidden" style="left:140px; top:105px; width:42px; height:19px; ">
  3033. <caption>선택</caption>
  3034. <script type="javascript" ev:event="onclick">
  3035. <![CDATA[
  3036. //txt_anti.refresh();
  3037. var antitype = model.getValue("/root/main/allgtemp/antitype");
  3038. var antilabel = rdo_anti.label;
  3039. var antidesc = model.getValue("/root/main/allgtemp/antidesc");
  3040. var allgrow = model.getValue("root/main/allgtemp/row");
  3041. var allgcol = eval(model.getValue("root/main/allgtemp/col")) + 1;
  3042. var alldesc = grd_allghist.valueMatrix(allgrow, allgcol);
  3043. if (alldesc != "" && antitype != "") {
  3044. alldesc = alldesc + ",";
  3045. }
  3046. if (antitype == "3") {
  3047. if (antidesc != "") {
  3048. antidesc = ":" + antidesc;
  3049. }
  3050. } else {
  3051. antidesc = "";
  3052. }
  3053. var allgdesc = alldesc + antilabel + antidesc;
  3054. grd_allghist.valueMatrix(allgrow, allgcol) = allgdesc;
  3055. model.removeNodeset("/root/main/allgtemp");
  3056. model.refresh();
  3057. //allergespec
  3058. grp_anti.visible = false;
  3059. rdo_anti.visible = false;
  3060. txt_anti.visible = false;
  3061. btn_anti1.visible = false;
  3062. btn_anti2.visible = false;
  3063. ]]>
  3064. </script>
  3065. </button>
  3066. <button id="btn_anti2" class="btn5_letter2" visibility="hidden" style="left:183px; top:105px; width:42px; height:19px; ">
  3067. <caption>취소</caption>
  3068. <script type="javascript" ev:event="onclick">
  3069. <![CDATA[
  3070. grp_anti.visible = false;
  3071. rdo_anti.visible = false;
  3072. txt_anti.visible = false;
  3073. btn_anti1.visible = false;
  3074. btn_anti2.visible = false;
  3075. model.removeNodeset("/root/main/allgtemp");
  3076. model.refresh();
  3077. ]]>
  3078. </script>
  3079. </button>
  3080. <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; ">
  3081. <choices>
  3082. <item>
  3083. <label>페니실린계</label>
  3084. <value>1</value>
  3085. </item>
  3086. <item>
  3087. <label>기타 베타락탐계</label>
  3088. <value>2</value>
  3089. </item>
  3090. <item>
  3091. <label>기타</label>
  3092. <value>3</value>
  3093. </item>
  3094. </choices>
  3095. </select1>
  3096. <textarea id="txt_anti" ref="/root/main/allgtemp/antidesc" visibility="hidden" style="left:70px; top:50px; width:155px; height:50px; "/>
  3097. </group>
  3098. <select id="chk_privacy" ref="/root/main/wardrecinfo/privacy" visibility="hidden" overflow="visible" appearance="full" style="left:266px; top:9px; width:130px; height:15px; border-style:none; ">
  3099. <choices>
  3100. <item>
  3101. <label>개인정보사정 미동의</label>
  3102. <value>Y</value>
  3103. </item>
  3104. </choices>
  3105. <script type="javascript" ev:event="onclick">
  3106. <![CDATA[
  3107. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
  3108. model.setValue("/root/main/wardrecinfo/jobcd","");
  3109. model.setValue("/root/main/wardrecinfo/jobnm","");
  3110. model.setValue("/root/main/wardrecinfo/religncd","");
  3111. model.setValue("/root/main/wardrecinfo/relignnm","");
  3112. model.setValue("/root/main/wardrecinfo/baptnm", "");
  3113. model.setValue("/root/main/wardrecinfo/marystatcd","");
  3114. model.setValue("/root/main/wardrecinfo/marystatnm","");
  3115. cmb_job.disabled = true;
  3116. ipt_job.disabled = true;
  3117. cmb_relign.disabled = true;
  3118. ipt_relignnm.disabled = true;
  3119. cmb_marystat.disabled = true;
  3120. ipt_marystatnm.disabled = true;
  3121. cap_baptnm.visible = false;
  3122. ipt_baptnm.visible = false;
  3123. ipt_relignnm.visible = true;
  3124. }else{
  3125. cmb_job.disabled = false;
  3126. cmb_relign.disabled = false;
  3127. cmb_marystat.disabled = false;
  3128. cmb_job.dispatch("xforms-value-changed");
  3129. cmb_relign.dispatch("xforms-value-changed");
  3130. cmb_marystat.dispatch("xforms-value-changed");
  3131. }
  3132. model.refresh();
  3133. ]]>
  3134. </script>
  3135. </select>
  3136. <caption id="cap_bdht" class="cell_1" style="left:5px; top:425px; width:80px; height:23px; ">.... 신장</caption>
  3137. <caption id="cap_bdwt" class="cell_1" style="left:5px; top:450px; width:53px; height:47px; ">.... 체중</caption>
  3138. <input id="ipt_prgbfbdwt" ref="/root/main/wardrecinfo/prgbfbdwt" navindex="30" maxlength="5" format="9#.#" style="left:98px; top:451px; width:72px; height:19px; text-align:center; ">
  3139. <script type="javascript" ev:event="xforms-value-changed">
  3140. <![CDATA[
  3141. fChkNoneInspCode("/root/main/wardrecinfo/prgbfbdwt", "ipt_prgbfbdwt");
  3142. ]]>
  3143. </script>
  3144. </input>
  3145. <select id="chk_bdhtinspyn" ref="/root/main/wardrecinfo/bdhtinspyn" navindex="59" overflow="visible" appearance="full" style="left:10px; top:430px; width:15px; height:15px; border-style:none; ">
  3146. <choices>
  3147. <item>
  3148. <label/>
  3149. <value>Y</value>
  3150. </item>
  3151. </choices>
  3152. <script type="javascript" ev:event="xforms-value-changed">
  3153. <![CDATA[
  3154. if(model.getValue("/root/main/wardrecinfo/bdhtinspyn") == "Y"){
  3155. ipt_bdht.disabled = true;
  3156. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  3157. }else{
  3158. ipt_bdht.disabled = false;
  3159. }
  3160. ipt_bdht.refresh();
  3161. ]]>
  3162. </script>
  3163. </select>
  3164. <caption id="caption4" class="output_fix" style="left:172px; top:427px; width:38px; height:19px; text-align:center; ">Cm</caption>
  3165. <caption id="caption36" class="output_fix" style="left:172px; top:476px; width:38px; height:19px; text-align:center; ">Kg</caption>
  3166. <caption id="caption5" class="output_fix" style="left:172px; top:451px; width:38px; height:19px; text-align:center; ">Kg</caption>
  3167. <input id="ipt_inbdwt" ref="/root/main/wardrecinfo/inbdwt" navindex="31" maxlength="5" format="9#.#" style="left:98px; top:476px; width:72px; height:19px; text-align:center; ">
  3168. <script type="javascript" ev:event="xforms-value-changed">
  3169. <![CDATA[
  3170. fChkNoneInspCode("/root/main/wardrecinfo/inbdwt", "ipt_inbdwt");
  3171. ]]>
  3172. </script>
  3173. </input>
  3174. <input id="ipt_bdht" ref="/root/main/wardrecinfo/bdht" navindex="29" maxlength="5" format="9#.#" style="left:87px; top:427px; width:83px; height:19px; text-align:center; ">
  3175. <script type="javascript" ev:event="xforms-value-changed">
  3176. <![CDATA[
  3177. fChkNoneInspCode("/root/main/wardrecinfo/bdht", "ipt_bdht");
  3178. ]]>
  3179. </script>
  3180. </input>
  3181. <select id="chk_bdwtinspyn" ref="/root/main/wardrecinfo/bdwtinspyn" navindex="59" overflow="visible" appearance="full" style="left:10px; top:465px; width:15px; height:15px; border-style:none; ">
  3182. <choices>
  3183. <item>
  3184. <label/>
  3185. <value>Y</value>
  3186. </item>
  3187. </choices>
  3188. <script type="javascript" ev:event="xforms-value-changed">
  3189. <![CDATA[
  3190. if(model.getValue("/root/main/wardrecinfo/bdwtinspyn") == "Y"){
  3191. ipt_prgbfbdwt.disabled = true;
  3192. ipt_inbdwt.disabled = true;
  3193. model.resetInstanceNode("/root/main/wardrecinfo/prgbfbdwt");
  3194. model.resetInstanceNode("/root/main/wardrecinfo/inbdwt");
  3195. }else{
  3196. ipt_prgbfbdwt.disabled = false;
  3197. ipt_inbdwt.disabled = false;
  3198. }
  3199. ipt_prgbfbdwt.refresh();
  3200. ipt_inbdwt.refresh();
  3201. ]]>
  3202. </script>
  3203. </select>
  3204. <caption id="caption14" style="left:56px; top:454px; width:44px; height:14px; text-align:center; ">임신전</caption>
  3205. <caption id="caption15" style="left:56px; top:479px; width:46px; height:14px; text-align:center; ">입원시</caption>
  3206. <input id="ipt_spo2" ref="/root/main/wardrecinfo/spo2" navindex="28" maxlength="6" format="9#.#" style="left:294px; top:452px; width:62px; height:19px; text-align:center; ">
  3207. <script type="javascript" ev:event="xforms-value-changed">
  3208. <![CDATA[
  3209. fChkNoneInspCode("/root/main/wardrecinfo/spo2", "ipt_spo2");
  3210. ]]>
  3211. </script>
  3212. </input>
  3213. <select1 id="cmb_bdbtype" ref="/root/main/wardrecinfo/bdbtype" class="combo_default" navindex="32" appearance="minimal" style="left:295px; top:426px; width:100px; height:19px; ">
  3214. <choices>
  3215. <itemset nodeset="/root/init/mlist/M0376">
  3216. <label ref="cdnm"/>
  3217. <value ref="cdid"/>
  3218. </itemset>
  3219. </choices>
  3220. </select1>
  3221. <caption id="caption3" class="cell_1" style="left:210px; top:450px; width:81px; height:23px; ">.... SpO2</caption>
  3222. <select id="chk_spo2inspyn" ref="/root/main/wardrecinfo/spo2inspyn" navindex="59" overflow="visible" appearance="full" style="left:215px; top:454px; width:15px; height:15px; border-style:none; ">
  3223. <choices>
  3224. <item>
  3225. <label/>
  3226. <value>Y</value>
  3227. </item>
  3228. </choices>
  3229. <script type="javascript" ev:event="xforms-value-changed">
  3230. <![CDATA[
  3231. if(model.getValue("/root/main/wardrecinfo/spo2inspyn") == "Y"){
  3232. ipt_spo2.disabled = true;
  3233. model.resetInstanceNode("/root/main/wardrecinfo/spo2");
  3234. }else{
  3235. ipt_spo2.disabled = false;
  3236. }
  3237. ipt_spo2.refresh();
  3238. ]]>
  3239. </script>
  3240. </select>
  3241. <caption id="cap_btype" class="cell_1" style="left:211px; top:425px; width:81px; height:23px; ">혈액형</caption>
  3242. </xhtml:body>
  3243. </xhtml:html>