SPMNP00320_분만정보.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>수술간호기록 분만정보</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <drlists>
  11. <drlist>
  12. <babyno/>
  13. <babynm/>
  14. <deathyn/>
  15. <gndr/>
  16. <weig/>
  17. <weigunit/>
  18. <apgarscore1/>
  19. <apgarscore5/>
  20. <dlivdt/>
  21. <dlivkindnm/>
  22. <dlivflagnm/>
  23. <dlivplcenm/>
  24. <babycnt/>
  25. <dlivplceetcspec/>
  26. </drlist>
  27. </drlists>
  28. <cond>
  29. <pid/>
  30. <indd/>
  31. <cretno/>
  32. </cond>
  33. <nbabyinfo>
  34. <nbabylist>
  35. <babynm/>
  36. <dlivdd/>
  37. <dlivtm/>
  38. <dlivkindcd/>
  39. <dlivflag/>
  40. <deathyn/>
  41. <gndr/>
  42. <apgarscore1/>
  43. <apgarscore5/>
  44. <apgarscorespec/>
  45. <weig/>
  46. <weigunit/>
  47. <dlivplcecd/>
  48. <dlivplceetcspec/>
  49. <urinecd/>
  50. <mecnmcolrayn/>
  51. <mecnmcolracd/>
  52. <oxygenabsopcd/>
  53. <oxygenabsopspec/>
  54. <stoolcd/>
  55. <trueknotyn/>
  56. <trueknotspec/>
  57. <nuchalcordcd/>
  58. <nuchalcordpart/>
  59. <nuchalcordspec/>
  60. <nuchalcordtime/>
  61. <promyn/>
  62. <promdd/>
  63. <promtm/>
  64. <antibiodrugyn/>
  65. <fstlctyn/>
  66. <lctrejtresnspec/>
  67. <lctdd/>
  68. <lcttm/>
  69. <cardresusyn/>
  70. <cardresuscd/>
  71. <cardresusspec/>
  72. <remk/>
  73. <status/>
  74. <dlivpredrugspec/>
  75. <delcheck/>
  76. <signno/>
  77. <pid/>
  78. <babyno/>
  79. </nbabylist>
  80. </nbabyinfo>
  81. <partrtninfo>
  82. <partrtninfolist>
  83. <babycnt/>
  84. <babycntetc/>
  85. <plataexpmthdcd/>
  86. <prgweekcnt/>
  87. <prgdaycnt/>
  88. <avulsioncnt/>
  89. <infcsickyn/>
  90. <infcsicknm/>
  91. <infcsickspec/>
  92. <guiddlivyn/>
  93. <periincyn/>
  94. <periincnm/>
  95. <perilcrtyn/>
  96. <oxtccd/>
  97. <lyinwoyn/>
  98. <lyinwoflag/>
  99. <lyinwoflagspcffact/>
  100. <brmklctyn/>
  101. <remk/>
  102. <status/>
  103. <pid/>
  104. <indd/>
  105. <cretno/>
  106. </partrtninfolist>
  107. </partrtninfo>
  108. <nbabylist>
  109. <nbabylist>
  110. <delcheck/>
  111. <babynm/>
  112. <dlivdd/>
  113. <dlivtm/>
  114. <dlivkindcd/>
  115. <dlivflag/>
  116. <deathyn/>
  117. <gndr/>
  118. <apgarscore1/>
  119. <apgarscore5/>
  120. <weig/>
  121. <weigunit/>
  122. <dlivplcecd/>
  123. <dlivplceetcspec/>
  124. <urinecd/>
  125. <mecnmcolrayn/>
  126. <mecnmcolracd/>
  127. <oxygenabsopcd/>
  128. <oxygenabsopspec/>
  129. <stoolcd/>
  130. <trueknotyn/>
  131. <trueknotspec/>
  132. <nuchalcordcd/>
  133. <nuchalcordpart/>
  134. <nuchalcordspec/>
  135. <nuchalcordtime/>
  136. <promyn/>
  137. <promdd/>
  138. <promtm/>
  139. <antibiodrugyn/>
  140. <fstlctyn/>
  141. <lctrejtresnspec/>
  142. <lctdd/>
  143. <lcttm/>
  144. <cardresusyn/>
  145. <cardresuscd/>
  146. <cardresusspec/>
  147. <remk/>
  148. <dlivpredrugspec/>
  149. <status/>
  150. <signno/>
  151. <pid/>
  152. <babyno/>
  153. </nbabylist>
  154. </nbabylist>
  155. </main>
  156. <init>
  157. <pinfo/>
  158. <pinfo2/>
  159. <pinfo3/>
  160. <M0188list>
  161. </M0188list>
  162. <M0086list>
  163. </M0086list>
  164. <M0324list>
  165. </M0324list>
  166. </init>
  167. <hidedata>
  168. <dlivdt/>
  169. <dlivkindnm/>
  170. <dlivflagnm/>
  171. <dlivplcenm/>
  172. <babycnt/>
  173. <dlivplceetcspec/>
  174. </hidedata>
  175. <send>
  176. </send>
  177. </root>
  178. </instance>
  179. <script type="javascript" ev:event="xforms-ready">
  180. <![CDATA[
  181. fInit();
  182. ]]>
  183. </script>
  184. <submission id="TRMNP00317" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drlist"/>
  185. <submission id="TRMNN00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden"/>
  186. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  187. </model>
  188. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  189. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  190. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  191. <script type="javascript" src="../../../emr/opanstweb/js/SPMNP00320.js"/>
  192. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  193. </xhtml:head>
  194. <xhtml:body pagewidth="795" pageheight="305" guideline="2,358;1,774;2,88;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  195. <group id="group3" scroll="auto" style="left:0px; top:0px; width:775px; height:285px; ">
  196. <group id="group2" style="left:0px; top:0px; width:518px; height:0px; vertical-align:top; "/>
  197. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:183px; height:13px; ">분만 정보</caption>
  198. <line id="line1" class="line_1" style="x1:1px; y1:30px; x2:775px; y2:30px; "/>
  199. <button id="btn_search" class="btn2_letter2" style="left:733px; top:9px; width:42px; height:19px; ">
  200. <caption>조회</caption>
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. fSearchDrInfo();
  204. ]]>
  205. </script>
  206. </button>
  207. <caption id="caption2" class="cell_1" style="left:0px; top:88px; width:80px; height:23px; vertical-align:middle; ">아기 수</caption>
  208. <caption id="caption4" class="cell_1" style="left:0px; top:113px; width:80px; height:122px; vertical-align:middle; ">신생아 정보</caption>
  209. <datagrid id="grd_nbaby" nodeset="/root/main/nbabylist/nbabylist" class="datagrid2" caption="아기번호^신생아이름^분만일시^분만일시^생사&#xA;여부^성별^분만형태^분만형태^체중^체중&#xA;단위^A/S(1분)^A/S(5분)^분만장소^분만장소기타^Urine^태변착색^태변착색기타^산소흡인^산소흡인기타^stool^True knot^True knot 기타^Nuchal cord^Nuchal cord part^Nuchal cord part etc^Nuchal cord part time^PROM^PROM dd^PROM tm^항생제 투여^첫 모유수유여부^미수유사유^첫수유일자^첫수유시간^심폐소생술^심폐소생술 코드^심폐소생술 기타^특이사항^모유시간기타" colsep="^" colwidth="85, 85, 90, 40, 56, 42, 0, 0, 55, 44, 77, 77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:82px; top:113px; width:692px; height:120px; ">
  210. <col ref="babyno" style="text-align:center; "/>
  211. <col ref="babynm" style="text-align:center; "/>
  212. <col ref="dlivdd" format="yyyy-mm-dd" style="text-align:center; "/>
  213. <col ref="dlivtm" format="hh:nn" style="text-align:center; "/>
  214. <col disabled="true" ref="deathyn" type="combo" style="text-align:center; ">
  215. <choices>
  216. <item>
  217. <label>live</label>
  218. <value>Y</value>
  219. </item>
  220. <item>
  221. <label>dead</label>
  222. <value>N</value>
  223. </item>
  224. </choices>
  225. </col>
  226. <col disabled="true" ref="gndr" type="combo" style="text-align:center; ">
  227. <choices>
  228. <item>
  229. <label>M</label>
  230. <value>M</value>
  231. </item>
  232. <item>
  233. <label>F</label>
  234. <value>F</value>
  235. </item>
  236. <item>
  237. <label>기타</label>
  238. <value>E</value>
  239. </item>
  240. </choices>
  241. </col>
  242. <col disabled="true" ref="dlivkindcd" type="combo" visibility="hidden">
  243. <choices>
  244. <itemset nodeset="/root/init/M0188list/M0188">
  245. <label ref="cdnm"/>
  246. <value ref="cdid"/>
  247. </itemset>
  248. </choices>
  249. </col>
  250. <col disabled="true" ref="dlivflag" type="combo" visibility="hidden">
  251. <choices>
  252. <itemset nodeset="/root/init/M0086list/M0086">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. </col>
  258. <col ref="weig" style="text-align:center; "/>
  259. <col disabled="true" ref="weigunit" type="combo" style="text-align:center; ">
  260. <choices>
  261. <item>
  262. <label>kg</label>
  263. <value>1</value>
  264. </item>
  265. <item>
  266. <label>g</label>
  267. <value>2</value>
  268. </item>
  269. </choices>
  270. </col>
  271. <col ref="apgarscore1" style="text-align:center; "/>
  272. <col ref="apgarscore5" style="text-align:center; "/>
  273. <col disabled="true" ref="dlivplcecd" type="combo" visibility="hidden">
  274. <choices>
  275. <item>
  276. <label>분만실</label>
  277. <value>PT</value>
  278. </item>
  279. <item>
  280. <label>수술실</label>
  281. <value>OP</value>
  282. </item>
  283. <item>
  284. <label>기타</label>
  285. <value>E</value>
  286. </item>
  287. </choices>
  288. </col>
  289. <col disabled="true" ref="dlivplceetcspec" type="combo" visibility="hidden"/>
  290. <col disabled="true" ref="urinecd" type="combo" visibility="hidden">
  291. <choices>
  292. <item>
  293. <label>무</label>
  294. <value>N</value>
  295. </item>
  296. <item>
  297. <label>유</label>
  298. <value>Y</value>
  299. </item>
  300. </choices>
  301. </col>
  302. <col disabled="true" ref="mecnmcolrayn" type="combo" visibility="hidden">
  303. <choices>
  304. <item>
  305. <label>무</label>
  306. <value>N</value>
  307. </item>
  308. <item>
  309. <label>유</label>
  310. <value>Y</value>
  311. </item>
  312. </choices>
  313. </col>
  314. <col ref="mecnmcolracd" visibility="hidden"/>
  315. <col disabled="true" ref="oxygenabsopcd" type="combo" visibility="hidden">
  316. <choices>
  317. <item>
  318. <label>무</label>
  319. <value>N</value>
  320. </item>
  321. <item>
  322. <label>유</label>
  323. <value>Y</value>
  324. </item>
  325. </choices>
  326. </col>
  327. <col ref="oxygenabsopspec" visibility="hidden"/>
  328. <col disabled="true" ref="stoolcd" type="combo" visibility="hidden">
  329. <choices>
  330. <item>
  331. <label>무</label>
  332. <value>N</value>
  333. </item>
  334. <item>
  335. <label>유</label>
  336. <value>Y</value>
  337. </item>
  338. </choices>
  339. </col>
  340. <col disabled="true" ref="trueknotyn" type="combo" visibility="hidden">
  341. <choices>
  342. <item>
  343. <label>무</label>
  344. <value>N</value>
  345. </item>
  346. <item>
  347. <label>유</label>
  348. <value>Y</value>
  349. </item>
  350. </choices>
  351. </col>
  352. <col disabled="true" ref="trueknotspec" type="combo" visibility="hidden">
  353. <choices>
  354. <item>
  355. <label>+1</label>
  356. <value>1</value>
  357. </item>
  358. <item>
  359. <label>+2</label>
  360. <value>2</value>
  361. </item>
  362. <item>
  363. <label>+3</label>
  364. <value>3</value>
  365. </item>
  366. <item>
  367. <label>+4</label>
  368. <value>4</value>
  369. </item>
  370. <item>
  371. <label>+5</label>
  372. <value>5</value>
  373. </item>
  374. </choices>
  375. </col>
  376. <col disabled="true" ref="nuchalcordcd" type="combo" visibility="hidden">
  377. <choices>
  378. <item>
  379. <label>무</label>
  380. <value>N</value>
  381. </item>
  382. <item>
  383. <label>유</label>
  384. <value>Y</value>
  385. </item>
  386. </choices>
  387. </col>
  388. <col ref="nuchalcordpart" visibility="hidden"/>
  389. <col ref="nuchalcordspec" visibility="hidden"/>
  390. <col ref="nuchalcordtime" visibility="hidden"/>
  391. <col disabled="true" ref="promyn" type="combo" visibility="hidden">
  392. <choices>
  393. <item>
  394. <label>무</label>
  395. <value>N</value>
  396. </item>
  397. <item>
  398. <label>유</label>
  399. <value>Y</value>
  400. </item>
  401. </choices>
  402. </col>
  403. <col ref="promdd" visibility="hidden"/>
  404. <col ref="promtm" visibility="hidden"/>
  405. <col disabled="true" ref="antibiodrugyn" type="combo" visibility="hidden">
  406. <choices>
  407. <item>
  408. <label>무</label>
  409. <value>N</value>
  410. </item>
  411. <item>
  412. <label>유</label>
  413. <value>Y</value>
  414. </item>
  415. </choices>
  416. </col>
  417. <col disabled="true" ref="fstlctyn" type="combo" visibility="hidden">
  418. <choices>
  419. <item>
  420. <label>무</label>
  421. <value>N</value>
  422. </item>
  423. <item>
  424. <label>유</label>
  425. <value>Y</value>
  426. </item>
  427. </choices>
  428. </col>
  429. <col disabled="true" ref="lctrejtresnspec" type="combo" visibility="hidden">
  430. <choices>
  431. <item>
  432. <label>다태아 출산</label>
  433. <value>1</value>
  434. </item>
  435. <item>
  436. <label>제태기간 37주 미만</label>
  437. <value>2</value>
  438. </item>
  439. <item>
  440. <label>출생시 체중 2500g 미만</label>
  441. <value>3</value>
  442. </item>
  443. <item>
  444. <label>5분 Apgar score 8점 미만</label>
  445. <value>4</value>
  446. </item>
  447. <item>
  448. <label>입원시 거부</label>
  449. <value>5</value>
  450. </item>
  451. <item>
  452. <label>중도 거부</label>
  453. <value>6</value>
  454. </item>
  455. <item>
  456. <label>의학적 이유 기타</label>
  457. <value>7</value>
  458. </item>
  459. <item>
  460. <label>기타</label>
  461. <value>8</value>
  462. </item>
  463. </choices>
  464. </col>
  465. <col ref="lctdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  466. <col ref="lcttm" visibility="hidden" format="hh:nn" style="text-align:center; "/>
  467. <col disabled="true" ref="cardresusyn" type="combo" visibility="hidden">
  468. <choices>
  469. <item>
  470. <label>무</label>
  471. <value>N</value>
  472. </item>
  473. <item>
  474. <label>유</label>
  475. <value>Y</value>
  476. </item>
  477. </choices>
  478. </col>
  479. <col ref="cardresuscd" visibility="hidden"/>
  480. <col ref="cardresusspec" visibility="hidden"/>
  481. <col ref="remk" visibility="hidden"/>
  482. <col ref="dlivpredrugspec" visibility="hidden"/>
  483. <script type="javascript" ev:event="onbuttonclick">
  484. <![CDATA[
  485. // fOnClickGridTimeBtn();
  486. ]]>
  487. </script>
  488. </datagrid>
  489. <input id="input1" ref="/root/init/pinfo3" class="output_fix" style="left:85px; top:61px; width:689px; height:19px; font-weight:bold; "/>
  490. <input id="input2" ref="/root/init/pinfo" class="output_fix" format="yyyy-mm-dd" style="left:0px; top:37px; width:83px; height:24px; font-weight:bold; text-align:center; "/>
  491. <input id="input3" ref="/root/init/pinfo2" class="output_fix" style="left:85px; top:37px; width:689px; height:19px; font-weight:bold; color:#0000ff; text-align:center; "/>
  492. <caption id="caption7" class="cell_1" style="left:0px; top:237px; width:80px; height:47px; vertical-align:middle; ">첫 모유수유</caption>
  493. <select1 id="cmb_babycntetc" ref="/root/main/partrtninfo/partrtninfolist/babycntetc" class="combo_default" disabled="true" appearance="minimal" style="left:287px; top:89px; width:72px; height:19px; ">
  494. <choices>
  495. <item>
  496. <label>4</label>
  497. <value>4</value>
  498. </item>
  499. <item>
  500. <label>5</label>
  501. <value>5</value>
  502. </item>
  503. <item>
  504. <label>6</label>
  505. <value>6</value>
  506. </item>
  507. </choices>
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. ibabycnt = cmb_babycntetc.value;
  511. model.resetInstanceNode("/root/init/babynm");
  512. if(rdo_babycnt.value <= 4){
  513. for(var i = 1; i <= ibabycnt; i++){
  514. if(rdo_babycnt.value == "1"){
  515. model.makeValue("/root/init/babynm[" + i + "]/nm", pname + "아기");
  516. }else{
  517. model.makeValue("/root/init/babynm[" + i + "]/nm", pname + "아기" + i);
  518. }
  519. }
  520. }
  521. model.refresh();
  522. ]]>
  523. </script>
  524. </select1>
  525. <select1 id="rdo_babycnt" ref="/root/main/partrtninfo/partrtninfolist/babycnt" disabled="true" navindex="1" appearance="full" cols="4" overflow="visible" style="left:88px; top:91px; width:192px; height:15px; border-style:none; ">
  526. <choices>
  527. <item>
  528. <label>single</label>
  529. <value>1</value>
  530. </item>
  531. <item>
  532. <label>twin</label>
  533. <value>2</value>
  534. </item>
  535. <item>
  536. <label>triple</label>
  537. <value>3</value>
  538. </item>
  539. <item>
  540. <label>multi</label>
  541. <value>4</value>
  542. </item>
  543. </choices>
  544. <script type="javascript" ev:event="xforms-select">
  545. <![CDATA[
  546. if(rdo_babycnt.value != 4){
  547. ibabycnt = rdo_babycnt.value;
  548. }
  549. if(rdo_babycnt.value == 1){
  550. cmb_babycntetc.disabled = true;
  551. model.setValue("/root/main/partrtninfo/partrtninfolist/babycntetc", ""); //cmb_babycntetc.value = "";
  552. model.setValue("/root/main/nbabyinfo/nbabylist/babynm", pname+ "아기"); //cmb_babynm.value = pname + "아기";
  553. cmb_babycntetc.refresh();
  554. cmb_babynm.refresh();
  555. }else if(rdo_babycnt.value == 2){
  556. cmb_babycntetc.disabled = true;
  557. model.setValue("/root/main/partrtninfo/partrtninfolist/babycntetc", ""); //cmb_babycntetc.value = "";
  558. cmb_babycntetc.refresh();
  559. //ipt_babynm.value = pname + "아기" + ibabycurrent;
  560. }else if(rdo_babycnt.value == 3){
  561. cmb_babycntetc.disabled = true;
  562. model.setValue("/root/main/partrtninfo/partrtninfolist/babycntetc", ""); //cmb_babycntetc.value = "";
  563. cmb_babycntetc.refresh();
  564. //ipt_babynm.value = pname + "아기" + ibabycurrent;
  565. }else if(rdo_babycnt.value == 4){
  566. cmb_babycntetc.disabled = false;
  567. model.setValue("/root/main/partrtninfo/partrtninfolist/babycntetc", "4"); //cmb_babycntetc.value = "4";
  568. cmb_babycntetc.refresh();
  569. //ipt_babynm.value = pname + "아기" + ibabycurrent;
  570. }else{}
  571. model.resetInstanceNode("/root/init/babynm");
  572. if(rdo_babycnt.value <= 4){
  573. for(var i = 1; i <= rdo_babycnt.value; i++){
  574. if(rdo_babycnt.value == "1"){
  575. model.makeValue("/root/init/babynm[" + i + "]/nm", pname + "아기");
  576. }else{
  577. model.makeValue("/root/init/babynm[" + i + "]/nm", pname + "아기" + i);
  578. }
  579. }
  580. }
  581. model.refresh();
  582. ]]>
  583. </script>
  584. </select1>
  585. <select1 id="rdo_fstlctyn" ref="/root/main/nbabyinfo/nbabylist/fstlctyn" disabled="true" navindex="30" appearance="full" cellspacing="185" cols="1" rows="1" overflow="visible" style="left:84px; top:239px; width:31px; height:45px; line-spacing:5; border-style:none; ">
  586. <choices>
  587. <item>
  588. <label>무</label>
  589. <value>N</value>
  590. </item>
  591. <item>
  592. <label>유</label>
  593. <value>Y</value>
  594. </item>
  595. </choices>
  596. <script type="javascript" ev:event="xforms-select">
  597. <![CDATA[
  598. if(rdo_fstlctyn.value == "N"){
  599. cmb_lctrejtresnspec.disabled = false; // 첫 모유수유시간 '무'의 콤보박스
  600. ipt_dlivpredrugspec.disabled = true; // 첫 모유수유시간 '무'의 free text box
  601. ipt_lctdd.disabled = true; // 첫 모유수유시간 '유'의 일자
  602. ipt_lcttm.disabled = true; // 첫 모유수유시간 '유'의 시간
  603. model.setValue("/root/main/nbabyinfo/nbabylist/dlivpredrugspec",""); //ipt_dlivpredrugspec.value = "";
  604. model.setValue("/root/main/nbabyinfo/nbabylist/lctdd",""); //ipt_lctdd.value = "";
  605. model.setValue("/root/main/nbabyinfo/nbabylist/lcttm",""); //ipt_lcttm.value = "";
  606. ipt_dlivpredrugspec.refresh(); ipt_lctdd.refresh(); ipt_lcttm.refresh();
  607. }else if(rdo_fstlctyn.value == "Y"){
  608. cmb_lctrejtresnspec.disabled = true; // 첫 모유수유시간 '무'의 콤보박스
  609. ipt_dlivpredrugspec.disabled = true; // 첫 모유수유시간 '무'의 free text box
  610. ipt_lctdd.disabled = false; // 첫 모유수유시간 '유'의 일자
  611. ipt_lcttm.disabled = false; // 첫 모유수유시간 '유'의 시간
  612. model.setValue("/root/main/nbabyinfo/nbabylist/lctdd",getCurrentDate()); //ipt_lctdd.value = getCurrentDate();
  613. model.setValue("/root/main/nbabyinfo/nbabylist/lctrejtresnspec" ,""); //cmb_lctrejtresnspec.value = "";
  614. model.setValue("/root/main/nbabyinfo/nbabylist/dlivpredrugspec",""); //ipt_dlivpredrugspec.value = "";
  615. ipt_lctdd.refresh(); cmb_lctrejtresnspec.refresh(); ipt_dlivpredrugspec.refresh();
  616. }else{}
  617. ]]>
  618. </script>
  619. </select1>
  620. <input id="ipt_lctdd" ref="/root/main/nbabyinfo/nbabylist/lctdd" class="input_default" disabled="true" navindex="33" inputtype="date" style="left:120px; top:262px; width:95px; height:19px; "/>
  621. <select1 id="cmb_lctrejtresnspec" ref="/root/main/nbabyinfo/nbabylist/lctrejtresnspec" class="combo_default" disabled="true" navindex="31" appearance="minimal" style="left:120px; top:239px; width:151px; height:19px; ">
  622. <choices>
  623. <item>
  624. <label>다태아 출산</label>
  625. <value>1</value>
  626. </item>
  627. <item>
  628. <label>제태기간 37주 미만</label>
  629. <value>2</value>
  630. </item>
  631. <item>
  632. <label>출생시 체중 2500g 미만</label>
  633. <value>3</value>
  634. </item>
  635. <item>
  636. <label>5분 Apgar score 8점 미만</label>
  637. <value>4</value>
  638. </item>
  639. <item>
  640. <label>입원시 거부</label>
  641. <value>5</value>
  642. </item>
  643. <item>
  644. <label>중도 거부</label>
  645. <value>6</value>
  646. </item>
  647. <item>
  648. <label>의학적 이유 기타</label>
  649. <value>7</value>
  650. </item>
  651. </choices>
  652. <script type="javascript" ev:event="xforms-select">
  653. <![CDATA[
  654. if(cmb_lctrejtresnspec.value == 5 || cmb_lctrejtresnspec.value == 6 || cmb_lctrejtresnspec.value == 7 || cmb_lctrejtresnspec.value == 8){
  655. ipt_dlivpredrugspec.disabled = false;
  656. }else{
  657. ipt_dlivpredrugspec.disabled = true;
  658. ipt_dlivpredrugspec.value = "";
  659. }
  660. ]]>
  661. </script>
  662. </select1>
  663. <input id="ipt_dlivpredrugspec" ref="/root/main/nbabyinfo/nbabylist/dlivpredrugspec" class="input_default" disabled="true" navindex="32" maxlength="50" style="left:276px; top:239px; width:299px; height:19px; "/>
  664. <input id="ipt_lcttm" ref="/root/main/nbabyinfo/nbabylist/lcttm" class="input_default" disabled="true" navindex="34" maxlength="4" format="hh:nn" style="left:218px; top:262px; width:53px; height:19px; "/>
  665. </group>
  666. </xhtml:body>
  667. </xhtml:html>