SMMNW08500_가정간호정보.xrw 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <wardrecinfo>
  11. <famytree>
  12. <existyn/>
  13. </famytree>
  14. <inmotiveinfo>
  15. <inmotive>
  16. <attackdd/>
  17. <attackdt/>
  18. <inmotive1>Y</inmotive1>
  19. <inmotive2/>
  20. <illnessflag>N</illnessflag>
  21. </inmotive>
  22. </inmotiveinfo>
  23. <gustoinfo>
  24. <gusto>
  25. <smokinfo>
  26. <smokinfoyn>1</smokinfoyn>
  27. <smokinfocnt/>
  28. <nosmokcnstyn/>
  29. <nosmokcnst/>
  30. <nosmokcnstnm/>
  31. </smokinfo>
  32. <drunkinfo>
  33. <drunkinfoyn>1</drunkinfoyn>
  34. <drunkinfodose/>
  35. <drunkinfoterm/>
  36. </drunkinfo>
  37. <gustofoodinfo>
  38. <gustofoodyn>1</gustofoodyn>
  39. <gustofooddetl/>
  40. </gustofoodinfo>
  41. <tnsseffcinfo>
  42. <tnsseffcyn>1</tnsseffcyn>
  43. <tnsseffcdetl/>
  44. </tnsseffcinfo>
  45. </gusto>
  46. </gustoinfo>
  47. <femaleinfo>
  48. <female>
  49. <femaleinfoyn/>
  50. <female>
  51. <endmensyn>1</endmensyn>
  52. <endmensdd/>
  53. <lastmensdd/>
  54. <prgbthhisg/>
  55. <prgbthhisp/>
  56. <prgbthhisa/>
  57. <prgbthhissa/>
  58. <prgbthhisaa/>
  59. <prgbthhisl/>
  60. <endmensage/>
  61. </female>
  62. </female>
  63. </femaleinfo>
  64. <spcffact>
  65. <spcf>
  66. <spcffactinclyn/>
  67. <spcffactdetl/>
  68. </spcf>
  69. </spcffact>
  70. <rectmedistatinfo>
  71. <rectmedistat>
  72. <rectmedistatinfoinclyn/>
  73. <antibiodrugyn/>
  74. <rectmedistat>
  75. <drugnm/>
  76. <direc/>
  77. <orddept/>
  78. </rectmedistat>
  79. </rectmedistat>
  80. </rectmedistatinfo>
  81. <basebdinfoinclyn/>
  82. <lowbp/>
  83. <highbp/>
  84. <pulse/>
  85. <breth/>
  86. <bdtp/>
  87. <bdtppartcd/>
  88. <bdht/>
  89. <bdwt/>
  90. <bdbtype/>
  91. <bdbtyperh/>
  92. <privacy/>
  93. <jobcd/>
  94. <jobnm/>
  95. <educgrdecd/>
  96. <educgrdenm/>
  97. <religncd/>
  98. <relignnm/>
  99. <marystatcd/>
  100. <marystatnm/>
  101. <baptnm/>
  102. <indd/>
  103. <indt/>
  104. <inpathcd/>
  105. <inpathnm/>
  106. <inmthdcd/>
  107. <inmthdnm/>
  108. <inacompstcd/>
  109. <inacompstnm/>
  110. <rgstrinfoinclyn/>
  111. <diagnm/>
  112. <reqdd/>
  113. <atdoctcd/>
  114. <reqmotvinfo/>
  115. <illcog>1</illcog>
  116. <rgststat/>
  117. <dschinfoinclyn/>
  118. <dschdd/>
  119. <dschmediinfo>
  120. <dschmedi>
  121. <dschdrugfactinfo>
  122. <stat/>
  123. <prcpno/>
  124. <drugcd/>
  125. <drugnm/>
  126. <vol/>
  127. <prcpvolunit/>
  128. <direc/>
  129. <qty/>
  130. <prcpqtyunit/>
  131. <prcptims/>
  132. <prcpdayno/>
  133. <caucnts/>
  134. <prcppk/>
  135. </dschdrugfactinfo>
  136. </dschmedi>
  137. </dschmediinfo>
  138. <homecareinfoinclyn/>
  139. <carednor/>
  140. <carednornm/>
  141. <healcaregrnt/>
  142. <healcaregrntnm/>
  143. <healcntrprofit/>
  144. <economystat/>
  145. <sanitstat/>
  146. <safestat/>
  147. <residtype/>
  148. <residtypenm/>
  149. <spo2/>
  150. <relignreq/>
  151. <tel/>
  152. <mphone/>
  153. <etcphone1/>
  154. <etcphone2/>
  155. </wardrecinfo>
  156. <init/>
  157. <famyfact>
  158. <stat/>
  159. <rela/>
  160. <hngnm/>
  161. <addr/>
  162. <detladdr/>
  163. <tel/>
  164. <mpphone/>
  165. <remfact/>
  166. <fmlyseq/>
  167. </famyfact>
  168. <histinfo>
  169. <pasthistinfo>
  170. <pasthist>
  171. <pasthistinclyn/>
  172. <pasthist>
  173. <genrdd/>
  174. <histspec/>
  175. <remfact/>
  176. </pasthist>
  177. </pasthist>
  178. </pasthistinfo>
  179. <famyhistinfo>
  180. <famyhist>
  181. <famyhistinclyn/>
  182. <famyhist>
  183. <famyrel/>
  184. <existyn/>
  185. <histspec/>
  186. <remfact/>
  187. </famyhist>
  188. </famyhist>
  189. </famyhistinfo>
  190. <inhistinfo>
  191. <inhist>
  192. <inhistinclyn/>
  193. <inhist>
  194. <indd/>
  195. <dschdd/>
  196. <illnm/>
  197. <orddept/>
  198. <inhistpk/>
  199. </inhist>
  200. </inhist>
  201. </inhistinfo>
  202. <ophistinfo>
  203. <ophist>
  204. <ophistinclyn/>
  205. <ophist>
  206. <opdd/>
  207. <opnm/>
  208. <orddept/>
  209. <ophistpk/>
  210. </ophist>
  211. </ophist>
  212. </ophistinfo>
  213. <allghistinfo>
  214. <allghist>
  215. <allghistinclyn/>
  216. <allghist>
  217. <genrdd/>
  218. <flag/>
  219. <allergespec/>
  220. </allghist>
  221. </allghist>
  222. </allghistinfo>
  223. <vacnhistinfo>
  224. <vacnhist>
  225. <vacnhistinfoinclyn/>
  226. <dpttims/>
  227. <infparaltims/>
  228. <ahptstims/>
  229. <bhptstims/>
  230. <bhptsdrugnm/>
  231. <bcgyn/>
  232. <mmrtims/>
  233. <alivvacntims/>
  234. <deadvaccntims/>
  235. <brnmeningitistims/>
  236. <lungcoccustims/>
  237. <chickenpoxtims/>
  238. </vacnhist>
  239. </vacnhistinfo>
  240. <smokinfo>
  241. <smok>
  242. <smokinclyn/>
  243. <smok>
  244. <dosetoday/>
  245. <term/>
  246. </smok>
  247. </smok>
  248. </smokinfo>
  249. <drunkinfo>
  250. <drunk>
  251. <drunkinclyn/>
  252. <drunkinfo>
  253. <kind/>
  254. <dose/>
  255. <tims/>
  256. <term/>
  257. </drunkinfo>
  258. </drunk>
  259. </drunkinfo>
  260. <gustofoodinfo>
  261. <gustofood>
  262. <gustofoodinclyn/>
  263. <gustofood>
  264. <kind/>
  265. <dose/>
  266. <tims/>
  267. <term/>
  268. </gustofood>
  269. </gustofood>
  270. </gustofoodinfo>
  271. <tnsseffcinfo>
  272. <tnsseffc>
  273. <tnsseffcinclyn/>
  274. <tnsseffc>
  275. <tnsyn/>
  276. <tnsdetl/>
  277. </tnsseffc>
  278. </tnsseffc>
  279. </tnsseffcinfo>
  280. </histinfo>
  281. <rsrvinfo/>
  282. </main>
  283. </root>
  284. </instance>
  285. <script type="javascript">
  286. <![CDATA[
  287. function fSetBaseInfo() {
  288. var pid = model.getValue("/root/temp/cond/list/pid");
  289. var indd = model.getValue("/root/temp/cond/list/indd");
  290. var orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
  291. var instcd = model.getValue("/root/temp/cond/list/instcd");
  292. setParameter("SPMNW10300_Param3", pid);
  293. setParameter("SPMNW10300_Param4", indd);
  294. setParameter("SPMNW10300_Param4", orddeptcd);
  295. setParameter("SPMNW10300_Param4", instcd);
  296. }
  297. function fInitEventHomeCareInfo() {
  298. // cmb_job.dispatch("xforms-value-changed");
  299. // cmb_educgrde.dispatch("xforms-value-changed");
  300. // cmb_relign.dispatch("xforms-value-changed");
  301. // cmb_marystat.dispatch("xforms-value-changed");
  302. var privacychk = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='W25']/cdid");
  303. if(privacychk == "N"){
  304. model.setValue("/root/main/wardrecinfo/privacy", "");
  305. chk_privacy.visible = false;
  306. cap_educgrde.visible = true;
  307. cmb_educgrde.visible = true;
  308. ipt_educgrde.visible = true;
  309. }else{
  310. chk_privacy.visible = true;
  311. cap_educgrde.visible = false;
  312. cmb_educgrde.visible = false;
  313. ipt_educgrde.visible = false;
  314. }
  315. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
  316. cmb_job.disabled = true;
  317. ipt_job.disabled = true;
  318. cmb_relign.disabled = true;
  319. ipt_relignnm.disabled = true;
  320. cmb_marystat.disabled = true;
  321. ipt_marystatnm.disabled = true;
  322. cap_baptnm.visible = false;
  323. ipt_baptnm.visible = false;
  324. }else{
  325. cmb_job.disabled = false;
  326. cmb_relign.disabled = false;
  327. cmb_marystat.disabled = false;
  328. cmb_job.dispatch("xforms-value-changed");
  329. cmb_relign.dispatch("xforms-value-changed");
  330. cmb_educgrde.dispatch("xforms-value-changed");
  331. cmb_marystat.dispatch("xforms-value-changed");
  332. }
  333. chk_regstrinfoinclyn.dispatch("xforms-value-changed");
  334. chk_dschinfoyn.dispatch("xforms-value-changed");
  335. if(model.getValue("/root/main/wardrecinfo/homecareinfoinclyn") == "1") {
  336. chk_homecareinfoinclyn.dispatch("xforms-value-changed");
  337. } else {
  338. cmb_carednor.dispatch("xforms-value-changed");
  339. cmb_healcaregrnt.dispatch("xforms-value-changed");
  340. cmb_residtype.dispatch("xforms-value-changed");
  341. }
  342. chk_basebdinfoinclyn.dispatch("xforms-value-changed");
  343. rdo_smokinfo.dispatch("xforms-value-changed");
  344. rdo_drunkinfo.dispatch("xforms-value-changed");
  345. rdo_gustofoodyn.dispatch("xforms-value-changed");
  346. rdo_tnsseffcyn.dispatch("xforms-value-changed");
  347. if(model.getValue("/root/main/wardrecinfo/femaleinfo/female/femaleinfoyn") == "1") {
  348. chk_femaleinfoinclyn.dispatch("xforms-value-changed");
  349. } else {
  350. rdo_endmensyn.dispatch("xforms-value-changed");
  351. }
  352. chk_spcffactinclyn.dispatch("xforms-value-changed");
  353. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  354. chk_pasthistyn.dispatch("xforms-value-changed");
  355. }
  356. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
  357. chk_famyhistyn.dispatch("xforms-value-changed");
  358. }
  359. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
  360. chk_inhistyn.dispatch("xforms-value-changed");
  361. }
  362. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
  363. chk_ophistinclyn.dispatch("xforms-value-changed");
  364. }
  365. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
  366. chk_rectmedistatinclyn.dispatch("xforms-value-changed");
  367. }
  368. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
  369. rdo_allgyn.dispatch("xforms-value-changed");
  370. }
  371. }
  372. ]]>
  373. </script>
  374. <submission id="TRMNW08501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/rsrvinfo"/>
  375. </model>
  376. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  377. </xhtml:head>
  378. <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  379. <caption id="cap_regstrinfo" class="tit_2" style="left:10px; top:275px; width:104px; height:13px; ">등록시 정보</caption>
  380. <line id="line9" class="line_1" style="x1:5px; y1:290px; x2:396px; y2:290px; "/>
  381. <line id="line10" class="line_2" style="x1:5px; y1:341px; x2:396px; y2:341px; "/>
  382. <caption id="cap_reqdd" class="cell_1" style="left:5px; top:319px; width:80px; height:23px; ">의뢰일자</caption>
  383. <line id="line11" class="line_2" style="x1:5px; y1:317px; x2:396px; y2:317px; "/>
  384. <caption id="cap_diagnm" class="cell_1" style="left:5px; top:295px; width:80px; height:23px; ">진단명</caption>
  385. <line id="line12" class="line_2" style="x1:5px; y1:389px; x2:396px; y2:389px; "/>
  386. <line id="line13" class="line_2" style="x1:5px; y1:365px; x2:396px; y2:365px; "/>
  387. <caption id="req_motv" class="cell_1" style="left:5px; top:367px; width:80px; height:23px; ">의뢰동기</caption>
  388. <!--(20101206) 경북대
  389. <caption id="caption12" class="cell_1" style="left:5px; top:396px; width:80px; height:23px; ">주치의</caption>
  390. -->
  391. <caption id="caption12" class="cell_1" style="left:5px; top:343px; width:80px; height:23px; ">담당의</caption>
  392. <!--(20101206) 경북대 -->
  393. <line id="line14" class="line_2" style="x1:5px; y1:413px; x2:396px; y2:413px; "/>
  394. <caption id="cap_regststat" class="cell_1" style="left:5px; top:415px; width:80px; height:23px; ">등록시상태</caption>
  395. <caption id="cap_illness" class="cell_1" style="left:5px; top:391px; width:80px; height:23px; ">병에대한인식</caption>
  396. <line id="line16" class="line_3" style="x1:5px; y1:437px; x2:396px; y2:437px; "/>
  397. <select1 id="rdo_illcogflag" ref="/root/main/wardrecinfo/illcog" navindex="18" appearance="full" cellspacing="80" cols="2" overflow="visible" style="left:153px; top:395px; width:147px; height:13px; border-style:none; ">
  398. <choices>
  399. <item>
  400. <label>무</label>
  401. <value>1</value>
  402. </item>
  403. <item>
  404. <label>유</label>
  405. <value>2</value>
  406. </item>
  407. </choices>
  408. </select1>
  409. <input id="ipt_diagnm" ref="/root/main/wardrecinfo/diagnm" navindex="14" style="left:88px; top:296px; width:307px; height:19px; text-align:left; "/>
  410. <input id="ipt_reqdd" ref="/root/main/wardrecinfo/reqdd" navindex="15" inputtype="date" style="left:88px; top:320px; width:307px; height:19px; text-align:left; "/>
  411. <input id="ipt_atdoct" ref="/root/main/wardrecinfo/atdoctcd" navindex="16" style="left:88px; top:344px; width:307px; height:19px; text-align:left; "/>
  412. <input id="ipt_rgststat" ref="/root/main/wardrecinfo/rgststat" navindex="19" style="left:88px; top:416px; width:307px; height:19px; text-align:left; "/>
  413. <input id="ipt_reqmotv" ref="/root/main/wardrecinfo/reqmotvinfo" navindex="17" style="left:88px; top:368px; width:307px; height:19px; text-align:left; "/>
  414. <select id="chk_regstrinfoinclyn" ref="/root/main/wardrecinfo/rgstrinfoinclyn" overflow="visible" appearance="full" style="left:325px; top:273px; width:70px; height:15px; border-style:none; ">
  415. <choices>
  416. <item>
  417. <label>해당없음</label>
  418. <value>1</value>
  419. </item>
  420. </choices>
  421. <script type="javascript" ev:event="xforms-value-changed">
  422. <![CDATA[
  423. if(model.getValue("/root/main/wardrecinfo/rgstrinfoinclyn") == "1") {
  424. var rtn = "";
  425. rtn = fSetStatus();
  426. if(rtn == "6") {
  427. ipt_diagnm.disabled = true;
  428. ipt_reqdd.disabled = true;
  429. ipt_atdoct.disabled = true;
  430. ipt_rgststat.disabled = true;
  431. ipt_reqmotv.disabled = true;
  432. rdo_illcogflag.disabled = true;
  433. model.resetInstanceNode("/root/main/wardrecinfo/diagnm");
  434. model.resetInstanceNode("/root/main/wardrecinfo/reqdd");
  435. model.resetInstanceNode("/root/main/wardrecinfo/atdoctcd");
  436. model.resetInstanceNode("/root/main/wardrecinfo/rgststat");
  437. model.resetInstanceNode("/root/main/wardrecinfo/reqmotvinfo");
  438. model.resetInstanceNode("/root/main/wardrecinfo/illcog");
  439. } else {
  440. model.resetInstanceNode("/root/main/wardrecinfo/rgstrinfoinclyn");
  441. chk_regstrinfoinclyn.refresh();
  442. return;
  443. }
  444. } else {
  445. ipt_diagnm.disabled = false;
  446. ipt_reqdd.disabled = false;
  447. ipt_atdoct.disabled = false;
  448. ipt_rgststat.disabled = false;
  449. ipt_reqmotv.disabled = false;
  450. rdo_illcogflag.disabled = false;
  451. }
  452. ipt_diagnm.refresh();
  453. ipt_reqdd.refresh();
  454. ipt_atdoct.refresh();
  455. ipt_rgststat.refresh();
  456. ipt_reqmotv.refresh();
  457. rdo_illcogflag.refresh();
  458. ]]>
  459. </script>
  460. </select>
  461. <line id="line17" class="line_1" style="x1:5px; y1:462px; x2:396px; y2:462px; "/>
  462. <line id="line30" class="line_2" style="x1:5px; y1:489px; x2:396px; y2:489px; "/>
  463. <select id="chk_dschinfoyn" ref="/root/main/wardrecinfo/dschinfoinclyn" overflow="visible" appearance="full" style="left:325px; top:445px; width:70px; height:15px; border-style:none; ">
  464. <choices>
  465. <item>
  466. <label>해당없음</label>
  467. <value>1</value>
  468. </item>
  469. </choices>
  470. <script type="javascript" ev:event="xforms-value-changed">
  471. <![CDATA[
  472. if(model.getValue("/root/main/wardrecinfo/dschinfoinclyn") == "1") {
  473. var isEmptyYN = "Y";
  474. isEmptyYN = isCheckGridDataYN(grd_dschdrugmedifact);
  475. var rtn = fSetStatus();
  476. if(rtn == "6") {
  477. ipt_dschdd.disabled = true;
  478. btn_dschmedistat.disabled = true;
  479. btn_dschmedidel.disabled = true;
  480. model.removeNodeset("/root/main/wardrecinfo/dschmediinfo/dschmedi/dschdrugfactinfo");
  481. model.resetInstanceNode("/root/main/wardrecinfo/dschdd");
  482. //model.resetInstanceNode("/root/main/wardrecinfo/dschmedi");
  483. //model.resetInstanceNode("/root/main/wardrecinfo/dschtube");
  484. } else {
  485. model.resetInstanceNode("/root/main/wardrecinfo/dschinfoinclyn");
  486. chk_dschinfoyn.refresh();
  487. }
  488. } else {
  489. if(grd_dschdrugmedifact.rows < 2) {
  490. grd_dschdrugmedifact.addRow();
  491. }
  492. ipt_dschdd.disabled = false;
  493. btn_dschmedistat.disabled = false;
  494. btn_dschmedidel.disabled = false;
  495. }
  496. grd_dschdrugmedifact.refresh();
  497. ipt_dschdd.refresh();
  498. btn_dschmedistat.refresh();
  499. btn_dschmedidel.refresh();
  500. ]]>
  501. </script>
  502. </select>
  503. <caption id="cap_dschinfo" class="tit_2" style="left:10px; top:447px; width:104px; height:13px; ">퇴원시 정보</caption>
  504. <caption id="cap_dschdd" class="cell_1" style="left:5px; top:467px; width:80px; height:23px; ">퇴원일자</caption>
  505. <caption id="caption56" class="tit_2" style="left:406px; top:10px; width:104px; height:14px; ">가정간호 정보</caption>
  506. <line id="line43" class="line_1" style="x1:401px; y1:25px; x2:792px; y2:25px; "/>
  507. <line id="line44" class="line_2" style="x1:401px; y1:52px; x2:792px; y2:52px; "/>
  508. <line id="line45" class="line_2" style="x1:401px; y1:76px; x2:792px; y2:76px; "/>
  509. <line id="line46" class="line_2" style="x1:401px; y1:100px; x2:792px; y2:100px; "/>
  510. <caption id="caption57" class="cell_1" style="left:401px; top:30px; width:100px; height:23px; ">간호제공자</caption>
  511. <caption id="caption58" class="cell_1" style="left:401px; top:54px; width:100px; height:23px; ">보험유형</caption>
  512. <caption id="caption59" class="cell_1" style="left:401px; top:78px; width:100px; height:23px; ">보건소혜택</caption>
  513. <caption id="caption61" class="cell_1" style="left:401px; top:150px; width:100px; height:23px; ">안전상태</caption>
  514. <line id="line47" class="line_2" style="x1:401px; y1:124px; x2:792px; y2:124px; "/>
  515. <line id="line48" class="line_2" style="x1:401px; y1:148px; x2:792px; y2:148px; "/>
  516. <caption id="caption62" class="cell_1" style="left:401px; top:126px; width:100px; height:23px; ">위생상태</caption>
  517. <caption id="caption60" class="cell_1" style="left:401px; top:102px; width:100px; height:23px; ">경제상태</caption>
  518. <caption id="caption63" class="cell_1" style="left:401px; top:174px; width:100px; height:23px; ">주거형태</caption>
  519. <line id="line49" class="line_2" style="x1:401px; y1:172px; x2:792px; y2:172px; "/>
  520. <line id="line50" class="line_3" style="x1:401px; y1:196px; x2:792px; y2:196px; "/>
  521. <line id="line42" class="line_3" style="x1:5px; y1:603px; x2:396px; y2:603px; "/>
  522. <input id="ipt_dschdd" ref="/root/main/wardrecinfo/dschdd" navindex="20" inputtype="date" style="left:88px; top:468px; width:307px; height:19px; text-align:center; "/>
  523. <line id="line18" class="line_2" style="x1:5px; y1:513px; x2:396px; y2:513px; "/>
  524. <caption id="cap_dschmedi" class="cell_1" style="left:5px; top:491px; width:80px; height:23px; ">퇴원시투약</caption>
  525. <textarea id="tar_spcffact" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactdetl" scroll="autovscroll" style="left:402px; top:578px; width:390px; height:77px; "/>
  526. <input id="ipt_prgbthhisa" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisa" class="input_default" style="left:592px; top:526px; width:26px; height:19px; "/>
  527. <line id="line40" class="line_2" style="x1:402px; y1:523px; x2:793px; y2:523px; "/>
  528. <input id="ipt_endmensyn" ref="/root/main/wardrecinfo/femaleinfo/female/female/endmensdd" class="input_default" disabled="true" navindex="51" inputtype="date" format="yyyy-mm-dd" style="left:565px; top:478px; width:100px; height:19px; "/>
  529. <line id="line41" class="line_1" style="x1:402px; y1:573px; x2:792px; y2:573px; "/>
  530. <caption id="caption125" style="left:676px; top:524px; width:18px; height:25px; vertical-align:middle; ">AA</caption>
  531. <caption id="cap_endmensyn" class="cell_1" style="left:402px; top:477px; width:80px; height:23px; ">폐경여부</caption>
  532. <caption id="caption50" class="tit_2" style="left:407px; top:457px; width:104px; height:13px; ">여성정보</caption>
  533. <line id="line31" class="line_2" style="x1:402px; y1:398px; x2:793px; y2:398px; "/>
  534. <input id="ipt_gustofood" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl" disabled="true" navindex="47" style="left:575px; top:401px; width:216px; height:19px; text-align:left; "/>
  535. <caption id="cap_gustofoodyn" class="cell_1" style="left:402px; top:400px; width:92px; height:23px; ">기호식품</caption>
  536. <caption id="caption127" style="left:726px; top:524px; width:18px; height:25px; vertical-align:middle; ">) L</caption>
  537. <line id="line32" class="line_2" style="x1:402px; y1:422px; x2:793px; y2:422px; "/>
  538. <select1 id="rdo_drunkinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="43" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:496px; top:378px; width:75px; height:13px; border-style:none; ">
  539. <choices>
  540. <item>
  541. <label>무</label>
  542. <value>1</value>
  543. </item>
  544. <item>
  545. <label>유</label>
  546. <value>2</value>
  547. </item>
  548. </choices>
  549. <script type="javascript" ev:event="xforms-value-changed">
  550. <![CDATA[
  551. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
  552. ipt_drunkdoseday.disabled = false;
  553. ipt_drunkdoseyear.disabled = false;
  554. } else {
  555. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfodose");
  556. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm");
  557. ipt_drunkdoseday.disabled = true;
  558. ipt_drunkdoseyear.disabled =true;
  559. ipt_drunkdoseday.refresh();
  560. ipt_drunkdoseyear.refresh();
  561. }
  562. ]]>
  563. </script>
  564. </select1>
  565. <line id="line33" class="line_1" style="x1:402px; y1:346px; x2:793px; y2:346px; "/>
  566. <line id="line34" class="line_1" style="x1:403px; y1:222px; x2:794px; y2:222px; "/>
  567. <select1 id="rdo_endmensyn" ref="/root/main/wardrecinfo/femaleinfo/female/female/endmensyn" navindex="50" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:486px; top:480px; width:75px; height:13px; border-style:none; ">
  568. <choices>
  569. <item>
  570. <label>무</label>
  571. <value>1</value>
  572. </item>
  573. <item>
  574. <label>유</label>
  575. <value>2</value>
  576. </item>
  577. </choices>
  578. <script type="javascript" ev:event="xforms-value-changed">
  579. <![CDATA[
  580. if(model.getValue("/root/main/wardrecinfo/femaleinfo/female/female/endmensyn") == "2") {
  581. ipt_endmensyn.disabled = false;
  582. ipt_endmensage.disabled = false;
  583. } else {
  584. ipt_endmensyn.disabled = true;
  585. ipt_endmensage.disabled = true;
  586. model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/endmensdd");
  587. model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/endmensage");
  588. ipt_endmensyn.refresh();
  589. ipt_endmensage.refresh();
  590. }
  591. ]]>
  592. </script>
  593. </select1>
  594. <caption id="caption53" class="tit_2" style="left:407px; top:558px; width:74px; height:13px; ">특이사항</caption>
  595. <caption id="caption42" class="tit_2" style="left:407px; top:331px; width:104px; height:13px; ">기호정보</caption>
  596. <select id="chk_femaleinfoinclyn" ref="/root/main/wardrecinfo/femaleinfo/female/femaleinfoyn" overflow="visible" appearance="full" style="left:721px; top:455px; width:70px; height:15px; border-style:none; ">
  597. <choices>
  598. <item>
  599. <label>해당없음</label>
  600. <value>1</value>
  601. </item>
  602. </choices>
  603. <script type="javascript" ev:event="xforms-value-changed">
  604. <![CDATA[
  605. if(model.getValue("/root/main/wardrecinfo/femaleinfo/female/femaleinfoyn")=="1") {
  606. var rtn = "";
  607. rtn = fSetStatus();
  608. if(rtn == "6") {
  609. rdo_endmensyn.disabled = true;
  610. ipt_endmensyn.disabled = true;
  611. ipt_lastmensdd.disabled = true;
  612. ipt_prgbthhisg.disabled = true;
  613. ipt_prgbthhisp.disabled = true;
  614. ipt_prgbthhisa.disabled = true;
  615. ipt_prgbthhissa.disabled = true;
  616. ipt_prgbthhisaa.disabled = true;
  617. ipt_prgbthhisl.disabled = true;
  618. ipt_endmensage.disabled = true;
  619. model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female");
  620. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/endmensage");
  621. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/endmensdd");
  622. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/lastmensdd");
  623. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisg");
  624. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisp");
  625. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisa");
  626. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhissa");
  627. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisaa");
  628. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisl");
  629. // model.resetInstanceNode("/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisl");
  630. ipt_endmensyn.refresh();
  631. ipt_lastmensdd.refresh();
  632. ipt_prgbthhisg.refresh();
  633. ipt_prgbthhisp.refresh();
  634. ipt_prgbthhisa.refresh();
  635. ipt_prgbthhissa.refresh();
  636. ipt_prgbthhisaa.refresh();
  637. ipt_prgbthhisl.refresh();
  638. ipt_endmensage.refresh();
  639. } else {
  640. return;
  641. }
  642. } else {
  643. rdo_endmensyn.disabled = false;
  644. ipt_endmensyn.disabled = false;
  645. ipt_lastmensdd.disabled = false;
  646. ipt_prgbthhisg.disabled = false;
  647. ipt_prgbthhisp.disabled = false;
  648. ipt_prgbthhisa.disabled = false;
  649. ipt_prgbthhissa.disabled = false;
  650. ipt_prgbthhisaa.disabled = false;
  651. ipt_prgbthhisl.disabled = false;
  652. model.setValue("/root/main/wardrecinfo/femaleinfo/female/female/endmensyn", "1");
  653. ipt_endmensyn.disabled = true;
  654. ipt_endmensage.disabled = true;
  655. }
  656. rdo_endmensyn.refresh();
  657. ]]>
  658. </script>
  659. <script type="javascript" ev:event="xforms-select">
  660. <![CDATA[
  661. status = "click";
  662. ]]>
  663. </script>
  664. </select>
  665. <select1 id="rdo_gustofoodyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn" navindex="46" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:497px; top:403px; width:75px; height:13px; border-style:none; ">
  666. <choices>
  667. <item>
  668. <label>무</label>
  669. <value>1</value>
  670. </item>
  671. <item>
  672. <label>유</label>
  673. <value>2</value>
  674. </item>
  675. </choices>
  676. <script type="javascript" ev:event="xforms-value-changed">
  677. <![CDATA[
  678. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn") == "2") {
  679. ipt_gustofood.disabled = false;
  680. } else {
  681. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl");
  682. ipt_gustofood.disabled = true;
  683. ipt_gustofood.refresh();
  684. }
  685. ]]>
  686. </script>
  687. </select1>
  688. <input id="ipt_prgbthhisg" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisg" class="input_default" style="left:503px; top:526px; width:26px; height:19px; "/>
  689. <caption id="cap_lastmensdd" class="cell_1" style="left:402px; top:501px; width:80px; height:23px; ">최종월경일</caption>
  690. <input id="ipt_drunkdoseyear" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="45" style="left:688px; top:377px; width:55px; height:19px; text-align:left; "/>
  691. <caption id="cap_tnsseffcyn" class="cell_1" style="left:402px; top:424px; width:92px; height:23px; ">수혈부작용</caption>
  692. <select id="chk_spcffactinclyn" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactinclyn" overflow="visible" appearance="full" style="left:721px; top:556px; width:70px; height:15px; border-style:none; ">
  693. <choices>
  694. <item>
  695. <label>해당없음</label>
  696. <value>1</value>
  697. </item>
  698. </choices>
  699. <script type="javascript" ev:event="xforms-value-changed">
  700. <![CDATA[
  701. if(model.getValue("/root/main/wardrecinfo/spcffact/spcf/spcffactinclyn")=="1") {
  702. var rtn = "";
  703. rtn = fSetStatus();
  704. if(rtn == "6") {
  705. tar_spcffact.disabled = true;
  706. model.resetInstanceNode("/root/main/wardrecinfo/spcffact/spcf/spcffactdetl");
  707. }
  708. } else {
  709. tar_spcffact.disabled = false;
  710. }
  711. tar_spcffact.refresh();
  712. ]]>
  713. </script>
  714. <script type="javascript" ev:event="xforms-select">
  715. <![CDATA[
  716. status = "click";
  717. ]]>
  718. </script>
  719. </select>
  720. <select id="chk_basebdinfoinclyn" ref="/root/main/wardrecinfo/basebdinfoinclyn" overflow="visible" appearance="full" style="left:722px; top:206px; width:70px; height:15px; border-style:none; ">
  721. <choices>
  722. <item>
  723. <label>해당없음</label>
  724. <value>1</value>
  725. </item>
  726. </choices>
  727. <script type="javascript" ev:event="xforms-value-changed">
  728. <![CDATA[
  729. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn")=="1") {
  730. var rtn = "";
  731. rtn = fSetStatus();
  732. if(rtn == "6") {
  733. ipt_lowbp.disabled = true;
  734. ipt_highbp.disabled = true;
  735. ipt_pulse.disabled = true;
  736. ipt_breth.disabled = true;
  737. ipt_bdtp.disabled = true;
  738. cmb_bdtp.disabled = true;
  739. ipt_bdht.disabled = true;
  740. ipt_bdwt.disabled = true;
  741. cmb_bdbtype.disabled = true;
  742. model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  743. model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  744. model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  745. model.resetInstanceNode("/root/main/wardrecinfo/breth");
  746. model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  747. model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  748. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  749. model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
  750. model.resetInstanceNode("/root/main/wardrecinfo/bdbtype");
  751. } else {
  752. model.setValue("/root/main/wardrecinfo/basebdinfoinclyn", "");
  753. chk_basebdinfoinclyn.refresh();
  754. return;
  755. }
  756. } else {
  757. ipt_lowbp.disabled = false;
  758. ipt_highbp.disabled = false;
  759. ipt_pulse.disabled = false;
  760. ipt_breth.disabled = false;
  761. ipt_bdtp.disabled = false;
  762. cmb_bdtp.disabled = false;
  763. ipt_bdht.disabled = false;
  764. ipt_bdwt.disabled = false;
  765. cmb_bdbtype.disabled = false;
  766. }
  767. ipt_lowbp.refresh();
  768. ipt_highbp.refresh();
  769. ipt_pulse.refresh();
  770. ipt_breth.refresh();
  771. ipt_bdtp.refresh();
  772. cmb_bdtp.refresh();
  773. ipt_bdht.refresh();
  774. ipt_bdwt.refresh();
  775. cmb_bdbtype.refresh();
  776. ]]>
  777. </script>
  778. <script type="javascript" ev:event="xforms-select">
  779. <![CDATA[
  780. status = "click";
  781. ]]>
  782. </script>
  783. </select>
  784. <line id="line38" class="line_1" style="x1:402px; y1:472px; x2:793px; y2:472px; "/>
  785. <line id="line39" class="line_2" style="x1:402px; y1:499px; x2:793px; y2:499px; "/>
  786. <caption id="cap_drunkinfoterm" style="left:742px; top:379px; width:54px; height:19px; text-align:center; ">기간(년)</caption>
  787. <input id="ipt_drunkdoseday" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfodose" disabled="true" navindex="44" style="left:575px; top:377px; width:110px; height:19px; text-align:left; "/>
  788. <input id="ipt_prgbthhisl" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisl" class="input_default" style="left:752px; top:526px; width:26px; height:19px; "/>
  789. <caption id="caption39" class="tit_2" style="left:406px; top:207px; width:104px; height:13px; ">기본 신체정보</caption>
  790. <caption id="caption120" style="left:485px; top:524px; width:15px; height:25px; vertical-align:middle; ">G</caption>
  791. <input id="ipt_lastmensdd" ref="/root/main/wardrecinfo/femaleinfo/female/female/lastmensdd" class="input_default" navindex="52" inputtype="date" format="yyyy-mm-dd" style="left:485px; top:502px; width:308px; height:19px; "/>
  792. <caption id="caption121" style="left:532px; top:523px; width:15px; height:25px; vertical-align:middle; ">P</caption>
  793. <input id="ipt_prgbthhissa" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhissa" class="input_default" style="left:647px; top:526px; width:26px; height:19px; "/>
  794. <caption id="cap_prgbthhis" class="cell_1" style="left:402px; top:525px; width:80px; height:23px; ">임신출산력</caption>
  795. <input id="ipt_tnsseffc" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl" disabled="true" navindex="49" style="left:575px; top:425px; width:216px; height:19px; text-align:left; "/>
  796. <select1 id="rdo_tnsseffcyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn" navindex="48" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:497px; top:428px; width:75px; height:13px; border-style:none; ">
  797. <choices>
  798. <item>
  799. <label>무</label>
  800. <value>1</value>
  801. </item>
  802. <item>
  803. <label>유</label>
  804. <value>2</value>
  805. </item>
  806. </choices>
  807. <script type="javascript" ev:event="xforms-value-changed">
  808. <![CDATA[
  809. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn") == "2") {
  810. ipt_tnsseffc.disabled = false;
  811. } else {
  812. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl");
  813. ipt_tnsseffc.disabled = true;
  814. ipt_tnsseffc.refresh();
  815. }
  816. ]]>
  817. </script>
  818. </select1>
  819. <caption id="caption1" class="cell_1" style="left:402px; top:376px; width:92px; height:23px; ">음주정보</caption>
  820. <caption id="caption122" style="left:579px; top:523px; width:15px; height:25px; vertical-align:middle; ">A</caption>
  821. <input id="ipt_prgbthhisp" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisp" class="input_default" style="left:550px; top:526px; width:26px; height:19px; "/>
  822. <input id="ipt_prgbthhisaa" ref="/root/main/wardrecinfo/femaleinfo/female/female/prgbthhisaa" class="input_default" style="left:697px; top:526px; width:26px; height:19px; "/>
  823. <caption id="caption123" style="left:621px; top:523px; width:23px; height:25px; vertical-align:middle; ">(SA</caption>
  824. <input id="ipt_pulse" ref="/root/main/wardrecinfo/pulse" navindex="33" maxlength="3" format="9#.#" style="left:465px; top:252px; width:103px; height:19px; text-align:center; "/>
  825. <line id="line20" class="line_2" style="x1:402px; y1:273px; x2:793px; y2:273px; "/>
  826. <line id="line21" class="line_2" style="x1:402px; y1:297px; x2:793px; y2:297px; "/>
  827. <caption id="cap_bdht" class="cell_1" style="left:629px; top:227px; width:60px; height:23px; ">신장</caption>
  828. <input id="ipt_breth" ref="/root/main/wardrecinfo/breth" navindex="34" maxlength="2" format="9#.#" style="left:465px; top:276px; width:103px; height:19px; text-align:center; "/>
  829. <caption id="caption30" class="output_fix" style="left:572px; top:277px; width:53px; height:19px; text-align:center; ">회/분</caption>
  830. <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="31" maxlength="3" format="9#.#" style="left:465px; top:228px; width:50px; height:19px; text-align:center; "/>
  831. <caption id="caption20" class="cell_1" style="left:402px; top:299px; width:60px; height:23px; ">체온</caption>
  832. <caption id="caption31" class="output_fix" style="left:760px; top:228px; width:33px; height:19px; text-align:center; ">Cm</caption>
  833. <caption id="cap_bdwt" class="cell_1" style="left:629px; top:251px; width:60px; height:23px; ">체중</caption>
  834. <line id="line15" class="line_2" style="x1:402px; y1:249px; x2:793px; y2:249px; "/>
  835. <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="32" maxlength="3" format="9#.#" style="left:518px; top:228px; width:50px; height:19px; text-align:center; "/>
  836. <caption id="caption36" class="output_fix" style="left:760px; top:252px; width:33px; height:19px; text-align:center; ">Kg</caption>
  837. <caption id="caption26" class="output_fix" style="left:572px; top:228px; width:53px; height:19px; text-align:center; ">mmHg</caption>
  838. <caption id="caption38" class="output_fix" style="left:572px; top:300px; width:53px; height:19px; text-align:center; ">℃</caption>
  839. <input id="ipt_bdht" ref="/root/main/wardrecinfo/bdht" navindex="37" format="9#.#" style="left:692px; top:228px; width:65px; height:19px; text-align:center; "/>
  840. <caption id="caption17" class="cell_1" style="left:402px; top:227px; width:60px; height:23px; ">혈압</caption>
  841. <caption id="caption28" class="output_fix" style="left:572px; top:252px; width:53px; height:19px; text-align:center; ">회/분</caption>
  842. <input id="ipt_bdtp" ref="/root/main/wardrecinfo/bdtp" navindex="35" format="9#.#" style="left:465px; top:300px; width:50px; height:19px; text-align:center; "/>
  843. <caption id="caption18" class="cell_1" style="left:402px; top:251px; width:60px; height:23px; ">맥박</caption>
  844. <input id="ipt_bdwt" ref="/root/main/wardrecinfo/bdwt" navindex="38" format="9#.#" style="left:692px; top:252px; width:65px; height:19px; text-align:center; "/>
  845. <caption id="caption19" class="cell_1" style="left:402px; top:275px; width:60px; height:23px; ">호흡</caption>
  846. <caption id="caption2" class="tit_2" style="left:10px; top:10px; width:104px; height:14px; ">환자기본정보</caption>
  847. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
  848. <button id="btn_famyfactdel" class="btn2_letter3" style="left:342px; top:153px; width:53px; height:19px; ">
  849. <caption>행삭제</caption>
  850. <script type="javascript" ev:event="DOMActivate">
  851. <![CDATA[
  852. grd_famyfact.deleteRow(grd_famyfact.row);
  853. ]]>
  854. </script>
  855. </button>
  856. <button id="btn_famyfactadd" class="btn2_letter3" style="left:286px; top:153px; width:53px; height:19px; ">
  857. <caption>행추가</caption>
  858. <script type="javascript" ev:event="DOMActivate">
  859. <![CDATA[
  860. grd_famyfact.addRow();
  861. ]]>
  862. </script>
  863. </button>
  864. <caption id="cap_famyfact" class="tit_2" style="left:10px; top:158px; width:104px; height:13px; ">가족사항</caption>
  865. <line id="line6" class="line_1" style="x1:5px; y1:173px; x2:396px; y2:173px; "/>
  866. <datagrid id="grd_famyfact" nodeset="/root/main/famyfact" scroll="auto" caption="상태^관계^성명^주소(동/구)^세부주소^전화번호^핸드폰번호^비고^fmlyseq" colsep="^" colwidth="0, 45, 0, 94, 130, 90, 90, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:178px; width:391px; height:87px; ">
  867. <col ref="stat"/>
  868. <col ref="rela" type="combo">
  869. <choices>
  870. <item>
  871. <label>배우자</label>
  872. <value>01</value>
  873. </item>
  874. <item>
  875. <label>자녀</label>
  876. <value>02</value>
  877. </item>
  878. <item>
  879. <label>부</label>
  880. <value>03</value>
  881. </item>
  882. <item>
  883. <label>모</label>
  884. <value>04</value>
  885. </item>
  886. <item>
  887. <label>조모</label>
  888. <value>05</value>
  889. </item>
  890. <item>
  891. <label>조부</label>
  892. <value>06</value>
  893. </item>
  894. <item>
  895. <label>형제</label>
  896. <value>07</value>
  897. </item>
  898. <item>
  899. <label>자매</label>
  900. <value>08</value>
  901. </item>
  902. <item>
  903. <label>장인</label>
  904. <value>09</value>
  905. </item>
  906. <item>
  907. <label>장모</label>
  908. <value>10</value>
  909. </item>
  910. <item>
  911. <label>며느리</label>
  912. <value>11</value>
  913. </item>
  914. <item>
  915. <label>손자</label>
  916. <value>12</value>
  917. </item>
  918. <item>
  919. <label>기타</label>
  920. <value>13</value>
  921. </item>
  922. </choices>
  923. </col>
  924. <col ref="hngnm" type="input"/>
  925. <col ref="addr" type="input"/>
  926. <col ref="detladdr" type="input"/>
  927. <col ref="tel" type="input">
  928. <script type="javascript" ev:event="xforms-value-changed">
  929. <![CDATA[
  930. ]]>
  931. </script>
  932. </col>
  933. <col ref="mpphone" type="input"/>
  934. <col ref="remfact" type="input"/>
  935. <col ref="fmlyseq" visibility="hidden"/>
  936. <script type="javascript" ev:event="xforms-value-changed">
  937. <![CDATA[
  938. ]]>
  939. </script>
  940. <script type="javascript" ev:event="onclick">
  941. <![CDATA[
  942. grd_famyfact.editCell();
  943. ]]>
  944. </script>
  945. </datagrid>
  946. <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:5px; top:629px; width:80px; height:23px; ">존재유무</caption>
  947. <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="13" visibility="hidden" style="left:88px; top:630px; width:110px; height:19px; text-align:left; "/>
  948. <caption id="caption8" class="tit_2" visibility="hidden" style="left:10px; top:609px; width:104px; height:13px; ">가계도</caption>
  949. <line id="line7" class="line_1" visibility="hidden" style="x1:5px; y1:624px; x2:396px; y2:624px; "/>
  950. <select id="chk_homecareinfoinclyn" ref="/root/main/wardrecinfo/homecareinfoinclyn" overflow="visible" appearance="full" style="left:721px; top:8px; width:70px; height:15px; border-style:none; ">
  951. <choices>
  952. <item>
  953. <label>해당없음</label>
  954. <value>1</value>
  955. </item>
  956. </choices>
  957. <script type="javascript" ev:event="xforms-value-changed">
  958. <![CDATA[
  959. if(model.getValue("/root/main/wardrecinfo/homecareinfoinclyn")=="1") {
  960. var rtn = "";
  961. rtn = fSetStatus();
  962. if(rtn == "6") {
  963. cmb_carednor.disabled = true;
  964. ipt_carednor.disabled = true;
  965. cmb_healcaregrnt.disabled = true;
  966. ipt_healcaregrntnm.disabled = true;
  967. rdo_healcntrprofit.disabled = true;
  968. cmb_economystat.disabled = true;
  969. cmb_sanitstat.disabled = true;
  970. cmb_safestat.disabled = true;
  971. cmb_residtype.disabled = true;
  972. ipt_residtype.disabled = true;
  973. model.resetInstanceNode("/root/main/wardrecinfo/carednor");
  974. model.resetInstanceNode("/root/main/wardrecinfo/carednornm");
  975. model.resetInstanceNode("/root/main/wardrecinfo/healcaregrnt");
  976. model.resetInstanceNode("/root/main/wardrecinfo/healcaregrntnm");
  977. model.resetInstanceNode("/root/main/wardrecinfo/healcntrprofit");
  978. model.resetInstanceNode("/root/main/wardrecinfo/economystat");
  979. model.resetInstanceNode("/root/main/wardrecinfo/sanitstat");
  980. model.resetInstanceNode("/root/main/wardrecinfo/safestat");
  981. model.resetInstanceNode("/root/main/wardrecinfo/residtype");
  982. model.resetInstanceNode("/root/main/wardrecinfo/residtypenm");
  983. } else {
  984. model.setValue("/root/main/wardrecinfo/basebdinfoinclyn", "");
  985. chk_basebdinfoinclyn.refresh();
  986. return;
  987. }
  988. } else {
  989. cmb_carednor.disabled = false;
  990. ipt_carednor.disabled = false;
  991. cmb_healcaregrnt.disabled = false;
  992. ipt_healcaregrntnm.disabled = false;
  993. rdo_healcntrprofit.disabled = false;
  994. cmb_economystat.disabled = false;
  995. cmb_sanitstat.disabled = false;
  996. cmb_safestat.disabled = false;
  997. cmb_residtype.disabled = false;
  998. ipt_residtype.disabled = false;
  999. }
  1000. cmb_carednor.refresh();
  1001. ipt_carednor.refresh();
  1002. cmb_healcaregrnt.refresh();
  1003. ipt_healcaregrntnm.refresh();
  1004. rdo_healcntrprofit.refresh();
  1005. cmb_economystat.refresh();
  1006. cmb_sanitstat.refresh();
  1007. cmb_safestat.refresh();
  1008. cmb_residtype.refresh();
  1009. ipt_residtype.refresh();
  1010. ]]>
  1011. </script>
  1012. <script type="javascript" ev:event="xforms-select">
  1013. <![CDATA[
  1014. status = "click";
  1015. ]]>
  1016. </script>
  1017. </select>
  1018. <select1 id="cmb_carednor" ref="/root/main/wardrecinfo/carednor" class="combo_default" navindex="21" appearance="minimal" style="left:504px; top:31px; width:117px; height:19px; ">
  1019. <choices>
  1020. <item>
  1021. <label>배우자</label>
  1022. <value>01</value>
  1023. </item>
  1024. <item>
  1025. <label>부모</label>
  1026. <value>02</value>
  1027. </item>
  1028. <item>
  1029. <label>딸 or 아들</label>
  1030. <value>03</value>
  1031. </item>
  1032. <item>
  1033. <label>며느리 or 사위</label>
  1034. <value>04</value>
  1035. </item>
  1036. <item>
  1037. <label>간병인</label>
  1038. <value>05</value>
  1039. </item>
  1040. <item>
  1041. <label>기타</label>
  1042. <value>06</value>
  1043. </item>
  1044. </choices>
  1045. <script type="javascript" ev:event="xforms-value-changed">
  1046. <![CDATA[
  1047. if(model.getValue("/root/main/wardrecinfo/carednor") == "06") {
  1048. ipt_carednor.visible = true;
  1049. } else {
  1050. ipt_carednor.visible = false;
  1051. model.resetInstanceNode("/root/man/wardrecinfo/carednornm");
  1052. }
  1053. ]]>
  1054. </script>
  1055. </select1>
  1056. <input id="ipt_carednor" ref="/root/main/wardrecinfo/carednornm" navindex="22" visibility="hidden" style="left:624px; top:31px; width:166px; height:19px; text-align:left; "/>
  1057. <select1 id="cmb_healcaregrnt" ref="/root/main/wardrecinfo/healcaregrnt" class="combo_default" navindex="23" appearance="minimal" style="left:504px; top:55px; width:117px; height:19px; ">
  1058. <choices>
  1059. <itemset nodeset="/root/init/mlist/P0008">
  1060. <label ref="cdnm"/>
  1061. <value ref="cdid"/>
  1062. </itemset>
  1063. </choices>
  1064. <script type="javascript" ev:event="xforms-value-changed">
  1065. <![CDATA[
  1066. /*
  1067. if(model.getValue("/root/main/wardrecinfo/healcaregrnt") == "05") {
  1068. ipt_healcaregrntnm.visible = true;
  1069. } else {
  1070. ipt_healcaregrntnm.visible = false;
  1071. model.resetInstanceNode("/root/main/wardrecinfo/healcaregrntnm");
  1072. ipt_healcaregrntnm.refresh();
  1073. }
  1074. */
  1075. ]]>
  1076. </script>
  1077. </select1>
  1078. <select1 id="rdo_healcntrprofit" ref="/root/main/wardrecinfo/healcntrprofit" navindex="25" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:505px; top:80px; width:90px; height:13px; border-style:none; ">
  1079. <choices>
  1080. <item>
  1081. <label>무</label>
  1082. <value>1</value>
  1083. </item>
  1084. <item>
  1085. <label>유</label>
  1086. <value>2</value>
  1087. </item>
  1088. </choices>
  1089. </select1>
  1090. <select1 id="cmb_economystat" ref="/root/main/wardrecinfo/economystat" class="combo_default" navindex="26" appearance="minimal" style="left:504px; top:103px; width:117px; height:19px; ">
  1091. <choices>
  1092. <item>
  1093. <label>상</label>
  1094. <value>01</value>
  1095. </item>
  1096. <item>
  1097. <label>중</label>
  1098. <value>02</value>
  1099. </item>
  1100. <item>
  1101. <label>하</label>
  1102. <value>03</value>
  1103. </item>
  1104. </choices>
  1105. </select1>
  1106. <select1 id="cmb_sanitstat" ref="/root/main/wardrecinfo/sanitstat" class="combo_default" navindex="27" appearance="minimal" style="left:504px; top:127px; width:117px; height:19px; ">
  1107. <choices>
  1108. <item>
  1109. <label>양호</label>
  1110. <value>01</value>
  1111. </item>
  1112. <item>
  1113. <label>불량</label>
  1114. <value>02</value>
  1115. </item>
  1116. </choices>
  1117. </select1>
  1118. <select1 id="cmb_safestat" ref="/root/main/wardrecinfo/safestat" class="combo_default" navindex="28" appearance="minimal" style="left:504px; top:151px; width:117px; height:19px; ">
  1119. <choices>
  1120. <item>
  1121. <label>양호</label>
  1122. <value>01</value>
  1123. </item>
  1124. <item>
  1125. <label>불량</label>
  1126. <value>02</value>
  1127. </item>
  1128. </choices>
  1129. </select1>
  1130. <select1 id="cmb_residtype" ref="/root/main/wardrecinfo/residtype" class="combo_default" navindex="29" appearance="minimal" style="left:504px; top:175px; width:117px; height:19px; ">
  1131. <choices>
  1132. <item>
  1133. <label>아파트</label>
  1134. <value>01</value>
  1135. </item>
  1136. <item>
  1137. <label>단독주택</label>
  1138. <value>02</value>
  1139. </item>
  1140. <item>
  1141. <label>연립</label>
  1142. <value>03</value>
  1143. </item>
  1144. <item>
  1145. <label>기타</label>
  1146. <value>04</value>
  1147. </item>
  1148. </choices>
  1149. <script type="javascript" ev:event="xforms-value-changed">
  1150. <![CDATA[
  1151. if(model.getValue("/root/main/wardrecinfo/residtype") == "04") {
  1152. ipt_residtype.visible = true;
  1153. } else {
  1154. ipt_residtype.visible = false;
  1155. model.resetInstanceNode("/root/main/wardrecinfo/residtypenm");
  1156. ipt_residtype.refresh();
  1157. }
  1158. ]]>
  1159. </script>
  1160. </select1>
  1161. <input id="ipt_residtype" ref="/root/main/wardrecinfo/residtypenm" navindex="30" visibility="hidden" style="left:624px; top:175px; width:166px; height:19px; text-align:left; "/>
  1162. <input id="ipt_healcaregrntnm" ref="/root/main/wardrecinfo/healcaregrntnm" disabled="true" navindex="24" visibility="hidden" style="left:624px; top:55px; width:166px; height:19px; text-align:left; "/>
  1163. <line id="line8" class="line_3" visibility="hidden" style="x1:5px; y1:651px; x2:396px; y2:651px; "/>
  1164. <line id="line37" class="line_3" style="x1:402px; y1:547px; x2:793px; y2:547px; "/>
  1165. <input id="input1" ref="/root/main/wardrecinfo/healcaregrntnm" visibility="hidden" style="left:624px; top:79px; width:166px; height:19px; text-align:left; "/>
  1166. <button id="btn_dschmedistat" class="btn2_letter4" style="left:276px; top:494px; width:64px; height:19px; ">
  1167. <caption>끌어오기</caption>
  1168. <script type="javascript" ev:event="DOMActivate">
  1169. <![CDATA[
  1170. //return;
  1171. model.removeNodeset("/root/send/req");
  1172. model.makeNode("/root/send/req");
  1173. model.makeValue("/root/send/req/pid", model.getValue("/root/temp/cond/list/pid"));
  1174. model.makeValue("/root/send/req/reqdd", model.getValue("/root/temp/cond/list/reqdd"));
  1175. model.makeValue("/root/send/req/reqdeptcd", model.getValue("/root/temp/cond/list/orddeptcd"));
  1176. model.makeValue("/root/send/req/requserid", model.getValue("/root/temp/cond/list/medispclid"));
  1177. if(submit("TRMNW08501")){
  1178. var stat = model.getValue("/root/main/rsrvinfo/dschdrugfactinfo/stat");
  1179. if(stat == "notdrug"){
  1180. messageBox("퇴원시 투약사항 정보가 존재하지 않습니다.", "I");
  1181. return;
  1182. }else if (stat == "notcnst"){
  1183. messageBox("컨설트 의뢰된 내역이 존재하지 않습니다.", "I");
  1184. return;
  1185. }else{
  1186. open( "SPMNW13100", "1", "100", "100", "SPMNW13100", "/root/main/rsrvinfo", "/root/main/rsrvinfo" );
  1187. }
  1188. }
  1189. ]]>
  1190. </script>
  1191. </button>
  1192. <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:1078px; top:5px; width:53px; height:19px; ">
  1193. <caption>행추가</caption>
  1194. <script type="javascript" ev:event="DOMActivate">
  1195. <![CDATA[
  1196. grd_pasthist.addRow();
  1197. ]]>
  1198. </script>
  1199. </button>
  1200. <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:952px; top:310px; width:70px; height:15px; border-style:none; ">
  1201. <choices>
  1202. <item>
  1203. <label>해당없음</label>
  1204. <value>1</value>
  1205. </item>
  1206. </choices>
  1207. <script type="javascript" ev:event="xforms-value-changed">
  1208. <![CDATA[
  1209. if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
  1210. var isEmptyYN = "Y";
  1211. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  1212. var rtn = fSetStatus();
  1213. if(rtn == "6") {
  1214. model.removeNodeset("/root/main/histinfo/ophistinfo/ophist/ophist");
  1215. grd_ophist.rebuild();
  1216. btn_ophistadd.disabled = true;
  1217. btn_ophistdel.disabled = true;
  1218. btn_ophistpop.disabled = true;
  1219. } else if(rtn == "7") {
  1220. model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
  1221. chk_ophistinclyn.refresh();
  1222. }
  1223. } else {
  1224. btn_ophistadd.disabled = false;
  1225. btn_ophistdel.disabled = false;
  1226. btn_ophistpop.disabled = false;
  1227. grd_ophist.addRow();
  1228. }
  1229. ]]>
  1230. </script>
  1231. </select>
  1232. <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:548px; width:390px; height:71px; ">
  1233. <col ref="genrdd" type="inputdate"/>
  1234. <col ref="flag" type="combo">
  1235. <choices>
  1236. <itemset nodeset="/root/init/mlist/M0090">
  1237. <label ref="cdnm"/>
  1238. <value ref="cdid"/>
  1239. </itemset>
  1240. </choices>
  1241. </col>
  1242. <col ref="allergespec" type="input"/>
  1243. <script type="javascript" ev:event="onclick">
  1244. <![CDATA[
  1245. if(grd_allghist.colType(grd_allghist.col) == "input") {
  1246. grd_allghist.editCell();
  1247. }
  1248. ]]>
  1249. </script>
  1250. <script type="javascript" ev:event="onkeydown">
  1251. <![CDATA[
  1252. if(event.keyCode == 9) {
  1253. grd_allghist.editCell();
  1254. }
  1255. ]]>
  1256. </script>
  1257. </datagrid>
  1258. <caption id="cap_rectmedistat" class="tit_2" style="left:801px; top:416px; width:104px; height:13px; ">최근투약상태</caption>
  1259. <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:1134px; top:411px; width:53px; height:19px; ">
  1260. <caption>행삭제</caption>
  1261. <script type="javascript" ev:event="DOMActivate">
  1262. <![CDATA[
  1263. grd_rectmedistat.deleteRow(grd_rectmedistat.row);
  1264. ]]>
  1265. </script>
  1266. </button>
  1267. <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:1134px; top:207px; width:53px; height:19px; ">
  1268. <caption>행삭제</caption>
  1269. <script type="javascript" ev:event="DOMActivate">
  1270. <![CDATA[
  1271. grd_inhist.deleteRow(grd_inhist.row);
  1272. ]]>
  1273. </script>
  1274. </button>
  1275. <datagrid id="grd_inhist" nodeset="/root/main/histinfo/inhistinfo/inhist/inhist" scroll="auto" caption="입원일자^퇴원일자^병명^진료기관^inhistpk" colsep="^" colwidth="85, 85, 133, 67, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:232px; width:390px; height:71px; ">
  1276. <col ref="indd" type="inputdate"/>
  1277. <col ref="dschdd" type="inputdate"/>
  1278. <col ref="illnm" type="input"/>
  1279. <col ref="orddept" type="input"/>
  1280. <col ref="inhistpk" visibility="hidden"/>
  1281. <script type="javascript" ev:event="onclick">
  1282. <![CDATA[
  1283. if(grd_inhist.colType(grd_inhist.col) == "input") {
  1284. grd_inhist.editCell();
  1285. }
  1286. ]]>
  1287. </script>
  1288. <script type="javascript" ev:event="onkeydown">
  1289. <![CDATA[
  1290. if(event.keyCode == 9) {
  1291. grd_inhist.editCell();
  1292. }
  1293. ]]>
  1294. </script>
  1295. </datagrid>
  1296. <select id="chk_pasthistyn" ref="/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn" navindex="56" overflow="visible" appearance="full" style="left:952px; top:7px; width:70px; height:15px; border-style:none; ">
  1297. <choices>
  1298. <item>
  1299. <label>해당없음</label>
  1300. <value>1</value>
  1301. </item>
  1302. </choices>
  1303. <script type="javascript" ev:event="xforms-value-changed">
  1304. <![CDATA[
  1305. //과거병력 해당없음이 체크가 되어있느냐 없느냐 .
  1306. if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
  1307. var isEmptyYN = "Y";
  1308. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  1309. var rtn = fSetStatus();
  1310. if(rtn == "6") {
  1311. model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
  1312. grd_pasthist.rebuild();
  1313. btn_pasthistadd.disabled = true;
  1314. btn_pasthistdel.disabled = true;
  1315. } else if(rtn == "7") {
  1316. model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  1317. chk_pasthistyn.refresh();
  1318. }
  1319. } else {
  1320. btn_pasthistadd.disabled = false;
  1321. btn_pasthistdel.disabled = false;
  1322. grd_pasthist.addRow();
  1323. }
  1324. ]]>
  1325. </script>
  1326. <script type="javascript" ev:event="xforms-select">
  1327. <![CDATA[
  1328. status = "click";
  1329. ]]>
  1330. </script>
  1331. </select>
  1332. <caption id="cap_pasthist" class="tit_2" style="left:802px; top:10px; width:104px; height:13px; ">과거병력</caption>
  1333. <line id="line22" class="line_1" style="x1:797px; y1:126px; x2:1187px; y2:126px; "/>
  1334. <select id="chk_famyhistyn" ref="/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn" navindex="59" overflow="visible" appearance="full" style="left:952px; top:108px; width:70px; height:15px; border-style:none; ">
  1335. <choices>
  1336. <item>
  1337. <label>해당없음</label>
  1338. <value>1</value>
  1339. </item>
  1340. </choices>
  1341. <script type="javascript" ev:event="xforms-value-changed">
  1342. <![CDATA[
  1343. if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
  1344. var isEmptyYN = "Y";
  1345. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  1346. var rtn = fSetStatus();
  1347. if(rtn == "6") {
  1348. model.removeNodeset("/root/main/histinfo/famyhistinfo/famyhist/famyhist");
  1349. grd_famyhist.rebuild();
  1350. btn_famyhistadd.disabled = true;
  1351. btn_famyhistdel.disabled = true;
  1352. } else if(rtn == "7") {
  1353. model.setValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn", "");
  1354. chk_famyhistyn.refresh();
  1355. }
  1356. } else {
  1357. btn_famyhistadd.disabled = false;
  1358. btn_famyhistdel.disabled = false;
  1359. grd_famyhist.addRow();
  1360. }
  1361. ]]>
  1362. </script>
  1363. <script type="javascript" ev:event="xforms-select">
  1364. <![CDATA[
  1365. status = "click";
  1366. ]]>
  1367. </script>
  1368. </select>
  1369. <caption id="cap_famyhist" class="tit_2" style="left:801px; top:111px; width:74px; height:13px; ">가족병력</caption>
  1370. <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:1078px; top:106px; width:53px; height:19px; ">
  1371. <caption>행추가</caption>
  1372. <script type="javascript" ev:event="DOMActivate">
  1373. <![CDATA[
  1374. grd_famyhist.addRow();
  1375. ]]>
  1376. </script>
  1377. </button>
  1378. <datagrid id="grd_pasthist" nodeset="/root/main/histinfo/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 169, 116" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:30px; width:390px; height:71px; ">
  1379. <col ref="genrdd" type="inputdate"/>
  1380. <col ref="histspec" type="combo">
  1381. <choices>
  1382. <itemset nodeset="/root/init/mlist/M0532">
  1383. <label ref="cdnm"/>
  1384. <value ref="cdid"/>
  1385. </itemset>
  1386. </choices>
  1387. </col>
  1388. <col ref="remfact" type="input"/>
  1389. <script type="javascript" ev:event="onclick">
  1390. <![CDATA[
  1391. if(grd_pasthist.colType(grd_pasthist.col) == "input") {
  1392. grd_pasthist.editCell();
  1393. }
  1394. ]]>
  1395. </script>
  1396. <script type="javascript" ev:event="onkeydown">
  1397. <![CDATA[
  1398. if(event.keyCode == 9) {
  1399. grd_pasthist.editCell();
  1400. }
  1401. ]]>
  1402. </script>
  1403. </datagrid>
  1404. <line id="line23" class="line_1" style="x1:797px; y1:227px; x2:1187px; y2:227px; "/>
  1405. <datagrid id="grd_famyhist" nodeset="/root/main/histinfo/famyhistinfo/famyhist/famyhist" scroll="auto" caption="관계^생존^병력내역^비고" colsep="^" colwidth="60, 40, 169, 102" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:131px; width:390px; height:71px; ">
  1406. <col ref="famyrel" type="combo">
  1407. <choices>
  1408. <itemset nodeset="/root/init/mlist/M0072">
  1409. <label ref="cdnm"/>
  1410. <value ref="cdid"/>
  1411. </itemset>
  1412. </choices>
  1413. </col>
  1414. <col ref="existyn" type="combo">
  1415. <choices>
  1416. <itemset nodeset="/root/init/mlist/M0088">
  1417. <label ref="cdnm"/>
  1418. <value ref="cdid"/>
  1419. </itemset>
  1420. </choices>
  1421. </col>
  1422. <col ref="histspec" type="combo">
  1423. <choices>
  1424. <itemset nodeset="/root/init/mlist/M0368">
  1425. <label ref="cdnm"/>
  1426. <value ref="cdid"/>
  1427. </itemset>
  1428. </choices>
  1429. </col>
  1430. <col ref="remfact" type="input"/>
  1431. <script type="javascript" ev:event="onclick">
  1432. <![CDATA[
  1433. grd_famyhist.editCell();
  1434. ]]>
  1435. </script>
  1436. <script type="javascript" ev:event="onkeydown">
  1437. <![CDATA[
  1438. if(event.keyCode == 9) {
  1439. grd_famyhist.editCell();
  1440. }
  1441. ]]>
  1442. </script>
  1443. </datagrid>
  1444. <line id="line24" class="line_1" style="x1:797px; y1:328px; x2:1187px; y2:328px; "/>
  1445. <caption id="cap_ophist" class="tit_2" style="left:802px; top:313px; width:104px; height:13px; ">수술이력</caption>
  1446. <line id="line25" class="line_1" style="x1:797px; y1:431px; x2:1187px; y2:431px; "/>
  1447. <button id="btn_allghistdel" class="btn2_letter3" navindex="73" style="left:1134px; top:523px; width:53px; height:19px; ">
  1448. <caption>행삭제</caption>
  1449. <script type="javascript" ev:event="DOMActivate">
  1450. <![CDATA[
  1451. grd_allghist.deleteRow(grd_allghist.row);
  1452. ]]>
  1453. </script>
  1454. </button>
  1455. <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:1078px; top:411px; width:53px; height:19px; ">
  1456. <caption>행추가</caption>
  1457. <script type="javascript" ev:event="DOMActivate">
  1458. <![CDATA[
  1459. grd_rectmedistat.addRow();
  1460. ]]>
  1461. </script>
  1462. </button>
  1463. <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:1078px; top:207px; width:53px; height:19px; ">
  1464. <caption>행추가</caption>
  1465. <script type="javascript" ev:event="DOMActivate">
  1466. <![CDATA[
  1467. grd_inhist.addRow();
  1468. ]]>
  1469. </script>
  1470. </button>
  1471. <line id="line26" class="line_1" style="x1:797px; y1:431px; x2:1187px; y2:431px; "/>
  1472. <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:1134px; top:308px; width:53px; height:19px; ">
  1473. <caption>행삭제</caption>
  1474. <script type="javascript" ev:event="DOMActivate">
  1475. <![CDATA[
  1476. grd_ophist.deleteRow(grd_ophist.row);
  1477. ]]>
  1478. </script>
  1479. </button>
  1480. <line id="line27" class="line_1" style="x1:797px; y1:543px; x2:1187px; y2:543px; "/>
  1481. <button id="btn_pasthistdel" class="btn2_letter3" navindex="58" style="left:1134px; top:5px; width:53px; height:19px; ">
  1482. <caption>행삭제</caption>
  1483. <script type="javascript" ev:event="DOMActivate">
  1484. <![CDATA[
  1485. grd_pasthist.deleteRow(grd_pasthist.row);
  1486. ]]>
  1487. </script>
  1488. </button>
  1489. <button id="button41" class="icon_search" style="left:1057px; top:525px; width:16px; height:16px; ">
  1490. <caption/>
  1491. <script type="javascript" ev:event="DOMActivate">
  1492. <![CDATA[
  1493. open("SPMMD03300");
  1494. ]]>
  1495. </script>
  1496. </button>
  1497. <line id="line28" class="line_1" style="x1:797px; y1:543px; x2:1187px; y2:543px; "/>
  1498. <caption id="cap_inhist" class="tit_2" style="left:801px; top:212px; width:104px; height:13px; ">입원이력</caption>
  1499. <line id="line51" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
  1500. <datagrid id="grd_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:436px; width:390px; height:71px; ">
  1501. <col ref="drugnm" type="input"/>
  1502. <col ref="direc" type="input"/>
  1503. <col ref="orddept" type="input"/>
  1504. <script type="javascript" ev:event="onclick">
  1505. <![CDATA[
  1506. grd_rectmedistat.editCell();
  1507. ]]>
  1508. </script>
  1509. <script type="javascript" ev:event="onkeydown">
  1510. <![CDATA[
  1511. if(event.keyCode == 9) {
  1512. grd_rectmedistat.editCell();
  1513. }
  1514. ]]>
  1515. </script>
  1516. </datagrid>
  1517. <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:952px; top:209px; width:70px; height:15px; border-style:none; ">
  1518. <choices>
  1519. <item>
  1520. <label>해당없음</label>
  1521. <value>1</value>
  1522. </item>
  1523. </choices>
  1524. <script type="javascript" ev:event="xforms-value-changed">
  1525. <![CDATA[
  1526. if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
  1527. var isEmptyYN = "Y";
  1528. isEmptyYN = isCheckGridDataYN(grd_inhist);
  1529. var rtn = fSetStatus();
  1530. if(rtn == "6") {
  1531. model.removeNodeset("/root/main/histinfo/inhistinfo/inhist/inhist");
  1532. grd_inhist.rebuild();
  1533. btn_inhistadd.disabled = true;
  1534. btn_inhistdel.disabled = true;
  1535. btn_inhistpop.disabled = true;
  1536. } else if(rtn == "7") {
  1537. model.setValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn", "");
  1538. chk_inhistyn.refresh();
  1539. }
  1540. } else {
  1541. btn_inhistadd.disabled = false;
  1542. btn_inhistdel.disabled = false;
  1543. btn_inhistpop.disabled = false;
  1544. grd_inhist.addRow();
  1545. }
  1546. ]]>
  1547. </script>
  1548. <script type="javascript" ev:event="xforms-select">
  1549. <![CDATA[
  1550. status = "click";
  1551. ]]>
  1552. </script>
  1553. </select>
  1554. <datagrid id="grd_ophist" nodeset="/root/main/histinfo/ophistinfo/ophist/ophist" scroll="auto" caption="수술일자^수술명^진료기관^ophistpk" colsep="^" colwidth="85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:333px; width:390px; height:71px; ">
  1555. <col ref="opdd" type="inputdate"/>
  1556. <col ref="opnm" type="input"/>
  1557. <col ref="orddept" type="input"/>
  1558. <col ref="ophistpk" visibility="hidden"/>
  1559. <script type="javascript" ev:event="onclick">
  1560. <![CDATA[
  1561. if(grd_ophist.colType(grd_ophist.col) == "input") {
  1562. grd_ophist.editCell();
  1563. }
  1564. ]]>
  1565. </script>
  1566. <script type="javascript" ev:event="onkeydown">
  1567. <![CDATA[
  1568. if(event.keyCode == 9) {
  1569. grd_ophist.editCell();
  1570. }
  1571. ]]>
  1572. </script>
  1573. </datagrid>
  1574. <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:1134px; top:106px; width:53px; height:19px; ">
  1575. <caption>행삭제</caption>
  1576. <script type="javascript" ev:event="DOMActivate">
  1577. <![CDATA[
  1578. grd_famyhist.deleteRow(grd_famyhist.row);
  1579. ]]>
  1580. </script>
  1581. </button>
  1582. <select id="chk_rectmedistatinclyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:952px; top:413px; width:70px; height:15px; border-style:none; ">
  1583. <choices>
  1584. <item>
  1585. <label>해당없음</label>
  1586. <value>1</value>
  1587. </item>
  1588. </choices>
  1589. <script type="javascript" ev:event="xforms-value-changed">
  1590. <![CDATA[
  1591. if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
  1592. var isEmptyYN = "Y";
  1593. isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
  1594. var rtn = fSetStatus();
  1595. if(rtn == "6") {
  1596. model.removeNodeset("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat");
  1597. grd_rectmedistat.rebuild();
  1598. btn_rectmedistatadd.disabled = true;
  1599. btn_rectmedistatdel.disabled = true;
  1600. } else if(rtn == "7") {
  1601. model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
  1602. chk_rectmedistatinclyn.refresh();
  1603. }
  1604. } else {
  1605. btn_rectmedistatadd.disabled = false;
  1606. btn_rectmedistatdel.disabled = false;
  1607. grd_rectmedistat.addRow();
  1608. }
  1609. ]]>
  1610. </script>
  1611. <script type="javascript" ev:event="xforms-select">
  1612. <![CDATA[
  1613. status = "click";
  1614. ]]>
  1615. </script>
  1616. </select>
  1617. <button id="btn_allghistadd" class="btn2_letter3" navindex="72" style="left:1078px; top:523px; width:53px; height:19px; ">
  1618. <caption>행추가</caption>
  1619. <script type="javascript" ev:event="DOMActivate">
  1620. <![CDATA[
  1621. grd_allghist.addRow();
  1622. ]]>
  1623. </script>
  1624. </button>
  1625. <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:1078px; top:308px; width:53px; height:19px; ">
  1626. <caption>행추가</caption>
  1627. <script type="javascript" ev:event="DOMActivate">
  1628. <![CDATA[
  1629. grd_ophist.addRow();
  1630. ]]>
  1631. </script>
  1632. </button>
  1633. <caption id="cap_allghist" class="tit_2" style="left:802px; top:528px; width:69px; height:14px; ">Allergy</caption>
  1634. <button id="button40" class="btn2_letter4" visibility="hidden" style="left:201px; top:630px; width:64px; height:19px; ">
  1635. <caption>끌어오기</caption>
  1636. <script type="javascript" ev:event="DOMActivate">
  1637. <![CDATA[
  1638. setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  1639. modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  1640. if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  1641. model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  1642. opt_existyn.refresh();
  1643. } else {
  1644. model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  1645. opt_existyn.refresh();
  1646. }
  1647. ]]>
  1648. </script>
  1649. </button>
  1650. <input id="ipt_spo2" ref="/root/main/wardrecinfo/spo2" navindex="40" maxlength="6" format="9#.#" style="left:692px; top:300px; width:65px; height:19px; text-align:center; "/>
  1651. <caption id="caption3" class="cell_1" style="left:629px; top:299px; width:60px; height:23px; ">SpO2</caption>
  1652. <caption id="caption4" class="output_fix" style="left:760px; top:300px; width:33px; height:19px; text-align:center; ">%</caption>
  1653. <caption id="caption5" class="cell_1" style="left:629px; top:275px; width:60px; height:23px; ">혈액형</caption>
  1654. <line id="line29" class="line_3" style="x1:402px; y1:321px; x2:793px; y2:321px; "/>
  1655. <line id="line36" class="line_3" style="x1:402px; y1:446px; x2:793px; y2:446px; "/>
  1656. <line id="line53" class="line_2" style="x1:401px; y1:374px; x2:792px; y2:374px; "/>
  1657. <caption id="caption6" class="cell_1" style="left:402px; top:351px; width:92px; height:24px; ">흡연정보</caption>
  1658. <select1 id="cmb_bdbtype" ref="/root/main/wardrecinfo/bdbtype" class="combo_default" navindex="39" appearance="minimal" style="left:692px; top:276px; width:100px; height:19px; ">
  1659. <choices>
  1660. <itemset nodeset="/root/init/mlist/M0376">
  1661. <label ref="cdnm"/>
  1662. <value ref="cdid"/>
  1663. </itemset>
  1664. </choices>
  1665. </select1>
  1666. <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:55px; width:112px; height:19px; "/>
  1667. <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; ">
  1668. <choices>
  1669. <itemset nodeset="/root/init/mlist/M0070">
  1670. <label ref="cdnm"/>
  1671. <value ref="cdid"/>
  1672. </itemset>
  1673. </choices>
  1674. <script type="javascript" ev:event="xforms-value-changed">
  1675. <![CDATA[
  1676. var religncd = model.getValue("/root/main/wardrecinfo/religncd");
  1677. if(religncd == "01") { //천주교일 경우 세례명 입력
  1678. cap_baptnm.visible = true;
  1679. ipt_baptnm.visible = true;
  1680. ipt_baptnm.disabled = false;
  1681. ipt_relignnm.visible = false;
  1682. } else {
  1683. cap_baptnm.visible = false;
  1684. ipt_baptnm.visible = false;
  1685. ipt_relignnm.visible = true;
  1686. model.resetInstanceNode("/root/main/wardrecinfo/baptnm");
  1687. if(religncd == "09") { //기타
  1688. ipt_relignnm.disabled = false;
  1689. } else {
  1690. ipt_relignnm.disabled = true;
  1691. }
  1692. }
  1693. ]]>
  1694. </script>
  1695. </select1>
  1696. <input id="ipt_marystatnm" ref="/root/main/wardrecinfo/marystatnm" disabled="true" navindex="8" style="left:150px; top:79px; width:50px; height:19px; "/>
  1697. <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; ">
  1698. <choices>
  1699. <itemset nodeset="/root/init/mlist/M0068">
  1700. <label ref="cdnm"/>
  1701. <value ref="cdid"/>
  1702. </itemset>
  1703. </choices>
  1704. <script type="javascript" ev:event="xforms-value-changed">
  1705. <![CDATA[
  1706. var job = model.getValue("/root/main/wardrecinfo/jobcd");
  1707. if(job == "10") { //기타
  1708. ipt_job.disabled = false;
  1709. } else {
  1710. model.resetInstanceNode("/root/main/wardrecinfo/jobnm");
  1711. ipt_job.disabled = true;
  1712. ipt_job.refresh();
  1713. }
  1714. ]]>
  1715. </script>
  1716. </select1>
  1717. <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:54px; width:50px; height:23px; ">세례명</caption>
  1718. <caption id="caption11" class="cell_1" style="left:5px; top:102px; width:95px; height:23px; ">연락처/휴대폰</caption>
  1719. <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; ">
  1720. <choices>
  1721. <itemset nodeset="/root/init/mlist/M0411">
  1722. <label ref="cdnm"/>
  1723. <value ref="cdid"/>
  1724. </itemset>
  1725. </choices>
  1726. </select1>
  1727. <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:31px; width:50px; height:19px; "/>
  1728. <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:55px; width:60px; height:19px; "/>
  1729. <caption id="cap_marystat" class="cell_1" style="left:5px; top:78px; width:60px; height:23px; ">결혼상태</caption>
  1730. <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; ">
  1731. <choices>
  1732. <itemset nodeset="/root/init/mlist/M0151">
  1733. <label ref="cdnm"/>
  1734. <value ref="cdid"/>
  1735. </itemset>
  1736. </choices>
  1737. <script type="javascript" ev:event="xforms-value-changed">
  1738. <![CDATA[
  1739. var marystatcd = model.getValue("/root/main/wardrecinfo/marystatcd");
  1740. if(marystatcd == "09") {
  1741. ipt_marystatnm.disabled = false;
  1742. } else {
  1743. ipt_marystatnm.disabled = true;
  1744. model.resetInstanceNode("/root/main/wardrecinfo/marystatnm");
  1745. ipt_marystatnm.refresh();
  1746. }
  1747. ]]>
  1748. </script>
  1749. </select1>
  1750. <input id="input2" ref="/root/main/wardrecinfo/tel" navindex="9" style="left:103px; top:103px; width:144px; height:19px; "/>
  1751. <line id="line3" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
  1752. <caption id="cap_relign" class="cell_1" style="left:5px; top:54px; width:60px; height:23px; ">종교</caption>
  1753. <caption id="caption7" class="cell_1" visibility="hidden" style="left:265px; top:54px; width:60px; height:23px; ">영적요구</caption>
  1754. <input id="input3" ref="/root/main/wardrecinfo/mphone" navindex="10" style="left:250px; top:103px; width:144px; height:19px; "/>
  1755. <line id="line4" class="line_2" style="x1:5px; y1:76px; x2:262px; y2:75px; "/>
  1756. <input id="input4" ref="/root/main/wardrecinfo/etcphone1" navindex="11" style="left:103px; top:127px; width:144px; height:19px; "/>
  1757. <line id="line5" class="line_2" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
  1758. <caption id="cap_job" class="cell_1" style="left:5px; top:30px; width:60px; height:23px; ">직업</caption>
  1759. <input id="input5" ref="/root/main/wardrecinfo/etcphone2" navindex="12" style="left:250px; top:127px; width:144px; height:19px; "/>
  1760. <caption id="caption9" class="cell_1" style="left:5px; top:126px; width:95px; height:23px; ">기타 전화번호</caption>
  1761. <line id="line54" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
  1762. <caption id="cap_educgrde" class="cell_1" visibility="hidden" style="left:203px; top:30px; width:60px; height:23px; ">교육정도</caption>
  1763. <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" visibility="hidden" style="left:346px; top:31px; width:50px; height:19px; "/>
  1764. <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; ">
  1765. <choices>
  1766. <itemset nodeset="/root/init/mlist/M0069">
  1767. <label ref="cdnm"/>
  1768. <value ref="cdid"/>
  1769. </itemset>
  1770. </choices>
  1771. <script type="javascript" ev:event="xforms-value-changed">
  1772. <![CDATA[
  1773. var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
  1774. if(educgrde == "15") { //기타
  1775. ipt_educgrde.disabled = false;
  1776. } else {
  1777. model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
  1778. ipt_educgrde.disabled = true;
  1779. ipt_educgrde.refresh();
  1780. }
  1781. ]]>
  1782. </script>
  1783. </select1>
  1784. <line id="line2" class="line_3" style="x1:5px; y1:148px; x2:396px; y2:148px; "/>
  1785. <select1 id="cmb_bdtp" ref="/root/main/wardrecinfo/bdtppartcd" class="combo_default" navindex="36" appearance="minimal" style="left:518px; top:300px; width:50px; height:19px; ">
  1786. <choices>
  1787. <itemset nodeset="/root/init/mlist/M0375">
  1788. <label ref="cdnm"/>
  1789. <value ref="cdid"/>
  1790. </itemset>
  1791. </choices>
  1792. </select1>
  1793. <button id="btn_inhistpop" class="icon_search" style="left:1058px; top:209px; width:16px; height:16px; ">
  1794. <script type="javascript" ev:event="DOMActivate">
  1795. <![CDATA[
  1796. setParameter("histflag", "inhist");
  1797. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  1798. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  1799. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  1800. open("SPMNW12800");
  1801. ]]>
  1802. </script>
  1803. <caption/>
  1804. </button>
  1805. <button id="btn_ophistpop" class="icon_search" style="left:1058px; top:310px; width:16px; height:16px; ">
  1806. <script type="javascript" ev:event="DOMActivate">
  1807. <![CDATA[
  1808. setParameter("histflag", "ophist");
  1809. setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
  1810. setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
  1811. setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
  1812. open("SPMNW12800");
  1813. ]]>
  1814. </script>
  1815. <caption/>
  1816. </button>
  1817. <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="10" cols="6" overflow="visible" style="left:496px; top:355px; width:270px; height:13px; border-style:none; ">
  1818. <choices>
  1819. <item>
  1820. <label>무</label>
  1821. <value>1</value>
  1822. </item>
  1823. <item>
  1824. <label>유</label>
  1825. <value>2</value>
  1826. </item>
  1827. <item>
  1828. <label>-</label>
  1829. <value>-</value>
  1830. </item>
  1831. <item>
  1832. <label>-</label>
  1833. <value>-</value>
  1834. </item>
  1835. <item>
  1836. <label>-</label>
  1837. <value>-</value>
  1838. </item>
  1839. <item>
  1840. <label>확인불능</label>
  1841. <value>3</value>
  1842. </item>
  1843. </choices>
  1844. <script type="javascript" ev:event="xforms-value-changed">
  1845. <![CDATA[
  1846. if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
  1847. ipt_smokinfocnt.disabled = false;
  1848. ipt_smokinfocnt.refresh();
  1849. } else {
  1850. ipt_smokinfocnt.disabled = true;
  1851. model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
  1852. ipt_smokinfocnt.refresh();
  1853. }
  1854. ]]>
  1855. </script>
  1856. </select1>
  1857. <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" style="left:575px; top:353px; width:110px; height:19px; "/>
  1858. <datagrid id="grd_dschdrugmedifact" nodeset="/root/main/wardrecinfo/dschmediinfo/dschmedi/dschdrugfactinfo" autoresize="true" caption="stat^처방번호^약품코드^약품명^용량^용량^용법^1일수량^1일수량^1일횟수^처방일수^주의사항^prcppk" colsep="^" colwidth="0, 0, 87, 205, 43, 27, 119, 44, 29, 50, 60, 135, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:515px; width:391px; height:88px; ">
  1859. <col ref="stat"/>
  1860. <col ref="prcpno"/>
  1861. <col ref="drugcd"/>
  1862. <col ref="drugnm"/>
  1863. <col ref="vol" style="text-align:right; "/>
  1864. <col ref="prcpvolunit" style="text-align:left; "/>
  1865. <col ref="direc"/>
  1866. <col ref="qty" style="text-align:right; "/>
  1867. <col ref="prcpqtyunit" style="text-align:left; "/>
  1868. <col ref="prcptims" style="text-align:center; "/>
  1869. <col ref="prcpdayno" style="text-align:center; "/>
  1870. <col ref="caucnts"/>
  1871. <col ref="prcppk" visibility="hidden"/>
  1872. </datagrid>
  1873. <line id="line19" class="line_1" style="x1:797px; y1:543px; x2:1187px; y2:543px; "/>
  1874. <button id="button1" class="btn2_letter3" navindex="72" style="left:1078px; top:523px; width:53px; height:19px; ">
  1875. <caption>행추가</caption>
  1876. <script type="javascript" ev:event="DOMActivate">
  1877. <![CDATA[
  1878. grd_allghist.addRow();
  1879. ]]>
  1880. </script>
  1881. </button>
  1882. <button id="btn_dschmedidel" class="btn2_letter3" navindex="73" style="left:343px; top:494px; width:53px; height:19px; ">
  1883. <caption>행삭제</caption>
  1884. <script type="javascript" ev:event="DOMActivate">
  1885. <![CDATA[
  1886. grd_dschdrugmedifact.deleteRow(grd_dschdrugmedifact.row);
  1887. ]]>
  1888. </script>
  1889. </button>
  1890. <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:870px; top:527px; width:140px; height:13px; border-style:none; ">
  1891. <choices>
  1892. <item>
  1893. <label>무</label>
  1894. <value>1</value>
  1895. </item>
  1896. <item>
  1897. <label>유</label>
  1898. <value>2</value>
  1899. </item>
  1900. <item>
  1901. <label>잘모름</label>
  1902. <value>3</value>
  1903. </item>
  1904. </choices>
  1905. <script type="javascript" ev:event="xforms-value-changed">
  1906. <![CDATA[
  1907. if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
  1908. var isEmptyYN = "Y";
  1909. isEmptyYN = isCheckGridDataYN(grd_allghist);
  1910. var rtn = fSetStatus();
  1911. if(rtn == "6") {
  1912. model.removeNodeset("/root/main/histinfo/allghistinfo/allghist/allghist");
  1913. grd_allghist.rebuild();
  1914. btn_allghistadd.disabled = true;
  1915. btn_allghistdel.disabled = true;
  1916. } else if(rtn == "7") {
  1917. model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
  1918. rdo_allgyn.refresh();
  1919. }
  1920. } else {
  1921. btn_allghistadd.disabled = false;
  1922. btn_allghistdel.disabled = false;
  1923. if(grd_allghist.rows == 1) {
  1924. grd_allghist.addRow();
  1925. }
  1926. }
  1927. ]]>
  1928. </script>
  1929. <script type="javascript" ev:event="xforms-select">
  1930. <![CDATA[
  1931. status = "click";
  1932. ]]>
  1933. </script>
  1934. </select1>
  1935. <caption id="caption10" class="cell_1" style="left:670px; top:475px; width:60px; height:23px; ">폐경나이</caption>
  1936. <input id="ipt_endmensage" ref="/root/main/wardrecinfo/femaleinfo/female/female/endmensage" class="input_default" style="left:732px; top:478px; width:43px; height:19px; "/>
  1937. <caption id="caption13" style="left:775px; top:478px; width:18px; height:19px; text-align:center; ">세</caption>
  1938. <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; ">
  1939. <choices>
  1940. <item>
  1941. <label>개인정보사정 미동의</label>
  1942. <value>Y</value>
  1943. </item>
  1944. </choices>
  1945. <script type="javascript" ev:event="onclick">
  1946. <![CDATA[
  1947. if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
  1948. model.setValue("/root/main/wardrecinfo/jobcd","");
  1949. model.setValue("/root/main/wardrecinfo/jobnm","");
  1950. model.setValue("/root/main/wardrecinfo/religncd","");
  1951. model.setValue("/root/main/wardrecinfo/relignnm","");
  1952. model.setValue("/root/main/wardrecinfo/baptnm", "");
  1953. model.setValue("/root/main/wardrecinfo/marystatcd","");
  1954. model.setValue("/root/main/wardrecinfo/marystatnm","");
  1955. cmb_job.disabled = true;
  1956. ipt_job.disabled = true;
  1957. cmb_relign.disabled = true;
  1958. ipt_relignnm.disabled = true;
  1959. cmb_marystat.disabled = true;
  1960. ipt_marystatnm.disabled = true;
  1961. cap_baptnm.visible = false;
  1962. ipt_baptnm.visible = false;
  1963. ipt_relignnm.visible = true;
  1964. }else{
  1965. cmb_job.disabled = false;
  1966. cmb_relign.disabled = false;
  1967. cmb_marystat.disabled = false;
  1968. cmb_job.dispatch("xforms-value-changed");
  1969. cmb_relign.dispatch("xforms-value-changed");
  1970. cmb_marystat.dispatch("xforms-value-changed");
  1971. }
  1972. model.refresh();
  1973. ]]>
  1974. </script>
  1975. </select>
  1976. </xhtml:body>
  1977. </xhtml:html>