SMMNN00400_신생아 간호정보조사.xrw 78 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>본원신생아 간호정보조사</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <wardrecinfo>
  11. <bfrecddtm/>
  12. <bfrecdd/>
  13. <bfrecuser/>
  14. <bfrectm/>
  15. <recdd/>
  16. <rectm/>
  17. <recuser/>
  18. <infooffer/>
  19. <patinfo/>
  20. <signno/>
  21. <room/>
  22. <patnm/>
  23. <sex/>
  24. <age/>
  25. <pid/>
  26. <fstrgstrnm/>
  27. <fstrgstdt/>
  28. </wardrecinfo>
  29. </main>
  30. <send>
  31. <req/>
  32. <patgnrlinfo/>
  33. <wardrecinfo/>
  34. <bodyases/>
  35. </send>
  36. <hidden>
  37. <paminfo/>
  38. <histinfo/>
  39. <bodyases>
  40. <mfmdstatinfo/>
  41. <shpaininfo/>
  42. <resorgninfo/>
  43. <digorgninfo/>
  44. <nvesysinfo/>
  45. <skinsectinfo/>
  46. </bodyases>
  47. <rsltinfo/>
  48. </hidden>
  49. <init>
  50. <mlist>
  51. <M0130>
  52. <cdid/>
  53. <cdnm/>
  54. </M0130>
  55. <M00188>
  56. <cdid/>
  57. <cdnm/>
  58. </M00188>
  59. <M0086>
  60. <cdid/>
  61. <cdnm/>
  62. </M0086>
  63. </mlist>
  64. </init>
  65. <codeinfo/>
  66. <signinfo>
  67. <signno/>
  68. </signinfo>
  69. <hidden1>
  70. <wardrecinfo>
  71. <apgarscoreinfo/>
  72. </wardrecinfo>
  73. </hidden1>
  74. </root>
  75. </instance>
  76. <script type="javascript" ev:event="xforms-ready">
  77. <![CDATA[
  78. fGetCmbList();
  79. fInit();
  80. fGetInitRecInfo();
  81. fInitEvent();
  82. model.refresh();
  83. ]]>
  84. </script>
  85. <script type="javascript">
  86. <![CDATA[
  87. var status = "select";
  88. var NoneInspCode = "-1"; //측정불가코드값
  89. function fGetCmbList() {
  90. model.removeNodeset("/root/init/mlist");
  91. model.makeNode("/root/init/mlist");
  92. //성가병원 기관코드 조회_20090626_SMY
  93. fGetNursHardCdInfo("'077','172'", getCurrentDate()); //CareCom.js
  94. zbcfGetCodeList( new Array ( "M0130" //분만장소코드x
  95. ,"M0086" //분만구분
  96. ,"M0188" //분만형태구분
  97. ,"M0376" //혈액형
  98. ,"M0375" //체온부위
  99. )
  100. , new Array ( "/root/init/mlist" //분만장소코드
  101. ,"/root/init/mlist" //분만구분
  102. ,"/root/init/mlist" //분만형태구분
  103. ,"/root/init/mlist" //혈액형
  104. ,"/root/init/mlist" //체온부위
  105. )
  106. );
  107. model.refresh();
  108. }
  109. function fInitEvent() {
  110. fInitEventInNBabyInfo();
  111. fInitEventBodyAses();
  112. }
  113. function fSetStatus() {
  114. var rtn = "";
  115. if(status == "select") {
  116. rtn = "6";
  117. } else {
  118. rtn = messageBox("데이터를 ", "Q001");
  119. }
  120. return rtn;
  121. }
  122. //화면 로딩시
  123. function fInit(){
  124. model.makeNode("/root/temp/cond/list");
  125. getPatientInfoDetails("/root/temp/cond/list");
  126. //각 화면 상단에 선택된 환자 정보 display 필요함. (병실-성명-S/A-등록번호)
  127. var pid;
  128. var room;
  129. var patnm;
  130. var sex;
  131. var age;
  132. var instcd;
  133. var orddeptcd;
  134. var indd;
  135. var cretno;
  136. room = model.getValue("/root/temp/cond/list/roomcd");
  137. patnm = model.getValue("/root/temp/cond/list/hngnm");
  138. sex = model.getValue("/root/temp/cond/list/sex");
  139. age = model.getValue("/root/temp/cond/list/age");
  140. pid = model.getValue("/root/temp/cond/list/pid");
  141. indd = model.getValue("/root/temp/cond/list/indd");
  142. instcd = model.getValue("/root/temp/cond/list/instcd");
  143. orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
  144. cretno = model.getValue("/root/temp/cond/list/cretno");
  145. ioflag = model.getValue("/root/temp/cond/list/ioflag");
  146. model.makeValue("/root/main/wardrecinfo/room", room);
  147. model.makeValue("/root/main/wardrecinfo/patnm", patnm);
  148. model.makeValue("/root/main/wardrecinfo/sex", sex);
  149. model.makeValue("/root/main/wardrecinfo/age", age);
  150. model.makeValue("/root/main/wardrecinfo/pid", pid);
  151. var scrnid =getScreenID();
  152. var param = "pid▦orddd▦cretno▦ordtype▦scrnid"
  153. +"▩" + pid+"▦" +indd+"▦"+cretno+"▦"+ioflag+"▦"+scrnid+"▩";
  154. fEnrCareComRecInfo_SPMNZ002(param, "/root/main/enrcarecomrecinfo"); //타 간호정보조사지기록 유무확인 model.refresh();
  155. model.refresh();
  156. }
  157. //간호정보조사지 조회
  158. function fGetInitRecInfo() {
  159. var pid = model.getValue("/root/temp/cond/list/pid");
  160. var indd = model.getValue("/root/temp/cond/list/indd");
  161. var cretno = model.getValue("/root/temp/cond/list/cretno");
  162. var instcd = model.getValue("/root/temp/cond/list/instcd");
  163. var orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
  164. var instUseYN = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='172']/cdid");//교육요구도 추가 20091216 김홍점
  165. //웹용 인자값 셋팅
  166. model.makeValue("/root/send/req/pid", pid);
  167. model.makeValue("/root/send/req/indd", indd);
  168. model.makeValue("/root/send/req/instcd", instcd);
  169. model.makeValue("/root/send/req/recflag", "06");
  170. model.makeValue("/root/send/req/docucode", "0000002503");
  171. model.makeValue("/root/send/req/deptcd", orddeptcd);
  172. model.makeValue("/root/send/req/cretno", cretno);
  173. if(pid == "") {
  174. messageBox("환자를 선택하지 ", "E007");
  175. window.close();
  176. } else {
  177. if(instUseYN == "Y"){
  178. btn_edurec.visible = true;
  179. grp_patinfo.attribute("style")="left:310px; top:50px; width:640px; height:20px;" ;
  180. setParameter("SPMRJ00300_pid", pid);
  181. setParameter("SPMRJ00300_orddd", indd);
  182. setParameter("SPMRJ00300_cretno", cretno);
  183. ivw_edurec.src = "../../../emr/jcimngtweb/xrw/SPMRJ00300_교육요구도사정.xrw.xrw";
  184. }else{
  185. grp_patinfo.attribute("style")="left:210px; top:50px; width:640px; height:20px;" ;
  186. btn_edurec.visible = false;
  187. }
  188. submit("TRMNN00401", "false"); //저장후 삭제(K), 신규(I), 수정(U)
  189. //이전 기록이 있을 경우 가장 최근의 정보 자동 셋팅
  190. if(model.getValue("/root/hidden/paminfo/recinfo/recpkspec") != ""){
  191. model.makeValue("/root/main/wardrecinfo/bfrecddtm", model.getValue("/root/hidden/paminfo/recinfo/recpkspec"));
  192. fChgRecHistInfo();
  193. var exeflag = model.getValue("/root/hidden/paminfo/paminfo/exeflag");
  194. if(exeflag == 'U') {
  195. //인증번호set_20090722_SMY
  196. model.makeValue("/root/signinfo/signno", model.getValue("/root/hidden/womminfo/nbabyinfo/signno"));
  197. }
  198. }else{
  199. submit("TRMNN00405");
  200. fSetRecInfo();
  201. var exeflag = model.getValue("/root/hidden/paminfo/paminfo/exeflag");
  202. if(exeflag == 'U') {
  203. //인증번호set_20090722_SMY
  204. model.makeValue("/root/signinfo/signno", model.getValue("/root/hidden/womminfo/nbabyinfo/signno"));
  205. //마지막 기록일시 셋팅
  206. model.makeValue("/root/main/wardrecinfo/bfrecddtm", model.getValue("/root/hidden/womminfo/nbabyinfo[indd = '" + indd + "']/recpkspec"));
  207. model.makeValue("/root/main/wardrecinfo/bfrecuser", model.getValue("/root/hidden/womminfo/nbabyinfo[indd = '" + indd + "']/bfrecuser"));
  208. model.makeValue("/root/main/wardrecinfo/recdd", model.getValue("/root/hidden/womminfo/nbabyinfo/recdd"));
  209. model.makeValue("/root/main/wardrecinfo/rectm", model.getValue("/root/hidden/womminfo/nbabyinfo/rectm"));
  210. model.makeValue("/root/main/wardrecinfo/recuser", model.getValue("/root/hidden/womminfo/nbabyinfo/recuser"));
  211. } else {
  212. //기록일시 정보를 쿼리에서 가져옴
  213. model.makeValue("/root/main/wardrecinfo/recdd", model.getValue("/root/hidden/paminfo/paminfo/recdd"));
  214. model.makeValue("/root/main/wardrecinfo/rectm", model.getValue("/root/hidden/paminfo/paminfo/rectm"));
  215. model.makeValue("/root/main/wardrecinfo/recuser", model.getValue("/root/hidden/paminfo/paminfo/recuser"));
  216. }
  217. //최초기록자
  218. var recpkspec = (model.getValue("/root/main/wardrecinfo/bfrecddtm")).split("|"); //이전기록일시
  219. var indd2 = recpkspec[1]; //이전기록일시 입원일자
  220. var fstrgstdt = model.getValue("/root/hidden/paminfo/recinfo[indd = '" + indd2 + "']/fstrgstdt");
  221. if(model.getValue("/root/main/wardrecinfo/bfrecuser") !="" || model.getValue("/root/main/wardrecinfo/bfrecddtm") !="") {
  222. model.makeValue("/root/main/wardrecinfo/fstrgstdt", fstrgstdt.substr(0,4) + "-" + fstrgstdt.substr(4,2)+"-"+fstrgstdt.substr(6,2)+" "+fstrgstdt.substr(8,2)+":"+fstrgstdt.substr(10,2));
  223. model.makeValue("/root/main/wardrecinfo/fstrgstrnm", model.getValue("/root/hidden/paminfo/recinfo[recflag = '01' and indd = '" + indd2 + "']/fstrgstrnm"));
  224. }
  225. //최초기록자
  226. var fstrgstdt = model.getValue("/root/hidden/paminfo/recinfo/fstrgstdt");
  227. if(model.getValue("/root/main/wardrecinfo/bfrecuser") !="" || model.getValue("/root/main/wardrecinfo/bfrecddtm") !="") {
  228. model.makeValue("/root/main/wardrecinfo/fstrgstdt", fstrgstdt.substr(0,4) + "-" + fstrgstdt.substr(4,2)+"-"+fstrgstdt.substr(6,2)+" "+fstrgstdt.substr(8,2)+":"+fstrgstdt.substr(10,2));
  229. model.makeValue("/root/main/wardrecinfo/fstrgstrnm", model.getValue("/root/hidden/paminfo/recinfo/fstrgstrnm"));
  230. }
  231. }
  232. }
  233. status = "select";
  234. model.refresh();
  235. }
  236. //신생아 간호정보조사지 조회 후 인스턴스 셋팅
  237. function fSetRecInfo(){
  238. var mainPath = "/root/main/wardrecinfo";
  239. var wommPath = "/root/hidden/womminfo/womminfo";
  240. var parentPath = "/root/hidden/womminfo/parentinfo";
  241. var etcbrthPath = "/root/main/wardrecinfo/etcbrthinfo/etcbrth";
  242. var nbabyPath = "/root/hidden/womminfo/nbabyinfo";
  243. //출생아기정보(분만간호기록 연동)
  244. model.makeValue(mainPath + "/pid", model.getValue(wommPath + "/babyno"));
  245. model.makeValue(mainPath + "/nbabynm", model.getValue(wommPath + "/babynm"));
  246. model.makeValue(mainPath + "/sex", model.getValue(wommPath + "/gndr"));
  247. model.makeValue(mainPath + "/weig", model.getValue(wommPath + "/weig"));
  248. model.makeValue(mainPath + "/weigunit", model.getValue(wommPath + "/weigunit"));
  249. model.makeValue(mainPath + "/partrtndd", model.getValue(wommPath + "/bthdt").substr(0, 8));
  250. model.makeValue(mainPath + "/partrtndt", model.getValue(wommPath + "/bthdt").substr(8, 4));
  251. model.makeValue(mainPath + "/infcsickyn", model.getValue(wommPath + "/infcsickyn"));
  252. model.makeValue(mainPath + "/infcsicknm", model.getValue(wommPath + "/infcsicknm"));
  253. model.makeValue(mainPath + "/infcsickspec", model.getValue(wommPath + "/infcsickspec"));
  254. model.makeValue(mainPath + "/prgweekcnt", model.getValue(wommPath + "/prgweekcnt").substr(0,2));
  255. model.makeValue(mainPath + "/prgdaycnt", model.getValue(wommPath + "/prgweekcnt").substr(2,1));
  256. model.makeValue(mainPath + "/dlivkindcd", model.getValue(wommPath + "/dlivkindcd"));
  257. model.makeValue(mainPath + "/dlivflag", model.getValue(wommPath + "/dlivflag"));
  258. model.makeValue(mainPath + "/dlivplcecd", model.getValue(wommPath + "/dlivplcecd"));
  259. model.makeValue(mainPath + "/dlivplceetcspec", model.getValue(wommPath + "/dlivplceetcspec"));
  260. model.makeValue(mainPath + "/apgarscore1", model.getValue(wommPath + "/apgarscore1"));
  261. model.makeValue(mainPath + "/apgarscore5", model.getValue(wommPath + "/apgarscore5"));
  262. model.makeValue(mainPath + "/apgarscoreinfo/scorelist[6]/minute1", model.getValue(wommPath + "/apgarscore1")+"점");
  263. model.makeValue(mainPath + "/apgarscoreinfo/scorelist[6]/minute5", model.getValue(wommPath + "/apgarscore5")+"점");
  264. if(model.getValue("/root/hidden1/wardrecinfo/apgarscoreinfo/scorelist/scoreitem") != "") {
  265. model.copyNode(mainPath + "/apgarscoreinfo", "/root/hidden1/wardrecinfo/apgarscoreinfo");
  266. }
  267. for(var i=1; i <= getNodesetCount(wommPath + "/apgarscorespec/main/scorelists/scorelist"); i++) {
  268. var minute1 = model.getValue(wommPath + "/apgarscorespec/main/scorelists/scorelist[" + i + "]/minute1");
  269. var minute5 = model.getValue(wommPath + "/apgarscorespec/main/scorelists/scorelist[" + i + "]/minute5");
  270. var scoreitem = model.getValue(wommPath + "/apgarscorespec/main/scorelists/scorelist[" + i + "]/scoreitem");
  271. if(minute1 == "true"){
  272. model.setValue(mainPath + "/apgarscoreinfo/scorelist[scoreitem='" + scoreitem + "']/minute1", model.getValue(wommPath + "/apgarscorespec/main/scorelists/scorelist[" + i + "]/score"));
  273. }
  274. if(minute5 == "true"){
  275. model.setValue(mainPath + "/apgarscoreinfo/scorelist[scoreitem='" + scoreitem + "']/minute5", model.getValue(wommPath + "/apgarscorespec/main/scorelists/scorelist[" + i + "]/score"));
  276. }
  277. }
  278. model.makeValue(etcbrthPath + "/promyn", model.getValue(wommPath + "/promyn"));
  279. model.makeValue(etcbrthPath + "/promdd", model.getValue(wommPath + "/promdt").substr(0,8));
  280. model.makeValue(etcbrthPath + "/promtm", model.getValue(wommPath + "/promdt").substr(8,4));
  281. model.makeValue(etcbrthPath + "/fstlctyn", model.getValue(wommPath + "/fstlctyn"));
  282. model.makeValue(etcbrthPath + "/lctrejtresnspec", model.getValue(wommPath + "/lctrejtresnspec"));
  283. model.makeValue(etcbrthPath + "/dlivpredrugspec", model.getValue(wommPath + "/dlivpredrugspec"));
  284. model.makeValue(etcbrthPath + "/lctdd", model.getValue(wommPath + "/lctdd"));
  285. model.makeValue(etcbrthPath + "/lcttm", model.getValue(wommPath + "/lcttm"));
  286. model.makeValue(etcbrthPath + "/antibiodrugyn", model.getValue(wommPath + "/antibiodrugyn"));
  287. model.makeValue(etcbrthPath + "/urinecd", model.getValue(wommPath + "/urinecd"));
  288. model.makeValue(etcbrthPath + "/urinespec", model.getValue(wommPath + "/urinespec"));
  289. model.makeValue(etcbrthPath + "/stoolcd", model.getValue(wommPath + "/stoolcd"));
  290. model.makeValue(etcbrthPath + "/mecnmcolrayn", model.getValue(wommPath + "/mecnmcolrayn"));
  291. model.makeValue(etcbrthPath + "/mecnmcolracd", model.getValue(wommPath + "/mecnmcolracd"));
  292. model.makeValue(etcbrthPath + "/nuchalcordcd", model.getValue(wommPath + "/nuchalcordcd"));
  293. model.makeValue(etcbrthPath + "/nuchalcordpart", model.getValue(wommPath + "/nuchalcordpart"));
  294. model.makeValue(etcbrthPath + "/nuchalcordspec", model.getValue(wommPath + "/nuchalcordspec"));
  295. model.makeValue(etcbrthPath + "/nuchalcordtime", model.getValue(wommPath + "/nuchalcordtime"));
  296. model.makeValue(etcbrthPath + "/trueknotyn", model.getValue(wommPath + "/trueknotyn"));
  297. model.makeValue(etcbrthPath + "/trueknotspec", model.getValue(wommPath + "/trueknotspec"));
  298. model.makeValue(etcbrthPath + "/guiddlivyn", model.getValue(wommPath + "/guiddlivyn"));
  299. model.makeValue(etcbrthPath + "/oxygenabsopcd", model.getValue(wommPath + "/oxygenabsopcd"));
  300. model.makeValue(etcbrthPath + "/oxygenabsopspec", model.getValue(wommPath + "/oxygenabsopspec"));
  301. model.makeValue(etcbrthPath + "/cardresusyn", model.getValue(wommPath + "/cardresusyn"));
  302. model.makeValue(etcbrthPath + "/cardresuscd", model.getValue(wommPath + "/cardresuscd"));
  303. model.makeValue(etcbrthPath + "/cardresusspec", model.getValue(wommPath + "/cardresusspec"));
  304. model.makeValue(etcbrthPath + "/remk", model.getValue(wommPath + "/remk"));
  305. //산모정보(산모간호정보조사지 연동)
  306. model.makeValue(mainPath + "/mthernm", model.getValue(parentPath +"/mthernm"));
  307. model.makeValue(mainPath + "/mtherage", model.getValue(parentPath +"/mtherage"));
  308. model.makeValue(mainPath + "/mtherbtype", model.getValue(parentPath +"/mtherbtype"));
  309. model.makeValue(mainPath + "/mtherbrh", model.getValue(parentPath +"/mtherbrh"));
  310. model.makeValue(mainPath + "/mthertel", model.getValue(parentPath +"/mthertel"));
  311. model.makeValue(mainPath + "/mtherpid", model.getValue(parentPath +"/mtherpid"));
  312. model.makeValue(mainPath + "/mtherindd", model.getValue(parentPath +"/mtherindd"));
  313. model.makeValue(mainPath + "/fthernm", model.getValue(parentPath +"/fthernm"));
  314. model.makeValue(mainPath + "/ftherage", model.getValue(parentPath +"/ftherage"));
  315. model.makeValue(mainPath + "/ftherbtype", model.getValue(parentPath +"/ftherbtype"));
  316. model.makeValue(mainPath + "/ftherbrh", model.getValue(parentPath +"/ftherbrh"));
  317. model.makeValue(mainPath + "/fthertel", model.getValue(parentPath +"/fthertel"));
  318. model.makeValue(mainPath + "/ftherinfcinfoyn", model.getValue(parentPath +"/ftherinfcinfoyn"));
  319. model.makeValue(mainPath + "/ftherinfcinfo", model.getValue(parentPath +"/ftherinfcinfo"));
  320. model.makeValue(mainPath + "/ftherinfcinfonm", model.getValue(parentPath +"/ftherinfcinfonm"));
  321. model.makeValue(mainPath + "/parityg", model.getValue(parentPath +"/parityg"));
  322. model.makeValue(mainPath + "/parityp", model.getValue(parentPath +"/parityp"));
  323. model.makeValue(mainPath + "/paritya", model.getValue(parentPath +"/paritya"));
  324. model.makeValue(mainPath + "/paritysa", model.getValue(parentPath +"/paritysa"));
  325. model.makeValue(mainPath + "/parityaa", model.getValue(parentPath +"/parityaa"));
  326. model.makeValue(mainPath + "/parityl", model.getValue(parentPath +"/parityl"));
  327. model.makeValue(mainPath + "/basebdinfoinclyn", model.getValue(nbabyPath +"/basebdinfoinclyn"));
  328. model.makeValue(mainPath + "/lowbp", model.getValue(nbabyPath +"/lowbp"));
  329. model.makeValue(mainPath + "/highbp", model.getValue(nbabyPath +"/highbp"));
  330. model.makeValue(mainPath + "/pulse", model.getValue(nbabyPath +"/pulse"));
  331. model.makeValue(mainPath + "/breth", model.getValue(nbabyPath +"/breth"));
  332. model.makeValue(mainPath + "/bdtp", model.getValue(nbabyPath +"/bdtp"));
  333. model.makeValue(mainPath + "/bdwt", model.getValue(nbabyPath +"/bdwt"));
  334. model.makeValue(mainPath + "/bdtppartcd", model.getValue(nbabyPath +"/bdtppartcd"));
  335. model.makeValue(mainPath + "/bdht", model.getValue(nbabyPath +"/bdht"));
  336. model.makeValue(mainPath + "/headgirth", model.getValue(nbabyPath +"/headgirth"));
  337. model.makeValue(mainPath + "/chestgirth", model.getValue(nbabyPath +"/chestgirth"));
  338. model.makeValue(mainPath + "/gesage", model.getValue(nbabyPath +"/gesage"));
  339. model.makeValue(mainPath + "/bfrecuser", model.getValue(nbabyPath +"/bfrecuser"));
  340. model.makeValue(mainPath + "/bfrecdd", model.getValue(nbabyPath +"/bfrecdd"));
  341. model.makeValue(mainPath + "/bfrectm", model.getValue(nbabyPath +"/bfrectm"));
  342. model.makeValue(mainPath + "/infooffer", model.getValue(nbabyPath + "/infooffer"));
  343. model.makeValue(mainPath + "/signno", model.getValue(nbabyPath + "/signno"));
  344. //일반XML
  345. copyNodeType(mainPath + "/spcffact", nbabyPath + "/spcffact");
  346. copyNodeType(mainPath + "/initcareinfo", nbabyPath + "/initcareinfo");
  347. copyNodeType(mainPath + "/inrminfo", nbabyPath + "/inrminfo");
  348. copyNodeType(mainPath + "/hptsvacninfo", nbabyPath + "/hptsvacninfo");
  349. var exeflag = model.getValue("/root/hidden/womminfo/nbabyinfo/exeflag");
  350. if(exeflag == "U") {
  351. //신체사정
  352. model.copyNode(mainPath + "/actcryinfo", nbabyPath + "/actcryinfo");
  353. model.copyNode(mainPath + "/resorgninfo", nbabyPath + "/resorgninfo");
  354. model.copyNode(mainPath + "/cirorgninfo", nbabyPath + "/cirorgninfo");
  355. model.copyNode(mainPath + "/skinsectinfo", nbabyPath + "/skinsectinfo");
  356. model.copyNode(mainPath + "/faceinfo", nbabyPath + "/faceinfo");
  357. model.copyNode(mainPath + "/eyeinfo", nbabyPath + "/eyeinfo");
  358. model.copyNode(mainPath + "/urintorgninfo", nbabyPath + "/urintorgninfo");
  359. model.copyNode(mainPath + "/dembztinfo", nbabyPath + "/dembztinfo");
  360. model.copyNode(mainPath + "/extrminfo", nbabyPath + "/extrminfo");
  361. model.copyNode(mainPath + "/headinfo", nbabyPath + "/headinfo");
  362. model.copyNode(mainPath + "/rflxinfo", nbabyPath + "/rflxinfo");
  363. model.copyNode(mainPath + "/tensioninfo", nbabyPath + "/tensioninfo");
  364. model.copyNode(mainPath + "/emotstatinfo", nbabyPath + "/emotstatinfo");
  365. model.copyNode(mainPath + "/etcmfmdtrma", nbabyPath + "/etcmfmdtrma");
  366. }
  367. //가계도 연동부분.
  368. var existfamyinfo = model.getValue(nbabyPath + "/existfamyinfo");
  369. if(existfamyinfo == "Y") {
  370. model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  371. opt_existyn.refresh();
  372. }
  373. setParameter("SPMMR04711_shape", fGetXmlToStr(nbabyPath + "/genogrmnm/XMD"));
  374. }
  375. function fGetXmlToStr(xPath) {
  376. var str = instance1.selectNodesXml(xPath);
  377. return str;
  378. }
  379. function fPatgnrlInfo(certFlag) {
  380. var sendPath = "/root/send/wardrecinfo";
  381. var mainPath = "/root/main/wardrecinfo";
  382. var userid = getUserId();
  383. //model.removeNodeset("/root/send/wardinfo");
  384. //신생아 일반정보
  385. model.makeValue(sendPath + "/basebdinfoinclyn", model.getValue(mainPath +"/basebdinfoinclyn"));
  386. /*
  387. model.makeValue(sendPath + "/lowbp", model.getValue(mainPath +"/lowbp"));
  388. model.makeValue(sendPath + "/highbp", model.getValue(mainPath +"/highbp"));
  389. model.makeValue(sendPath + "/pulse", model.getValue(mainPath +"/pulse"));
  390. model.makeValue(sendPath + "/breth", model.getValue(mainPath +"/breth"));
  391. model.makeValue(sendPath + "/bdtp", model.getValue(mainPath +"/bdtp"));
  392. model.makeValue(sendPath + "/bdtppartcd", model.getValue(mainPath +"/bdtppartcd"));
  393. model.makeValue(sendPath + "/bdht", model.getValue(mainPath +"/bdht"));
  394. model.makeValue(sendPath + "/bdwt", model.getValue(mainPath +"/bdwt"));
  395. model.makeValue(sendPath + "/headgirth", model.getValue(mainPath +"/headgirth"));
  396. model.makeValue(sendPath + "/chestgirth", model.getValue(mainPath +"/chestgirth"));
  397. */
  398. //신체정보 측정불가체크시 측정불가코드값 저장로직 추가_20090310_SMY
  399. //혈압
  400. if(model.getValue("/root/main/wardrecinfo/bpinspyn") == "Y"){
  401. model.makeValue(sendPath + "/lowbp", NoneInspCode);
  402. model.makeValue(sendPath + "/highbp", NoneInspCode);
  403. }else{
  404. model.makeValue(sendPath + "/lowbp", model.getValue(mainPath + "/lowbp"));
  405. model.makeValue(sendPath + "/highbp", model.getValue(mainPath + "/highbp"));
  406. }
  407. //맥박
  408. if(model.getValue("/root/main/wardrecinfo/pulseinspyn") == "Y"){
  409. model.makeValue(sendPath + "/pulse", NoneInspCode);
  410. }else{
  411. model.makeValue(sendPath + "/pulse", model.getValue(mainPath + "/pulse"));
  412. }
  413. //호흡
  414. if(model.getValue("/root/main/wardrecinfo/brethinspyn") == "Y"){
  415. model.makeValue(sendPath + "/breth", NoneInspCode);
  416. }else{
  417. model.makeValue(sendPath + "/breth", model.getValue(mainPath + "/breth"));
  418. }
  419. //체온
  420. if(model.getValue("/root/main/wardrecinfo/bdtpinspyn") == "Y"){
  421. model.makeValue(sendPath + "/bdtp", NoneInspCode);
  422. model.makeValue(sendPath + "/bdtppartcd", NoneInspCode);
  423. }else{
  424. model.makeValue(sendPath + "/bdtp", model.getValue(mainPath + "/bdtp"));
  425. model.makeValue(sendPath + "/bdtppartcd", model.getValue(mainPath + "/bdtppartcd"));
  426. }
  427. //신장
  428. if(model.getValue("/root/main/wardrecinfo/bdhtinspyn") == "Y"){
  429. model.makeValue(sendPath + "/bdht", NoneInspCode);
  430. }else{
  431. model.makeValue(sendPath + "/bdht", model.getValue(mainPath + "/bdht"));
  432. }
  433. //체중
  434. if(model.getValue("/root/main/wardrecinfo/bdwtinspyn") == "Y"){
  435. model.makeValue(sendPath + "/bdwt", NoneInspCode);
  436. }else{
  437. model.makeValue(sendPath + "/bdwt", model.getValue(mainPath + "/bdwt"));
  438. }
  439. //머리둘레
  440. if(model.getValue("/root/main/wardrecinfo/headgirthinspyn") == "Y"){
  441. model.makeValue(sendPath + "/headgirth", NoneInspCode);
  442. }else{
  443. model.makeValue(sendPath + "/headgirth", model.getValue(mainPath + "/headgirth"));
  444. }
  445. //가슴둘레
  446. if(model.getValue("/root/main/wardrecinfo/chestgirthinspyn") == "Y"){
  447. model.makeValue(sendPath + "/chestgirth", NoneInspCode);
  448. }else{
  449. model.makeValue(sendPath + "/chestgirth", model.getValue(mainPath + "/chestgirth"));
  450. }
  451. //일반정보 XML
  452. model.makeValue(sendPath + "/famytree", fGetXmlToStr(mainPath +"/famytree/existyn"));
  453. model.makeValue(sendPath + "/inrminfo", fGetXmlToStr(mainPath +"/inrminfo/inrm"));
  454. model.makeValue(sendPath + "/initcareinfo", fGetXmlToStr(mainPath +"/initcareinfo/initcare"));
  455. model.makeValue(sendPath + "/hptsvacninfo", fGetXmlToStr(mainPath +"/hptsvacninfo/hptsvacn"));
  456. model.makeValue(sendPath + "/spcffact", fGetXmlToStr(mainPath +"/spcffact/spcf"));
  457. //신체사정
  458. model.makeValue(sendPath + "/actcryinfo", fGetXmlToStr(mainPath +"/actcryinfo/actcry"));
  459. model.makeValue(sendPath + "/resorgninfo", fGetXmlToStr(mainPath +"/resorgninfo/resorgn"));
  460. model.makeValue(sendPath + "/cirorgninfo", fGetXmlToStr(mainPath +"/cirorgninfo/cirorgn"));
  461. model.makeValue(sendPath + "/skinsectinfo", fGetXmlToStr(mainPath +"/skinsectinfo/skinsect"));
  462. model.makeValue(sendPath + "/faceinfo", fGetXmlToStr(mainPath +"/faceinfo/face"));
  463. model.makeValue(sendPath + "/eyeinfo", fGetXmlToStr(mainPath +"/eyeinfo/eye"));
  464. model.makeValue(sendPath + "/urintorgninfo",fGetXmlToStr(mainPath +"/urintorgninfo/urintorgn"));
  465. model.makeValue(sendPath + "/dembztinfo", fGetXmlToStr(mainPath +"/dembztinfo/dembzt"));
  466. model.makeValue(sendPath + "/extrminfo", fGetXmlToStr(mainPath +"/extrminfo/extrm"));
  467. model.makeValue(sendPath + "/headinfo", fGetXmlToStr(mainPath +"/headinfo/head"));
  468. model.makeValue(sendPath + "/rflxinfo", fGetXmlToStr(mainPath +"/rflxinfo/rflx"));
  469. model.makeValue(sendPath + "/tensioninfo", fGetXmlToStr(mainPath +"/tensioninfo/tension"));
  470. model.makeValue(sendPath + "/emotstatinfo", fGetXmlToStr(mainPath +"/emotstatinfo/emotstat"));
  471. model.makeValue(sendPath + "/etcmfmdtrma", fGetXmlToStr(mainPath +"/etcmfmdtrma/etcmfmdtrma"));
  472. //인자값
  473. model.makeValue(sendPath + "/pid", model.getValue("/root/temp/cond/list/pid"));
  474. model.makeValue(sendPath + "/indd", model.getValue("/root/temp/cond/list/indd"));
  475. model.makeValue(sendPath + "/instcd", model.getValue("/root/temp/cond/list/instcd"));
  476. model.makeValue(sendPath + "/deptcd", model.getValue("/root/temp/cond/list/orddeptcd"));
  477. model.makeValue(sendPath + "/docucode", "0000002503");
  478. model.makeValue(sendPath + "/recflag", "06");
  479. model.makeValue(sendPath + "/userid", userid);
  480. //수행구분(I, U에 따른 입력, 수정을위한 구분)
  481. //model.makeValue(sendPath + "/exeflag", model.getValue("/root/hidden/womminfo/nbabyinfo/exeflag"));
  482. model.makeValue(sendPath + "/exeflag", model.getValue("/root/hidden/paminfo/paminfo/exeflag")); //20090722_SMY수정
  483. model.makeValue("/root/send/wardrecinfo/infooffer", model.getValue("/root/main/wardrecinfo/infooffer"));
  484. if(model.getValue("/root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") == "") {
  485. model.makeValue("/root/send/wardrecinfo/genogrmnm", "");
  486. } else {
  487. model.makeValue("/root/send/wardrecinfo/genogrmnm", model.getValue("/root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  488. }
  489. model.makeValue("/root/send/wardrecinfo/certflag", certFlag);
  490. model.makeValue("/root/send/wardrecinfo/recdd", model.getValue("/root/main/wardrecinfo/recdd"));
  491. model.makeValue("/root/send/wardrecinfo/rectm", model.getValue("/root/main/wardrecinfo/rectm"));
  492. model.makeValue("/root/send/wardrecinfo/recdt", model.getValue("/root/main/wardrecinfo/recdd") + model.getValue("/root/main/wardrecinfo/rectm"));
  493. }
  494. function fSetSignData() {
  495. var xWardRecPath = Sign.XPATH_SIGNINFO + "/wardrecinfo";
  496. var xHistPath = Sign.XPATH_SIGNINFO + "/histinfo";
  497. var str;
  498. var arr = new Array();
  499. /****************************** 신생아기본정보 **************************************/
  500. //성별
  501. var sex = model.getValue(xWardRecPath +"/sex");
  502. if(sex != "") {
  503. model.setValue(xWardRecPath +"/sex", cmb_sex.label);
  504. }
  505. //출생시체중단위
  506. var weigunit = model.getValue(xWardRecPath +"/weigunit");
  507. if(weigunit != "") {
  508. model.setValue(xWardRecPath +"/weigunit", cmb_weigunit.label);
  509. }
  510. /****************************** 가족사항 **************************************/
  511. //엄마혈액형
  512. var mtherbtype = model.getValue(xWardRecPath +"/mtherbtype");
  513. if(mtherbtype != "") {
  514. model.setValue(xWardRecPath +"/mtherbtype", cmb_mtherbtype.label);
  515. }
  516. //아빠혈액형
  517. var ftherbtype = model.getValue(xWardRecPath +"/ftherbtype");
  518. if(ftherbtype != "") {
  519. model.setValue(xWardRecPath +"/ftherbtype", cmb_ftherbtype.label);
  520. }
  521. //아빠감염정보
  522. var ftherinfcinfoyn = model.getValue(xWardRecPath +"/ftherinfcinfoyn");
  523. var ftherinfcinfo = model.getValue(xWardRecPath +"/ftherinfcinfo");
  524. var ftherinfcinfonm = model.getValue(xWardRecPath +"/ftherinfcinfonm");
  525. str = rdo_ftherinfcinfoyn.label;
  526. arr = "";
  527. if(ftherinfcinfoyn != "") {
  528. if(ftherinfcinfoyn == "2") { //유
  529. if(ftherinfcinfo != "") {
  530. for(var i = 1; i<= chk_ftherinfcinfo.length; i++){
  531. var ftherinfo = isSearchString(ftherinfcinfo, i);
  532. if(ftherinfo == true) {
  533. if(arr == ""){
  534. arr += chk_ftherinfcinfo.item(i-1).label;
  535. }else{
  536. arr += ", " + chk_ftherinfcinfo.item(i-1).label;
  537. }
  538. }
  539. }
  540. if(ftherinfcinfonm != "") {
  541. arr += "(" + ftherinfcinfonm + ")";
  542. }
  543. str += "(" + arr + ")";
  544. }
  545. }
  546. model.setValue(xWardRecPath + "/ftherinfcinfoyn", str);
  547. }
  548. /****************************** 초기간호 **************************************/
  549. //제대간호
  550. var dembztcareyn = model.getValue(xWardRecPath +"/initcareinfo/initcare/dembztcareyn");
  551. var dembztcarecnts = model.getValue(xWardRecPath +"/initcareinfo/initcare/dembztcarecnts");
  552. str = rdo_dembztcareyn.label;
  553. if(dembztcareyn != "") {
  554. if(dembztcareyn == "2") {
  555. if(dembztcarecnts != "") {
  556. str += "(" + dembztcarecnts +")";
  557. }
  558. }
  559. model.setValue(xWardRecPath +"/initcareinfo/initcare/dembztcareyn", str);
  560. }
  561. //산소투여
  562. var oxydrugyn = model.getValue(xWardRecPath +"/initcareinfo/initcare/oxydrugyn");
  563. var oxydrugcnts = model.getValue(xWardRecPath +"/initcareinfo/initcare/oxydrugcnts");
  564. str = rdo_oxydrugyn.label;
  565. if(oxydrugyn != "") {
  566. if(oxydrugyn == "2") {
  567. if(oxydrugcnts != "") {
  568. str += "(" + oxydrugcnts +")";
  569. }
  570. }
  571. model.setValue(xWardRecPath +"/initcareinfo/initcare/oxydrugyn", str);
  572. }
  573. //vitamin k1
  574. var vitaminyn = model.getValue(xWardRecPath +"/initcareinfo/initcare/vitaminyn");
  575. var vitamincnts = model.getValue(xWardRecPath +"/initcareinfo/initcare/vitamincnts");
  576. str = rdo_vitaminyn.label;
  577. if(vitaminyn != "") {
  578. if(vitaminyn == "2") {
  579. if(vitamincnts != "") {
  580. str += "(" + vitamincnts +")";
  581. }
  582. }
  583. model.setValue(xWardRecPath +"/initcareinfo/initcare/vitaminyn", str);
  584. }
  585. //눈간호
  586. var eyecareyn = model.getValue(xWardRecPath +"/initcareinfo/initcare/eyecareyn");
  587. var eyecarecnts = model.getValue(xWardRecPath +"/initcareinfo/initcare/eyecarecnts");
  588. str = rdo_eyecareyn.label;
  589. if(eyecareyn != "") {
  590. if(eyecareyn == "2") {
  591. if(eyecarecnts != "") {
  592. str += "(" + eyecarecnts +")";
  593. }
  594. }
  595. model.setValue(xWardRecPath +"/initcareinfo/initcare/eyecareyn", str);
  596. }
  597. //흡인/배액
  598. var suctdrgeyn = model.getValue(xWardRecPath +"/initcareinfo/initcare/suctdrgeyn");
  599. if(suctdrgeyn != "") {
  600. model.setValue(xWardRecPath +"/initcareinfo/initcare/suctdrgeyn", rdo_suctdrgeyn.label);
  601. }
  602. //양
  603. var suctdrgevol = model.getValue(xWardRecPath +"/initcareinfo/initcare/suctdrgevol");
  604. if(suctdrgevol != "") {
  605. model.setValue(xWardRecPath +"/initcareinfo/initcare/suctdrgevol", cmb_suctdrgevol.label);
  606. }
  607. //양상
  608. var suctdrgemodal = model.getValue(xWardRecPath +"/initcareinfo/initcare/suctdrgemodal");
  609. if(suctdrgemodal != "") {
  610. model.setValue(xWardRecPath +"/initcareinfo/initcare/suctdrgemodal", cmb_suctdrgemodal.label);
  611. }
  612. //색
  613. var suctdrgecolor = model.getValue(xWardRecPath +"/initcareinfo/initcare/suctdrgecolor");
  614. if(suctdrgecolor != "") {
  615. model.setValue(xWardRecPath +"/initcareinfo/initcare/suctdrgecolor", cmb_suctdrgecolor.label);
  616. }
  617. /****************************** 입실정보 **************************************/
  618. //입실형태
  619. var inrmtype = model.getValue(xWardRecPath +"/inrminfo/inrm/inrmtype");
  620. var inrmtypenm = model.getValue(xWardRecPath +"/inrminfo/inrm/inrmtypenm");
  621. str = cmb_inrmtype.label;
  622. if(inrmtype != "") {
  623. if(inrmtype == "03") {
  624. if(inrmtypenm != "") {
  625. str += "(" + inrmtypenm +")";
  626. }
  627. }
  628. model.setValue(xWardRecPath +"/inrminfo/inrm/inrmtype", str);
  629. }
  630. //동반자
  631. var inacompst = model.getValue(xWardRecPath +"/inrminfo/inrm/inacompst");
  632. var inacompstnm = model.getValue(xWardRecPath +"/inrminfo/inrm/inacompstnm");
  633. str = cmb_inacompst.label;
  634. if(inacompst != "") {
  635. if(inacompst == "03") {
  636. if(inacompstnm != "") {
  637. str += "(" + inacompstnm +")";
  638. }
  639. }
  640. model.setValue(xWardRecPath +"/inrminfo/inrm/inacompst", str);
  641. }
  642. /****************************** 기본 신체정보 **************************************/
  643. //체온
  644. var bdtppartcd = model.getValue(xWardRecPath +"/bdtppartcd");
  645. if(bdtppartcd != "") {
  646. model.setValue(xWardRecPath +"/bdtppartcd", cmb_bdtp.label);
  647. }
  648. /****************************** 간염예방접종 **************************************/
  649. //간염예방접종여부
  650. var hptsvacnyn = model.getValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacnyn");
  651. if(hptsvacnyn != "") {
  652. model.setValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacnyn", rdo_hptsvacnyn.label);
  653. }
  654. //차수
  655. var hptsvacntim = model.getValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacntim");
  656. if(hptsvacntim != "") {
  657. model.setValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacntim", cmb_hptsvacntim.label);
  658. }
  659. //접종부위
  660. var hptsvacninocpart = model.getValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacninocpart");
  661. if(hptsvacninocpart != "") {
  662. model.setValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacninocpart", cmb_hptsvacninocpart.label);
  663. }
  664. /****************************** 감염성질환 **************************************/
  665. //감염성질환
  666. var infcsicknm = model.getValue(xWardRecPath +"/infcsicknm");
  667. var infcsickspec = model.getValue(xWardRecPath +"/infcsickspec");
  668. var arr = chk_infcsicknm.label.split(",");
  669. if(infcsicknm != "") {
  670. if(infcsickspec != "") {
  671. arr += "(" + infcsicknm +")";
  672. }
  673. model.setValue(xWardRecPath +"/infcsicknm", arr);
  674. }
  675. /****************************** B형간염 면역글로블린 **************************************/
  676. //간염예방접종여부
  677. var hptsvacnyn2 = model.getValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacnyn2");
  678. if(hptsvacnyn2 != "") {
  679. model.setValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacnyn2", rdo_hptsvacnyn2.label);
  680. }
  681. //접종부위
  682. var hptsvacninocpart2 = model.getValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacninocpart2");
  683. if(hptsvacninocpart2 != "") {
  684. model.setValue(xWardRecPath +"/hptsvacninfo/hptsvacn/hptsvacninocpart2", cmb_hptsvacninocpart2.label);
  685. }
  686. /****************************** 신생아출생정보 **************************************/
  687. //분만형태
  688. var dlivkindcd = model.getValue(xWardRecPath +"/dlivkindcd");
  689. var dlivflag = model.getValue(xWardRecPath +"/dlivflag");
  690. str = cmb_dlivkindcd.label;
  691. if(dlivkindcd != "") {
  692. if(dlivflag != "") {
  693. str += "(" + cmb_partrtntype.label + ")";
  694. }
  695. model.setValue(xWardRecPath +"/dlivkindcd", str);
  696. }
  697. //분만장소
  698. var dlivplcecd = model.getValue(xWardRecPath +"/dlivplcecd");
  699. var dlivflag = model.getValue(xWardRecPath +"/dlivflag");
  700. str = cmb_dilvplcecd.label;
  701. if(dlivplcecd != "") {
  702. if(dlivplcecd == "E") {
  703. str += "(" + dlivplcecd + ")";
  704. }
  705. model.setValue(xWardRecPath +"/dlivplcecd", str);
  706. }
  707. //첫 모유수유시간
  708. var fstlctyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/fstlctyn");
  709. var lctrejtresnspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/lctrejtresnspec");
  710. var dlivpredrugspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/dlivpredrugspec");
  711. var lctdd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/lctdd");
  712. var lcttm = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/lcttm");
  713. str = rdo_fstlctyn.label;
  714. if(fstlctyn != "") {
  715. if(fstlctyn == "N") { //무
  716. if(lctrejtresnspec != ""){
  717. if(dlivpredrugspec != ""){
  718. str += "(" + cmb_lctrejtresnspec.label + "(" + dlivpredrugspec + "))";
  719. }else{
  720. str += "(" + cmb_lctrejtresnspec.label + ")";
  721. }
  722. }
  723. }else{ //유
  724. if(lctdd != ""){
  725. if(lctdd != "" && lcttm != "") {
  726. str += "(" + lctdd.substr(0,4) + "-" + lctdd.substr(4,2) + "-" + lctdd.substr(6,2) + " " + lcttm.substr(0,2) + ":" + lcttm.substr(2, 2) + ")";
  727. } else if( lctdd != "" && lcttm == "") {
  728. str += "(" + lctdd.substr(0,4) + "-" + lctdd.substr(4,2) + "-" + lctdd.substr(6,2) + ")";
  729. } else if( lctdd == "" && lcttm != "") {
  730. str += "(" + lcttm.substr(0,2) + ":" + lcttm.substr(2, 2) + ")"
  731. }
  732. }
  733. }
  734. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/fstlctyn", str);
  735. }
  736. //PROM
  737. var promyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/promyn");
  738. var promdd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/promdd");
  739. var promtm = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/promtm");
  740. str = rdo_promyn.label;
  741. if(promyn != "") {
  742. if(promyn == "Y") {
  743. if(promdd != "" && promtm != "") {
  744. str += "(" + promdd.substr(0,4) + "-" + promdd.substr(4,2) + "-" + promdd.substr(6,2) + " " + promtm.substr(0,2) + ":" + promtm.substr(2, 2) + ")";
  745. } else if( promdd != "" && promtm == "") {
  746. str += "(" + promdd.substr(0,4) + "-" + promdd.substr(4,2) + "-" + promdd.substr(6,2) + ")";
  747. } else if( promdd == "" && promtm != "") {
  748. str += "(" + promtm.substr(0,2) + ":" + promtm.substr(2, 2) + ")"
  749. }
  750. }
  751. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/promyn", str);
  752. }
  753. //항생제투여여부
  754. var antibiodrugyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/antibiodrugyn");
  755. if(antibiodrugyn != "") {
  756. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/antibiodrugyn", rdo_antibiodrugyn.label);
  757. }
  758. //urine
  759. var urinecd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/urinecd");
  760. var urinespec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/urinespec");
  761. str = rdo_urinecd.label;
  762. if(urinecd != "") {
  763. if(urinecd == "Y") {
  764. if(urinespec != "") {
  765. str += "(" + urinespec + ")";
  766. }
  767. }
  768. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/urinecd", str);
  769. }
  770. //Stool
  771. var stoolcd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/stoolcd");
  772. var stool = model.getValue(xWardRecPath +"etcbrthinfo/etcbrth/stool");
  773. str = rdo_stoolyn.label;
  774. if(stoolcd != "") {
  775. if(stoolcd == "Y") {
  776. if(stool != "") {
  777. str += "(" + stool + ")";
  778. }
  779. }
  780. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/stoolcd", str);
  781. }
  782. //태변착색
  783. var mecnmcolrayn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/mecnmcolrayn");
  784. var mecnmcolracd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/mecnmcolracd");
  785. str = rdo_mecstainyn.label;
  786. if(mecnmcolrayn != "") {
  787. if(mecnmcolrayn == "Y") {
  788. if(mecnmcolracd != "") {
  789. str += "(" + cmb_mecstain.label + ")";
  790. }
  791. }
  792. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/mecnmcolrayn", str);
  793. }
  794. //nuchal cord
  795. var nuchalcordyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/nuchalcordcd");
  796. var nuchalcordpart = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/nuchalcordpart");
  797. var nuchalcordtime = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/nuchalcordtime");
  798. var nuchalcordspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/nuchalcordspec");
  799. str = rdo_nuchalcordyn.label;
  800. if(nuchalcordyn != "") {
  801. if(nuchalcordyn == "Y") {
  802. if(nuchalcordpart != "" && nuchalcordtime != "") {
  803. if(nuchalcordpart == "5") {
  804. if(nuchalcordspec != "") {
  805. str += "( 부위: " + cmb_nuchalcordpart.label + "(" + nuchalcordspec + "), " + "횟수: " + cmb_nuchalcordtime.label + ")";
  806. } else {
  807. str += "( 부위: " + cmb_nuchalcordpart.label + ", " + "횟수: " + cmb_nuchalcordtime.label + ")";
  808. }
  809. }
  810. } else if(nuchalcordpart != "" && nuchalcordtime == "") {
  811. if(nuchalcordpart == "5") {
  812. if(nuchalcordspec != "") {
  813. str += "( 부위: " + cmb_nuchalcordpart.label + "(" + nuchalcordspec + "))";
  814. } else {
  815. str += "( 부위: " + cmb_nuchalcordpart.label + ")";
  816. }
  817. }
  818. } else if(nuchalcordpart == "" && nuchalcordtime != "") {
  819. str += "( 횟수: " + cmb_nuchalcordtime.label + ")";
  820. }
  821. }
  822. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/nuchalcordcd", str);
  823. }
  824. //true knot
  825. var trueknotyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/trueknotyn");
  826. var trueknotspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/trueknotspec");
  827. str = rdo_trueknotyn.label;
  828. if(trueknotyn != "") {
  829. if(trueknotyn == "Y") {
  830. if(trueknotspec != "") {
  831. str += "(" + cmb_trueknotspec.label + ")";
  832. }
  833. }
  834. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/trueknotyn", str);
  835. }
  836. //유도분만
  837. var guiddlivyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/guiddlivyn");
  838. var guiddlivspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/guiddlivspec");
  839. str = rdo_guiddlivyn.label;
  840. if(guiddlivyn != "") {
  841. if(guiddlivyn == "Y") {
  842. if(guiddlivspec != "") {
  843. str += "(" + guiddlivspec + ")";
  844. }
  845. }
  846. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/guiddlivyn", str);
  847. }
  848. //산소흡입
  849. var oxygenabsopcd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/oxygenabsopcd");
  850. var oxygenabsopspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/oxygenabsopspec");
  851. str = rdo_oxygenabsopcd.label;
  852. if(oxygenabsopcd != "") {
  853. if(oxygenabsopcd == "Y") {
  854. if(oxygenabsopspec != "") {
  855. str += "(" + oxygenabsopspec + "(I/분))";
  856. }
  857. }
  858. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/oxygenabsopcd", str);
  859. }
  860. //심폐소생술
  861. var cardresusyn = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/cardresusyn");
  862. var cardresuscd = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/cardresuscd");
  863. var cardresusspec = model.getValue(xWardRecPath +"/etcbrthinfo/etcbrth/cardresusspec");
  864. str = rdo_cardresusyn.label;
  865. if(cardresusyn != "") {
  866. if(cardresusyn == "Y") {
  867. if(cardresuscd != "") {
  868. arr = chk_cardresuscd.label.split(",");
  869. str += "(" + arr + " " + cardresusspec + ")";
  870. }
  871. }
  872. model.setValue(xWardRecPath +"/etcbrthinfo/etcbrth/cardresusyn", str);
  873. }
  874. /****************************** 신체사정 **************************************/
  875. //활동 및 울음정보
  876. var actcrykind = model.getValue(xWardRecPath +"/actcryinfo/actcry/actcrykind");
  877. if(actcrykind != "") {
  878. arr = chk_actcrykind.label.split(" ");
  879. model.setValue(xWardRecPath +"/actcryinfo/actcry/actcrykind", arr);
  880. }
  881. //호흡기계
  882. var resorgnkind = model.getValue(xWardRecPath +"/resorgninfo/resorgn/resorgnkind");
  883. var resorgnkindetc = model.getValue(xWardRecPath +"/resorgninfo/resorgn/resorgnkindetc");
  884. var arr = chk_resorgnkind.label.split(" ");
  885. if(resorgnkind != "") {
  886. var resorgn = isSearchString(resorgnkind, "11");
  887. if(resorgn == true) {
  888. if(resorgnkindetc != "") {
  889. arr += "(" + resorgnkindetc + ")";
  890. }
  891. }
  892. model.setValue(xWardRecPath +"/resorgninfo/resorgn/resorgnkind", arr);
  893. }
  894. //순환기계
  895. var cirorgnkind = model.getValue(xWardRecPath +"/cirorgninfo/cirorgn/cirorgnkind");
  896. var cirorgnkindetc = model.getValue(xWardRecPath +"/cirorgninfo/cirorgn/cirorgnkindetc");
  897. var arr = chk_cirorgnkind.label.split(" ");
  898. if(cirorgnkind != "") {
  899. var cirorgn = isSearchString(cirorgnkind, "6");
  900. if(cirorgn == true) {
  901. if(cirorgnkindetc != "") {
  902. arr += "(" + cirorgnkindetc + ")";
  903. }
  904. }
  905. model.setValue(xWardRecPath +"/cirorgninfo/cirorgn/cirorgnkind", arr);
  906. }
  907. //피부
  908. var skinsectkind = model.getValue(xWardRecPath +"/skinsectinfo/skinsect/skinsectkind");
  909. var skinsectkindetc = model.getValue(xWardRecPath +"/skinsectinfo/skinsect/skinsectkindetc");
  910. var arr = chk_skinsectkind.label.split(" ");
  911. if(skinsectkind != "") {
  912. var skinsect = isSearchString(cirorgnkind, "13");
  913. if(skinsect == true) {
  914. if(skinsectkindetc != "") {
  915. arr += "(" + skinsectkindetc + ")";
  916. }
  917. }
  918. model.setValue(xWardRecPath +"/skinsectinfo/skinsect/skinsectkind", arr);
  919. }
  920. //얼굴
  921. var facekind = model.getValue(xWardRecPath +"/faceinfo/face/facekind");
  922. var facekindetc = model.getValue(xWardRecPath +"/faceinfo/face/facekindetc");
  923. var arr = chk_facekind.label.split(" ");
  924. if(facekind != "") {
  925. var cirorgn = isSearchString(facekind, "6");
  926. if(cirorgn == true) {
  927. if(facekindetc != "") {
  928. arr += "(" + facekindetc + ")";
  929. }
  930. }
  931. model.setValue(xWardRecPath +"/faceinfo/face/facekind", arr);
  932. }
  933. //눈
  934. var eyekind = model.getValue(xWardRecPath +"/eyeinfo/eye/eyekind");
  935. var eyekindetc = model.getValue(xWardRecPath +"/eyeinfo/eye/eyekindetc");
  936. var eyekindnm = model.getValue(xWardRecPath +"/eyeinfo/eye/eyekindnm");
  937. str = rdo_eyekind.label;
  938. if(eyekind != "") {
  939. if(eyekind == "Y") {
  940. if(eyekindetc != "") {
  941. if(eyekindetc == "04") {
  942. if(eyekindnm != "") {
  943. str += "(" + cmb_eyekindetc.label + "(" + eyekindnm + "))";
  944. } else {
  945. str += "(" + cmb_eyekindetc.label + ")";
  946. }
  947. }else{
  948. str += "(" + cmb_eyekindetc.label + ")";
  949. }
  950. }
  951. }
  952. model.setValue(xWardRecPath +"/eyeinfo/eye/eyekind", str);
  953. }
  954. //비뇨생식기
  955. var idx = 0;
  956. var urintorgnkind = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/urintorgnkind");
  957. var urintorgnkindetc = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/urintorgnkindetc");
  958. var fststoolyn = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/fststoolyn");
  959. var fststoolafttm = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/fststoolafttm");
  960. var fsturineyn = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/fsturineyn");
  961. var fsturineafttm = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/fsturineafttm");
  962. if(urintorgnkind != "") {
  963. var urintorgnkindVal = chk_urintorgnkind.value;
  964. var urintorgnkindLab = chk_urintorgnkind.label;
  965. var arrVal = urintorgnkindVal.split(" "); //선택된 Value값을 가져온.다
  966. var arrLab = urintorgnkindLab.split(" "); //선택된 Label값을 가져온다.
  967. //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
  968. for(var i = 1; i <= chk_urintorgnkind.length; i++) {
  969. //선택된 아이템의 갯수만큼 반복.
  970. for(var j = 0; j < arrVal.length; j++) {
  971. //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
  972. if(i == arrVal[j]) {
  973. if( i == "7"){
  974. if(fststoolyn != ""){
  975. if(fststoolafttm != ""){
  976. arrLab[idx] += "(" + rdo_fststoolyn.label + "(생후 " + fststoolafttm + "시간))"
  977. }else{
  978. arrLab[idx] += "(" + rdo_fststoolyn.label + ")"
  979. }
  980. }
  981. }else if( i == "8"){
  982. if(fsturineyn != ""){
  983. if(fsturineafttm != ""){
  984. arrLab[idx] += "(" + rdo_fsturineyn.label + "(생후 " + fsturineafttm + "시간))"
  985. }else{
  986. arrLab[idx] += "(" + rdo_fsturineyn.label + ")"
  987. }
  988. }
  989. }else if( i == "9"){
  990. if(urintorgnkindetc != ""){
  991. arrLab[idx] += "(" + urintorgnkindetc + ")";
  992. }
  993. }
  994. idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
  995. //선택된 항목만큼값을 담았다면 종료.
  996. if(idx == arrVal.length) {
  997. break;
  998. }
  999. }
  1000. }
  1001. }
  1002. str = arrLab; //저장한 값을 변수에 담음.
  1003. model.setValue(xWardRecPath + "/urintorgninfo/urintorgn/urintorgnkind", str );
  1004. }
  1005. /*
  1006. //비뇨생식기
  1007. var urintorgnkind = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/urintorgnkind");
  1008. var urintorgnkindetc = model.getValue(xWardRecPath +"/urintorgninfo/urintorgn/urintorgnkindetc");
  1009. var fststooldt = model.getValue(xWardRecPath + "/urintorgninfo/urintorgn/fststooldt");
  1010. var fststooltm = model.getValue(xWardRecPath + "/urintorgninfo/urintorgn/fststooltm");
  1011. var fsturinedt = model.getValue(xWardRecPath + "/urintorgninfo/urintorgn/fsturinedt");
  1012. var fsturinetm = model.getValue(xWardRecPath + "/urintorgninfo/urintorgn/fsturinetm");
  1013. arr = "";
  1014. if(urintorgnkind != ""){
  1015. for(var i = 1; i<= chk_urintorgnkind.length; i++){
  1016. var urintorgninfo = isSearchString(urintorgnkind, i);
  1017. if(urintorgninfo == true) {
  1018. if(arr == ""){
  1019. arr += chk_urintorgnkind.item(i-1).label;
  1020. }else{
  1021. arr += ", " + chk_urintorgnkind.item(i-1).label;
  1022. }
  1023. if( i == "7"){
  1024. if(fststooldt != "" && fststooltm != "") {
  1025. arr += "(" + fststooldt.substr(0,4) + "-" + fststooldt.substr(4,2) + "-" + fststooldt.substr(6,2) + " " + fststooltm.substr(0,2) + ":" + fststooltm.substr(2, 2) + ")";
  1026. } else if( fststooldt != "" && fststooltm == "") {
  1027. arr += "(" + fststooldt.substr(0,4) + "-" + fststooldt.substr(4,2) + "-" + fststooldt.substr(6,2) + ")";
  1028. } else if( fststooldt == "" && fststooltm != "") {
  1029. arr += "(" + fststooltm.substr(0,2) + ":" + fststooltm.substr(2, 2) + ")"
  1030. }
  1031. }else if( i == "10"){
  1032. if(fsturinedt != "" && fsturinetm != "") {
  1033. arr += "(" + fsturinedt.substr(0,4) + "-" + fsturinedt.substr(4,2) + "-" + fsturinedt.substr(6,2) + " " + fsturinetm.substr(0,2) + ":" + fsturinetm.substr(2, 2) + ")";
  1034. } else if( fsturinedt != "" && fsturinetm == "") {
  1035. arr += "(" + fsturinedt.substr(0,4) + "-" + fsturinedt.substr(4,2) + "-" + fsturinedt.substr(6,2) + ")";
  1036. } else if( fsturinedt == "" && fsturinetm != "") {
  1037. arr += "(" + fsturinetm.substr(0,2) + ":" + fsturinetm.substr(2, 2) + ")"
  1038. }
  1039. }else if( i == "13"){
  1040. if(urintorgnkindetc != ""){
  1041. arr += "(" + urintorgnkindetc + ")";
  1042. }
  1043. }
  1044. }
  1045. }
  1046. model.setValue(xWardRecPath + "/urintorgninfo/urintorgn/urintorgnkind", arr);
  1047. }
  1048. */
  1049. //출혈
  1050. var bledyn = model.getValue(xWardRecPath +"/dembztinfo/dembzt/bledyn");
  1051. if(bledyn != "") {
  1052. model.setValue(xWardRecPath +"/dembztinfo/dembzt/bledyn", rdo_bledyn.label);
  1053. }
  1054. //태변착색
  1055. var mecstainyn = model.getValue(xWardRecPath +"/dembztinfo/dembzt/mecstainyn");
  1056. if(mecstainyn != "") {
  1057. model.setValue(xWardRecPath +"/dembztinfo/dembzt/mecstainyn", rdo_mecstainyn.label);
  1058. }
  1059. //다지증
  1060. var polydactylyyn = model.getValue(xWardRecPath +"/extrminfo/extrm/polydactylyyn");
  1061. if(polydactylyyn != "") {
  1062. model.setValue(xWardRecPath +"/extrminfo/extrm/polydactylyyn", rdo_polydactylyyn.label);
  1063. }
  1064. //합지증
  1065. var syndactylyyn = model.getValue(xWardRecPath +"/extrminfo/extrm/syndactylyyn");
  1066. if(syndactylyyn != "") {
  1067. model.setValue(xWardRecPath +"/extrminfo/extrm/syndactylyyn", rdo_syndactylyyn.label);
  1068. }
  1069. //쇄골골절
  1070. var clavfractyn = model.getValue(xWardRecPath +"/extrminfo/extrm/clavfractyn");
  1071. if(clavfractyn != "") {
  1072. model.setValue(xWardRecPath +"/extrminfo/extrm/clavfractyn", rdo_clavfractyn.label);
  1073. }
  1074. //고관절탈골
  1075. var disclochipjointyn = model.getValue(xWardRecPath +"/extrminfo/extrm/disclochipjointyn");
  1076. if(disclochipjointyn != "") {
  1077. model.setValue(xWardRecPath +"/extrminfo/extrm/disclochipjointyn", rdo_disclochipjointyn.label);
  1078. }
  1079. //만곡독
  1080. var clubfootyn = model.getValue(xWardRecPath +"/extrminfo/extrm/clubfootyn");
  1081. if(clubfootyn != "") {
  1082. model.setValue(xWardRecPath +"/extrminfo/extrm/clubfootyn", rdo_clubfootyn.label);
  1083. }
  1084. //척추
  1085. var vertebrayn = model.getValue(xWardRecPath +"/extrminfo/extrm/vertebrayn");
  1086. if(vertebrayn != "") {
  1087. model.setValue(xWardRecPath +"/extrminfo/extrm/vertebrayn", rdo_vertebrayn.label);
  1088. }
  1089. //내반
  1090. var entropion = model.getValue(xWardRecPath +"/extrminfo/extrm/entropion");
  1091. if(entropion != "") {
  1092. model.setValue(xWardRecPath +"/extrminfo/extrm/entropion", rdo_entropion.label);
  1093. }
  1094. //외반
  1095. var hallux = model.getValue(xWardRecPath +"/extrminfo/extrm/hallux");
  1096. if(hallux != "") {
  1097. model.setValue(xWardRecPath +"/extrminfo/extrm/hallux", rdo_hallux.label);
  1098. }
  1099. //simian line
  1100. var simianlineyn = model.getValue(xWardRecPath +"/extrminfo/extrm/simianlineyn");
  1101. if(simianlineyn != "") {
  1102. model.setValue(xWardRecPath +"/extrminfo/extrm/simianlineyn", rdo_simianlineyn.label);
  1103. }
  1104. //대천문
  1105. var antfontanellstat = model.getValue(xWardRecPath +"/headinfo/head/antfontanellstat");
  1106. if(antfontanellstat != "") {
  1107. arr = chk_antfontanellstat.label.split(" ");
  1108. model.setValue(xWardRecPath +"/headinfo/head/antfontanellstat", arr);
  1109. }
  1110. //두혈종
  1111. var cephallhematomayn = model.getValue(xWardRecPath +"/headinfo/head/cephallhematomayn");
  1112. var cephallhematomacnts = model.getValue(xWardRecPath +"/headinfo/head/cephallhematomacnts");
  1113. str = rdo_cephallhematomayn.label;
  1114. if(cephallhematomayn != "") {
  1115. if(cephallhematomayn == "Y") {
  1116. if(cephallhematomacnts != "") {
  1117. str += "(" + cephallhematomacnts + ")";
  1118. }
  1119. }
  1120. model.setValue(xWardRecPath +"/headinfo/head/cephallhematomayn", str);
  1121. }
  1122. //산류
  1123. var caputsuccedyn = model.getValue(xWardRecPath +"/headinfo/head/caputsuccedyn");
  1124. var caputsuccedcnts = model.getValue(xWardRecPath +"/headinfo/head/caputsuccedcnts");
  1125. str = rdo_caputsuccedyn.label;
  1126. if(caputsuccedyn != "") {
  1127. if(caputsuccedyn == "Y") {
  1128. if(caputsuccedcnts != "") {
  1129. str += "(" + caputsuccedcnts + ")";
  1130. }
  1131. }
  1132. model.setValue(xWardRecPath +"/headinfo/head/caputsuccedyn", str);
  1133. }
  1134. //아두변형
  1135. var babyheadchngyn = model.getValue(xWardRecPath +"/headinfo/head/babyheadchngyn");
  1136. var babyheadchngcnts = model.getValue(xWardRecPath +"/headinfo/head/babyheadchngcnts");
  1137. str = rdo_babyheadchngyn.label;
  1138. if(babyheadchngyn != "") {
  1139. if(babyheadchngyn == "Y") {
  1140. if(babyheadchngcnts != "") {
  1141. str += "(" + babyheadchngcnts + ")";
  1142. }
  1143. }
  1144. model.setValue(xWardRecPath +"/headinfo/head/babyheadchngyn", str);
  1145. }
  1146. //모로반사
  1147. var mororflxkind = model.getValue(xWardRecPath +"/rflxinfo/rflx/mororflxkind");
  1148. var mororflxsymmetryyn = model.getValue(xWardRecPath +"/rflxinfo/rflx/mororflxsymmetryyn");
  1149. var mororflxpos = model.getValue(xWardRecPath +"/rflxinfo/rflx/mororflxpos");
  1150. arr = chk_mororflxkind.label.split(" ");
  1151. if(mororflxkind != ""){
  1152. model.setValue(xWardRecPath +"/rflxinfo/rflx/mororflxkind", arr);
  1153. }
  1154. if(mororflxsymmetryyn != ""){
  1155. if(mororflxpos != ""){
  1156. model.setValue(xWardRecPath +"/rflxinfo/rflx/mororflxsymmetryyn", chk_mororflxsymmetryyn.label + "," + rdo_mororflxpos.label);
  1157. }else{
  1158. model.setValue(xWardRecPath +"/rflxinfo/rflx/mororflxsymmetryyn", chk_mororflxsymmetryyn.label);
  1159. }
  1160. }else if (mororflxpos != ""){
  1161. model.setValue(xWardRecPath +"/rflxinfo/rflx/mororflxsymmetryyn", rdo_mororflxpos.label);
  1162. }
  1163. //쥐기반사
  1164. var grasprflxkind = model.getValue(xWardRecPath +"/rflxinfo/rflx/grasprflxkind");
  1165. var grasprflxsummetryyn = model.getValue(xWardRecPath +"/rflxinfo/rflx/grasprflxsummetryyn");
  1166. var grasprflxpos = model.getValue(xWardRecPath +"/rflxinfo/rflx/grasprflxpos");
  1167. arr = chk_grasprflxkind.label.split(" ");
  1168. if(grasprflxkind != ""){
  1169. model.setValue(xWardRecPath +"/rflxinfo/rflx/grasprflxkind", arr);
  1170. }
  1171. if(grasprflxsummetryyn != ""){
  1172. if(grasprflxpos != ""){
  1173. model.setValue(xWardRecPath +"/rflxinfo/rflx/grasprflxsummetryyn", chk_grasprflxsummetryyn.label + "," + rdo_grasprflxpos.label);
  1174. }else{
  1175. model.setValue(xWardRecPath +"/rflxinfo/rflx/grasprflxsummetryyn", chk_grasprflxsummetryyn.label);
  1176. }
  1177. }else if (grasprflxpos != ""){
  1178. model.setValue(xWardRecPath +"/rflxinfo/rflx/grasprflxsummetryyn", rdo_grasprflxpos.label);
  1179. }
  1180. //빨기반사
  1181. var suckingrflxkind = model.getValue(xWardRecPath +"/rflxinfo/rflx/suckingrflxkind");
  1182. if(suckingrflxkind != "") {
  1183. arr = chk_suckingrflxkind.label.split(" ");
  1184. model.setValue(xWardRecPath +"/rflxinfo/rflx/suckingrflxkind", arr);
  1185. }
  1186. //포유반사
  1187. var rootingrflxkind = model.getValue(xWardRecPath +"/rflxinfo/rflx/rootingrflxkind");
  1188. if(rootingrflxkind != "") {
  1189. arr = chk_rootingrflxkind.label.split(" ");
  1190. model.setValue(xWardRecPath +"/rflxinfo/rflx/rootingrflxkind", arr);
  1191. }
  1192. //근긴장도
  1193. var tensionkind = model.getValue(xWardRecPath +"/tensioninfo/tension/tensionkind");
  1194. if(tensionkind != "") {
  1195. arr = chk_tensionkind.label.split(" ");
  1196. model.setValue(xWardRecPath +"/tensioninfo/tension/tensionkind", arr);
  1197. }
  1198. //정서상태
  1199. var emotstatkind = model.getValue(xWardRecPath +"/emotstatinfo/emotstat/emotstatkind");
  1200. if(emotstatkind != "") {
  1201. arr = chk_emotstatkind.label.split(" ");
  1202. model.setValue(xWardRecPath +"/emotstatinfo/emotstat/emotstatkind", arr);
  1203. }
  1204. }
  1205. function fMake_SignData() {
  1206. //JCI 교육요구도 추가 (20100113 김홍점)
  1207. var instUseYN = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='172']/cdid");//교육요구도 추가 20091216 김홍점
  1208. if ( instUseYN =="Y" ){
  1209. Sign.addnode("/root/temp/signdata/edurecinfo");
  1210. }
  1211. Sign.addnode("/root/main/wardrecinfo");
  1212. Sign.addnode("/root/main/histinfo");
  1213. fSetSignData();
  1214. }
  1215. //이전기록일시 변경
  1216. function fChgRecHistInfo(){
  1217. var recpkspec = (model.getValue("/root/main/wardrecinfo/bfrecddtm")).split("|");
  1218. var bfrecpid = recpkspec[0];
  1219. var bfrecindd = recpkspec[1];
  1220. var bfreccretno = recpkspec[2];
  1221. var bfrecflag = recpkspec[3];
  1222. var bfrecinstcd = recpkspec[4];
  1223. model.removeNodeset("/root/send/req");
  1224. model.makeNode("/root/send/req");
  1225. model.makeValue("/root/send/req/pid", bfrecpid);
  1226. model.makeValue("/root/send/req/indd", bfrecindd);
  1227. model.makeValue("/root/send/req/cretno", bfreccretno);
  1228. model.makeValue("/root/send/req/instcd", bfrecinstcd);
  1229. model.makeValue("/root/send/req/recflag", bfrecflag);
  1230. //model.makeValue("/root/send/req/docucode", "0000002503");
  1231. //model.makeValue("/root/send/req/deptcd", orddeptcd);
  1232. //본원신생아 간호정보조사지
  1233. submit("TRMNN00405");
  1234. fSetRecInfo();
  1235. model.setValue("/root/main/wardrecinfo/recdd", model.getValue("/root/hidden/womminfo/nbabyinfo/recdd"));
  1236. model.setValue("/root/main/wardrecinfo/rectm", model.getValue("/root/hidden/womminfo/nbabyinfo/rectm"));
  1237. model.setValue("/root/main/wardrecinfo/recuser", model.getValue("/root/hidden/womminfo/nbabyinfo/recuser"));
  1238. model.setValue("/root/main/wardrecinfo/fstrgstrnm", model.getValue("/root/hidden/womminfo/nbabyinfo/fstrgstrnm"));
  1239. var fstrgstdt = model.getValue("/root/hidden/womminfo/nbabyinfo/fstrgstdt");
  1240. model.setValue("/root/main/wardrecinfo/fstrgstdt", fstrgstdt.substr(0,4) + "-" + fstrgstdt.substr(4,2)+"-"+fstrgstdt.substr(6,2)+" "+fstrgstdt.substr(8,2)+":"+fstrgstdt.substr(10,2));
  1241. model.refresh();
  1242. }
  1243. ]]>
  1244. </script>
  1245. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  1246. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  1247. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  1248. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  1249. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC002.js"/>
  1250. <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
  1251. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  1252. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  1253. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
  1254. <submission id="TRMNN00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/paminfo"/>
  1255. <submission id="TRMNN00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main"/>
  1256. <submission id="TRMNN00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/init/newpat"/>
  1257. <submission id="TRMNN00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/cominfo"/>
  1258. <submission id="TRMNN00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/womminfo"/>
  1259. <submission id="TXMNN00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/wardrecinfo" resultref="/root/hidden/rsltinfo"/>
  1260. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  1261. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  1262. <submission id="TRMNZ00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/enrcarecomrecinfo"/>
  1263. </model>
  1264. </xhtml:head>
  1265. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1266. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  1267. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">간호초기평가(본원신생아)</caption>
  1268. </group>
  1269. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  1270. <input id="ipt_bfrecdd" ref="/root/main/wardrecinfo/bfrecdd" class="input_default" disabled="true" visibility="hidden" inputtype="date" style="left:83px; top:45px; width:100px; height:19px; "/>
  1271. <output id="opt_bfrectm" ref="/root/main/wardrecinfo/bfrectm" class="output_fix" visibility="hidden" format="hh:nn" style="left:186px; top:45px; width:50px; height:19px; "/>
  1272. <button id="btn_gnrlinfo" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:100px; height:22px; ">
  1273. <caption>일반정보</caption>
  1274. <toggle case="case1" ev:event="onclick"/>
  1275. </button>
  1276. <button id="btn_bodyasses" class="btn_sw" group="tab" style="left:100px; top:49px; width:100px; height:22px; ">
  1277. <caption>신체사정</caption>
  1278. <toggle case="case2" ev:event="onclick"/>
  1279. </button>
  1280. <button id="btn_edurec" class="btn_sw" visibility="hidden" group="tab" style="left:200px; top:49px; width:100px; height:22px; ">
  1281. <caption>교육요구도</caption>
  1282. <toggle case="case_edurec" ev:event="onclick"/>
  1283. </button>
  1284. <switch id="switch1" style="left:0px; top:70px; width:1194px; height:670px; border-color:#c7a3cf; border-style:solid; ">
  1285. <case id="case1" selected="true" style="left:0px; top:0px; width:1194px; height:674px; ">
  1286. <import id="import1" instancetype="merge" src="..\..\..\emr\wardcareweb\xrw\SMMNW08200_신생아정보본원.xrw" style="left:0px; top:0px; width:1194px; height:670px; "/>
  1287. </case>
  1288. <case id="case2" style="left:0px; top:0px; width:1194px; height:673px; border-color:transparent; ">
  1289. <import id="import4" instancetype="merge" src="..\..\..\emr\wardcareweb\xrw\SMMNW08600_신체사정신생아.xrw" style="left:0px; top:0px; width:1194px; height:670px; "/>
  1290. </case>
  1291. <case id="case_edurec" style="left:0px; top:0px; width:1194px; height:673px; border-color:transparent; ">
  1292. <iviewer id="ivw_edurec" style="left:0px; top:0px; width:1194px; height:670px; "/>
  1293. </case>
  1294. </switch>
  1295. <line id="line64" class="line_3" style="x1:0px; y1:41px; x2:1194px; y2:41px; "/>
  1296. <line id="line13" class="line_1" style="x1:0px; y1:13px; x2:1194px; y2:13px; "/>
  1297. <button id="btn_save" class="btn2_letter4" visibility="hidden" style="left:1062px; top:49px; width:64px; height:19px; ">
  1298. <caption>임시저장</caption>
  1299. <script type="javascript" ev:event="DOMActivate">
  1300. <![CDATA[
  1301. fPatgnrlInfo("T");
  1302. if(submit("TXMNN00401") == true) {
  1303. messageBox("저장이 ", "I001");
  1304. model.makeValue("/root/hidden/paminfo/paminfo/exeflag", "U");
  1305. } else {
  1306. messageBox("저장에 실패하였습니다", "E");
  1307. }
  1308. ]]>
  1309. </script>
  1310. </button>
  1311. <button id="button2" class="btn5_letter4" style="left:1129px; top:49px; width:64px; height:19px; ">
  1312. <caption>인증저장</caption>
  1313. <script type="javascript" ev:event="DOMActivate">
  1314. <![CDATA[
  1315. //20090626_SMY추가
  1316. var msgstr = "";
  1317. var instUseYN = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='172']/cdid");//교육요구도 추가 20091216 김홍점
  1318. //필수입력사항 blocking
  1319. if(model.getValue("/root/main/wardrecinfo/infooffer") == ""){
  1320. var msg9 = "[정보제공자]";
  1321. if(msgstr == ""){
  1322. msgstr += msg9;
  1323. }else{
  1324. msgstr += ", " + msg9;
  1325. }
  1326. }
  1327. if(model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid = '077' and supcdid = '02' and cdid = '"+ getUserInfo("dutplceinstcd") +"']/cdid") || model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid = '077' and supcdid = '03' and cdid = '"+ getUserInfo("dutplceinstcd") +"']/cdid")){ //supcdid='02' : 의정부성모, 03 : 부천성가병원
  1328. if(model.getValue("/root/main/wardrecinfo/bdht") == "" && model.getValue("/root/main/wardrecinfo/bdhtinspyn") != "Y"){
  1329. var msg6 = "[신장]";
  1330. if(msgstr == ""){
  1331. msgstr += msg6;
  1332. }else{
  1333. msgstr += ", " + msg6;
  1334. }
  1335. }
  1336. if(model.getValue("/root/main/wardrecinfo/bdwt") == "" && model.getValue("/root/main/wardrecinfo/bdwtinspyn") != "Y"){
  1337. var msg7 = "[체중]";
  1338. if(msgstr == ""){
  1339. msgstr += msg7;
  1340. }else{
  1341. msgstr += ", " + msg7;
  1342. }
  1343. }
  1344. }
  1345. if(msgstr != "" ){
  1346. messageBox(msgstr + " 은(는) 필수 입력사항입니다.", "I");
  1347. return;
  1348. }
  1349. fPatgnrlInfo("C");
  1350. //20100115 JCI 김홍점 교육요구도 적용병원만 데이타 저장 및 인증데이타 생성
  1351. if ( instUseYN =="Y"){
  1352. model.removenode('/root/temp/signdata');
  1353. if ( !ivw_edurec.window.javascript.fSave() ){
  1354. return;
  1355. }
  1356. var xEduRecPath = '/root/temp/signdata/edurecinfo';
  1357. fMNWCareInfoRecMakeForJCI(xEduRecPath, ivw_edurec, "N");//carecom.js (srcPath, destObj , 응급간호정보조사여부 구분 erYn)
  1358. }
  1359. //최초기록자
  1360. var fstrgstdt = getCurrentDateTime();
  1361. if(isNull(model.getValue("/root/main/wardrecinfo/fstrgstrnm"))) {
  1362. model.makeValue("/root/main/wardrecinfo/fstrgstdt", fstrgstdt.substr(0,4) + "-" + fstrgstdt.substr(4,2)+"-"+fstrgstdt.substr(6,2)+" "+fstrgstdt.substr(9,2)+":"+fstrgstdt.substr(11,2));
  1363. model.makeValue("/root/main/wardrecinfo/fstrgstrnm", model.getValue("/root/main/wardrecinfo/recuser"));
  1364. }
  1365. Sign.certreload = true ;
  1366. if (Sign.signprocess() == true){
  1367. //src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw"
  1368. // alert("인증성공" );
  1369. // alert("1. 인증성공여부 false / true \n\n" + Sign.signedInfos[0]); // 인증성공여부 false / true
  1370. // alert("2. 인증할 데이터 정보 (미기록 노드 제거전 원본 노드) \n\n" + Sign.signedInfos[3]); // 인증할 데이터 정보 (미기록 노드 제거전 원본 노드)
  1371. // alert("2.--> text 데이터(없는 노드 포함된) text 형태 변형 결과 \n\n" + Sign.signedInfos[4]); // [3] 데이터(없는 노드 포함된) text 형태 변형 결과
  1372. // alert("3. 인증할 데이터 정보(미기록 노드 제거된 정보) \n\n" + Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  1373. // alert("3. -->text 데이터(없는 노드 제거된) text 형태 변형 결과 \n\n" + Sign.signedInfos[5]); // ★[1] 데이터(없는 노드 제거된) text 형태 변형 결과 >>> [5]
  1374. // alert("3. -->text --> sign 공인인증 처리후 데이터 \n\n" + Sign.signedInfos[2]); // ★공인인증 처리후 데이터 >>> [2]
  1375. model.makeValue("/root/send/wardrecinfo/pid", model.getValue("/root/temp/cond/list/pid"));
  1376. model.makeValue("/root/send/wardrecinfo/indd", model.getValue("/root/temp/cond/list/indd"));
  1377. model.makeValue("/root/send/wardrecinfo/signno", model.getValue("/root/signinfo/signno")); //20090722_SMY변경
  1378. model.makeValue("/root/send/wardrecinfo/cretno", model.getValue("/root/temp/cond/list/cretno"));
  1379. model.makeValue("/root/send/wardrecinfo/recdd", model.getValue("/root/main/wardrecinfo/recdd"));
  1380. model.makeValue("/root/send/wardrecinfo/rectm", model.getValue("/root/main/wardrecinfo/rectm"));
  1381. model.makeValue("/root/send/wardrecinfo/recsaveflag", "Y");
  1382. model.makeValue("/root/send/wardrecinfo/signflag", "02");
  1383. model.makeValue("/root/send/wardrecinfo/signgenrflag", model.getValue("/root/temp/cond/list/ioflag"));
  1384. model.makeValue("/root/send/wardrecinfo/formcd", "0000002503");
  1385. model.makeValue("/root/send/wardrecinfo/orddeptcd", model.getValue("/root/temp/cond/list/orddeptcd"));
  1386. model.makeValue("/root/send/wardrecinfo/orddrid", model.getValue("/root/temp/cond/list/medispclid"));
  1387. model.makeValue("/root/send/wardrecinfo/signbfcnts", Sign.signedInfos[1]);
  1388. model.makeValue("/root/send/wardrecinfo/signaftcnts", Sign.signedInfos[2]);
  1389. if(submit("TXMNN00401") == true) {
  1390. model.setValue("/root/send/wardrecinfo", "");
  1391. messageBox("저장이 ", "I001");
  1392. model.makeValue("/root/hidden/paminfo/paminfo/exeflag", "U");
  1393. fGetInitRecInfo(); //재조회
  1394. fInitEvent();
  1395. } else {
  1396. messageBox("저장에 실패하였습니다", "E");
  1397. }
  1398. }
  1399. ]]>
  1400. </script>
  1401. </button>
  1402. <input id="ipt_signno" ref="/root/main/wardrecinfo/signno" visibility="hidden" style="left:915px; top:45px; width:100px; height:19px; "/>
  1403. <group id="grp_patinfo" scroll="auto" style="left:210px; top:50px; width:640px; height:20px; ">
  1404. <caption id="caption10" ref="/root/main/wardrecinfo/pid" style="left:534px; top:0px; width:96px; height:20px; font-family:돋움; "/>
  1405. <caption id="caption1" ref="/root/main/wardrecinfo/room" style="left:53px; top:0px; width:52px; height:20px; font-family:돋움; "/>
  1406. <caption id="caption2" ref="/root/main/wardrecinfo/patnm" style="left:180px; top:0px; width:60px; height:20px; font-family:돋움; "/>
  1407. <caption id="caption3" class="search_name" style="left:112px; top:1px; width:68px; height:17px; ">환자명:</caption>
  1408. <caption id="caption4" ref="/root/main/wardrecinfo/sex" style="left:308px; top:0px; width:32px; height:20px; font-family:돋움; "/>
  1409. <caption id="caption68" class="search_name" style="left:0px; top:1px; width:55px; height:17px; ">병실:</caption>
  1410. <caption id="caption5" class="search_name" style="left:250px; top:1px; width:58px; height:17px; ">성별:</caption>
  1411. <caption id="caption7" ref="/root/main/wardrecinfo/age" style="left:408px; top:0px; width:37px; height:20px; font-family:돋움; "/>
  1412. <caption id="caption8" class="search_name" style="left:350px; top:1px; width:58px; height:17px; ">나이:</caption>
  1413. <caption id="caption9" class="search_name" style="left:450px; top:1px; width:81px; height:17px; ">등록번호:</caption>
  1414. </group>
  1415. <button id="button1" class="btn2_letter6" style="left:1040px; top:49px; width:86px; height:21px; ">
  1416. <caption>전체기록삭제</caption>
  1417. <script type="javascript" ev:event="DOMActivate">
  1418. <![CDATA[
  1419. model.copyNode("/root/hidden1/wardrecinfo/apgarscoreinfo", "/root/main/wardrecinfo/apgarscoreinfo");
  1420. model.refresh();
  1421. setCareInfoDel("TXMNN00401"); //CareCom.js
  1422. //model.resetInstanceNode("/root/hidden1/wardrecinfo/apgarscoreinfo");
  1423. ]]>
  1424. </script>
  1425. </button>
  1426. <caption id="cap_sinfodnor" class="cell_1" style="left:677px; top:18px; width:68px; height:23px; vertical-align:middle; ">정보제공자</caption>
  1427. <caption id="cap_bfrecdt" class="cell_1" style="left:0px; top:18px; width:80px; height:23px; vertical-align:middle; ">이전기록일시</caption>
  1428. <input id="ipt_rectm" ref="/root/main/wardrecinfo/rectm" class="input_default" format="hh:nn" validateformat="true" style="left:500px; top:20px; width:50px; height:19px; "/>
  1429. <caption id="cap_recdt" class="cell_1" style="left:351px; top:18px; width:56px; height:23px; vertical-align:middle; ">기록일시</caption>
  1430. <output id="opt_recuser" ref="/root/main/wardrecinfo/recuser" class="output_fix" style="left:601px; top:20px; width:75px; height:19px; "/>
  1431. <caption id="caption11" class="cell_1" style="left:1044px; top:18px; width:71px; height:23px; vertical-align:middle; ">최초기록자</caption>
  1432. <caption id="caption12" class="cell_1" style="left:845px; top:18px; width:80px; height:23px; vertical-align:middle; ">최초기록일시</caption>
  1433. <input id="ipt_recdd" ref="/root/main/wardrecinfo/recdd" class="input_default" inputtype="date" style="left:409px; top:20px; width:90px; height:19px; "/>
  1434. <select1 id="cmb_bfrecddtm" ref="/root/main/wardrecinfo/bfrecddtm" class="combo_default" navindex="16" appearance="minimal" style="left:83px; top:20px; width:120px; height:19px; ">
  1435. <choices>
  1436. <itemset nodeset="/root/hidden/paminfo/recinfo">
  1437. <label ref="bfrecddtm"/>
  1438. <value ref="recpkspec"/>
  1439. </itemset>
  1440. </choices>
  1441. <script type="javascript" ev:event="xforms-value-changed">
  1442. <![CDATA[
  1443. fChgRecHistInfo();
  1444. ]]>
  1445. </script>
  1446. </select1>
  1447. <caption id="cap_recuser" class="cell_1" style="left:553px; top:18px; width:47px; height:23px; vertical-align:middle; ">기록자</caption>
  1448. <output id="opt_bfrecuser" ref="/root/main/wardrecinfo/bfrecuser" class="output_fix" style="left:274px; top:20px; width:75px; height:19px; "/>
  1449. <caption id="cap_bfrecuser" class="cell_1" style="left:205px; top:18px; width:67px; height:23px; vertical-align:middle; ">이전기록자</caption>
  1450. <output id="output1" ref="/root/main/wardrecinfo/fstrgstdt" class="output_fix" style="left:927px; top:20px; width:115px; height:19px; "/>
  1451. <output id="output2" ref="/root/main/wardrecinfo/fstrgstrnm" class="output_fix" style="left:1116px; top:20px; width:75px; height:19px; "/>
  1452. <input id="ipt_infooffer" ref="/root/main/wardrecinfo/infooffer" class="input_default" maxlength="10" style="left:747px; top:20px; width:97px; height:19px; "/>
  1453. </group>
  1454. <group id="group4" scroll="auto" style="left:0px; top:756px; width:1195px; height:22px; ">
  1455. <line id="line62" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1456. </group>
  1457. </xhtml:body>
  1458. </xhtml:html>