SMMNN00600_신생아퇴원간호계획.xrw 112 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777
  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. <room/>
  11. <patnm/>
  12. <sex/>
  13. <age/>
  14. <pid/>
  15. <dschcareinfo>
  16. <dschcareinfo>
  17. <dschtypecds>01</dschtypecds>
  18. <dschtypenm/>
  19. <dschmthdcd>01</dschmthdcd>
  20. <dschmthdnm/>
  21. <dracomp>02</dracomp>
  22. <antibioallgyn>01</antibioallgyn>
  23. <antibioallgcd/>
  24. <antibioallgnm/>
  25. <dschcareeducinfo>
  26. <dschcareeduc>
  27. <dschcareeducinclyn/>
  28. <lacmthd>01</lacmthd>
  29. <lacmthdnm/>
  30. <lactim/>
  31. <lacvol/>
  32. <laceduc>01</laceduc>
  33. <laceductype/>
  34. <laceducmthd/>
  35. <sanitcare/>
  36. <dinfyn/>
  37. <sanitnm/>
  38. <vacn/>
  39. <vacntim/>
  40. <vacnnm/>
  41. <cngntlmboltrobtest/>
  42. <inroomenv/>
  43. <heartestyn>01</heartestyn>
  44. <heartest/>
  45. <educetc/>
  46. <educetcnm/>
  47. <mngtaftdschyn>02</mngtaftdschyn>
  48. <mngtaftdsch/>
  49. <mngtaftdschnm/>
  50. <dschseqdeducyn>01</dschseqdeducyn>
  51. <dschmeditmedguidyn>01</dschmeditmedguidyn>
  52. <dschcatestatcd/>
  53. <dschcateoxy/>
  54. <dschcatestatnm/>
  55. <spcffact/>
  56. <dschcatestatyn>01</dschcatestatyn>
  57. </dschcareeduc>
  58. </dschcareeducinfo>
  59. <etcfactinfo>
  60. <etcfact>
  61. <tel/>
  62. <eductrgt/>
  63. <educunstdgrde>01</educunstdgrde>
  64. <dschlactype>01</dschlactype>
  65. </etcfact>
  66. </etcfactinfo>
  67. <nbabyacptcnfminfo>
  68. <nbabyacptcnfm>
  69. <nbabyacptpsn>01</nbabyacptpsn>
  70. <nbabyacptpsnnm/>
  71. <crtfctcnfm/>
  72. <wommrrgstno1/>
  73. <wommrrgstno2/>
  74. <acptpsnrrgstnm/>
  75. <acptpsnrrgstno1/>
  76. <acptpsnrrgstno2/>
  77. </nbabyacptcnfm>
  78. </nbabyacptcnfminfo>
  79. <recdd/>
  80. <rectm/>
  81. <recuserid/>
  82. <dschdd/>
  83. <recusernm/>
  84. <signno/>
  85. </dschcareinfo>
  86. </dschcareinfo>
  87. </main>
  88. <send>
  89. <dschcareinfo>
  90. <rsrvinfo>
  91. <ordrsrvinfo/>
  92. <testrsrvinfo/>
  93. <dschdrugfactinfo/>
  94. </rsrvinfo>
  95. </dschcareinfo>
  96. </send>
  97. <harddata>
  98. <hardcode/>
  99. <send/>
  100. </harddata>
  101. <codeinfo/>
  102. <duplocrprnt>
  103. <msginfo/>
  104. </duplocrprnt>
  105. <temp>
  106. <prtPatient>Y</prtPatient>
  107. <prtOCR/>
  108. </temp>
  109. </root>
  110. </instance>
  111. <script type="javascript" ev:event="xforms-ready">
  112. <![CDATA[
  113. model.removeNodeset("/root/main/dschcareinfo/ordrsrvinfo");
  114. model.removeNodeset("/root/main/dschcareinfo/testrsrvinfo");
  115. model.removeNodeset("/root/main/dschcareinfo/dschdrugfactinfo");
  116. grd_ordrsrvinfo.rebuild();
  117. grd_testrsrvinfo.rebuild();
  118. grd_dschdrugmedifact.rebuild();
  119. //172 JCI 적용여부
  120. //fGetNursHardCdInfo("'172','174','178','T40','U31'", getCurrentDate()); //CareCom.js
  121. model.makeNode("/root/temp/cond");
  122. var paminfo = getGlobalVariable("paminfo");
  123. setCSVToNode("/root/temp/cond", paminfo);
  124. var dschdclrtyn = model.getValue("/root/temp/cond/list/dschdclrtyn");
  125. var pid = model.getValue("/root/temp/cond/list/pid");
  126. if(pid == "") {
  127. messageBox("환자를 선택하지 ", "E007");
  128. window.close();
  129. }else{
  130. if(dschdclrtyn == 'N') {
  131. messageBox("퇴원예고가 이루어지지", "E007");
  132. window.close();
  133. }else{
  134. var room = model.getValue("/root/temp/cond/list/roomcd");
  135. var patnm = model.getValue("/root/temp/cond/list/hngnm2");
  136. var sex = model.getValue("/root/temp/cond/list/sex");
  137. var age = model.getValue("/root/temp/cond/list/age");
  138. var pid = model.getValue("/root/temp/cond/list/pid");
  139. var deptcd = model.getValue("/root/temp/cond/list/wardcd");
  140. var userdept = getUserInfo("dutplcecd");
  141. var spiritdept = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='U31']/cdid");
  142. if(deptcd == spiritdept) {
  143. if(userdept != spiritdept) {
  144. messageBox("환자 개인정보 보호를 위해 해당병동 사용자외엔 조회를 제한합니다", "E");
  145. window.close();
  146. }
  147. }
  148. model.setValue("/root/main/room", room);
  149. model.setValue("/root/main/patnm", patnm);
  150. model.setValue("/root/main/sex", sex);
  151. model.setValue("/root/main/age", age);
  152. model.setValue("/root/main/pid", pid);
  153. fGetDschInfo();
  154. var dschdd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd");
  155. var dschdclrdt = model.getValue("/root/temp/cond/list/dschdclrdt").substr(0,8);
  156. if(dschdd == '' ) {
  157. if(dschdclrdt != '-' || dschdclrdt != '') {
  158. model.setValue("/root/main/dschcareinfo/dschcareinfo/dschdd",dschdclrdt);
  159. }
  160. }
  161. //병동전화번호가 없으면 가져온다.
  162. var tel = model.getValue("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel");
  163. var wardcd = model.getValue("/root/temp/cond/list/wardcd");
  164. var setTel = '053) 200 - ' + model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='T40' and cdid = '" + wardcd + "']/cdnm");
  165. if (tel == '') {
  166. model.setValue("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel", setTel);
  167. }
  168. model.refresh();
  169. }
  170. }
  171. ]]>
  172. </script>
  173. <submission id="TRMNN00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main"/>
  174. <submission id="TRMNN00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
  175. <submission id="TRMNN00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/rsrvinfo"/>
  176. <submission id="TRMNN00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/patinfo"/>
  177. <submission id="TXMNN00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dschcareinfo"/>
  178. <submission id="TXMRF03805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/insocrtag"/>
  179. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  180. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
  181. <submission id="TRADC02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/patinfo"/>
  182. <submission id="TRMNW15101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/duplocrprnt/msginfo"/>
  183. <submission id="TXMNW03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reprntinfo"/>
  184. <submission id="TRMNW03605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hiden"/>
  185. </model>
  186. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  187. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  188. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  189. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  190. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  191. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  192. <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js"/>
  193. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  194. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW03.js"/>
  195. <script type="javascript">
  196. <![CDATA[
  197. //var xFormCd = "0000002454";
  198. //var xFormCd = "1300014128";
  199. fGetNursHardCdInfo("'172','174','178','T40','U31','R4'", getCurrentDate()); //CareCom.js
  200. var xFormCd = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='R4' and supcdid = '06']/cdid"); // 서식코드 기준자료로 관리
  201. function fMake_SignData() {
  202. Sign.addnode("/root/main/dschcareinfo");
  203. var xDschInfoPath = Sign.XPATH_SIGNINFO + "/dschcareinfo";
  204. var str = "";
  205. /****************************** 퇴원시 환자정보 **************************************/
  206. //퇴원유형
  207. var dschtypecds = model.getValue(xDschInfoPath + "/dschcareinfo/dschtypecds");
  208. var dschtypenm = model.getValue(xDschInfoPath + "/dschcareinfo/dschtypenm");
  209. str = rdo_dschtypes.label;
  210. if(dschtypecds != "") {
  211. if(dschtypecds == "07") {
  212. if(dschtypenm != "") {
  213. str += "(" + dschtypenm + ")";
  214. }
  215. }
  216. model.setValue(xDschInfoPath + "/dschcareinfo/dschtypecds", str);
  217. }
  218. //퇴원방법
  219. var dschmthdcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdcd");
  220. var dschmthdnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdnm");
  221. str = rdo_dschmthd.label;
  222. if(dschmthdcd != "") {
  223. if(dschmthdcd == "04") {
  224. if(dschmthdnm != "") {
  225. str += "(" + dschmthdnm + ")";
  226. }
  227. }
  228. model.setValue(xDschInfoPath + "/dschcareinfo/dschmthdcd", str);
  229. }
  230. //진료의동반_20090601_SMY추가
  231. var dracomp = model.getValue(xDschInfoPath + "/dschcareinfo/dracomp");
  232. str = rdo_dracomp.label;
  233. if(dracomp != "") {
  234. model.setValue(xDschInfoPath + "/dschcareinfo/dracomp", str);
  235. }
  236. //퇴원시 수유형태
  237. var dschlactype = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/dschlactype");
  238. str = rdo_dschlactype.label;
  239. if (dschlactype != ""){
  240. model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/dschlactype", str);
  241. }
  242. //입원기간 중 항생제 알러지 반응
  243. var antibioallgyn = model.getValue(xDschInfoPath + "/dschcareinfo/antibioallgyn");
  244. var antibioallgnm = model.getValue(xDschInfoPath + "/dschcareinfo/antibioallgnm");
  245. str = rdo_antibioallgyn.label;
  246. if(antibioallgyn != "") {
  247. if(antibioallgyn == "02") {
  248. var antibioallgVal = chk_antibioallgcd.value;
  249. var antibioallgLab = chk_antibioallgcd.label;
  250. var arrVal = antibioallgVal.split(",");
  251. var arrLab = antibioallgLab.split(",");
  252. idx = 0;
  253. for(var i = 1; i <= chk_antibioallgcd.length; i++) {
  254. for(var j = 0; j < antibioallgVal.length; j++) {
  255. if(i == arrVal[j]) {
  256. if(i == '3') {
  257. arrLab[idx] += "( " + antibioallgnm + " )";
  258. }
  259. idx++;
  260. }
  261. }
  262. }
  263. str += "( " + arrLab + " )";
  264. }
  265. model.setValue(xDschInfoPath + "/dschcareinfo/antibioallgyn", str );
  266. }
  267. /****************************** 퇴원 간호 교육 **************************************/
  268. //수유방법
  269. var lacmthd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd");
  270. var lacmthdnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
  271. str = rdo_lacmthd.label;
  272. if(lacmthd != "") {
  273. if(lacmthd == "05") {
  274. if(lacmthdnm != "") {
  275. str += "(" + lacmthdnm + ")";
  276. }
  277. }
  278. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd", str);
  279. }
  280. //수유시간
  281. var lactim = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim");
  282. if (lactim != ""){
  283. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim", lactim + "시간");
  284. }
  285. //현재수유량
  286. var lacvol = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol");
  287. if (lacvol != ""){
  288. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol", lacvol + "ml");
  289. }
  290. //모유수유권장교육
  291. var laceduc = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc");
  292. str = rdo_laceduc.label;
  293. if (laceduc != ""){
  294. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc", str);
  295. }
  296. //교육방법
  297. var laceducmthd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
  298. if (laceducmthd != ""){
  299. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd", chk_laceducmthd.label);
  300. }
  301. //교육내용
  302. var laceductype = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
  303. if (laceductype != ""){
  304. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype", chk_laceductype.label);
  305. }
  306. //위생간호
  307. var sanitcareVal = chk_sanitcare.value;
  308. var sanitcareLab = chk_sanitcare.label;
  309. var arrVal = sanitcareVal.split(" ");
  310. var arrLab = sanitcareLab.split(" ");
  311. var sanitcare = "";
  312. var idx = 0;
  313. for(var i = 1; i <= chk_sanitcare.length; i++) {
  314. for(var j = 0; j < arrVal.length; j++) {
  315. if(i == arrVal[j]) {
  316. if(i == '3') {
  317. arrLab[idx] += "( " + rdo_dinfyn.label + " )";
  318. }
  319. if(i == '4') {
  320. arrLab[idx] += "( " + ipt_sanitnm.label + " )";
  321. }
  322. idx++;
  323. if(idx == arrVal.length) {
  324. break;
  325. }
  326. }
  327. }
  328. }
  329. sanitcare = arrLab; //sanitcare값 저장.
  330. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare", sanitcare);
  331. //예방접종
  332. var vacnVal = chk_vacn.value;
  333. var vacnLab = chk_vacn.label;
  334. arrVal = vacnVal.split(" ");
  335. arrLab = vacnLab.split(" ");
  336. var vacn="";
  337. idx = 0;
  338. for(var i = 1; i <= chk_vacn.length; i++) {
  339. for(var j = 0; j < arrVal.length; j++) {
  340. if(i == arrVal[j]) {
  341. if(i == '1') {
  342. arrLab[idx] += " " + rdo_vacntim.label + " )";
  343. }
  344. if(i == '3') {
  345. arrLab[idx] += "( " + ipt_vacnnm.label + " )";
  346. }
  347. idx++;
  348. if(idx == arrVal.length) {
  349. break;
  350. }
  351. }
  352. }
  353. }
  354. vacn = arrLab;
  355. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn", vacn);
  356. //선천성 대사이상 질환검사
  357. var cngntlmboltrobtest = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest");
  358. if (cngntlmboltrobtest != ""){
  359. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest", chk_cngntlmboltrobtest.label);
  360. }
  361. //실내 환경
  362. var inroomenv = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv");
  363. if (inroomenv != ""){
  364. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv", chk_inroomenv.label);
  365. }
  366. //청력검사
  367. var heartestyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn");
  368. var heartest = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
  369. str = rdo_heartest.label;
  370. arr = chk_heartest.label;
  371. if (heartestyn != ""){
  372. if (heartestyn == "02"){
  373. str += "(" + arr + ")";
  374. }
  375. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn", str);
  376. }
  377. //기타
  378. var educetcVal = chk_educetc.value;
  379. var educetcLab = chk_educetc.label;
  380. arrVal = educetcVal.split(",");
  381. arrLab = educetcLab.split(",");
  382. idx = 0;
  383. for(var i = 1; i <= chk_educetc.length; i++) {
  384. for(var j = 0; j < arrVal.length; j++) {
  385. if(i == arrVal[j]) {
  386. if(i == '14') {
  387. arrLab[idx] += "( " + ipt_educetcnm.label + " )";
  388. }
  389. idx++;
  390. if(idx == arrVal.length) {
  391. break;
  392. }
  393. }
  394. }
  395. }
  396. var str = arrLab;
  397. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc", str);
  398. //추후관리
  399. var mngtaftdsch = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn");
  400. var mngtaftdschnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
  401. str = rdo_mngtaftdschyn.label;
  402. if(mngtaftdsch != "") {
  403. if(mngtaftdsch == "02") {
  404. var mngtaftdschVal = chk_mngtaftdsch.value;
  405. var mngtaftdschLab = chk_mngtaftdsch.label;
  406. var arrVal = mngtaftdschVal.split(" ");
  407. var arrLab = mngtaftdschLab.split(" ");
  408. idx = 0;
  409. for(var i = 1; i <= chk_mngtaftdsch.length; i++) {
  410. for(var j = 0; j < mngtaftdschVal.length; j++) {
  411. if(i == arrVal[j]) {
  412. if(i == '6') {
  413. arrLab[idx] += "( " + mngtaftdschnm + " )";
  414. }
  415. idx++;
  416. }
  417. }
  418. }
  419. str += "( " + arrLab + " )";
  420. }
  421. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn", str );
  422. }
  423. //퇴원절차교육
  424. var dschseqeducyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqdeducyn");
  425. str = rdo_dschseqeducyn.label;
  426. if(dschseqeducyn != "") {
  427. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqdeducyn", str);
  428. }
  429. //퇴원약복약지도
  430. var dschmeditmedguidyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn");
  431. str = rdo_dschmeditmedguidyn.label;
  432. if(dschmeditmedguidyn != "") {
  433. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn", str);
  434. }
  435. //퇴원시 기구 및 삽관상태_20090601_SMY추가
  436. var dschcatestatyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
  437. str = rdo_dschcatestatyn.label;
  438. var idx = 0;
  439. var dschcatestatcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
  440. var dschcateoxy = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
  441. var dschcatestatnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
  442. if(dschcatestatyn != "" && dschcatestatyn == "02") {
  443. var dschcatestatVal = chk_dschcatestat.value;
  444. var dschcatestatLab = chk_dschcatestat.label;
  445. var arrVal = dschcatestatVal.split("▦"); //선택된 Value값을 가져온.다
  446. var arrLab = dschcatestatLab.split("▦"); //선택된 Label값을 가져온다.
  447. //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
  448. for(var i = 1; i <= chk_dschcatestat.length; i++) {
  449. //선택된 아이템의 갯수만큼 반복.
  450. for(var j = 0; j < arrVal.length; j++) {
  451. //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
  452. if(i == arrVal[j]) {
  453. //산소
  454. if(i == '7') {
  455. arrLab[idx] += "( " + dschcateoxy + cap_oxyunit.label + " )";
  456. }
  457. //기타이거나
  458. if(i == '12') {
  459. arrLab[idx] += "( " + dschcatestatnm + " )";
  460. }
  461. idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
  462. //선택된 항목만큼값을 담았다면 종료.
  463. if(idx == arrVal.length) {
  464. break;
  465. }
  466. }
  467. }
  468. }
  469. str = arrLab; //저장한 값을 변수에 담음.
  470. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd", str );
  471. }else {
  472. model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd", str );
  473. }
  474. //교육대상
  475. var eductrgt = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/eductrgt");
  476. str = chk_eductrgt.label;
  477. if(eductrgt != "") {
  478. arr = str.split(" ");
  479. model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/eductrgt", arr);
  480. }
  481. //교육이해정도
  482. var educunstdgrde = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/educunstdgrde");
  483. str = rdo_educunstdgrde.label;
  484. if(educunstdgrde != "") {
  485. model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/educunstdgrde", str);
  486. }
  487. /****************************** 아기 인수확인 **************************************/
  488. //아기인수자
  489. var nbabyacptpsn = model.getValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn");
  490. var nbabyacptpsnnm = model.getValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
  491. str = rdo_nbabyacptpsn.label;
  492. if(nbabyacptpsn != "") {
  493. if(nbabyacptpsn == "04") {
  494. if(nbabyacptpsnnm != "") {
  495. str += "(신생아와의 관계 : " + nbabyacptpsnnm + ")";
  496. }
  497. }
  498. model.setValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn", str);
  499. }
  500. //신분증 확인
  501. var crtfctcnfmVal = chk_crtfctcnfm.value;
  502. var crtfctcnfmLab = chk_crtfctcnfm.label;
  503. var arr = new Array(chk_crtfctcnfm.length);
  504. for(var i = 0; i < arr.length; i++) {
  505. arr[i]="";
  506. }
  507. var arrVal = crtfctcnfmVal.split(","); //선택된 Value값을 가져온.다
  508. var arrLab = crtfctcnfmLab.split(","); //선택된 Label값을 가져온다.
  509. var crtfctcnfm = "";
  510. var idx = 0;
  511. //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
  512. for(var i = 1; i <= chk_crtfctcnfm.length; i++) {
  513. //선택된 아이템의 갯수만큼 반복.
  514. for(var j = 0; j < arrVal.length; j++) {
  515. //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
  516. if(i == arrVal[j]) {
  517. if(i == '1') {
  518. crtfctcnfm += arrLab[idx] + ": " + ipt_wommrrgstno1.label + "-" + sct_wommrrgstno2.label;
  519. }
  520. if(i == '2') {
  521. if(crtfctcnfm == ""){
  522. crtfctcnfm += arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
  523. }else{
  524. crtfctcnfm += ", " + arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
  525. }
  526. }
  527. idx++; //선택된 항목만큼. 값이 담겨져있는지 비교를 위한 인덱스.
  528. //선택된 항목만큼값을 담았다면 종료.
  529. if(idx == arrVal.length) {
  530. break;
  531. }
  532. }
  533. }
  534. }
  535. model.setValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm", crtfctcnfm);
  536. }
  537. function fGetCurrentDate() {
  538. var dt = getCurrentDate();
  539. return dt;
  540. }
  541. function fGetCurrentTime() {
  542. var dt = getCurrentTime();
  543. dt = dt.substr(0,4);
  544. return dt;
  545. }
  546. function fMakeGridData(grdObj) {
  547. var grdInfo = grdObj.getUpdateData();
  548. var rowStatus;
  549. var status;
  550. for(var i = 1; i < grdObj.rows; i++) {
  551. rowStatus = grdObj.rowStatus(i);
  552. if(rowStatus=="1" || rowStatus == "3") {
  553. status = "i";
  554. } else if(rowStatus == "2") {
  555. status = "u";
  556. } else if(rowStatus == "4") {
  557. status = "d";
  558. } else if(rowStatus == "0") {
  559. }
  560. grdInfo += status;
  561. grdInfo += grdObj.attribute("colsep");
  562. for(var j = 0; j < grdObj.cols; j++) {
  563. grdInfo += grdObj.valueMatrix(i, j);
  564. if(j != grdObj.cols-1) {
  565. grdInfo += grdObj.attribute("colsep");
  566. }X
  567. }
  568. grdInfo += grd_ordrsrvinfo.attribute("rowsep");
  569. }
  570. return grdInfo;
  571. }
  572. //퇴원간호계획 조회
  573. function fGetDschInfo(){
  574. var pid = model.getValue("/root/temp/cond/list/pid");
  575. var indd = model.getValue("/root/temp/cond/list/indd");
  576. var cretno = model.getValue("/root/temp/cond/list/cretno");
  577. var instcd = model.getValue("/root/temp/cond/list/instcd");
  578. var orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
  579. model.removeNodeset("/root/send/req");
  580. model.makeValue("/root/send/req/pid", pid);
  581. model.makeValue("/root/send/req/indd", indd);
  582. model.makeValue("/root/send/req/cretno", cretno);
  583. model.makeValue("/root/send/req/orddeptcd", orddeptcd);
  584. model.makeValue("/root/send/req/instcd", instcd);
  585. model.makeValue("/root/send/req/dschdclrdt", model.getValue("/root/temp/cond/list/dschdclrdt").substr(0,8)); //예약정보 조회시 사용
  586. model.makeValue("/root/send/req/recflag", "06");
  587. if(submit("TRMNN00602")) {
  588. var exist = model.getValue("/root/hidden/existinfo/exist");
  589. if(exist == "Y") {
  590. submit("TRMNN00601");
  591. } else {
  592. model.setValue("/root/main/dschcareinfo/dschcareinfo/recdd", fGetCurrentDate());
  593. model.setValue("/root/main/dschcareinfo/dschcareinfo/rectm", fGetCurrentTime());
  594. model.setValue("/root/main/dschcareinfo/dschcareinfo/recuserid", getUserId());
  595. model.setValue("/root/main/dschcareinfo/dschcareinfo/recusernm", getUserName());
  596. //입원전 검사실에서 미시행한 처방이 존재할 경우 [외래진료과에서 반환받으실 입원전 검사처방이 존재합니다] 라는 메시지가 퇴원간호계획화면의 {특이사항} 항목에 자동으로 조회
  597. if(model.getValue("/root/hidden/existinfo/intestprcpyn") == "Y"){
  598. model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/spcffact", "외래진료과에서 반환받으실 입원전 검사처방이 존재합니다.");
  599. }
  600. }
  601. submit("TRMNW03605");
  602. var dschcateyn = model.getValue("/root/hiden/dschcateinfo/dschcateyn");
  603. if( dschcateyn == "Y" ){
  604. model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn", "02"); //유
  605. messageBox("제거되지 않은 [삽관/기구] 기록이 있습니다. \n 기록을 확인","I008"); // 하십시오.
  606. }
  607. rdo_dschtypes.dispatch("xforms-value-changed");
  608. rdo_dschmthd.dispatch("xforms-value-changed");
  609. rdo_antibioallgyn.dispatch("xforms-value-changed");
  610. chk_antibioallgcd.dispatch("xforms-value-changed");
  611. rdo_lacmthd.dispatch("xforms-value-changed");
  612. rdo_laceduc.dispatch("xforms-value-changed");
  613. chk_sanitcare.dispatch("xforms-value-changed");
  614. chk_vacn.dispatch("xforms-value-changed");
  615. rdo_heartest.dispatch("xforms-value-changed");
  616. chk_educetc.dispatch("xforms-value-changed");
  617. rdo_mngtaftdschyn.dispatch("xforms-value-changed");
  618. rdo_nbabyacptpsn.dispatch("xforms-value-changed");
  619. chk_crtfctcnfm.dispatch("xforms-value-changed");
  620. chk_dschcatestat.dispatch("xforms-value-changed");
  621. if ( isNull(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn")) ){
  622. model.makeValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn","01");
  623. }
  624. rdo_dschcatestatyn.dispatch("xforms-value-changed");
  625. fGetRsrvInfo(); //예약정보조회
  626. }
  627. }
  628. /**
  629. * @group :
  630. * @ver : 2007.10.09
  631. * @by : 김 병 국
  632. * @---------------------------------------------------
  633. * @type : function
  634. * @access : public
  635. * @desc : 퇴원 간호 계획
  636. * @param :
  637. * @return :
  638. * @---------------------------------------------------
  639. */
  640. function fSetDschInfo(certFlag) {
  641. var ordRsrvInfo = getGridUpdateData(grd_ordrsrvinfo);
  642. var testRsrvInfo = getGridUpdateData(grd_testrsrvinfo);
  643. var dschdrugmedifactinfo = getGridUpdateData(grd_dschdrugmedifact);
  644. var recdt = model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd") + model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm");
  645. pid = model.getValue("/root/temp/cond/list/pid");
  646. indd = model.getValue("/root/temp/cond/list/indd");
  647. instcd = model.getValue("/root/temp/cond/list/instcd");
  648. orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
  649. var existflag = model.getValue("/root/hidden/existinfo/exist");
  650. model.makeValue("/root/send/dschcareinfo/recdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd"));
  651. model.makeValue("/root/send/dschcareinfo/rectm", model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm"));
  652. model.makeValue("/root/send/dschcareinfo/recdt", recdt);
  653. model.makeValue("/root/send/dschcareinfo/recuserid", model.getValue("/root/main/dschcareinfo/dschcareinfo/recuserid"));
  654. model.makeValue("/root/send/dschcareinfo/recusernm", model.getValue("/root/main/dschcareinfo/dschcareinfo/recusernm"));
  655. model.makeValue("/root/send/dschcareinfo/dschdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
  656. model.makeValue("/root/send/dschcareinfo/dschtypecds", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds"));
  657. model.makeValue("/root/send/dschcareinfo/dschtypenm", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypenm"));
  658. model.makeValue("/root/send/dschcareinfo/dschmthdcd", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd"));
  659. model.makeValue("/root/send/dschcareinfo/dschmthdnm", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdnm"));
  660. model.makeValue("/root/send/dschcareinfo/dracomp", model.getValue("/root/main/dschcareinfo/dschcareinfo/dracomp")); //20090601_SMY추가
  661. model.makeValue("/root/send/dschcareinfo/antibioallgyn", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgyn"));
  662. model.makeValue("/root/send/dschcareinfo/antibioallgcd", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgcd"));
  663. model.makeValue("/root/send/dschcareinfo/antibioallgnm", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgnm"));
  664. model.makeValue("/root/send/dschcareinfo/dschcareeducinfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc"));
  665. model.makeValue("/root/send/dschcareinfo/etcfactinfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact"));
  666. model.makeValue("/root/send/dschcareinfo/nbabyacptcnfminfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm"));
  667. model.makeValue("/root/send/dschcareinfo/ordrsrvinfo", ordRsrvInfo);
  668. model.makeValue("/root/send/dschcareinfo/testrsrvinfo", testRsrvInfo);
  669. model.makeValue("/root/send/dschcareinfo/dschdrugmedifactinfo", dschdrugmedifactinfo);
  670. model.makeValue("/root/send/dschcareinfo/recflag", "06");
  671. model.makeValue("/root/send/dschcareinfo/pid", pid);
  672. model.makeValue("/root/send/dschcareinfo/indd", indd);
  673. model.makeValue("/root/send/dschcareinfo/orddeptcd", orddeptcd);
  674. model.makeValue("/root/send/dschcareinfo/instcd", instcd);
  675. model.makeValue("/root/send/dschcareinfo/existflag", existflag);
  676. model.makeValue("/root/send/dschcareinfo/certflag", certFlag);
  677. }
  678. /**
  679. * @group :
  680. * @ver : 2007.10.09
  681. * @by : 김 병 국
  682. * @---------------------------------------------------
  683. * @type : function
  684. * @access : public
  685. * @desc : 퇴원 간호 계획 출력
  686. * @param :
  687. * @return :
  688. * @---------------------------------------------------
  689. */
  690. function fPrintDschInfo(printflag, ocrtag, elecflag) {
  691. var exist = model.getValue("/root/hidden/existinfo/exist");
  692. if(exist != "Y") {
  693. messageBox("저장한 후에 출력하세요.", "I");
  694. return;
  695. }
  696. var printflag = printflag;
  697. var ocrtag = ocrtag;
  698. var formcd = xFormCd ; //"0000002454";
  699. var usernm = getUserName();
  700. model.makeValue("/root/send/req/formcd", formcd);
  701. var sendPath = "/root/send/dschcareinfo"; //렉스퍼트 인자값 경로
  702. var destPath = "/root/main/dschcareinfo"; //기본 퇴원간호계획 경로
  703. var sendDschPath = "/root/send/dschcareinfo/dschcareinfo"; //렉스퍼트 인자값 경로
  704. var destEducPath = "/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc"; //퇴원간호교육에 관한 경로
  705. var destEtcPath = "/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact"; //기타 사항들에 관한 경로
  706. var patInfoPath = "/root/temp/cond/list"; //상단정보 경로
  707. var pid = model.getValue(patInfoPath + "/pid");
  708. var indd = model.getValue(patInfoPath + "/indd");
  709. var cretno = model.getValue(patInfoPath + "/cretno");
  710. var instcd = model.getValue(patInfoPath + "/instcd");
  711. var ordtype = model.getValue(patInfoPath + "/ioflag");
  712. var medispclid = model.getValue(patInfoPath + "/medispclid");
  713. var orddeptcd = model.getValue(patInfoPath + "/orddeptcd");
  714. var hngnm = model.getValue(patInfoPath + "/hngnm");
  715. var age = model.getValue(patInfoPath + "/age");
  716. var sex= model.getValue(patInfoPath + "/sex");
  717. var wardnm = model.getValue(patInfoPath + "/wardnm");
  718. submit("TRMNN00604"); //주민번호, 부서명 가져오기 위한 submit
  719. var rrgstno1 = model.getValue("/root/hidden/patinfo/rrgstno1");
  720. var rrgstno2 = model.getValue("/root/hidden/patinfo/rrgstno2");
  721. var orddeptnm = model.getValue("/root/hidden/patinfo/orddeptnm");
  722. var seq = "" ;
  723. if(printflag == "reprint"){
  724. seq = ocrtag;
  725. }else{
  726. seq = model.getValue("/root/hidden/patinfo/seq");
  727. }
  728. var formfromdt = model.getValue("/root/hidden/patinfo/formfromdt");
  729. var orddeptabbr = model.getValue("/root/hidden/patinfo/orddeptabbr");
  730. var prntcnt = model.getValue("/root/hidden/patinfo/prntcnt");
  731. //출력물 : 병원별 등록번호 표시방법 여부(HardCode 테이블 이용)_20090820_SMY
  732. model.removeNodeset("/root/harddata/send");
  733. model.makeNode("/root/harddata/send");
  734. mmbfGetHardCodeInfoNm("/root/harddata/send","/root/harddata/hardcode", 3801); //OCR서식의 등록번호 체크로직 표시 여부
  735. var SetPidYN = model.getValue("/root/harddata/hardcode/hardcd/hardcd"); //Y일 경우 : 출력물의 pid정보가 8자리 이하일 경우 0으로 자릿수를 맞춰줌
  736. var inreq = model.getValue("/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq");//입원의뢰서정보
  737. var roomcd = model.getValue("/root/temp/cond/list/roomcd");//병실정보
  738. //수유방법
  739. var lacmthd = rdo_lacmthd.value;
  740. var lacmthdnm = ipt_lacmthdnm.value;
  741. str = rdo_lacmthd.label;
  742. if(lacmthd != "") {
  743. if(lacmthd == "05") {
  744. if(lacmthdnm != "") {
  745. str += "(" + lacmthdnm + ")";
  746. }
  747. }
  748. lacmthd = str;
  749. }
  750. //모유수유권장교육
  751. var laceduc = rdo_laceduc.value;
  752. if(laceduc =="01") {
  753. laceduc = rdo_laceduc.label;
  754. } else {
  755. laceduc = rdo_laceduc.label + "( " + cap_laceducmthd.label + " ( " + chk_laceducmthd.label + " ) " + "," + cap_laceductype.label + " ( " + chk_laceductype.label + " ) )" ;
  756. }
  757. //위생간호
  758. var sanitcareVal = chk_sanitcare.value;
  759. var sanitcareLab = chk_sanitcare.label;
  760. var arrVal = sanitcareVal.split(" ");
  761. var arrLab = sanitcareLab.split(" ");
  762. var sanitcare = "";
  763. var idx = 0;
  764. for(var i = 1; i <= chk_sanitcare.length; i++) {
  765. for(var j = 0; j < arrVal.length; j++) {
  766. if(i == arrVal[j]) {
  767. if(i == '3') {
  768. arrLab[idx] += "( " + rdo_dinfyn.label + " )";
  769. }
  770. if(i == '4') {
  771. arrLab[idx] += "( " + ipt_sanitnm.label + " )";
  772. }
  773. idx++;
  774. if(idx == arrVal.length) {
  775. break;
  776. }
  777. }
  778. }
  779. }
  780. sanitcare = arrLab; //sanitcare값 저장.
  781. //예방접종
  782. var vacnVal = chk_vacn.value;
  783. var vacnLab = chk_vacn.label;
  784. arrVal = vacnVal.split(" ");
  785. arrLab = vacnLab.split(" ");
  786. var vacn="";
  787. idx = 0;
  788. for(var i = 1; i <= chk_vacn.length; i++) {
  789. for(var j = 0; j < arrVal.length; j++) {
  790. if(i == arrVal[j]) {
  791. if(i == '1') {
  792. arrLab[idx] += " " + rdo_vacntim.label + " )";
  793. }
  794. if(i == '3') {
  795. arrLab[idx] += "( " + ipt_vacnnm.label + " )";
  796. }
  797. idx++;
  798. if(idx == arrVal.length) {
  799. break;
  800. }
  801. }
  802. }
  803. }
  804. vacn = arrLab;
  805. //선천성 대사이상 질환검사
  806. var cngntlmboltrobtest = chk_cngntlmboltrobtest.label;
  807. var inroomenv = chk_inroomenv.label; //실내환경
  808. var heartest = rdo_heartest.value;
  809. if(rdo_heartest.value == "01") {
  810. heartest = rdo_heartest.label;
  811. } else {
  812. heartest = rdo_heartest.label + chk_heartest.label;
  813. }
  814. //기타
  815. var educetcVal = chk_educetc.value;
  816. var educetcLab = chk_educetc.label;
  817. arrVal = educetcVal.split(",");
  818. arrLab = educetcLab.split(",");
  819. idx = 0;
  820. for(var i = 1; i <= chk_educetc.length; i++) {
  821. for(var j = 0; j < arrVal.length; j++) {
  822. if(i == arrVal[j]) {
  823. if(i == '14') {
  824. arrLab[idx] += "( " + ipt_educetcnm.label + " )";
  825. }
  826. idx++;
  827. if(idx == arrVal.length) {
  828. break;
  829. }
  830. }
  831. }
  832. }
  833. var educetc = arrLab;
  834. //추후관리
  835. var mngtaftdsch = rdo_mngtaftdschyn.value;
  836. var mngtaftdschVal = chk_mngtaftdsch.value;
  837. var mngtaftdschLab = chk_mngtaftdsch.label;
  838. arrVal = mngtaftdschVal.split(" ");
  839. arrLab = mngtaftdschLab.split(" ");
  840. if(mngtaftdsch == "01") {
  841. mngtaftdsch = rdo_mngtaftdschyn.label;
  842. } else {
  843. idx = 0;
  844. for(var i = 1; i <= chk_mngtaftdsch.length; i++) {
  845. for(var j = 0; j < mngtaftdschVal.length; j++) {
  846. if(i == arrVal[j]) {
  847. if(i == '5') {
  848. arrLab[idx] += "( " + ipt_mngtaftdschnm.label + " )";
  849. }
  850. idx++;
  851. }
  852. }
  853. }
  854. mngtaftdsch = rdo_mngtaftdschyn.label + "( " + arrLab + " )";
  855. }
  856. var dschseqeduc = rdo_dschseqeducyn.label;
  857. var dschmeditmedguid = rdo_dschmeditmedguidyn.label;
  858. //퇴원시 기구 및 삽관상태_20090601_SMY
  859. var dschcatestatVal = chk_dschcatestat.value;
  860. var dschcatestatLab = chk_dschcatestat.label;
  861. var dschcatestatyn = rdo_dschcatestatyn.label;
  862. var dschcatestatynVal = rdo_dschcatestatyn.value;
  863. if ( dschcatestatynVal !="" && dschcatestatynVal == "02" ){
  864. var arr = new Array(chk_dschcatestat.length);
  865. for(var i = 0; i < arr.length; i++) {
  866. arr[i]="";
  867. }
  868. var arrVal = dschcatestatVal.split("▦"); //선택된 Value값을 가져온.다
  869. var arrLab = dschcatestatLab.split("▦"); //선택된 Label값을 가져온다.
  870. var dschcatestat = "";
  871. var idx = 0;
  872. //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
  873. for(var i = 1; i <= chk_dschcatestat.length; i++) {
  874. //선택된 아이템의 갯수만큼 반복.
  875. for(var j = 0; j < arrVal.length; j++) {
  876. //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
  877. if(i == arrVal[j]) {
  878. //산소
  879. if(i == '7') {
  880. arrLab[idx] += "( " + ipt_dschcateoxy.value + cap_oxyunit.label + " )";
  881. }
  882. //기타이거나
  883. if(i == '12') {
  884. arrLab[idx] += "( " + ipt_dschcatestatnm.label + " )";
  885. }
  886. idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
  887. //선택된 항목만큼값을 담았다면 종료.
  888. if(idx == arrVal.length) {
  889. break;
  890. }
  891. }
  892. }
  893. }
  894. dschcatestat = arrLab; //저장한 값을 변수에 담음.
  895. } else {
  896. dschcatestat = dschcatestatyn;
  897. }
  898. var spcffact = txa_spcffact.label;
  899. var tel = ipt_tel.label;
  900. var instUseYN = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='172']/cdid");//JCI 추가 20091216 김홍점
  901. //JCI 추가 20091216 김홍점 산부인과 비뇨기과 신경과는 입퇴원요약기록 출력되면 안됨.
  902. var instNotUseDeptcd = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='178' and cdnm = '"+ orddeptcd +"']/cdid");
  903. //아기인수자
  904. var nbabyacptpsn = rdo_nbabyacptpsn.value;
  905. if(nbabyacptpsn == "04") {
  906. nbabyacptpsn = rdo_nbabyacptpsn.label + "(신생아와의 관계 : " + ipt_nbabyacptpsnnm.label + " )";
  907. } else {
  908. nbabyacptpsn = rdo_nbabyacptpsn.label;
  909. }
  910. //신분증 확인
  911. var crtfctcnfmVal = chk_crtfctcnfm.value;
  912. var crtfctcnfmLab = chk_crtfctcnfm.label;
  913. var arr = new Array(chk_crtfctcnfm.length);
  914. for(var i = 0; i < arr.length; i++) {
  915. arr[i]="";
  916. }
  917. var arrVal = crtfctcnfmVal.split(","); //선택된 Value값을 가져온.다
  918. var arrLab = crtfctcnfmLab.split(","); //선택된 Label값을 가져온다.
  919. var crtfctcnfm = "";
  920. var idx = 0;
  921. //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
  922. for(var i = 1; i <= chk_crtfctcnfm.length; i++) {
  923. //선택된 아이템의 갯수만큼 반복.
  924. for(var j = 0; j < arrVal.length; j++) {
  925. //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
  926. if(i == arrVal[j]) {
  927. if(i == '1') {
  928. crtfctcnfm += arrLab[idx] + ": " + ipt_wommrrgstno1.label + "-" + sct_wommrrgstno2.label;
  929. }
  930. if(i == '2') {
  931. if(crtfctcnfm == ""){
  932. crtfctcnfm += arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
  933. }else{
  934. crtfctcnfm += ", " + arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
  935. }
  936. }
  937. idx++; //선택된 항목만큼. 값이 담겨져있는지 비교를 위한 인덱스.
  938. //선택된 항목만큼값을 담았다면 종료.
  939. if(idx == arrVal.length) {
  940. break;
  941. }
  942. }
  943. }
  944. }
  945. model.makeNode(sendPath);
  946. model.makeValue(sendDschPath + "/pid", pid);
  947. model.makeValue(sendDschPath + "/hngnm", hngnm);
  948. model.makeValue(sendDschPath + "/age", age);
  949. model.makeValue(sendDschPath + "/sex", sex);
  950. model.makeValue(sendDschPath + "/regist1", rrgstno1);
  951. model.makeValue(sendDschPath + "/regist2", rrgstno2);
  952. model.makeValue(sendDschPath + "/orddeptnm", orddeptnm);
  953. model.makeValue(sendDschPath + "/wardnm", wardnm);
  954. model.makeValue(sendDschPath + "/indd", indd);
  955. model.makeValue(sendDschPath + "/lacmthd", lacmthd);
  956. model.makeValue(sendDschPath + "/laceduc", laceduc);
  957. model.makeValue(sendDschPath + "/sanitcare", sanitcare);
  958. model.makeValue(sendDschPath + "/vacn", vacn);
  959. model.makeValue(sendDschPath + "/cngntlmboltrobtest", cngntlmboltrobtest);
  960. model.makeValue(sendDschPath + "/inroomenv", inroomenv);
  961. model.makeValue(sendDschPath + "/heartest", heartest);
  962. model.makeValue(sendDschPath + "/educetc", educetc);
  963. model.makeValue(sendDschPath + "/mngtaftdsch", mngtaftdsch);
  964. model.makeValue(sendDschPath + "/dschseqeduc", dschseqeduc);
  965. model.makeValue(sendDschPath + "/dschmeditmedguid", dschmeditmedguid);
  966. model.makeValue(sendDschPath + "/dschcatestat", dschcatestat); //20090601_SMY추가
  967. model.makeValue(sendDschPath + "/spcffact", spcffact);
  968. model.makeValue(sendDschPath + "/tel", tel);
  969. model.makeValue(sendDschPath + "/seq", seq);
  970. model.makeValue(sendDschPath + "/usernm", usernm);
  971. //model.makeValue(sendDschPath + "/logurl", getLogoImageURL());
  972. //model.makeValue(sendDschPath + "/logurl", getBigLogoImageURL('', instcd));
  973. model.makeValue(sendDschPath + "/logurl", getImageURL("biglogo"+instcd, "jpg"));
  974. model.makeValue(sendDschPath + "/curdd", getCurrentDate());
  975. model.makeValue(sendDschPath + "/curtm", getCurrentTime());
  976. model.makeValue(sendDschPath + "/orddeptabbr", orddeptabbr);
  977. model.makeValue(sendDschPath + "/nbabyacptpsn", nbabyacptpsn);
  978. model.makeValue(sendDschPath + "/crtfctcnfm", crtfctcnfm);
  979. model.makeValue(sendDschPath + "/setpidyn", SetPidYN); //20090820_SMY추가
  980. model.makeNode(sendPath + "/rsrvinfo/ordrsrvinfo");
  981. model.makeNode(sendPath + "/rsrvinfo/testrsrvinfo");
  982. model.makeNode(sendPath + "/rsrvinfo/dschdrugfactinfo");
  983. model.makeValue(sendDschPath + "/inreq", inreq); //입원외뢰서정보
  984. model.makeValue(sendDschPath + "/roomcd", roomcd); //병실정보
  985. fPrintDschCarePlanForJCI(sendPath + "/comrecinfo", "/root/hidden/comrecinfo", "/root/codeinfo/codeinfo" );//Carecom.js
  986. copyNodesetType(sendPath + "/rsrvinfo/ordrsrvinfo", "/root/main/dschcareinfo/rsrvinfo/ordrsrvinfo");
  987. copyNodesetType(sendPath + "/rsrvinfo/testrsrvinfo", "/root/main/dschcareinfo/rsrvinfo/testrsrvinfo");
  988. copyNodesetType(sendPath + "/rsrvinfo/dschdrugfactinfo", "/root/main/dschcareinfo/rsrvinfo/dschdrugfactinfo");
  989. clearParameter("reportprintyn");
  990. // 전자동의서
  991. if ( elecflag == "Y" ) {
  992. if ( model.getValue("/root/temp/prtPatient") == "Y" ) {
  993. //환자보관용
  994. exeReportPreview("RPMNN00600", "XMLSTR", "", "", "true", "", "", "", "", "true");
  995. }
  996. if ( model.getValue("/root/temp/prtOCR") == "Y" ) {
  997. var pagecnt = 1;
  998. //전자동의서 version
  999. if(!fSaveOCRIF(seq, pid, indd, cretno, ordtype, orddeptcd, medispclid, formcd, formfromdt, "", "", pagecnt)){
  1000. messageBox("통합기록조회 연동중 실패하였습니다.","C999");
  1001. return;
  1002. }
  1003. ocrtag = seq;
  1004. //fElecPrint(pid, cretno, indd, instcd, formcd, ocrtag, "RPMNN00603");
  1005. fElecPrint(pid, cretno, indd, instcd, formcd, ocrtag, ""); //간소화양식
  1006. }
  1007. // 일반 동의서
  1008. } else {
  1009. //환자교육출력물
  1010. exeReportPreview("RPMNN00600", "XMLSTR", "", "", "true", "", "", "", "", "true");
  1011. if(printflag == "newprint") {
  1012. ////////////////////////////////////////////////////////////////////////////
  1013. var left = event.screenX;
  1014. var top = event.screenY;
  1015. fOCRPrint(left, top, pid, indd, cretno, ordtype, formcd);
  1016. ////////////////////////////////////////////////////////////////////////////
  1017. } else {
  1018. messageBox("병원 보관용 퇴원교육확인서는 출력된 상태입니다.\r\n\r\n[동의서 및 기타 출력서식 반납] 프로그램에서 재출력하십시오.", "I999");
  1019. return;
  1020. }
  1021. /*
  1022. //OCR
  1023. exeReportPreview("RPMNN00602", "XMLSTR", "", "", "true", "", "", "", "", "true");
  1024. model.removeNode("/root/hidden/comrecinfo");
  1025. if (getParameter("reportprintyn") == "Y"){ // 프린트 출력이 되고 창이 닫혔을 때
  1026. var pagecnt = getParameter("reportPageCount"); //출력장수(RPMNW03600)
  1027. if(printflag == "newprint"){ // 신규 출력
  1028. //OCR 정보 저장
  1029. if(!fSaveOCRIF(seq, pid, indd, cretno, ordtype, orddeptcd, medispclid, formcd, formfromdt, "", "", pagecnt)){
  1030. messageBox("통합기록조회 연동중 실패하였습니다.","C999");
  1031. return;
  1032. }
  1033. }else if(printflag == "reprint"){ // 재출력
  1034. model.makeValue("/root/send/reprntinfo/ocrtag", seq);
  1035. model.makeValue("/root/send/reprntinfo/pagecnt", pagecnt);
  1036. submit("TXMNW03602");
  1037. }
  1038. }*/
  1039. }
  1040. //btn_prn.dispatch("DOMActivate");
  1041. }
  1042. ]]>
  1043. </script>
  1044. </xhtml:head>
  1045. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1046. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1047. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">신생아퇴원간호계획</caption>
  1048. </group>
  1049. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
  1050. <select1 id="rdo_laceduc" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc" navindex="16" appearance="full" cellspacing="70" cols="8" overflow="visible" style="left:108px; top:422px; width:202px; height:13px; border-style:none; ">
  1051. <choices>
  1052. <item>
  1053. <label>해당무(거부)</label>
  1054. <value>01</value>
  1055. </item>
  1056. <item>
  1057. <label>실시</label>
  1058. <value>02</value>
  1059. </item>
  1060. </choices>
  1061. <script type="javascript" ev:event="xforms-value-changed">
  1062. <![CDATA[
  1063. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc") == "01") {
  1064. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
  1065. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
  1066. chk_laceductype.disabled = true;
  1067. chk_laceducmthd.disabled = true;
  1068. } else {
  1069. chk_laceductype.disabled = false;
  1070. chk_laceducmthd.disabled = false;
  1071. }
  1072. chk_laceductype.refresh();
  1073. chk_laceducmthd.refresh();
  1074. ]]>
  1075. </script>
  1076. </select1>
  1077. <caption id="caption19" style="left:195px; top:555px; width:100px; height:13px; ">(</caption>
  1078. <caption id="caption14" style="left:541px; top:745px; width:10px; height:20px; ">/</caption>
  1079. <caption id="caption8" style="left:322px; top:721px; width:232px; height:20px; ">(신생아와의 관계 )</caption>
  1080. <line id="line10" class="line_2" style="x1:0px; y1:574px; x2:1189px; y2:574px; "/>
  1081. <line id="line2" class="line_2" style="x1:0px; y1:311px; x2:859px; y2:311px; "/>
  1082. <line id="line13" class="line_1" style="x1:0px; y1:33px; x2:1194px; y2:33px; "/>
  1083. <button id="btn_certsave" class="btn5_letter4" style="left:1130px; top:40px; width:64px; height:19px; ">
  1084. <caption>인증저장</caption>
  1085. <script type="javascript" ev:event="DOMActivate">
  1086. <![CDATA[
  1087. //기록일시 필수입력 체크
  1088. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd") == "" || model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm") == "") {
  1089. messageBox("기록일시는 필수입력입니다.", "I");
  1090. return;
  1091. }
  1092. fSetDschInfo("C");
  1093. Sign.certreload = true ;
  1094. if (Sign.signprocess() == true){
  1095. //src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw"
  1096. // alert("인증성공" );
  1097. // alert("1. 인증성공여부 false / true \n\n" + Sign.signedInfos[0]); // 인증성공여부 false / true
  1098. // alert("2. 인증할 데이터 정보 (미기록 노드 제거전 원본 노드) \n\n" + Sign.signedInfos[3]); // 인증할 데이터 정보 (미기록 노드 제거전 원본 노드)
  1099. // alert("2.--> text 데이터(없는 노드 포함된) text 형태 변형 결과 \n\n" + Sign.signedInfos[4]); // [3] 데이터(없는 노드 포함된) text 형태 변형 결과
  1100. // alert("3. 인증할 데이터 정보(미기록 노드 제거된 정보) \n\n" + Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  1101. // alert("3. -->text 데이터(없는 노드 제거된) text 형태 변형 결과 \n\n" + Sign.signedInfos[5]); // ★[1] 데이터(없는 노드 제거된) text 형태 변형 결과 >>> [5]
  1102. // alert("3. -->text --> sign 공인인증 처리후 데이터 \n\n" + Sign.signedInfos[2]); // ★공인인증 처리후 데이터 >>> [2]
  1103. model.makeValue("/root/send/dschcareinfo/pid", model.getValue("/root/temp/cond/list/pid"));
  1104. model.makeValue("/root/send/dschcareinfo/orddd", model.getValue("/root/temp/cond/list/indd"));
  1105. model.makeValue("/root/send/dschcareinfo/signno", model.getValue("/root/main/dschcareinfo/dschcareinfo/signno"));
  1106. model.makeValue("/root/send/dschcareinfo/cretno", model.getValue("/root/temp/cond/list/cretno"));
  1107. model.makeValue("/root/send/dschcareinfo/recdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd"));
  1108. model.makeValue("/root/send/dschcareinfo/rectm", model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm"));
  1109. model.makeValue("/root/send/dschcareinfo/recsaveflag","Y");
  1110. model.makeValue("/root/send/dschcareinfo/signflag", "02");
  1111. model.makeValue("/root/send/dschcareinfo/signgenrflag", model.getValue("/root/temp/cond/list/ioflag"));
  1112. model.makeValue("/root/send/dschcareinfo/formcd", "0000001585"); //XLST통합기록 조회용 formcd 변경_20090226_SMY
  1113. model.makeValue("/root/send/dschcareinfo/orddeptcd", model.getValue("/root/temp/cond/list/orddeptcd"));
  1114. model.makeValue("/root/send/dschcareinfo/orddrid", model.getValue("/root/temp/cond/list/medispclid"));
  1115. model.makeValue("/root/send/dschcareinfo/signbfcnts", Sign.signedInfos[1]);
  1116. model.makeValue("/root/send/dschcareinfo/signaftcnts", Sign.signedInfos[2]);
  1117. model.makeValue("/root/send/dschcareinfo/dispyn", "Y");
  1118. if(submit("TXMNN00601", false) == true) {
  1119. messageBox("저장이 ", "I001");
  1120. fGetDschInfo(); //재조회
  1121. } else {
  1122. messageBox("저장이 실패했습니다.", "E");
  1123. }
  1124. model.refresh();
  1125. }
  1126. ]]>
  1127. </script>
  1128. </button>
  1129. <import id="import1" instancetype="merge" src="..\..\..\emr\wardcareweb\xrw\SMMNW10100_신생아예약정보.xrw" style="left:0px; top:62px; width:1194px; height:250px; "/>
  1130. <line id="line64" class="line_3" style="x1:0px; y1:62px; x2:1194px; y2:62px; "/>
  1131. <line id="line1" class="line_1" style="x1:0px; y1:284px; x2:1194px; y2:284px; "/>
  1132. <caption id="caption4" class="tit_2" style="left:5px; top:270px; width:113px; height:13px; ">퇴원시 환자정보</caption>
  1133. <caption id="caption10" class="tit_2" style="left:5px; top:371px; width:113px; height:13px; ">퇴원 간호 교육</caption>
  1134. <line id="line6" class="line_1" style="x1:0px; y1:387px; x2:1194px; y2:387px; "/>
  1135. <line id="line7" class="line_2" style="x1:0px; y1:389px; x2:1194px; y2:389px; "/>
  1136. <line id="line8" class="line_2" style="x1:0px; y1:462px; x2:1194px; y2:462px; "/>
  1137. <line id="line9" class="line_2" style="x1:0px; y1:486px; x2:1194px; y2:486px; "/>
  1138. <caption id="caption11" class="cell_1" style="left:0px; top:392px; width:105px; height:23px; text-align:center; vertical-align:middle; ">수유방법</caption>
  1139. <caption id="caption13" class="cell_1" style="left:0px; top:440px; width:105px; height:23px; text-align:center; vertical-align:middle; ">위생간호</caption>
  1140. <caption id="caption15" class="cell_1" style="left:0px; top:552px; width:105px; height:23px; text-align:center; vertical-align:middle; ">추후관리</caption>
  1141. <input id="ipt_sanitnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm" navindex="21" style="left:897px; top:441px; width:295px; height:19px; "/>
  1142. <select1 id="rdo_mngtaftdschyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn" navindex="32" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:108px; top:556px; width:87px; height:13px; border-style:none; ">
  1143. <choices>
  1144. <item>
  1145. <label>무</label>
  1146. <value>01</value>
  1147. </item>
  1148. <item>
  1149. <label>유</label>
  1150. <value>02</value>
  1151. </item>
  1152. </choices>
  1153. <script type="javascript" ev:event="xforms-value-changed">
  1154. <![CDATA[
  1155. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn") == "02") {
  1156. chk_mngtaftdsch.disabled = false;
  1157. chk_mngtaftdsch.dispatch("xforms-value-changed");
  1158. } else {
  1159. chk_mngtaftdsch.disabled = true;
  1160. ipt_mngtaftdschnm.disabled = true;
  1161. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdsch");
  1162. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
  1163. chk_mngtaftdsch.refresh();
  1164. ipt_mngtaftdschnm.refresh();
  1165. }
  1166. ]]>
  1167. </script>
  1168. </select1>
  1169. <select id="chk_mngtaftdsch" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdsch" disabled="true" navindex="33" overflow="visible" appearance="full" cellspacing="15" cols="5" style="left:204px; top:555px; width:331px; height:13px; border-style:none; ">
  1170. <choices>
  1171. <item>
  1172. <label>외래</label>
  1173. <value>1</value>
  1174. </item>
  1175. <item>
  1176. <label>가정간호</label>
  1177. <value>2</value>
  1178. </item>
  1179. <item>
  1180. <label>재입원</label>
  1181. <value>3</value>
  1182. </item>
  1183. <item>
  1184. <label>타병원</label>
  1185. <value>4</value>
  1186. </item>
  1187. <item>
  1188. <label>기타</label>
  1189. <value>5</value>
  1190. </item>
  1191. </choices>
  1192. <script type="javascript" ev:event="xforms-value-changed">
  1193. <![CDATA[
  1194. var mngtaftdschcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdsch");
  1195. var kind = new Array();
  1196. var arr = new Array(chk_mngtaftdsch.length);
  1197. kind = mngtaftdschcd.split(" ");
  1198. for(var i = 0; i < arr.length; i++) {
  1199. arr[i] = "";
  1200. }
  1201. for(var i = 0; i < kind.length; i++) {
  1202. switch(kind[i]) {
  1203. case '1':
  1204. arr[0] = kind[i];
  1205. break;
  1206. case '2':
  1207. arr[1] = kind[i];
  1208. break;
  1209. case '3':
  1210. arr[2] = kind[i];
  1211. break;
  1212. case '4':
  1213. arr[3] = kind[i];
  1214. break;
  1215. case '5':
  1216. arr[4] = kind[i];
  1217. break;
  1218. default :
  1219. arr[arr.length - 1] = kind[i];
  1220. }
  1221. }
  1222. for(var i = 0; i < arr.length; i++) {
  1223. if(arr[4] == '5') {
  1224. ipt_mngtaftdschnm.disabled = false;
  1225. } else {
  1226. ipt_mngtaftdschnm.disabled = true;
  1227. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
  1228. ipt_mngtaftdschnm.refresh();
  1229. }
  1230. }
  1231. ]]>
  1232. </script>
  1233. </select>
  1234. <input id="ipt_mngtaftdschnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm" disabled="true" navindex="34" style="left:545px; top:553px; width:181px; height:19px; "/>
  1235. <select1 id="rdo_dschseqeducyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqdeducyn" navindex="35" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:818px; top:556px; width:116px; height:13px; border-style:none; ">
  1236. <choices>
  1237. <item>
  1238. <label>유</label>
  1239. <value>01</value>
  1240. </item>
  1241. <item>
  1242. <label>무</label>
  1243. <value>02</value>
  1244. </item>
  1245. </choices>
  1246. </select1>
  1247. <select1 id="rdo_dschmeditmedguidyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn" navindex="36" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:1068px; top:556px; width:116px; height:13px; border-style:none; ">
  1248. <choices>
  1249. <item>
  1250. <label>유</label>
  1251. <value>01</value>
  1252. </item>
  1253. <item>
  1254. <label>무</label>
  1255. <value>02</value>
  1256. </item>
  1257. </choices>
  1258. </select1>
  1259. <caption id="caption21" class="cell_1" style="left:960px; top:552px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원약복약지도</caption>
  1260. <caption id="caption22" class="cell_1" style="left:0px; top:667px; width:105px; height:23px; text-align:center; vertical-align:middle; ">문의전화</caption>
  1261. <line id="line16" class="line_1" style="x1:0px; y1:714px; x2:1194px; y2:714px; "/>
  1262. <input id="ipt_tel" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel" navindex="38" style="left:108px; top:670px; width:207px; height:19px; text-align:center; "/>
  1263. <caption id="caption23" class="cell_1" style="left:320px; top:667px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육대상</caption>
  1264. <select id="chk_eductrgt" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/eductrgt" navindex="39" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:403px; top:670px; width:172px; height:13px; border-style:none; ">
  1265. <choices>
  1266. <item>
  1267. <label>환자</label>
  1268. <value>1</value>
  1269. </item>
  1270. <item>
  1271. <label>보호자</label>
  1272. <value>2</value>
  1273. </item>
  1274. </choices>
  1275. </select>
  1276. <caption id="caption24" class="cell_1" style="left:643px; top:667px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육이해정도</caption>
  1277. <line id="line15" class="line_3" style="x1:0px; y1:690px; x2:1194px; y2:690px; "/>
  1278. <select1 id="rdo_educunstdgrde" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/educunstdgrde" navindex="40" appearance="full" cellspacing="50" cols="3" overflow="visible" style="left:728px; top:670px; width:225px; height:13px; border-style:none; ">
  1279. <choices>
  1280. <item>
  1281. <label>상</label>
  1282. <value>01</value>
  1283. </item>
  1284. <item>
  1285. <label>중</label>
  1286. <value>02</value>
  1287. </item>
  1288. <item>
  1289. <label>하</label>
  1290. <value>03</value>
  1291. </item>
  1292. </choices>
  1293. </select1>
  1294. <line id="line12" class="line_2" style="x1:5px; y1:550px; x2:1194px; y2:550px; "/>
  1295. <caption id="caption17" class="cell_1" style="left:0px; top:512px; width:105px; height:39px; text-align:center; vertical-align:middle; ">기타</caption>
  1296. <select id="chk_educetc" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc" navindex="30" overflow="visible" appearance="full" cellspacing="50" cols="8" sep="," vcellspacing="4" style="left:108px; top:512px; width:1082px; height:38px; border-style:none; ">
  1297. <choices>
  1298. <item>
  1299. <label>기도흡인예방법</label>
  1300. <value>1</value>
  1301. </item>
  1302. <item>
  1303. <label>체온관리(보온/발열시간호)</label>
  1304. <value>2</value>
  1305. </item>
  1306. <item>
  1307. <label>배변및배뇨</label>
  1308. <value>3</value>
  1309. </item>
  1310. <item>
  1311. <label>기저귀발진</label>
  1312. <value>4</value>
  1313. </item>
  1314. <item>
  1315. <label>탈수</label>
  1316. <value>5</value>
  1317. </item>
  1318. <item>
  1319. <label>구토</label>
  1320. <value>6</value>
  1321. </item>
  1322. <item>
  1323. <label>황달</label>
  1324. <value>7</value>
  1325. </item>
  1326. <item>
  1327. <label>청색증</label>
  1328. <value>8</value>
  1329. </item>
  1330. <item>
  1331. <label>호흡양상</label>
  1332. <value>9</value>
  1333. </item>
  1334. <item>
  1335. <label>Pulseoxymeter</label>
  1336. <value>10</value>
  1337. </item>
  1338. <item>
  1339. <label>G-tube</label>
  1340. <value>11</value>
  1341. </item>
  1342. <item>
  1343. <label>산소발생기</label>
  1344. <value>12</value>
  1345. </item>
  1346. <item>
  1347. <label>수면</label>
  1348. <value>13</value>
  1349. </item>
  1350. <item>
  1351. <label>기타</label>
  1352. <value>14</value>
  1353. </item>
  1354. </choices>
  1355. <script type="javascript" ev:event="xforms-value-changed">
  1356. <![CDATA[
  1357. var educetc = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc");
  1358. var kind = new Array();
  1359. var arr = new Array(chk_educetc.length);
  1360. kind = educetc.split(",");
  1361. for(var i = 0; i < arr.length; i++) {
  1362. arr[i] = "";
  1363. }
  1364. for(var i = 0; i < kind.length; i++) {
  1365. switch(kind[i]) {
  1366. case '1':
  1367. arr[0] = kind[i];
  1368. break;
  1369. case '2':
  1370. arr[1] = kind[i];
  1371. break;
  1372. case '3':
  1373. arr[2] = kind[i];
  1374. break;
  1375. case '4':
  1376. arr[3] = kind[i];
  1377. break;
  1378. case '5':
  1379. arr[4] = kind[i];
  1380. break;
  1381. case '6':
  1382. arr[5] = kind[i];
  1383. break;
  1384. case '7':
  1385. arr[6] = kind[i];
  1386. break;
  1387. case '8':
  1388. arr[7] = kind[i];
  1389. break;
  1390. case '9':
  1391. arr[8] = kind[i];
  1392. break;
  1393. case '10':
  1394. arr[9] = kind[i];
  1395. break;
  1396. case '11':
  1397. arr[10] = kind[i];
  1398. break;
  1399. case '12':
  1400. arr[11] = kind[i];
  1401. break;
  1402. case '13':
  1403. arr[12] = kind[i];
  1404. break;
  1405. case '14':
  1406. arr[13] = kind[i];
  1407. break;
  1408. default:
  1409. break;
  1410. }
  1411. }
  1412. for(var i = 0; i < arr.length; i++) {
  1413. if(arr[13] == '14') {
  1414. ipt_educetcnm.disabled = false;
  1415. } else {
  1416. ipt_educetcnm.disabled = true;
  1417. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm");
  1418. ipt_educetcnm.refresh();
  1419. }
  1420. }
  1421. ]]>
  1422. </script>
  1423. </select>
  1424. <caption id="caption26" style="left:824px; top:397px; width:30px; height:13px; text-align:center; vertical-align:middle; ">시간</caption>
  1425. <caption id="caption9" class="cell_1" style="left:674px; top:392px; width:80px; height:23px; text-align:center; vertical-align:middle; ">수유시간</caption>
  1426. <caption id="caption27" style="left:1004px; top:398px; width:20px; height:14px; text-align:center; vertical-align:middle; ">ml</caption>
  1427. <caption id="caption28" class="cell_1" style="left:855px; top:392px; width:80px; height:23px; text-align:center; vertical-align:middle; ">현재수유량</caption>
  1428. <caption id="cap_laceducmthd" class="cell_1" style="left:320px; top:416px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육방법</caption>
  1429. <caption id="cap_laceductype" class="cell_1" style="left:674px; top:416px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육내용</caption>
  1430. <select id="chk_laceductype" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype" disabled="true" navindex="18" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:758px; top:422px; width:262px; height:17px; border-style:none; ">
  1431. <choices>
  1432. <item>
  1433. <label>모유의 장점</label>
  1434. <value>01</value>
  1435. </item>
  1436. <item>
  1437. <label>수유방법</label>
  1438. <value>02</value>
  1439. </item>
  1440. <item>
  1441. <label>유방관리</label>
  1442. <value>03</value>
  1443. </item>
  1444. </choices>
  1445. </select>
  1446. <select id="chk_laceducmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd" disabled="true" navindex="17" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:403px; top:422px; width:210px; height:15px; border-style:none; ">
  1447. <choices>
  1448. <item>
  1449. <label>유인물</label>
  1450. <value>01</value>
  1451. </item>
  1452. <item>
  1453. <label>비디오</label>
  1454. <value>02</value>
  1455. </item>
  1456. <item>
  1457. <label>구두</label>
  1458. <value>03</value>
  1459. </item>
  1460. </choices>
  1461. </select>
  1462. <select id="chk_sanitcare" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare" navindex="19" overflow="visible" appearance="full" cellspacing="180" cols="4" style="left:108px; top:444px; width:790px; height:13px; border-style:none; ">
  1463. <choices>
  1464. <item>
  1465. <label>목욕방법</label>
  1466. <value>1</value>
  1467. </item>
  1468. <item>
  1469. <label>피부간호</label>
  1470. <value>2</value>
  1471. </item>
  1472. <item>
  1473. <label>제대간호</label>
  1474. <value>3</value>
  1475. </item>
  1476. <item>
  1477. <label>기타</label>
  1478. <value>4</value>
  1479. </item>
  1480. </choices>
  1481. <script type="javascript" ev:event="xforms-value-changed">
  1482. <![CDATA[
  1483. var sanitcare = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare");
  1484. var kind = new Array();
  1485. var arr = new Array(chk_sanitcare.length);
  1486. kind = sanitcare.split(" ");
  1487. for(var i = 0; i < arr.length; i++) {
  1488. arr[i] = "";
  1489. }
  1490. for(var i = 0; i < kind.length; i++) {
  1491. switch(kind[i]) {
  1492. case '1':
  1493. arr[0] = kind[i];
  1494. break;
  1495. case '2':
  1496. arr[1] = kind[i];
  1497. break;
  1498. case '3':
  1499. arr[2] = kind[i];
  1500. break;
  1501. case '4':
  1502. arr[3] = kind[i];
  1503. break;
  1504. default:
  1505. break;
  1506. }
  1507. }
  1508. for(var i = 0; i < arr.length; i++) {
  1509. if(arr[2] == '3') {
  1510. rdo_dinfyn.disabled = false;
  1511. } else {
  1512. rdo_dinfyn.disabled = true;
  1513. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn");
  1514. rdo_dinfyn.refresh();
  1515. }
  1516. if(arr[3] == "4") {
  1517. ipt_sanitnm.disabled = false;
  1518. } else {
  1519. ipt_sanitnm.disabled = true;
  1520. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm");
  1521. ipt_sanitnm.refresh();
  1522. }
  1523. }
  1524. ]]>
  1525. </script>
  1526. </select>
  1527. <select1 id="rdo_dinfyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn" navindex="20" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:685px; top:443px; width:160px; height:13px; border-style:none; ">
  1528. <choices>
  1529. <item>
  1530. <label>소독필요</label>
  1531. <value>01</value>
  1532. </item>
  1533. <item>
  1534. <label>소독불필요</label>
  1535. <value>02</value>
  1536. </item>
  1537. </choices>
  1538. </select1>
  1539. <caption id="caption18" style="left:679px; top:444px; width:15px; height:13px; ">(</caption>
  1540. <caption id="caption32" style="left:840px; top:444px; width:15px; height:14px; ">)</caption>
  1541. <line id="line18" class="line_2" style="x1:0px; y1:510px; x2:1194px; y2:510px; "/>
  1542. <select id="chk_vacn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn" navindex="22" overflow="visible" appearance="full" cellspacing="0" cols="8" style="left:108px; top:467px; width:325px; height:13px; border-style:none; ">
  1543. <choices>
  1544. <item>
  1545. <label>B형간염(</label>
  1546. <value>1</value>
  1547. </item>
  1548. <item>
  1549. <label>(. )</label>
  1550. <value/>
  1551. </item>
  1552. <item>
  1553. <label>BCG</label>
  1554. <value>2</value>
  1555. </item>
  1556. <item>
  1557. <label>기타</label>
  1558. <value>3</value>
  1559. </item>
  1560. </choices>
  1561. <script type="javascript" ev:event="xforms-value-changed">
  1562. <![CDATA[
  1563. var vacn = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn");
  1564. var kind = new Array();
  1565. var arr = new Array(chk_vacn.length);
  1566. kind = vacn.split(" ");
  1567. for(var i = 0; i < arr.length; i++) {
  1568. arr[i] = "";
  1569. }
  1570. for(var i = 0; i < kind.length; i++) {
  1571. switch(kind[i]) {
  1572. case '1':
  1573. arr[0] = kind[i];
  1574. break;
  1575. case '2':
  1576. arr[1] = kind[i];
  1577. break;
  1578. case '3':
  1579. arr[2] = kind[i];
  1580. break;
  1581. default:
  1582. break;
  1583. }
  1584. }
  1585. for(var i = 0; i < arr.length; i++) {
  1586. if(arr[0] == '1') {
  1587. rdo_vacntim.disabled = false;
  1588. } else {
  1589. rdo_vacntim.disabled = true;
  1590. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacntim");
  1591. rdo_vacntim.refresh();
  1592. }
  1593. if(arr[2] == "3") {
  1594. ipt_vacnnm.disabled = false;
  1595. } else {
  1596. ipt_vacnnm.disabled = true;
  1597. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm");
  1598. ipt_vacnnm.refresh();
  1599. }
  1600. }
  1601. ]]>
  1602. </script>
  1603. </select>
  1604. <select1 id="rdo_vacntim" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacntim" navindex="23" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:178px; top:467px; width:140px; height:13px; background-color:#ffffff; border-style:none; ">
  1605. <choices>
  1606. <item>
  1607. <label>1차</label>
  1608. <value>01</value>
  1609. </item>
  1610. <item>
  1611. <label>2차</label>
  1612. <value>02</value>
  1613. </item>
  1614. <item>
  1615. <label>3차</label>
  1616. <value>03</value>
  1617. </item>
  1618. </choices>
  1619. </select1>
  1620. <input id="ipt_vacnnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm" navindex="24" style="left:435px; top:465px; width:120px; height:19px; "/>
  1621. <caption id="caption39" class="cell_1" style="left:0px; top:488px; width:105px; height:23px; text-align:center; vertical-align:middle; ">실내 환경</caption>
  1622. <caption id="caption35" class="cell_1" style="left:0px; top:464px; width:105px; height:23px; text-align:center; vertical-align:middle; ">예방접종</caption>
  1623. <caption id="caption40" class="cell_1" style="left:560px; top:464px; width:147px; height:23px; text-align:center; vertical-align:middle; ">선천성 대사이상 질환검사</caption>
  1624. <select id="chk_cngntlmboltrobtest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest" navindex="25" overflow="visible" appearance="full" cellspacing="20" cols="8" sep="," style="left:710px; top:468px; width:375px; height:13px; border-style:none; ">
  1625. <choices>
  1626. <item>
  1627. <label>선천성 대사이상 검사 6종</label>
  1628. <value>01</value>
  1629. </item>
  1630. <item>
  1631. <label>광범위 대사이상 검사</label>
  1632. <value>02</value>
  1633. </item>
  1634. </choices>
  1635. </select>
  1636. <select id="chk_inroomenv" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv" navindex="26" overflow="visible" appearance="full" cols="2" sep="," style="left:108px; top:492px; width:240px; height:13px; border-style:none; ">
  1637. <choices>
  1638. <item>
  1639. <label>적정온도: 24 ℃</label>
  1640. <value>01</value>
  1641. </item>
  1642. <item>
  1643. <label>적정습도: 50~60%</label>
  1644. <value>02</value>
  1645. </item>
  1646. </choices>
  1647. </select>
  1648. <select1 id="rdo_heartest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn" navindex="28" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:670px; top:492px; width:120px; height:13px; border-style:none; ">
  1649. <choices>
  1650. <item>
  1651. <label>무</label>
  1652. <value>01</value>
  1653. </item>
  1654. <item>
  1655. <label>유</label>
  1656. <value>02</value>
  1657. </item>
  1658. </choices>
  1659. <script type="javascript" ev:event="xforms-value-changed">
  1660. <![CDATA[
  1661. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn") == "01") {
  1662. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
  1663. chk_heartest.disabled = true;
  1664. } else {
  1665. chk_heartest.disabled = false;
  1666. }
  1667. chk_heartest.refresh();
  1668. ]]>
  1669. </script>
  1670. </select1>
  1671. <caption id="caption41" class="cell_1" style="left:560px; top:488px; width:105px; height:23px; text-align:center; vertical-align:middle; ">청력검사</caption>
  1672. <input id="ipt_educetcnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm" navindex="31" style="left:897px; top:530px; width:295px; height:19px; "/>
  1673. <caption id="caption38" style="left:535px; top:556px; width:5px; height:14px; ">)</caption>
  1674. <caption id="caption20" class="cell_1" style="left:0px; top:620px; width:105px; height:45px; text-align:center; vertical-align:middle; ">특이사항</caption>
  1675. <caption id="caption16" class="cell_1" style="left:735px; top:552px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원절차교육</caption>
  1676. <caption id="caption43" class="tit_2" style="left:5px; top:698px; width:113px; height:13px; ">아기 인수확인</caption>
  1677. <select1 id="rdo_nbabyacptpsn" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn" navindex="41" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:108px; top:723px; width:447px; height:13px; border-style:none; ">
  1678. <choices>
  1679. <item>
  1680. <label>모</label>
  1681. <value>01</value>
  1682. </item>
  1683. <item>
  1684. <label>부</label>
  1685. <value>02</value>
  1686. </item>
  1687. <item>
  1688. <label>친척</label>
  1689. <value>03</value>
  1690. </item>
  1691. <item>
  1692. <label>기타</label>
  1693. <value>04</value>
  1694. </item>
  1695. </choices>
  1696. <script type="javascript" ev:event="xforms-value-changed">
  1697. <![CDATA[
  1698. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn") == "04") {
  1699. ipt_nbabyacptpsnnm.disabled = false;
  1700. } else {
  1701. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
  1702. ipt_nbabyacptpsnnm.refresh();
  1703. ipt_nbabyacptpsnnm.disabled = true;
  1704. }
  1705. ]]>
  1706. </script>
  1707. </select1>
  1708. <caption id="caption44" style="left:535px; top:556px; width:10px; height:14px; ">)</caption>
  1709. <caption id="caption45" class="cell_1" style="left:0px; top:743px; width:105px; height:23px; text-align:center; vertical-align:middle; ">신분증 확인</caption>
  1710. <line id="line14" class="line_3" style="x1:0px; y1:765px; x2:1194px; y2:765px; "/>
  1711. <select id="chk_crtfctcnfm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm" navindex="43" overflow="visible" appearance="full" cellspacing="108" cols="2" sep="," style="left:108px; top:747px; width:547px; height:13px; border-style:none; ">
  1712. <choices>
  1713. <item>
  1714. <label>산모 주민등록번호</label>
  1715. <value>1</value>
  1716. </item>
  1717. <item>
  1718. <label>인수자성명/주민등록번호</label>
  1719. <value>2</value>
  1720. </item>
  1721. </choices>
  1722. <script type="javascript" ev:event="xforms-value-changed">
  1723. <![CDATA[
  1724. var crtfctcnfm = chk_crtfctcnfm.value;
  1725. if(crtfctcnfm == "1") {
  1726. ipt_wommrrgstno1.disabled = false;
  1727. sct_wommrrgstno2.disabled = false;
  1728. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
  1729. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
  1730. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
  1731. ipt_acptpsnnm.refresh();
  1732. ipt_acptpsnrrgstno1.refresh();
  1733. sct_acptpsnrrgstno2.refresh();
  1734. ipt_acptpsnnm.disabled = true;
  1735. ipt_acptpsnrrgstno1.disabled = true;
  1736. sct_acptpsnrrgstno2.disabled = true;
  1737. } else if(crtfctcnfm == "2") {
  1738. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
  1739. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
  1740. ipt_wommrrgstno1.refresh();
  1741. sct_wommrrgstno2.refresh();
  1742. ipt_wommrrgstno1.disabled = true;
  1743. sct_wommrrgstno2.disabled = true;
  1744. ipt_acptpsnnm.disabled = false;
  1745. ipt_acptpsnrrgstno1.disabled = false;
  1746. sct_acptpsnrrgstno2.disabled = false;
  1747. } else if(crtfctcnfm == "1,2" || crtfctcnfm == "2,1") {
  1748. ipt_wommrrgstno1.disabled = false;
  1749. sct_wommrrgstno2.disabled = false;
  1750. ipt_acptpsnnm.disabled = false;
  1751. ipt_acptpsnrrgstno1.disabled = false;
  1752. sct_acptpsnrrgstno2.disabled = false;
  1753. } else {
  1754. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
  1755. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
  1756. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
  1757. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
  1758. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
  1759. ipt_wommrrgstno1.refresh();
  1760. sct_wommrrgstno2.refresh();
  1761. ipt_acptpsnnm.refresh();
  1762. ipt_acptpsnrrgstno1.refresh();
  1763. sct_acptpsnrrgstno2.refresh();
  1764. ipt_wommrrgstno1.disabled = true;
  1765. sct_wommrrgstno2.disabled = true;
  1766. ipt_acptpsnnm.disabled = true;
  1767. ipt_acptpsnrrgstno1.disabled = true;
  1768. sct_acptpsnrrgstno2.disabled = true;
  1769. }
  1770. ]]>
  1771. </script>
  1772. </select>
  1773. <input id="ipt_wommrrgstno1" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1" disabled="true" navindex="44" maxlength="6" format="999999" style="left:225px; top:744px; width:52px; height:19px; text-align:center; "/>
  1774. <input id="ipt_acptpsnnm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm" disabled="true" navindex="46" imemode="hangul" style="left:496px; top:744px; width:44px; height:19px; text-align:center; "/>
  1775. <secret id="sct_wommrrgstno2" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2" disabled="true" navindex="45" maxlength="7" secretmark="*******" style="left:280px; top:744px; width:55px; height:19px; "/>
  1776. <input id="ipt_acptpsnrrgstno1" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1" disabled="true" navindex="47" maxlength="6" format="999999" style="left:550px; top:744px; width:52px; height:19px; text-align:center; "/>
  1777. <secret id="sct_acptpsnrrgstno2" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2" disabled="true" navindex="48" maxlength="7" secretmark="*******" style="left:604px; top:744px; width:55px; height:19px; "/>
  1778. <select1 id="rdo_dschmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdcd" navindex="10" appearance="full" cellspacing="35" cols="7" overflow="visible" style="left:107px; top:317px; width:398px; height:13px; border-style:none; ">
  1779. <choices>
  1780. <item>
  1781. <label>보호자가 안고</label>
  1782. <value>01</value>
  1783. </item>
  1784. <item>
  1785. <label>운반용 보육기</label>
  1786. <value>02</value>
  1787. </item>
  1788. <item>
  1789. <label>응급차</label>
  1790. <value>03</value>
  1791. </item>
  1792. <item>
  1793. <label>기타</label>
  1794. <value>04</value>
  1795. </item>
  1796. </choices>
  1797. <script type="javascript" ev:event="xforms-value-changed">
  1798. <![CDATA[
  1799. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd") == "04") {
  1800. ipt_dschmthdnm.disabled = false;
  1801. } else {
  1802. ipt_dschmthdnm.disabled = true;
  1803. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschmthnm");
  1804. ipt_dschmthdnm.refresh();
  1805. }
  1806. ]]>
  1807. </script>
  1808. </select1>
  1809. <caption id="cap_dschmthd" class="cell_1" style="left:0px; top:313px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원방법</caption>
  1810. <input id="ipt_dschmthdnm" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdnm" navindex="11" style="left:509px; top:314px; width:135px; height:19px; "/>
  1811. <select1 id="rdo_lacmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd" navindex="12" appearance="full" cellspacing="20" cols="5" overflow="visible" style="left:108px; top:396px; width:417px; height:13px; border-style:none; ">
  1812. <choices>
  1813. <item>
  1814. <label>모유수유</label>
  1815. <value>01</value>
  1816. </item>
  1817. <item>
  1818. <label>조제유수유</label>
  1819. <value>02</value>
  1820. </item>
  1821. <item>
  1822. <label>혼합수유</label>
  1823. <value>03</value>
  1824. </item>
  1825. <item>
  1826. <label>위관수유</label>
  1827. <value>04</value>
  1828. </item>
  1829. <item>
  1830. <label>기타</label>
  1831. <value>05</value>
  1832. </item>
  1833. </choices>
  1834. <script type="javascript" ev:event="xforms-value-changed">
  1835. <![CDATA[
  1836. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd") == "05") {
  1837. ipt_lacmthdnm.disabled = false;
  1838. } else {
  1839. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
  1840. ipt_lacmthdnm.refresh();
  1841. ipt_lacmthdnm.disabled = true;
  1842. }
  1843. ]]>
  1844. </script>
  1845. </select1>
  1846. <input id="ipt_lacmthdnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm" navindex="13" imemode="hangul" style="left:530px; top:393px; width:140px; height:19px; "/>
  1847. <input id="ipt_lactim" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim" navindex="14" format="99" style="left:757px; top:393px; width:65px; height:19px; text-align:center; "/>
  1848. <input id="ipt_lacvol" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol" navindex="15" format="999" style="left:938px; top:393px; width:65px; height:19px; text-align:center; "/>
  1849. <line id="line3" class="line_3" style="x1:0px; y1:360px; x2:1194px; y2:360px; "/>
  1850. <line id="line4" class="line_2" style="x1:0px; y1:438px; x2:1194px; y2:438px; "/>
  1851. <caption id="caption12" class="cell_1" style="left:0px; top:416px; width:105px; height:23px; text-align:center; vertical-align:middle; ">모유수유권장교육</caption>
  1852. <select id="chk_heartest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest" navindex="29" overflow="visible" appearance="full" cellspacing="60" cols="2" sep="," style="left:810px; top:492px; width:235px; height:13px; border-style:none; ">
  1853. <choices>
  1854. <item>
  1855. <label>신생아 청력선별검사</label>
  1856. <value>1</value>
  1857. </item>
  1858. <item>
  1859. <label>AEP</label>
  1860. <value>2</value>
  1861. </item>
  1862. </choices>
  1863. </select>
  1864. <caption id="caption3" style="left:800px; top:493px; width:15px; height:14px; ">(</caption>
  1865. <caption id="caption5" style="left:1045px; top:493px; width:15px; height:14px; ">)</caption>
  1866. <line id="line5" class="line_2" style="x1:0px; y1:666px; x2:1194px; y2:666px; "/>
  1867. <caption id="caption42" class="cell_1" style="left:0px; top:719px; width:105px; height:23px; text-align:center; vertical-align:middle; ">아기인수자</caption>
  1868. <button id="btn_recdt" class="icon_clock" navindex="3" style="left:229px; top:41px; width:16px; height:16px; ">
  1869. <caption/>
  1870. <script type="javascript" ev:event="DOMActivate">
  1871. <![CDATA[
  1872. var dt = fGetCurrentTime();
  1873. var dd = getCurrentDate();
  1874. model.setValue("/root/main/dschcareinfo/dschcareinfo/rectm", dt);
  1875. model.setValue("/root/main/dschcareinfo/dschcareinfo/recdd", dd);
  1876. ipt_rectm.refresh();
  1877. ipt_recdd.refresh();
  1878. ]]>
  1879. </script>
  1880. </button>
  1881. <caption id="cap_bfrecdt" class="cell_1" style="left:0px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록일시</caption>
  1882. <output id="ipt_recuser" ref="/root/main/dschcareinfo/dschcareinfo/recusernm" class="output_fix" navindex="4" appearance="output" style="left:333px; top:40px; width:100px; height:19px; "/>
  1883. <caption id="caption1" class="cell_1" style="left:250px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록자</caption>
  1884. <input id="ipt_rectm" ref="/root/main/dschcareinfo/dschcareinfo/rectm" navindex="2" format="hh:nn" style="left:185px; top:40px; width:40px; height:19px; "/>
  1885. <caption id="caption2" class="cell_1" style="left:436px; top:38px; width:80px; height:23px; vertical-align:middle; ">퇴원예정일</caption>
  1886. <input id="ipt_recdd" ref="/root/main/dschcareinfo/dschcareinfo/recdd" class="input_default" navindex="1" inputtype="date" style="left:83px; top:40px; width:100px; height:19px; "/>
  1887. <input id="ipt_dschdd" ref="/root/main/dschcareinfo/dschcareinfo/dschdd" class="input_default" disabled="false" navindex="5" inputtype="date" style="left:519px; top:40px; width:100px; height:19px; "/>
  1888. <button id="btn_tmpsave" class="btn5_letter4" visibility="hidden" style="left:895px; top:9px; width:64px; height:19px; ">
  1889. <caption>임시저장</caption>
  1890. <script type="javascript" ev:event="DOMActivate">
  1891. <![CDATA[
  1892. fSetDschInfo("T");
  1893. submit("TXMNN00601");
  1894. ]]>
  1895. </script>
  1896. </button>
  1897. <select1 id="rdo_dschtypes" ref="/root/main/dschcareinfo/dschcareinfo/dschtypecds" navindex="8" appearance="full" cellspacing="23" cols="7" overflow="visible" style="left:108px; top:292px; width:547px; height:13px; border-style:none; ">
  1898. <choices>
  1899. <item>
  1900. <label>지시 후 퇴원</label>
  1901. <value>01</value>
  1902. </item>
  1903. <item>
  1904. <label>DAMA</label>
  1905. <value>02</value>
  1906. </item>
  1907. <item>
  1908. <label>Hopeless</label>
  1909. <value>03</value>
  1910. </item>
  1911. <item>
  1912. <label>전원</label>
  1913. <value>04</value>
  1914. </item>
  1915. <item>
  1916. <label>탈원</label>
  1917. <value>05</value>
  1918. </item>
  1919. <item>
  1920. <label>사망</label>
  1921. <value>06</value>
  1922. </item>
  1923. <item>
  1924. <label>기타</label>
  1925. <value>07</value>
  1926. </item>
  1927. </choices>
  1928. <script type="javascript" ev:event="xforms-value-changed">
  1929. <![CDATA[
  1930. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds") == "06") { //사망
  1931. //퇴원방법
  1932. rdo_dschmthd.disabled = true;
  1933. model.setValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd", "04");
  1934. ipt_dschmthdnm.disabled = false;
  1935. //진료의동반_20090601_SMY추가
  1936. rdo_dracomp.disabled = true;
  1937. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dracomp");
  1938. //수유방법
  1939. rdo_lacmthd.disabled = true;
  1940. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd");
  1941. ipt_lacmthdnm.disabled = true;
  1942. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
  1943. //수유시간
  1944. ipt_lactim.disabled = true;
  1945. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim");
  1946. //현재수유량
  1947. ipt_lacvol.disabled = true;
  1948. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol");
  1949. //모유수유권장교육
  1950. rdo_laceduc.disabled = true;
  1951. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc");
  1952. rdo_laceduc.dispatch("xforms-value-changed");
  1953. //교육방법
  1954. chk_laceducmthd.disabled = true;
  1955. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
  1956. //교육내용
  1957. chk_laceductype.disabled = true;
  1958. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
  1959. //위생간호
  1960. chk_sanitcare.disabled = true;
  1961. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare");
  1962. chk_sanitcare.dispatch("xforms-value-changed");
  1963. rdo_dinfyn.disabled = true;
  1964. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn")
  1965. ipt_sanitnm.disabled = true;
  1966. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm");
  1967. //예방접종
  1968. chk_vacn.disabled = true;
  1969. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn");
  1970. chk_vacn.dispatch("xforms-value-changed");
  1971. rdo_vacntim.disabled = true;
  1972. ipt_vacnnm.disabled = true;
  1973. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm");
  1974. //선천성 대사이상 질환검사
  1975. chk_cngntlmboltrobtest.disabled = true;
  1976. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest");
  1977. //실내환경
  1978. chk_inroomenv.disabled = true;
  1979. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv");
  1980. //청력검사
  1981. rdo_heartest.disabled = true;
  1982. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn");
  1983. rdo_heartest.dispatch("xforms-value-changed");
  1984. chk_heartest.disabled = true;
  1985. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
  1986. //기타
  1987. chk_educetc.disabled = true;
  1988. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc");
  1989. ipt_educetcnm.disabled = true;
  1990. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm");
  1991. //추후관리
  1992. rdo_mngtaftdschyn.disabled = true;
  1993. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn");
  1994. rdo_mngtaftdschyn.dispatch("xforms-value-changed");
  1995. ipt_mngtaftdschnm.disabled = true;
  1996. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
  1997. //퇴원약 복약지도
  1998. rdo_dschmeditmedguidyn.disabled = true;
  1999. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn");
  2000. //퇴원시 기구 및 삽관상태_20090601_SMY추가
  2001. rdo_dschcatestatyn.disabled = true;
  2002. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
  2003. chk_dschcatestat.disabled = true;
  2004. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
  2005. ipt_dschcateoxy.disabled= true;
  2006. ipt_dschcatestatnm.disabled = true;
  2007. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
  2008. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
  2009. //아기인수자
  2010. rdo_nbabyacptpsn.disabled = true;
  2011. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn");
  2012. rdo_nbabyacptpsn.dispatch("xforms-value-changed");
  2013. ipt_nbabyacptpsnnm.disabled = true;
  2014. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
  2015. //신분증확인
  2016. chk_crtfctcnfm.disabled = true;
  2017. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm");
  2018. chk_crtfctcnfm.dispatch("xforms-value-changed");
  2019. ipt_wommrrgstno1.disabled = true;
  2020. sct_wommrrgstno2.disabled = true;
  2021. ipt_acptpsnnm.disabled = true;
  2022. ipt_acptpsnrrgstno1.disabled = true;
  2023. sct_acptpsnrrgstno2.disabled = true;
  2024. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
  2025. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
  2026. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
  2027. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
  2028. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
  2029. }else{
  2030. rdo_dschmthd.disabled = false;
  2031. rdo_dracomp.disabled = false;
  2032. rdo_lacmthd.disabled = false;
  2033. ipt_lactim.disabled = false;
  2034. ipt_lacvol.disabled = false;
  2035. rdo_laceduc.disabled = false;
  2036. rdo_laceduc.dispatch("xforms-value-changed");
  2037. chk_sanitcare.disabled = false;
  2038. chk_sanitcare.dispatch("xforms-value-changed");
  2039. chk_vacn.disabled = false;
  2040. chk_vacn.dispatch("xforms-value-changed");
  2041. chk_cngntlmboltrobtest.disabled = false;
  2042. chk_inroomenv.disabled = false;
  2043. rdo_heartest.disabled = false;
  2044. rdo_heartest.dispatch("xforms-value-changed");
  2045. chk_heartest.disabled = false;
  2046. chk_educetc.disabled = false;
  2047. rdo_mngtaftdschyn.disabled = false;
  2048. rdo_mngtaftdschyn.dispatch("xforms-value-changed");
  2049. rdo_dschmeditmedguidyn.disabled = false;
  2050. rdo_dschcatestatyn.disabled = false;
  2051. rdo_dschcatestatyn.dispatch("xforms-value-changed");
  2052. chk_dschcatestat.disabled = false;
  2053. rdo_nbabyacptpsn.disabled = false;
  2054. rdo_nbabyacptpsn.dispatch("xforms-value-changed");
  2055. chk_crtfctcnfm.disabled = false;
  2056. chk_crtfctcnfm.dispatch("xforms-value-changed");
  2057. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds") == "07") {
  2058. ipt_dschtypenm.disabled = false;
  2059. } else {
  2060. ipt_dschtypenm.disabled = true;
  2061. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschtypenm");
  2062. }
  2063. }
  2064. model.refresh();
  2065. ]]>
  2066. </script>
  2067. </select1>
  2068. <input id="ipt_dschtypenm" ref="/root/main/dschcareinfo/dschcareinfo/dschtypenm" disabled="true" navindex="9" style="left:647px; top:290px; width:210px; height:19px; "/>
  2069. <caption id="caption7" class="cell_1" style="left:0px; top:289px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원유형</caption>
  2070. <input id="ipt_nbabyacptpsnnm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm" disabled="true" navindex="42" style="left:421px; top:720px; width:124px; height:19px; "/>
  2071. <input id="input1" ref="/root/main/dschcareinfo/dschcareinfo/signno" visibility="hidden" style="left:725px; top:10px; width:100px; height:19px; "/>
  2072. <caption id="caption30" ref="/root/main/age" style="left:418px; top:9px; width:37px; height:20px; font-family:돋움; "/>
  2073. <caption id="caption31" class="search_name" style="left:360px; top:10px; width:58px; height:17px; ">나이:</caption>
  2074. <caption id="caption25" class="search_name" style="left:460px; top:10px; width:81px; height:17px; ">등록번호:</caption>
  2075. <caption id="caption33" ref="/root/main/pid" style="left:544px; top:9px; width:96px; height:20px; font-family:돋움; "/>
  2076. <caption id="caption34" ref="/root/main/patnm" style="left:190px; top:9px; width:60px; height:20px; font-family:돋움; "/>
  2077. <caption id="caption29" class="search_name" style="left:122px; top:10px; width:68px; height:17px; ">환자명:</caption>
  2078. <caption id="caption68" class="search_name" style="left:5px; top:10px; width:55px; height:17px; ">병실:</caption>
  2079. <caption id="caption36" ref="/root/main/sex" style="left:318px; top:9px; width:32px; height:20px; font-family:돋움; "/>
  2080. <caption id="caption37" class="search_name" style="left:260px; top:10px; width:58px; height:17px; ">성별:</caption>
  2081. <caption id="caption46" ref="/root/main/room" style="left:63px; top:9px; width:52px; height:20px; font-family:돋움; "/>
  2082. <select1 id="rdo_antibioallgyn" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgyn" appearance="full" cellspacing="10" cols="1" vcellspacing="7" overflow="visible" style="left:978px; top:289px; width:35px; height:43px; border-style:none; ">
  2083. <choices>
  2084. <item>
  2085. <label>무</label>
  2086. <value>01</value>
  2087. </item>
  2088. <item>
  2089. <label>유</label>
  2090. <value>02</value>
  2091. </item>
  2092. </choices>
  2093. <script type="javascript" ev:event="xforms-value-changed">
  2094. <![CDATA[
  2095. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgyn") == "02") {
  2096. chk_antibioallgcd.disabled = false;
  2097. chk_antibioallgcd.dispatch("xforms-value-changed");
  2098. } else {
  2099. chk_antibioallgcd.disabled = true;
  2100. ipt_antibioallgnm.disabled = true;
  2101. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgcd");
  2102. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgnm");
  2103. }
  2104. chk_antibioallgcd.refresh();
  2105. ipt_antibioallgnm.refresh();
  2106. ]]>
  2107. </script>
  2108. </select1>
  2109. <caption id="caption47" style="left:1013px; top:293px; width:15px; height:13px; ">(</caption>
  2110. <caption id="caption48" style="left:1185px; top:318px; width:10px; height:14px; ">)</caption>
  2111. <caption id="caption49" class="cell_1" style="left:860px; top:289px; width:115px; height:46px; text-align:center; vertical-align:middle; ">
  2112. <![CDATA[입원기간 중 항생제
  2113. 알러지 반응 ]]>
  2114. </caption>
  2115. <line id="line17" class="line_2" style="x1:0px; y1:618px; x2:1194px; y2:618px; "/>
  2116. <select1 id="rdo_dschcatestatyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn" appearance="full" cols="1" rows="2" overflow="visible" style="left:108px; top:576px; width:30px; height:33px; border-style:none; ">
  2117. <choices>
  2118. <item>
  2119. <label>무</label>
  2120. <value>01</value>
  2121. </item>
  2122. <item>
  2123. <label>유</label>
  2124. <value>02</value>
  2125. </item>
  2126. </choices>
  2127. <script type="javascript" ev:event="xforms-value-changed">
  2128. <![CDATA[
  2129. var dschcatestatyn = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
  2130. if( dschcatestatyn == "01" ){
  2131. submit("TRMNW03605");
  2132. var dschcateyn = model.getValue("/root/hiden/dschcateinfo/dschcateyn");
  2133. if( dschcateyn == "Y" ){
  2134. model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn", "02"); //유
  2135. rdo_dschcatestatyn.refresh();
  2136. messageBox("제거되지 않은 [삽관/기구] 기록이 있습니다. \n 기록을 확인","I008"); // 하십시오.
  2137. return;
  2138. }
  2139. }
  2140. if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn") == "02") {
  2141. chk_dschcatestat.disabled = false;
  2142. chk_dschcatestat.dispatch("xforms-value-changed");
  2143. } else {
  2144. chk_dschcatestat.disabled = true;
  2145. ipt_dschcateoxy.disabled = true;
  2146. ipt_dschcatestatnm.disabled = true;
  2147. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
  2148. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
  2149. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
  2150. chk_dschcatestat.refresh();
  2151. ipt_dschcateoxy.refresh();
  2152. ipt_dschcatestatnm.refresh();
  2153. }
  2154. ]]>
  2155. </script>
  2156. </select1>
  2157. <select id="chk_dschcatestat" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd" overflow="visible" appearance="full" cellspacing="40" cols="7" sep="▦" vcellspacing="4" style="left:139px; top:576px; width:1047px; height:39px; border-style:none; ">
  2158. <choices>
  2159. <item>
  2160. <label>L-tube</label>
  2161. <value>1</value>
  2162. </item>
  2163. <item>
  2164. <label>Foley catheter</label>
  2165. <value>2</value>
  2166. </item>
  2167. <item>
  2168. <label>Colostomy</label>
  2169. <value>3</value>
  2170. </item>
  2171. <item>
  2172. <label>Endotracheal tube</label>
  2173. <value>4</value>
  2174. </item>
  2175. <item>
  2176. <label>Tracheostomy tube</label>
  2177. <value>5</value>
  2178. </item>
  2179. <item>
  2180. <label>HD catheter</label>
  2181. <value>6</value>
  2182. </item>
  2183. <item>
  2184. <label>산소</label>
  2185. <value>7</value>
  2186. </item>
  2187. <item>
  2188. <label>Subclavian catheter</label>
  2189. <value>8</value>
  2190. </item>
  2191. <item>
  2192. <label>Chemoport</label>
  2193. <value>9</value>
  2194. </item>
  2195. <item>
  2196. <label>Hemo-vac</label>
  2197. <value>10</value>
  2198. </item>
  2199. <item>
  2200. <label>JP bag</label>
  2201. <value>11</value>
  2202. </item>
  2203. <item>
  2204. <label>기타</label>
  2205. <value>12</value>
  2206. </item>
  2207. </choices>
  2208. <script type="javascript" ev:event="xforms-value-changed">
  2209. <![CDATA[
  2210. var dschcatestatcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
  2211. var kind = new Array();
  2212. var arr = new Array(chk_dschcatestat.length);
  2213. kind = dschcatestatcd.split("▦");
  2214. for(var i = 0; i < arr.length; i++) {
  2215. arr[i] = "";
  2216. }
  2217. for(var i = 0; i < kind.length; i++) {
  2218. switch(kind[i]) {
  2219. case '1':
  2220. arr[0] = kind[i];
  2221. break;
  2222. case '2':
  2223. arr[1] = kind[i];
  2224. break;
  2225. case '3':
  2226. arr[2] = kind[i];
  2227. break;
  2228. case '4':
  2229. arr[3] = kind[i];
  2230. break;
  2231. case '5':
  2232. arr[4] = kind[i];
  2233. break;
  2234. case '6':
  2235. arr[5] = kind[i];
  2236. break;
  2237. case '7':
  2238. arr[6] = kind[i];
  2239. break;
  2240. case '8':
  2241. arr[7] = kind[i];
  2242. break;
  2243. case '9':
  2244. arr[8] = kind[i];
  2245. break;
  2246. case '10':
  2247. arr[9] = kind[i];
  2248. break;
  2249. case '11':
  2250. arr[10] = kind[i];
  2251. break;
  2252. case '12':
  2253. arr[11] = kind[i];
  2254. break;
  2255. default:
  2256. break;
  2257. }
  2258. }
  2259. for(var i = 0; i < arr.length; i++) {
  2260. if(arr[6] == '7') {
  2261. ipt_dschcateoxy.disabled = false;
  2262. } else {
  2263. ipt_dschcateoxy.disabled = true;
  2264. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
  2265. ipt_dschcateoxy.refresh();
  2266. }
  2267. if(arr[11] == "12") {
  2268. ipt_dschcatestatnm.disabled = false;
  2269. } else {
  2270. ipt_dschcatestatnm.disabled = true;
  2271. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
  2272. ipt_dschcatestatnm.refresh();
  2273. }
  2274. }
  2275. ]]>
  2276. </script>
  2277. </select>
  2278. <caption id="caption50" class="cell_1" style="left:0px; top:576px; width:105px; height:42px; text-align:center; vertical-align:middle; ">
  2279. <![CDATA[퇴원시 기구
  2280. 및 삽관상태]]>
  2281. </caption>
  2282. <caption id="cap_oxyunit" style="left:1135px; top:585px; width:36px; height:14px; ">L/min</caption>
  2283. <select id="chk_antibioallgcd" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgcd" disabled="true" overflow="visible" appearance="full" cellspacing="5" cols="2" sep="," vcellspacing="7" style="left:1021px; top:288px; width:166px; height:43px; border-style:none; ">
  2284. <choices>
  2285. <item>
  2286. <label>페니실린계</label>
  2287. <value>1</value>
  2288. </item>
  2289. <item>
  2290. <label>베타락탐계</label>
  2291. <value>2</value>
  2292. </item>
  2293. <item>
  2294. <label>기타</label>
  2295. <value>3</value>
  2296. </item>
  2297. </choices>
  2298. <script type="javascript" ev:event="xforms-value-changed">
  2299. <![CDATA[
  2300. var antibioallgcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgcd");
  2301. var kind = new Array();
  2302. var arr = new Array(chk_antibioallgcd.length);
  2303. kind = antibioallgcd.split(",");
  2304. for(var i = 0; i < arr.length; i++) {
  2305. arr[i] = "";
  2306. }
  2307. for(var i = 0; i < kind.length; i++) {
  2308. switch(kind[i]) {
  2309. case '1':
  2310. arr[0] = kind[i];
  2311. break;
  2312. case '2':
  2313. arr[1] = kind[i];
  2314. break;
  2315. case '3':
  2316. arr[2] = kind[i];
  2317. break;
  2318. default :
  2319. arr[arr.length - 1] = kind[i];
  2320. }
  2321. }
  2322. for(var i = 0; i < arr.length; i++) {
  2323. if(arr[2] == '3') {
  2324. ipt_antibioallgnm.disabled = false;
  2325. } else {
  2326. ipt_antibioallgnm.disabled = true;
  2327. model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgnm");
  2328. }
  2329. ipt_antibioallgnm.refresh();
  2330. }
  2331. ]]>
  2332. </script>
  2333. </select>
  2334. <input id="ipt_antibioallgnm" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgnm" disabled="true" style="left:1074px; top:314px; width:110px; height:19px; "/>
  2335. <caption id="caption52" class="cell_1" style="left:647px; top:313px; width:105px; height:23px; text-align:center; vertical-align:middle; ">진료의 동반</caption>
  2336. <select1 id="rdo_dracomp" ref="/root/main/dschcareinfo/dschcareinfo/dracomp" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:755px; top:317px; width:100px; height:13px; border-style:none; ">
  2337. <choices>
  2338. <item>
  2339. <label>유</label>
  2340. <value>01</value>
  2341. </item>
  2342. <item>
  2343. <label>무</label>
  2344. <value>02</value>
  2345. </item>
  2346. </choices>
  2347. </select1>
  2348. <input id="ipt_dschcatestatnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm" disabled="true" style="left:773px; top:597px; width:413px; height:19px; "/>
  2349. <input id="ipt_dschcateoxy" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy" disabled="true" style="left:1066px; top:580px; width:70px; height:19px; "/>
  2350. <button id="btn_prn" class="btn2_letter5" style="left:709px; top:40px; width:75px; height:19px; ">
  2351. <caption>복약안내문</caption>
  2352. <script type="javascript" ev:event="DOMActivate">
  2353. <![CDATA[
  2354. var reqdd = model.getValue("/root/temp/cond/list/dschdclrdt");
  2355. var reqdt = reqdd.substr(0,8);
  2356. model.makeValue("/root/send/srchinfo/prcpddstart", reqdt);
  2357. model.makeValue("/root/send/srchinfo/prcpddend", reqdt);
  2358. // model.makeValue("/root/send/srchinfo/prcpddstart", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
  2359. // model.makeValue("/root/send/srchinfo/prcpddend", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
  2360. model.makeValue("/root/send/srchinfo/srchflag", "2"); // 퇴원 ==> 복약지도환자관리(SMADC02101.xrw) 구분 변경시 퇴원값 다시 가져와야 함.
  2361. model.makeValue("/root/send/srchinfo/prcpclscd", "A2|A4|A6|D"); // 약주사구분 셋팅
  2362. model.makeValue("/root/send/srchinfo/pid", model.getValue("/root/send/req/pid")); // 환자번호 셋팅
  2363. model.makeValue("/root/send/srchinfo/prtflag", "|3");
  2364. model.makeValue("/root/send/srchinfo/wardcd", ""); // node가 없으면 에러.
  2365. model.makeValue("/root/send/srchinfo/ward", "");
  2366. model.makeValue("/root/send/srchinfo/tmedcnst", ""); // node가 없으면 에러
  2367. submit("TRADC02101");
  2368. if(model.getValue("/root/main/patinfo/patlist/pid") != "" && model.getValue("/root/main/patinfo/patlist/pid") != null) {
  2369. // alert(model.getValue("/root/main/patinfo/patlist/pid"));
  2370. // alert(1);
  2371. model.makeValue("/root/main/patinfo/patlist/difflagcd", "1"); //복약설명서 출력조건[병원자료:1 , DIF한글:2, DIF영문:2]
  2372. open("SMADC02201", "", "", "", "", "/root/main/patinfo/patlist", "/root/temp/srchinfo", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  2373. var consultObj = getOpenWindow("SMADC02201");
  2374. if(consultObj != null){
  2375. modal("SPMNZ00300");
  2376. consultObj.javascript.btn_prt.dispatch("DOMActivate");
  2377. }
  2378. consultObj.close();
  2379. }
  2380. ]]>
  2381. </script>
  2382. </button>
  2383. <caption id="caption51" style="left:1166px; top:745px; width:26px; height:24px; ">[표]</caption>
  2384. <line id="line19" class="line_2" style="x1:0px; y1:414px; x2:1194px; y2:414px; "/>
  2385. <caption id="caption53" class="cell_1" style="left:0px; top:337px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원시 수유형태</caption>
  2386. <select1 id="rdo_dschlactype" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/dschlactype" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:107px; top:340px; width:339px; height:15px; border-style:none; ">
  2387. <choices>
  2388. <item>
  2389. <label>완전 모유수유</label>
  2390. <value>01</value>
  2391. </item>
  2392. <item>
  2393. <label>인공수유</label>
  2394. <value>02</value>
  2395. </item>
  2396. <item>
  2397. <label>혼합수유</label>
  2398. <value>03</value>
  2399. </item>
  2400. <item>
  2401. <label>해당없음</label>
  2402. <value>04</value>
  2403. </item>
  2404. </choices>
  2405. </select1>
  2406. <line id="line20" class="line_2" style="x1:0px; y1:335px; x2:1194px; y2:335px; "/>
  2407. <shape id="rectangle1" appearance="rectangle" style="left:788px; top:38px; width:156px; height:23px; border-color:#008000; "/>
  2408. <button id="button1" class="btn2_letter5" style="left:1049px; top:40px; width:75px; height:19px; ">
  2409. <caption>전자동의서</caption>
  2410. <script type="javascript" ev:event="DOMActivate">
  2411. <![CDATA[
  2412. //fClickPrintBtn(xFormCd, "Y");
  2413. //grp_elecprint.visible = true;
  2414. model.setValue("/root/temp/prtPatient", "N");
  2415. model.setValue("/root/temp/prtOCR", "Y");
  2416. fClickPrintBtn(xFormCd, "Y");
  2417. ]]>
  2418. </script>
  2419. </button>
  2420. <shape id="rectangle2" appearance="rectangle" style="left:948px; top:38px; width:178px; height:23px; border-color:#008000; "/>
  2421. <button id="button3" class="btn2_letter7" style="left:951px; top:40px; width:97px; height:19px; ">
  2422. <caption>환자교육출력물</caption>
  2423. <script type="javascript" ev:event="DOMActivate">
  2424. <![CDATA[
  2425. //fClickPrintBtn(xFormCd, "Y");
  2426. //grp_elecprint.visible = true;
  2427. model.setValue("/root/temp/prtPatient", "Y");
  2428. model.setValue("/root/temp/prtOCR", "N");
  2429. fClickPrintBtn(xFormCd, "Y");
  2430. ]]>
  2431. </script>
  2432. </button>
  2433. <button id="btn_print" class="btn2_letter12" style="left:790px; top:40px; width:152px; height:19px; ">
  2434. <caption>출력(환자교육출력물 포함)</caption>
  2435. <script type="javascript" ev:event="DOMActivate">
  2436. <![CDATA[
  2437. fClickPrintBtn(xFormCd, "N");
  2438. ]]>
  2439. </script>
  2440. </button>
  2441. <textarea id="txa_spcffact" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/spcffact" style="left:108px; top:620px; width:1080px; height:45px; "/>
  2442. </group>
  2443. </xhtml:body>
  2444. </xhtml:html>