SMMNW08400_투석정보.xrw 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157
  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. <spcffact>
  15. <spcf>
  16. <spcffactinclyn/>
  17. <spcffactdetl/>
  18. </spcf>
  19. </spcffact>
  20. <basebdinfoinclyn/>
  21. <lowbp/>
  22. <highbp/>
  23. <pulse/>
  24. <breth/>
  25. <bdtp/>
  26. <bdtppartcd/>
  27. <bdht/>
  28. <bdwt/>
  29. <bdbtype/>
  30. <bdbtyperh/>
  31. <jobcd/>
  32. <jobnm/>
  33. <educgrdecd/>
  34. <educgrdenm/>
  35. <religncd/>
  36. <relignnm/>
  37. <marystatcd/>
  38. <marystatnm/>
  39. <baptnm/>
  40. <bodyases>
  41. <bodyases>
  42. <soulstat/>
  43. <comustat/>
  44. <emotstat/>
  45. <emotstatnm/>
  46. </bodyases>
  47. </bodyases>
  48. <viralmarker/>
  49. <fstdialdd/>
  50. <fstdialkind/>
  51. <roomhospdialdd/>
  52. <chosdd/>
  53. <reqhosp/>
  54. <dialcomninfoetc>
  55. <dialcomn>
  56. <chosresn/>
  57. <cassickkind/>
  58. <cassick/>
  59. <kidnfaluryn/>
  60. <medigrant/>
  61. <healcntrprofitkind/>
  62. <healcntrprofit/>
  63. <economystat/>
  64. </dialcomn>
  65. </dialcomninfoetc>
  66. <dialcarer>
  67. <dialcarer>
  68. <dialcareinclyn/>
  69. <dialcarer>
  70. <dialkind/>
  71. <fstdd/>
  72. <enddd/>
  73. <remfact/>
  74. </dialcarer>
  75. </dialcarer>
  76. </dialcarer>
  77. <trans>
  78. <trans>
  79. <kidntransinclyn/>
  80. <selfstat>01</selfstat>
  81. <impsiresn/>
  82. <possresn/>
  83. <possresnetc/>
  84. <rgstdd/>
  85. <rgsthosp/>
  86. </trans>
  87. </trans>
  88. <selfcareinfo>
  89. <selfcare>
  90. <selfcareyn/>
  91. <helpdnor/>
  92. <resn/>
  93. </selfcare>
  94. </selfcareinfo>
  95. <rgstdialinfo>
  96. <rgstdial>
  97. <rgstdialinfoinclyn/>
  98. <dialkind/>
  99. <veslkind/>
  100. <vesltype/>
  101. </rgstdial>
  102. </rgstdialinfo>
  103. <progrec>
  104. <progrec>
  105. <progrecinclyn/>
  106. <progrec/>
  107. </progrec>
  108. </progrec>
  109. <spo2/>
  110. <relignreq/>
  111. <tel/>
  112. <mphone/>
  113. <etcphone1/>
  114. <etcphone2/>
  115. </wardrecinfo>
  116. <famyfact>
  117. <stat/>
  118. <rela/>
  119. <hngnm/>
  120. <addr/>
  121. <detladdr/>
  122. <tel/>
  123. <mpphone/>
  124. <remfact/>
  125. <fmlyseq/>
  126. </famyfact>
  127. </main>
  128. <init/>
  129. </root>
  130. </instance>
  131. </model>
  132. <script type="javascript">
  133. <![CDATA[
  134. function fInitEventDialInfo() {
  135. cmb_job.dispatch("xforms-value-changed");
  136. cmb_relign.dispatch("xforms-value-changed");
  137. cmb_educgrde.dispatch("xforms-value-changed");
  138. cmb_marystat.dispatch("xforms-value-changed");
  139. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn") == "1") {
  140. chk_basebdinfoinclyn.dispatch("xforms-value-changed");
  141. }
  142. if(model.getValue("/root/main/wardrecinfo/trans/trans/kidntransinclyn") == "1") {
  143. chk_kidntransinclyn.dispatch("xforms-value-changed");
  144. } else {
  145. rdo_selfstat.dispatch("xforms-value-changed");
  146. chk_possresn.dispatch("xforms-value-changed");
  147. }
  148. cmb_healcntrprofitkind.dispatch("xforms-value-changed");
  149. cmb_cassickkind.dispatch("xforms-value-changed");
  150. if(model.getValue("/root/main/wardrecinfo/rgstdialinfo/rgstdial/rgstdialinfoinclyn") == "1") {
  151. chk_rgstdialinfoinclyn.dispatch("xforms-value-changed");
  152. } else {
  153. rdo_dialkind.dispatch("xforms-value-changed");
  154. }
  155. chk_progrecinclyn.dispatch("xforms-value-changed");
  156. }
  157. ]]>
  158. </script>
  159. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  160. </xhtml:head>
  161. <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  162. <select id="chk_rgstdialinfoinclyn" ref="/root/main/wardrecinfo/rgstdialinfo/rgstdial/rgstdialinfoinclyn" overflow="visible" appearance="full" style="left:1114px; top:8px; width:70px; height:15px; border-style:none; ">
  163. <choices>
  164. <item>
  165. <label>해당없음</label>
  166. <value>1</value>
  167. </item>
  168. </choices>
  169. <script type="javascript" ev:event="xforms-value-changed">
  170. <![CDATA[
  171. if(model.getValue("/root/main/wardrecinfo/rgstdialinfo/rgstdial/rgstdialinfoinclyn") == "1") {
  172. var rtn="";
  173. rtn = fSetStatus();
  174. if(rtn == "6") {
  175. rdo_dialkind.disabled = true;
  176. cmb_veslkind.disabled = true;
  177. cmb_vesltype.disabled = true;
  178. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/dialkind");
  179. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/veslkind");
  180. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/vesltype");
  181. } else {
  182. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/rgstdialinfoinclyn");
  183. chk_rgstdialinfoinclyn.refresh();
  184. return;
  185. }
  186. } else {
  187. rdo_dialkind.disabled = false;
  188. //cmb_veslkind.disabled = false;
  189. //model.setValue("/root/main/wardrecinfo/rgstdialinfo/rgstdial/dialkind", "1");
  190. }
  191. model.refresh();
  192. ]]>
  193. </script>
  194. <script type="javascript" ev:event="xforms-select">
  195. <![CDATA[
  196. status = "click";
  197. ]]>
  198. </script>
  199. </select>
  200. <caption id="caption23" class="tit_2" style="left:799px; top:10px; width:113px; height:14px; ">등록시 투석정보</caption>
  201. <line id="line19" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
  202. <select1 id="cmb_soulstat" ref="/root/main/wardrecinfo/bodyases/bodyases/soulstat" class="combo_default" navindex="33" appearance="minimal" style="left:106px; top:450px; width:287px; height:19px; ">
  203. <choices>
  204. <item>
  205. <label>Alert</label>
  206. <value>01</value>
  207. </item>
  208. <item>
  209. <label>Drowsy</label>
  210. <value>02</value>
  211. </item>
  212. <item>
  213. <label>Stuporous</label>
  214. <value>03</value>
  215. </item>
  216. <item>
  217. <label>Semicoma</label>
  218. <value>04</value>
  219. </item>
  220. <item>
  221. <label>Coma</label>
  222. <value>05</value>
  223. </item>
  224. </choices>
  225. </select1>
  226. <line id="line31" class="line_2" style="x1:3px; y1:495px; x2:394px; y2:495px; "/>
  227. <line id="line33" class="line_1" style="x1:3px; y1:444px; x2:394px; y2:444px; "/>
  228. <line id="line35" class="line_2" style="x1:3px; y1:471px; x2:394px; y2:471px; "/>
  229. <caption id="caption41" class="cell_1" style="left:3px; top:449px; width:100px; height:23px; ">의식상태</caption>
  230. <caption id="caption42" class="tit_2" style="left:8px; top:429px; width:104px; height:13px; ">신체사정</caption>
  231. <caption id="caption43" class="cell_1" style="left:3px; top:473px; width:100px; height:23px; ">의사소통</caption>
  232. <caption id="caption44" class="cell_1" style="left:3px; top:497px; width:100px; height:23px; ">정서상태</caption>
  233. <select1 id="cmb_emotstat" ref="/root/main/wardrecinfo/bodyases/bodyases/emotstat" class="combo_default" navindex="35" appearance="minimal" style="left:106px; top:498px; width:132px; height:19px; ">
  234. <choices>
  235. <item>
  236. <label>Stable(안정)</label>
  237. <value>01</value>
  238. </item>
  239. <item>
  240. <label>anxiety(불안)</label>
  241. <value>02</value>
  242. </item>
  243. <item>
  244. <label>sorrow(슬픔)</label>
  245. <value>03</value>
  246. </item>
  247. <item>
  248. <label>anger(분노)</label>
  249. <value>04</value>
  250. </item>
  251. <item>
  252. <label>depression(우울)</label>
  253. <value>05</value>
  254. </item>
  255. <item>
  256. <label>Stress(흥분)</label>
  257. <value>06</value>
  258. </item>
  259. <item>
  260. <label>기타</label>
  261. <value>07</value>
  262. </item>
  263. </choices>
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. if(model.getValue("/root/main/wardrecinfo/bodyases/bodyases/emotstat") == "07") {
  267. ipt_emotstatnm.disabled = false;
  268. } else {
  269. ipt_emotstatnm.disabled = true;
  270. model.resetInstanceNode("/root/main/wardrecinfo/bodyases/bodyases/emotstatnm");
  271. ipt_emotstatnm.refresh();
  272. }
  273. ]]>
  274. </script>
  275. </select1>
  276. <select1 id="rdo_comustat" ref="/root/main/wardrecinfo/bodyases/bodyases/comustat" navindex="34" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:108px; top:477px; width:280px; height:13px; text-align:left; border-style:none; ">
  277. <choices>
  278. <item>
  279. <label>원만</label>
  280. <value>1</value>
  281. </item>
  282. <item>
  283. <label>곤란</label>
  284. <value>2</value>
  285. </item>
  286. <item>
  287. <label>불가능</label>
  288. <value>3</value>
  289. </item>
  290. </choices>
  291. </select1>
  292. <line id="line32" class="line_3" style="x1:3px; y1:519px; x2:394px; y2:519px; "/>
  293. <line id="line9" class="line_1" style="x1:3px; y1:544px; x2:394px; y2:544px; "/>
  294. <caption id="caption10" class="tit_2" style="left:8px; top:529px; width:260px; height:13px; ">Viral marker 초기사정(Positive check)</caption>
  295. <select id="chk_viralmarker" ref="/root/main/wardrecinfo/viralmarker" navindex="37" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:8px; top:554px; width:385px; height:13px; border-style:none; ">
  296. <choices>
  297. <item>
  298. <label>HBsAg</label>
  299. <value>1</value>
  300. </item>
  301. <item>
  302. <label>HbeAg</label>
  303. <value>2</value>
  304. </item>
  305. <item>
  306. <label>HCVAb</label>
  307. <value>3</value>
  308. </item>
  309. <item>
  310. <label>HIV</label>
  311. <value>4</value>
  312. </item>
  313. <item>
  314. <label>VDRL</label>
  315. <value>5</value>
  316. </item>
  317. </choices>
  318. </select>
  319. <line id="line10" class="line_3" style="x1:3px; y1:572px; x2:394px; y2:572px; "/>
  320. <caption id="caption11" class="tit_2" style="left:406px; top:10px; width:104px; height:14px; ">투석공통정보</caption>
  321. <line id="line11" class="line_1" style="x1:401px; y1:25px; x2:792px; y2:25px; "/>
  322. <line id="line12" class="line_2" style="x1:401px; y1:52px; x2:792px; y2:52px; "/>
  323. <caption id="caption12" class="cell_1" style="left:401px; top:30px; width:100px; height:23px; ">최초투석시작일</caption>
  324. <line id="line13" class="line_2" style="x1:401px; y1:76px; x2:792px; y2:76px; "/>
  325. <line id="line14" class="line_2" style="x1:401px; y1:100px; x2:792px; y2:100px; "/>
  326. <line id="line16" class="line_2" style="x1:401px; y1:124px; x2:792px; y2:124px; "/>
  327. <caption id="caption14" class="cell_1" style="left:401px; top:78px; width:100px; height:23px; ">본원투석시작일</caption>
  328. <caption id="caption15" class="cell_1" style="left:401px; top:102px; width:100px; height:23px; ">내원일</caption>
  329. <line id="line17" class="line_2" style="x1:401px; y1:148px; x2:792px; y2:148px; "/>
  330. <line id="line18" class="line_2" style="x1:401px; y1:172px; x2:792px; y2:172px; "/>
  331. <caption id="caption16" class="cell_1" style="left:401px; top:126px; width:100px; height:23px; ">내원사유</caption>
  332. <caption id="caption27" class="cell_1" style="left:401px; top:150px; width:100px; height:23px; ">원인질환</caption>
  333. <line id="line30" class="line_2" style="x1:401px; y1:196px; x2:792px; y2:196px; "/>
  334. <line id="line42" class="line_2" style="x1:401px; y1:220px; x2:792px; y2:220px; "/>
  335. <line id="line43" class="line_2" style="x1:401px; y1:244px; x2:792px; y2:244px; "/>
  336. <caption id="caption29" class="cell_1" style="left:401px; top:174px; width:100px; height:23px; ">신부전</caption>
  337. <caption id="caption45" class="cell_1" style="left:401px; top:198px; width:100px; height:23px; ">보험유형</caption>
  338. <caption id="caption46" class="cell_1" style="left:401px; top:246px; width:100px; height:23px; ">경제상태</caption>
  339. <caption id="caption47" class="cell_1" style="left:401px; top:222px; width:100px; height:23px; ">보건소혜택</caption>
  340. <line id="line36" class="line_1" style="x1:401px; y1:294px; x2:791px; y2:294px; "/>
  341. <datagrid id="grd_dialcare" nodeset="/root/main/wardrecinfo/dialcarer/dialcarer/dialcarer" scroll="auto" caption="투석유형^시작일^종료일^비고" colsep="^" colwidth="85, 90, 90, 107" mergecellsfixedrows="bycolrec" rowsep="|" style="left:401px; top:299px; width:390px; height:81px; ">
  342. <col ref="dialkind" type="combo">
  343. <choices>
  344. <itemset nodeset="/root/init/mlist/M0082">
  345. <label ref="cdnm"/>
  346. <value ref="cdid"/>
  347. </itemset>
  348. </choices>
  349. </col>
  350. <col ref="fstdd" type="inputdate"/>
  351. <col ref="enddd" type="inputdate"/>
  352. <col ref="remfact" type="input"/>
  353. </datagrid>
  354. <select id="chk_dialcareinclyn" ref="/root/main/wardrecinfo/dialcarer/dialcarer/dialcareinclyn" overflow="visible" appearance="full" style="left:556px; top:276px; width:70px; height:15px; border-style:none; ">
  355. <choices>
  356. <item>
  357. <label>해당없음</label>
  358. <value>1</value>
  359. </item>
  360. </choices>
  361. <script type="javascript" ev:event="xforms-value-changed">
  362. <![CDATA[
  363. if(model.getValue("/root/main/wardrecinfo/dialcarer/dialcarer/dialcareinclyn") == "1") {
  364. var rtn = "";
  365. rtn = fSetStatus();
  366. if(rtn == "6") {
  367. btn_dialcareadd.disabled = true;
  368. btn_dialcaredel.disabled = true;
  369. model.removeNodeset("/root/main/wardrecinfo/dialcarer/dialcarer/dialcarer");
  370. grd_dialcare.rebuild();
  371. } else {
  372. model.resetInstanceNode("/root/main/wardrecinfo/dialcarer/dialcarer/dialcareinclyn");
  373. chk_dialcareinclyn.refresh();
  374. return;
  375. }
  376. } else {
  377. btn_dialcareadd.disabled = false;
  378. btn_dialcaredel.disabled = false;
  379. }
  380. ]]>
  381. </script>
  382. <script type="javascript" ev:event="xforms-select">
  383. <![CDATA[
  384. status = "click";
  385. ]]>
  386. </script>
  387. </select>
  388. <caption id="caption40" class="tit_2" style="left:406px; top:279px; width:104px; height:14px; ">투석경력</caption>
  389. <button id="btn_dialcaredel" class="btn2_letter3" style="left:738px; top:274px; width:53px; height:19px; ">
  390. <caption>행삭제</caption>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. grd_dialcare.deleteRow(grd_dialcare.row);
  394. ]]>
  395. </script>
  396. </button>
  397. <button id="btn_dialcareadd" class="btn2_letter3" style="left:682px; top:274px; width:53px; height:19px; ">
  398. <caption>행추가</caption>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. grd_dialcare.addRow();
  402. ]]>
  403. </script>
  404. </button>
  405. <line id="line44" class="line_3" style="x1:401px; y1:268px; x2:792px; y2:268px; "/>
  406. <caption id="caption48" class="tit_2" style="left:406px; top:561px; width:104px; height:14px; ">자가간호</caption>
  407. <line id="line37" class="line_1" style="x1:401px; y1:576px; x2:791px; y2:576px; "/>
  408. <select id="chk_kidntransinclyn" ref="/root/main/wardrecinfo/trans/trans/kidntransinclyn" overflow="visible" appearance="full" style="left:720px; top:388px; width:70px; height:15px; border-style:none; ">
  409. <choices>
  410. <item>
  411. <label>해당없음</label>
  412. <value>1</value>
  413. </item>
  414. </choices>
  415. <script type="javascript" ev:event="xforms-value-changed">
  416. <![CDATA[
  417. if(model.getValue("/root/main/wardrecinfo/trans/trans/kidntransinclyn") == "1") {
  418. var rtn = "";
  419. rtn = fSetStatus();
  420. if(rtn == "6") {
  421. rdo_selfstat.disabled = true;
  422. ipt_impsiresn.disabled = true;
  423. chk_possresn.disabled = true;
  424. ipt_possresnetc.disabled = true;
  425. ipt_rgstdd.disabled = true;
  426. ipt_rgsthosp.disabled = true;
  427. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/selfstat");
  428. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/impsiresn");
  429. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresn");
  430. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresnetc");
  431. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/rgstdd");
  432. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/rgsthosp");
  433. } else {
  434. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/kidntransinclyn");
  435. chk_kidntransinclyn.refresh();
  436. return;
  437. }
  438. } else {
  439. rdo_selfstat.disabled = false;
  440. ipt_rgstdd.disabled = false;
  441. ipt_rgsthosp.disabled = false;
  442. }
  443. model.refresh();
  444. ]]>
  445. </script>
  446. </select>
  447. <select1 id="rdo_selfstat" ref="/root/main/wardrecinfo/trans/trans/selfstat" navindex="51" appearance="full" vcellspacing="6" overflow="visible" style="left:400px; top:410px; width:100px; height:85px; border-style:none; ">
  448. <choices>
  449. <item>
  450. <label>원하지않음</label>
  451. <value>01</value>
  452. </item>
  453. <item>
  454. <label>불가능</label>
  455. <value>02</value>
  456. </item>
  457. <item>
  458. <label>원함</label>
  459. <value>03</value>
  460. </item>
  461. </choices>
  462. <script type="javascript" ev:event="xforms-value-changed">
  463. <![CDATA[
  464. if(model.getValue("/root/main/wardrecinfo/trans/trans/selfstat") == "02") {
  465. ipt_impsiresn.disabled = false;
  466. chk_possresn.disabled = true;
  467. ipt_possresnetc.disabled = true;
  468. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresn");
  469. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresnetc");
  470. chk_possresn.refresh();
  471. ipt_possresnetc.refresh();
  472. } else if(model.getValue("/root/main/wardrecinfo/trans/trans/selfstat") == "03") {
  473. ipt_impsiresn.disabled = true;
  474. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/impsiresn");
  475. ipt_impsiresn.refresh();
  476. chk_possresn.disabled = false;
  477. ipt_possresnetc.disabled = true;
  478. } else {
  479. chk_possresn.disabled = true;
  480. ipt_possresnetc.disabled = true;
  481. ipt_impsiresn.disabled = true;
  482. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresn");
  483. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresnetc");
  484. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/impsiresn");
  485. chk_possresn.refresh();
  486. ipt_possresnetc.refresh();
  487. ipt_impsiresn.refresh();
  488. }
  489. ]]>
  490. </script>
  491. <script type="javascript" ev:event="xforms-select">
  492. <![CDATA[
  493. status = "click";
  494. ]]>
  495. </script>
  496. </select1>
  497. <line id="line40" class="line_2" style="x1:401px; y1:503px; x2:792px; y2:503px; "/>
  498. <line id="line45" class="line_2" style="x1:400px; y1:527px; x2:791px; y2:527px; "/>
  499. <caption id="caption49" class="output_fix" style="left:503px; top:434px; width:41px; height:20px; text-align:center; ">사유</caption>
  500. <input id="ipt_impsiresn" ref="/root/main/wardrecinfo/trans/trans/impsiresn" disabled="true" navindex="52" style="left:548px; top:435px; width:243px; height:19px; "/>
  501. <line id="line41" class="line_2" style="x1:401px; y1:431px; x2:792px; y2:431px; "/>
  502. <line id="line38" class="line_2" style="x1:401px; y1:455px; x2:792px; y2:455px; "/>
  503. <line id="line39" class="line_2" style="x1:401px; y1:479px; x2:792px; y2:479px; "/>
  504. <select id="chk_possresn" ref="/root/main/wardrecinfo/trans/trans/possresn" disabled="true" navindex="53" overflow="visible" appearance="full" cellspacing="50" cols="2" sep="▦" vcellspacing="6" style="left:504px; top:457px; width:275px; height:45px; border-style:none; ">
  505. <choices>
  506. <item>
  507. <label>뇌사자</label>
  508. <value>1</value>
  509. </item>
  510. <item>
  511. <label>relation donor</label>
  512. <value>2</value>
  513. </item>
  514. <item>
  515. <label>기타</label>
  516. <value>3</value>
  517. </item>
  518. </choices>
  519. <script type="javascript" ev:event="xforms-value-changed">
  520. <![CDATA[
  521. var possresn = model.getValue("/root/main/wardrecinfo/trans/trans/possresn");
  522. var kind = new Array();
  523. var arr = new Array(3);
  524. kind = possresn.split("▦");
  525. for(var i = 0; i < arr.length; i++) {
  526. arr[i] = "";
  527. }
  528. for(var i = 0; i < kind.length; i++) {
  529. switch(kind[i]) {
  530. case '1':
  531. arr[0] = kind[i];
  532. break;
  533. case '2':
  534. arr[1] = kind[i];
  535. break;
  536. case '3':
  537. arr[2] = kind[i];
  538. break;
  539. default:
  540. break;
  541. }
  542. }
  543. for(var i = 0; i < arr.length; i++) {
  544. if(arr[2] == '3') {
  545. ipt_possresnetc.disabled = false;
  546. break;
  547. } else {
  548. ipt_possresnetc.disabled = true;
  549. model.resetInstanceNode("/root/main/wardrecinfo/trans/trans/possresnetc");
  550. ipt_possresnetc.refresh();
  551. }
  552. }
  553. ]]>
  554. </script>
  555. </select>
  556. <input id="ipt_possresnetc" ref="/root/main/wardrecinfo/trans/trans/possresnetc" disabled="true" navindex="54" style="left:548px; top:482px; width:243px; height:19px; "/>
  557. <caption id="caption50" class="cell_1" style="left:401px; top:529px; width:100px; height:23px; ">등록병원</caption>
  558. <caption id="caption51" class="cell_1" style="left:401px; top:505px; width:100px; height:23px; ">등록일</caption>
  559. <line id="line46" class="line_3" style="x1:401px; y1:551px; x2:792px; y2:551px; "/>
  560. <line id="line47" class="line_2" style="x1:401px; y1:603px; x2:792px; y2:603px; "/>
  561. <line id="line48" class="line_2" style="x1:401px; y1:627px; x2:792px; y2:627px; "/>
  562. <caption id="caption53" class="cell_1" style="left:401px; top:629px; width:100px; height:23px; ">사유</caption>
  563. <caption id="caption54" class="cell_1" style="left:401px; top:605px; width:100px; height:23px; ">도움제공자</caption>
  564. <line id="line49" class="line_3" style="x1:401px; y1:651px; x2:792px; y2:651px; "/>
  565. <select1 id="rdo_selfcareyn" ref="/root/main/wardrecinfo/selfcareinfo/selfcare/selfcareyn" navindex="57" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:476px; top:584px; width:245px; height:13px; border-style:none; ">
  566. <choices>
  567. <item>
  568. <label>가능함</label>
  569. <value>1</value>
  570. </item>
  571. <item>
  572. <label>타인의 도움이 필요함</label>
  573. <value>2</value>
  574. </item>
  575. </choices>
  576. </select1>
  577. <input id="ipt_rgsthosp" ref="/root/main/wardrecinfo/trans/trans/rgsthosp" navindex="56" style="left:504px; top:530px; width:287px; height:19px; "/>
  578. <input id="ipt_rgstdd" ref="/root/main/wardrecinfo/trans/trans/rgstdd" navindex="55" inputtype="date" style="left:504px; top:506px; width:287px; height:19px; "/>
  579. <input id="ipt_resn" ref="/root/main/wardrecinfo/selfcareinfo/selfcare/resn" navindex="59" style="left:505px; top:630px; width:287px; height:19px; "/>
  580. <input id="ipt_helpdnor" ref="/root/main/wardrecinfo/selfcareinfo/selfcare/helpdnor" navindex="58" style="left:504px; top:606px; width:287px; height:19px; "/>
  581. <line id="line50" class="line_1" style="x1:401px; y1:405px; x2:791px; y2:405px; "/>
  582. <caption id="caption52" class="tit_2" style="left:406px; top:390px; width:104px; height:14px; ">신이식</caption>
  583. <input id="ipt_fstdialdd" ref="/root/main/wardrecinfo/fstdialdd" navindex="38" inputtype="date" style="left:504px; top:31px; width:287px; height:19px; "/>
  584. <input id="ipt_roomhospdialdd" ref="/root/main/wardrecinfo/roomhospdialdd" navindex="40" inputtype="date" style="left:504px; top:79px; width:287px; height:19px; "/>
  585. <caption id="caption13" class="cell_1" style="left:401px; top:54px; width:100px; height:23px; ">최초투석유형</caption>
  586. <select1 id="cmb_fstdialkind" ref="/root/main/wardrecinfo/fstdialkind" class="combo_default" navindex="39" appearance="minimal" style="left:504px; top:55px; width:287px; height:19px; ">
  587. <choices>
  588. <item>
  589. <label>HD</label>
  590. <value>01</value>
  591. </item>
  592. <item>
  593. <label>PD</label>
  594. <value>02</value>
  595. </item>
  596. <item>
  597. <label>CRRT</label>
  598. <value>03</value>
  599. </item>
  600. </choices>
  601. </select1>
  602. <select1 id="cmb_medigrant" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/medigrant" class="combo_default" navindex="47" appearance="minimal" style="left:504px; top:199px; width:287px; height:19px; ">
  603. <choices>
  604. <itemset nodeset="/root/init/mlist/P0008">
  605. <label ref="cdnm"/>
  606. <value ref="cdid"/>
  607. </itemset>
  608. </choices>
  609. </select1>
  610. <select1 id="cmb_economystat" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/economystat" class="combo_default" navindex="50" appearance="minimal" style="left:504px; top:247px; width:287px; height:19px; ">
  611. <choices>
  612. <itemset nodeset="/root/init/mlist/M0081">
  613. <label ref="cdnm"/>
  614. <value ref="cdid"/>
  615. </itemset>
  616. </choices>
  617. </select1>
  618. <select1 id="cmb_healcntrprofitkind" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/healcntrprofitkind" class="combo_default" navindex="48" appearance="minimal" style="left:504px; top:223px; width:111px; height:19px; ">
  619. <choices>
  620. <item>
  621. <label>무</label>
  622. <value>1</value>
  623. </item>
  624. <item>
  625. <label>유</label>
  626. <value>2</value>
  627. </item>
  628. </choices>
  629. <script type="javascript" ev:event="xforms-value-changed">
  630. <![CDATA[
  631. if(model.getValue("/root/main/wardrecinfo/dialcomninfoetc/dialcomn/healcntrprofitkind") == "2") {
  632. ipt_healcntrprofit.disabled = false;
  633. } else {
  634. ipt_healcntrprofit.disabled = true;
  635. model.resetInstanceNode("/root/main/wardrecinfo/dialcomninfoetc/dialcomn/healcntrprofit");
  636. ipt_healcntrprofit.refresh();
  637. }
  638. ]]>
  639. </script>
  640. </select1>
  641. <select1 id="cmb_cassickkind" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/cassickkind" class="combo_default" navindex="44" appearance="minimal" style="left:504px; top:151px; width:111px; height:19px; ">
  642. <choices>
  643. <itemset nodeset="/root/init/mlist/M0079">
  644. <label ref="cdnm"/>
  645. <value ref="cdid"/>
  646. </itemset>
  647. </choices>
  648. <script type="javascript" ev:event="xforms-value-changed">
  649. <![CDATA[
  650. if(model.getValue("/root/main/wardrecinfo/dialcomninfoetc/dialcomn/cassickkind") == "08") {
  651. ipt_cassick.disabled = false;
  652. } else {
  653. ipt_cassick.disabled = true;
  654. model.resetInstanceNode("/root/main/wardrecinfo/dialcomninfoetc/dialcomn/cassick");
  655. ipt_cassick.refresh();
  656. }
  657. ]]>
  658. </script>
  659. </select1>
  660. <input id="ipt_chosdd" ref="/root/main/wardrecinfo/chosdd" navindex="41" inputtype="date" style="left:504px; top:103px; width:111px; height:19px; "/>
  661. <input id="ipt_reqhosp" ref="/root/main/wardrecinfo/reqhosp" navindex="42" style="left:705px; top:103px; width:86px; height:19px; "/>
  662. <input id="ipt_chosresn" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/chosresn" navindex="43" style="left:504px; top:127px; width:287px; height:19px; "/>
  663. <select1 id="rdo_kidnfaluryn" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/kidnfaluryn" navindex="46" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:571px; top:177px; width:154px; height:13px; border-style:none; ">
  664. <choices>
  665. <item>
  666. <label>만성</label>
  667. <value>1</value>
  668. </item>
  669. <item>
  670. <label>급성</label>
  671. <value>2</value>
  672. </item>
  673. </choices>
  674. </select1>
  675. <select1 id="rdo_dialkind" ref="/root/main/wardrecinfo/rgstdialinfo/rgstdial/dialkind" navindex="60" appearance="full" vcellspacing="7" overflow="visible" style="left:798px; top:29px; width:88px; height:45px; border-style:none; ">
  676. <choices>
  677. <item>
  678. <label>혈액투석</label>
  679. <value>1</value>
  680. </item>
  681. <item>
  682. <label>복막투석</label>
  683. <value>2</value>
  684. </item>
  685. </choices>
  686. <script type="javascript" ev:event="xforms-value-changed">
  687. <![CDATA[
  688. if(model.getValue("/root/main/wardrecinfo/rgstdialinfo/rgstdial/dialkind") == "1") {
  689. cmb_veslkind.disabled = false;
  690. cmb_vesltype.disabled = true;
  691. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/vesltype");
  692. cmb_vesltype.refresh();
  693. } else if(model.getValue("/root/main/wardrecinfo/rgstdialinfo/rgstdial/dialkind") == "2") {
  694. cmb_veslkind.disabled = true;
  695. cmb_vesltype.disabled = false;
  696. model.resetInstanceNode("/root/main/wardrecinfo/rgstdialinfo/rgstdial/veslkind");
  697. cmb_veslkind.refresh();
  698. }
  699. ]]>
  700. </script>
  701. </select1>
  702. <line id="line22" class="line_2" style="x1:794px; y1:52px; x2:1185px; y2:52px; "/>
  703. <caption id="caption32" class="cell_1" style="left:894px; top:30px; width:100px; height:23px; ">혈관종류</caption>
  704. <caption id="caption33" class="cell_1" style="left:894px; top:54px; width:100px; height:23px; ">유형</caption>
  705. <select1 id="cmb_veslkind" ref="/root/main/wardrecinfo/rgstdialinfo/rgstdial/veslkind" class="combo_default" disabled="true" navindex="61" appearance="minimal" style="left:997px; top:31px; width:189px; height:19px; ">
  706. <choices>
  707. <itemset nodeset="/root/init/mlist/M0083">
  708. <label ref="cdnm"/>
  709. <value ref="cdid"/>
  710. </itemset>
  711. </choices>
  712. </select1>
  713. <select1 id="cmb_vesltype" ref="/root/main/wardrecinfo/rgstdialinfo/rgstdial/vesltype" class="combo_default" disabled="true" navindex="62" appearance="minimal" style="left:997px; top:55px; width:189px; height:19px; ">
  714. <choices>
  715. <itemset nodeset="/root/init/mlist/M0084">
  716. <label ref="cdnm"/>
  717. <value ref="cdid"/>
  718. </itemset>
  719. </choices>
  720. </select1>
  721. <line id="line23" class="line_3" style="x1:797px; y1:76px; x2:1188px; y2:76px; "/>
  722. <select id="chk_progrecinclyn" ref="/root/main/wardrecinfo/progrec/progrec/progrecinclyn" overflow="visible" appearance="full" style="left:1115px; top:85px; width:70px; height:15px; border-style:none; ">
  723. <choices>
  724. <item>
  725. <label>해당없음</label>
  726. <value>1</value>
  727. </item>
  728. </choices>
  729. <script type="javascript" ev:event="xforms-value-changed">
  730. <![CDATA[
  731. if(model.getValue("/root/main/wardrecinfo/progrec/progrec/progrecinclyn") == "1") {
  732. var rtn = "";
  733. rtn = fSetStatus();
  734. if(rtn == "6") {
  735. tar_progrec.disabled = true;
  736. model.resetInstanceNode("/root/main/wardrecinfo/progrec/progrec/progrec");
  737. tar_progrec.refresh();
  738. } else {
  739. model.resetInstanceNode("/root/main/wardrecinfo/progrec/progrec/progrecinclyn");
  740. chk_progrecinclyn.refresh();
  741. return;
  742. }
  743. } else {
  744. tar_progrec.disabled = false;
  745. }
  746. ]]>
  747. </script>
  748. <script type="javascript" ev:event="xforms-select">
  749. <![CDATA[
  750. status = "click";
  751. ]]>
  752. </script>
  753. </select>
  754. <caption id="caption34" class="tit_2" style="left:801px; top:87px; width:113px; height:13px; ">경과기록</caption>
  755. <line id="line24" class="line_1" style="x1:796px; y1:102px; x2:1187px; y2:102px; "/>
  756. <textarea id="tar_progrec" ref="/root/main/wardrecinfo/progrec/progrec/progrec" navindex="63" scroll="autovscroll" style="left:796px; top:107px; width:391px; height:538px; "/>
  757. <input id="ipt_cassick" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/cassick" disabled="true" navindex="45" style="left:618px; top:151px; width:173px; height:19px; "/>
  758. <input id="ipt_healcntrprofit" ref="/root/main/wardrecinfo/dialcomninfoetc/dialcomn/healcntrprofit" disabled="true" navindex="49" style="left:618px; top:223px; width:173px; height:19px; "/>
  759. <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:5px; top:600px; width:60px; height:23px; ">존재유무</caption>
  760. <button id="btn_famyfactdel" class="btn2_letter3" style="left:342px; top:160px; width:53px; height:19px; ">
  761. <caption>행삭제</caption>
  762. <script type="javascript" ev:event="DOMActivate">
  763. <![CDATA[
  764. grd_famyfact.deleteRow(grd_famyfact.row);
  765. ]]>
  766. </script>
  767. </button>
  768. <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:104px; height:14px; ">환자기본정보</caption>
  769. <button id="button40" class="btn2_letter4" visibility="hidden" style="left:175px; top:601px; width:64px; height:19px; ">
  770. <caption>끌어오기</caption>
  771. <script type="javascript" ev:event="DOMActivate">
  772. <![CDATA[
  773. setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  774. modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  775. if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  776. model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  777. opt_existyn.refresh();
  778. } else {
  779. model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  780. opt_existyn.refresh();
  781. }
  782. ]]>
  783. </script>
  784. </button>
  785. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
  786. <button id="btn_famyfactadd" class="btn2_letter3" style="left:286px; top:160px; width:53px; height:19px; ">
  787. <caption>행추가</caption>
  788. <script type="javascript" ev:event="DOMActivate">
  789. <![CDATA[
  790. grd_famyfact.addRow();
  791. ]]>
  792. </script>
  793. </button>
  794. <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="9" visibility="hidden" style="left:68px; top:601px; width:103px; height:19px; "/>
  795. <caption id="caption8" class="tit_2" visibility="hidden" style="left:10px; top:580px; width:104px; height:13px; ">가계도</caption>
  796. <caption id="cap_famyfact" class="tit_2" style="left:10px; top:165px; width:104px; height:13px; ">가족사항</caption>
  797. <line id="line6" class="line_1" style="x1:5px; y1:180px; x2:396px; y2:180px; "/>
  798. <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:185px; width:391px; height:108px; ">
  799. <col ref="stat"/>
  800. <col ref="rela" type="combo">
  801. <choices>
  802. <item>
  803. <label>배우자</label>
  804. <value>01</value>
  805. </item>
  806. <item>
  807. <label>자녀</label>
  808. <value>02</value>
  809. </item>
  810. <item>
  811. <label>부</label>
  812. <value>03</value>
  813. </item>
  814. <item>
  815. <label>모</label>
  816. <value>04</value>
  817. </item>
  818. <item>
  819. <label>조모</label>
  820. <value>05</value>
  821. </item>
  822. <item>
  823. <label>조부</label>
  824. <value>06</value>
  825. </item>
  826. <item>
  827. <label>형제</label>
  828. <value>07</value>
  829. </item>
  830. <item>
  831. <label>자매</label>
  832. <value>08</value>
  833. </item>
  834. <item>
  835. <label>장인</label>
  836. <value>09</value>
  837. </item>
  838. <item>
  839. <label>장모</label>
  840. <value>10</value>
  841. </item>
  842. <item>
  843. <label>며느리</label>
  844. <value>11</value>
  845. </item>
  846. <item>
  847. <label>손자</label>
  848. <value>12</value>
  849. </item>
  850. <item>
  851. <label>기타</label>
  852. <value>13</value>
  853. </item>
  854. </choices>
  855. </col>
  856. <col ref="hngnm" type="input"/>
  857. <col ref="addr" type="input"/>
  858. <col ref="detladdr" type="input"/>
  859. <col ref="tel" type="input">
  860. <script type="javascript" ev:event="xforms-value-changed">
  861. <![CDATA[
  862. ]]>
  863. </script>
  864. </col>
  865. <col ref="mpphone" type="input" format="999-9999-9999"/>
  866. <col ref="remfact" type="input"/>
  867. <col ref="fmlyseq" visibility="hidden"/>
  868. <script type="javascript" ev:event="xforms-value-changed">
  869. <![CDATA[
  870. ]]>
  871. </script>
  872. <script type="javascript" ev:event="onclick">
  873. <![CDATA[
  874. grd_famyfact.editCell();
  875. ]]>
  876. </script>
  877. </datagrid>
  878. <line id="line7" class="line_1" visibility="hidden" style="x1:5px; y1:595px; x2:396px; y2:595px; "/>
  879. <line id="line34" class="line_1" style="x1:2px; y1:320px; x2:393px; y2:320px; "/>
  880. <select id="chk_basebdinfoinclyn" ref="/root/main/wardrecinfo/basebdinfoinclyn" navindex="53" overflow="visible" appearance="full" style="left:323px; top:303px; width:70px; height:15px; border-style:none; ">
  881. <choices>
  882. <item>
  883. <label>해당없음</label>
  884. <value>1</value>
  885. </item>
  886. </choices>
  887. <script type="javascript" ev:event="xforms-value-changed">
  888. <![CDATA[
  889. if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn")=="1") {
  890. var rtn = "";
  891. rtn = fSetStatus();
  892. if(rtn == "6") {
  893. ipt_lowbp.disabled = true;
  894. ipt_highbp.disabled = true;
  895. ipt_pulse.disabled = true;
  896. ipt_breth.disabled = true;
  897. ipt_bdtp.disabled = true;
  898. cmb_bdtp.disabled = true;
  899. ipt_bdht.disabled = true;
  900. ipt_bdwt.disabled = true;
  901. cmb_bdbtype.disabled = true;
  902. ipt_spo2.disabled = true;
  903. model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
  904. model.resetInstanceNode("/root/main/wardrecinfo/highbp");
  905. model.resetInstanceNode("/root/main/wardrecinfo/pulse");
  906. model.resetInstanceNode("/root/main/wardrecinfo/breth");
  907. model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
  908. model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
  909. model.resetInstanceNode("/root/main/wardrecinfo/bdht");
  910. model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
  911. model.resetInstanceNode("/root/main/wardrecinfo/bdbtype");
  912. model.resetInstanceNode("/root/main/wardrecinfo/bdbtyperh");
  913. model.resetInstanceNode("/root/main/wardrecinfo/spo2");
  914. } else {
  915. model.setValue("/root/main/wardrecinfo/basebdinfoinclyn", "");
  916. chk_basebdinfoinclyn.refresh();
  917. return;
  918. }
  919. } else {
  920. ipt_lowbp.disabled = false;
  921. ipt_highbp.disabled = false;
  922. ipt_pulse.disabled = false;
  923. ipt_breth.disabled = false;
  924. ipt_bdtp.disabled = false;
  925. cmb_bdtp.disabled = false;
  926. ipt_bdht.disabled = false;
  927. ipt_bdwt.disabled = false;
  928. cmb_bdbtype.disabled = false;
  929. ipt_spo2.disabled = false;
  930. }
  931. ipt_lowbp.refresh();
  932. ipt_highbp.refresh();
  933. ipt_pulse.refresh();
  934. ipt_breth.refresh();
  935. ipt_bdtp.refresh();
  936. cmb_bdtp.refresh();
  937. ipt_bdht.refresh();
  938. ipt_bdwt.refresh();
  939. cmb_bdbtype.refresh();
  940. ipt_spo2.refresh();
  941. ]]>
  942. </script>
  943. <script type="javascript" ev:event="xforms-select">
  944. <![CDATA[
  945. status = "click";
  946. ]]>
  947. </script>
  948. </select>
  949. <caption id="caption39" class="tit_2" style="left:7px; top:305px; width:104px; height:13px; ">기본 신체정보</caption>
  950. <line id="line8" class="line_3" visibility="hidden" style="x1:5px; y1:622px; x2:396px; y2:622px; "/>
  951. <line id="line20" class="line_2" style="x1:3px; y1:371px; x2:394px; y2:371px; "/>
  952. <input id="ipt_pulse" ref="/root/main/wardrecinfo/pulse" navindex="25" maxlength="3" format="9#.#" style="left:66px; top:350px; width:103px; height:19px; text-align:center; "/>
  953. <line id="line21" class="line_2" style="x1:3px; y1:395px; x2:394px; y2:395px; "/>
  954. <caption id="cap_bdht" class="cell_1" style="left:230px; top:325px; width:60px; height:23px; ">신장</caption>
  955. <input id="ipt_breth" ref="/root/main/wardrecinfo/breth" navindex="26" maxlength="2" format="9#.#" style="left:66px; top:374px; width:103px; height:19px; text-align:center; "/>
  956. <caption id="caption30" class="output_fix" style="left:173px; top:375px; width:53px; height:19px; text-align:center; ">회/분</caption>
  957. <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="23" maxlength="3" format="9#.#" style="left:66px; top:326px; width:50px; height:19px; text-align:center; "/>
  958. <caption id="caption20" class="cell_1" style="left:3px; top:397px; width:60px; height:23px; ">체온</caption>
  959. <caption id="caption31" class="output_fix" style="left:361px; top:326px; width:33px; height:19px; text-align:center; ">Cm</caption>
  960. <caption id="cap_bdwt" class="cell_1" style="left:230px; top:349px; width:60px; height:23px; ">체중</caption>
  961. <line id="line15" class="line_2" style="x1:3px; y1:347px; x2:394px; y2:347px; "/>
  962. <select1 id="cmb_bdtp" ref="/root/main/wardrecinfo/bdtppartcd" class="combo_default" navindex="28" appearance="minimal" style="left:119px; top:398px; width:50px; height:19px; ">
  963. <choices>
  964. <itemset nodeset="/root/init/mlist/M0375">
  965. <label ref="cdnm"/>
  966. <value ref="cdid"/>
  967. </itemset>
  968. </choices>
  969. </select1>
  970. <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="24" maxlength="3" format="9#.#" style="left:119px; top:326px; width:50px; height:19px; text-align:center; "/>
  971. <caption id="caption36" class="output_fix" style="left:361px; top:350px; width:33px; height:19px; text-align:center; ">Kg</caption>
  972. <caption id="caption26" class="output_fix" style="left:173px; top:326px; width:53px; height:19px; text-align:center; ">mmHg</caption>
  973. <caption id="caption38" class="output_fix" style="left:173px; top:398px; width:53px; height:19px; text-align:center; ">℃</caption>
  974. <input id="ipt_bdht" ref="/root/main/wardrecinfo/bdht" navindex="29" format="9#.#" style="left:293px; top:326px; width:65px; height:19px; text-align:center; "/>
  975. <caption id="caption17" class="cell_1" style="left:3px; top:325px; width:60px; height:23px; ">혈압</caption>
  976. <caption id="caption28" class="output_fix" style="left:173px; top:350px; width:53px; height:19px; text-align:center; ">회/분</caption>
  977. <input id="ipt_bdtp" ref="/root/main/wardrecinfo/bdtp" navindex="27" format="9#.#" style="left:66px; top:398px; width:50px; height:19px; text-align:center; "/>
  978. <caption id="caption18" class="cell_1" style="left:3px; top:349px; width:60px; height:23px; ">맥박</caption>
  979. <input id="ipt_bdwt" ref="/root/main/wardrecinfo/bdwt" navindex="30" format="#.#" style="left:293px; top:350px; width:65px; height:19px; text-align:center; "/>
  980. <caption id="caption19" class="cell_1" style="left:3px; top:373px; width:60px; height:23px; ">호흡</caption>
  981. <caption id="caption2" class="cell_1" style="left:618px; top:102px; width:85px; height:23px; ">의뢰병원</caption>
  982. <input id="ipt_spo2" ref="/root/main/wardrecinfo/spo2" navindex="32" maxlength="6" format="9#.#" style="left:293px; top:398px; width:65px; height:19px; text-align:center; "/>
  983. <caption id="caption3" class="cell_1" style="left:230px; top:397px; width:60px; height:23px; ">SpO2</caption>
  984. <select1 id="cmb_bdbtype" ref="/root/main/wardrecinfo/bdbtype" class="combo_default" navindex="31" appearance="minimal" style="left:293px; top:374px; width:100px; height:19px; ">
  985. <choices>
  986. <itemset nodeset="/root/init/mlist/M0376">
  987. <label ref="cdnm"/>
  988. <value ref="cdid"/>
  989. </itemset>
  990. </choices>
  991. </select1>
  992. <caption id="caption4" class="output_fix" style="left:361px; top:398px; width:33px; height:19px; text-align:center; ">%</caption>
  993. <caption id="cap_btype" class="cell_1" style="left:230px; top:373px; width:60px; height:23px; ">혈액형</caption>
  994. <line id="line29" class="line_3" style="x1:3px; y1:419px; x2:394px; y2:419px; "/>
  995. <input id="ipt_emotstatnm" ref="/root/main/wardrecinfo/bodyases/bodyases/emotstatnm" navindex="36" style="left:240px; top:498px; width:153px; height:19px; "/>
  996. <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:55px; width:112px; height:19px; "/>
  997. <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; ">
  998. <choices>
  999. <itemset nodeset="/root/init/mlist/M0070">
  1000. <label ref="cdnm"/>
  1001. <value ref="cdid"/>
  1002. </itemset>
  1003. </choices>
  1004. <script type="javascript" ev:event="xforms-value-changed">
  1005. <![CDATA[
  1006. var religncd = model.getValue("/root/main/wardrecinfo/religncd");
  1007. if(religncd == "01") { //천주교일 경우 세례명 입력
  1008. cap_baptnm.visible = true;
  1009. ipt_baptnm.visible = true;
  1010. ipt_baptnm.disabled = false;
  1011. ipt_relignnm.visible = false;
  1012. } else {
  1013. cap_baptnm.visible = false;
  1014. ipt_baptnm.visible = false;
  1015. ipt_relignnm.visible = true;
  1016. model.resetInstanceNode("/root/main/wardrecinfo/baptnm");
  1017. if(religncd == "09") { //기타
  1018. ipt_relignnm.disabled = false;
  1019. } else {
  1020. ipt_relignnm.disabled = true;
  1021. }
  1022. }
  1023. ]]>
  1024. </script>
  1025. </select1>
  1026. <input id="ipt_marystatnm" ref="/root/main/wardrecinfo/marystatnm" disabled="true" navindex="8" style="left:150px; top:79px; width:50px; height:19px; "/>
  1027. <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; ">
  1028. <choices>
  1029. <itemset nodeset="/root/init/mlist/M0068">
  1030. <label ref="cdnm"/>
  1031. <value ref="cdid"/>
  1032. </itemset>
  1033. </choices>
  1034. <script type="javascript" ev:event="xforms-value-changed">
  1035. <![CDATA[
  1036. var job = model.getValue("/root/main/wardrecinfo/jobcd");
  1037. if(job == "10") { //기타
  1038. ipt_job.disabled = false;
  1039. } else {
  1040. model.resetInstanceNode("/root/main/wardrecinfo/jobnm");
  1041. ipt_job.disabled = true;
  1042. ipt_job.refresh();
  1043. }
  1044. ]]>
  1045. </script>
  1046. </select1>
  1047. <line id="line2" class="line_3" style="x1:5px; y1:148px; x2:396px; y2:148px; "/>
  1048. <caption id="caption5" class="cell_1" style="left:5px; top:102px; width:95px; height:23px; ">연락처/휴대폰</caption>
  1049. <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; ">
  1050. <choices>
  1051. <itemset nodeset="/root/init/mlist/M0411">
  1052. <label ref="cdnm"/>
  1053. <value ref="cdid"/>
  1054. </itemset>
  1055. </choices>
  1056. </select1>
  1057. <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:31px; width:50px; height:19px; "/>
  1058. <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:55px; width:60px; height:19px; "/>
  1059. <caption id="cap_marystat" class="cell_1" style="left:5px; top:78px; width:60px; height:23px; ">결혼상태</caption>
  1060. <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; ">
  1061. <choices>
  1062. <itemset nodeset="/root/init/mlist/M0151">
  1063. <label ref="cdnm"/>
  1064. <value ref="cdid"/>
  1065. </itemset>
  1066. </choices>
  1067. <script type="javascript" ev:event="xforms-value-changed">
  1068. <![CDATA[
  1069. var marystatcd = model.getValue("/root/main/wardrecinfo/marystatcd");
  1070. if(marystatcd == "09") {
  1071. ipt_marystatnm.disabled = false;
  1072. } else {
  1073. ipt_marystatnm.disabled = true;
  1074. model.resetInstanceNode("/root/main/wardrecinfo/marystatnm");
  1075. ipt_marystatnm.refresh();
  1076. }
  1077. ]]>
  1078. </script>
  1079. </select1>
  1080. <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:103px; top:103px; width:144px; height:19px; "/>
  1081. <line id="line3" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
  1082. <caption id="caption7" class="cell_1" visibility="hidden" style="left:265px; top:54px; width:60px; height:23px; ">영적요구</caption>
  1083. <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:250px; top:103px; width:144px; height:19px; "/>
  1084. <line id="line4" class="line_2" style="x1:5px; y1:76px; x2:262px; y2:76px; "/>
  1085. <input id="input3" ref="/root/main/wardrecinfo/etcphone1" style="left:103px; top:127px; width:144px; height:19px; "/>
  1086. <line id="line5" class="line_2" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
  1087. <caption id="cap_job" class="cell_1" style="left:5px; top:30px; width:60px; height:23px; ">직업</caption>
  1088. <input id="input4" ref="/root/main/wardrecinfo/etcphone2" style="left:250px; top:127px; width:144px; height:19px; "/>
  1089. <caption id="caption9" class="cell_1" style="left:5px; top:126px; width:95px; height:23px; ">기타 전화번호</caption>
  1090. <line id="line25" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
  1091. <caption id="cap_educgrde" class="cell_1" style="left:203px; top:30px; width:60px; height:23px; ">교육정도</caption>
  1092. <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" style="left:346px; top:31px; width:50px; height:19px; "/>
  1093. <select1 id="cmb_educgrde" ref="/root/main/wardrecinfo/educgrdecd" class="combo_default" navindex="3" appearance="minimal" style="left:266px; top:31px; width:77px; height:19px; ">
  1094. <choices>
  1095. <itemset nodeset="/root/init/mlist/M0069">
  1096. <label ref="cdnm"/>
  1097. <value ref="cdid"/>
  1098. </itemset>
  1099. </choices>
  1100. <script type="javascript" ev:event="xforms-value-changed">
  1101. <![CDATA[
  1102. var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
  1103. if(educgrde == "15") { //기타
  1104. ipt_educgrde.disabled = false;
  1105. } else {
  1106. model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
  1107. ipt_educgrde.disabled = true;
  1108. ipt_educgrde.refresh();
  1109. }
  1110. ]]>
  1111. </script>
  1112. </select1>
  1113. <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:54px; width:50px; height:23px; ">세례명</caption>
  1114. <caption id="cap_relign" class="cell_1" style="left:5px; top:54px; width:60px; height:23px; ">종교</caption>
  1115. </xhtml:body>
  1116. </xhtml:html>