SMMNW07900_산과정보.xrw 143 KB

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