SMMNE07400_NEDIS전송자료조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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>NEDIS전송자료 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <condition>
  11. <pid/>
  12. <orddd/>
  13. </condition>
  14. <nedistrsmpatinfo>
  15. <nedistrsmpatlist>
  16. <eragidno/>
  17. <eragindt/>
  18. <eragintm/>
  19. <chosdt/>
  20. <chosidx/>
  21. <sex/>
  22. </nedistrsmpatlist>
  23. </nedistrsmpatinfo>
  24. <erpatinfo>
  25. <erpatlist>
  26. <pid/>
  27. <chosdd/>
  28. <chostm/>
  29. <hngnm/>
  30. <rrgstno1/>
  31. <rrgstno2/>
  32. <chosidx/>
  33. </erpatlist>
  34. </erpatinfo>
  35. <nedistraminfo>
  36. <nedisreclist>
  37. <erptidno/>
  38. <erptindt/>
  39. <erptinrt/>
  40. <erptinmn/>
  41. <erptemrt/>
  42. <erptotdt/>
  43. <wardintm/>
  44. <erptdctm/>
  45. <erptdcrt/>
  46. <erptresp/>
  47. <erptbp/>
  48. <erptpuls/>
  49. <erptbrth/>
  50. <erptbdht/>
  51. <erptakdt/>
  52. <erptdgkd/>
  53. <erptarck/>
  54. <erptarcs/>
  55. <erpttsbt/>
  56. <erpttscs/>
  57. <erpttsfa/>
  58. <erpttssa/>
  59. <erpttshm/>
  60. <erpttspt/>
  61. <erpttsno/>
  62. <erpttsur/>
  63. <erpttsuk/>
  64. <ertptsall/>
  65. <erdecidt/>
  66. <mainsympcd/>
  67. <termengnm/>
  68. <mainsympcd1/>
  69. <termengnm1/>
  70. <mainsympcd2/>
  71. <termengnm2/>
  72. </nedisreclist>
  73. <erdiaginfo>
  74. <erdiaglist>
  75. <diagcd/>
  76. <diagnm/>
  77. </erdiaglist>
  78. </erdiaginfo>
  79. <indiaginfo>
  80. <indiaglist>
  81. <diagcd/>
  82. <diagnm/>
  83. </indiaglist>
  84. </indiaginfo>
  85. <nedisotptinfo>
  86. <depthngnm/>
  87. <deptengabbr/>
  88. <diagcd/>
  89. <termhngnm/>
  90. <termengnm/>
  91. </nedisotptinfo>
  92. </nedistraminfo>
  93. </main>
  94. <send/>
  95. <init/>
  96. <code>
  97. <codeinfo>
  98. <codelist>
  99. <cdid/>
  100. <cdnm/>
  101. </codelist>
  102. </codeinfo>
  103. </code>
  104. </root>
  105. </instance>
  106. <script type="javascript" ev:event="xforms-ready">
  107. <![CDATA[
  108. //
  109. var NEDIS_pid = opener.javascript.getParameter('NEDIS_pid');
  110. var NEDIS_orddd = opener.javascript.getParameter('NEDIS_orddd');
  111. model.setValue("/root/main/condition/pid", NEDIS_pid);
  112. model.setValue("/root/main/condition/orddd", NEDIS_orddd);
  113. model.refresh();
  114. //
  115. // setInputNodeCurText(); // 현재 인풋값 노드 반영
  116. fSrchErPatInfo();
  117. ]]>
  118. </script>
  119. <script type="javascript">
  120. <![CDATA[
  121. var xPathUser = "/root/UserData/list";
  122. var xPathUserPop = "/root/main/list";
  123. /**
  124. * @group :
  125. * @ver : 2009.07.27
  126. * @by : 양천덕
  127. * @---------------------------------------------------
  128. * @type : function
  129. * @access : public
  130. * @desc : 환자 조회 popup 및 return 처리 함수
  131. * @param :
  132. * @return :
  133. * @---------------------------------------------------
  134. */
  135. function fUseridPopupData(pMapID, pProgID, pData) {
  136. var iParam="";
  137. if (pData == "") {
  138. return iParam;
  139. }
  140. model.removenode("/root/send");
  141. model.makeValue("/root/send/searchitem", pData);
  142. model.makeValue("/root/send/flag" , "userid");
  143. submit(pMapID);
  144. var NodeCnt = instance1.selectSingleNode(xPathUser).childNodes.length;
  145. var iNode = xPathUser + "/userlist";
  146. switch(NodeCnt) {
  147. case 0 : messageBox(pData + "에 해당하는 자료가", "I004");
  148. break;
  149. case 1 : iParam = fGetValue(iNode, 1, "pid" ) + "|"
  150. + fGetValue(iNode, 1, "patnm" ) + "|"
  151. + fGetValue(iNode, 1, "sexage" ) + "|"
  152. + fGetValue(iNode, 1, "rrgsno1" ) + "|"
  153. + fGetValue(iNode, 1, "rrgsno2" ) ;
  154. break;
  155. default : iParam = fShowModal(pProgID);
  156. break;
  157. }
  158. return iParam;
  159. }
  160. function fShowModal(pProgID) {
  161. var xpos = event.screenX-100;
  162. var ypos = event.screenY-100;
  163. modal(pProgID, 1, xpos, ypos, pProgID, xPathUser, xPathUserPop);
  164. var iProperties = getParameter("SendData");
  165. return iProperties
  166. }
  167. function fUserDataSet(pData, pNodeID,pNodeNM, pNodeRrgsNo1, pNodeRrgsNo2, pDoc) {
  168. var iSplit_Value = pData.split("|");
  169. if (pData == "") {
  170. ipt_pid.refresh();
  171. model.setFocus("ipt_pid");
  172. return;
  173. }
  174. // iParam_pid 0 환자등록번호
  175. // iParam_patnm 1 환자명
  176. // iParam_sexage 2 성별
  177. // iParam_rrgsno1 3 주민등록번호 앞자리
  178. // iParam_rrgsno2 4 주민등록번호 뒷자리
  179. if (iSplit_Value.length > 0) {
  180. model.setValue(pNodeID , iSplit_Value[0]); // 환자등록번호
  181. ipt_pid.refresh();
  182. }
  183. }
  184. //환자정보 조회 POPUP 호출
  185. function fUseridPopup(pPath, pNodeID, pNodeNM, pNodeRrgsNo1, pNodeRrgsNo2, pDOC) {
  186. var pParam = fShowModal("SMMNE03700");
  187. fUserDataSet(pParam, pPath+pNodeID,pPath+pNodeNM, pPath+pNodeRrgsNo1, pPath+pNodeRrgsNo2, pDOC);
  188. }
  189. //등록번호 입력란 입력시 대상 환자가 응급실 재원했던 이력이 있는지 조회
  190. function fSrchErPatInfo(){
  191. model.removeNodeset("/root/send");
  192. model.removeNodeset("/root/main/erpatinfo");
  193. model.makeValue("/root/send/pid", model.getValue("/root/main/condition/pid"));
  194. model.makeValue("/root/send/orddd", model.getValue("/root/main/condition/orddd"));
  195. var pid = "";
  196. var chosdd = "";
  197. var chostm = "";
  198. var cretno = "";
  199. if(submit("TRMNE07401") == true){
  200. if(getNodesetCount("/root/main/erpatinfo/erpatlist") == 1){
  201. //fGetChosHistList();
  202. pid = model.getValue("/root/main/erpatinfo/erpatlist/pid")
  203. chosdd = model.getValue("/root/main/erpatinfo/erpatlist/chosdd")
  204. chostm = model.getValue("/root/main/erpatinfo/erpatlist/chostm")
  205. cretno = model.getValue("/root/main/erpatinfo/erpatlist/cretno")
  206. model.setValue("/root/main/condition/orddd", chosdd);
  207. model.removeNodeset("/root/send");
  208. model.removeNodeset("/root/main/nedistraminfo");
  209. model.makeValue("/root/send/eragidno", pid);
  210. model.makeValue("/root/send/eragindt", chosdd);
  211. model.makeValue("/root/send/eragintm", chostm);
  212. model.makeValue("/root/send/cretno", cretno);
  213. submit("TRMNE07403");
  214. } else if(getNodesetCount("/root/main/erpatinfo/erpatlist") > 1){
  215. grd_erpatlist.visible = true;
  216. } else{
  217. //messageBox("해당 환자번호에 대한 NEDIS 전송이력이 존재하지 않습니다.", "E");
  218. messageBox("해당 환자번호에 대한 응급실 내원 이력이 존재하지 않습니다.", "E");
  219. model.setFocus("ipt_pid");
  220. return;
  221. }
  222. }
  223. }
  224. //등록번호에 대한 환자의 응급실 내원시 기록 전송 리스트 조회
  225. function fGetChosHistList(){
  226. model.removeNodeset("/root/send");
  227. model.removeNodeset("/root/main/nedistrsmpatinfo");
  228. model.makeValue("/root/send/pid", model.getValue("/root/main/erpatinfo/erpatlist/pid"));
  229. if(submit("TRMNE07402") == true){
  230. if(getNodesetCount("/root/main/nedistrsmpatinfo/nedistrsmpatlist") > 0){
  231. cmb_choslist.select(0);
  232. fGetPatTramInfo();
  233. }
  234. }
  235. }
  236. //등록번호에 대한 환자의 응급실 내원시 기록 전송 리스트 조회
  237. function fGetPatTramInfo(){
  238. var sChosIndex = model.getValue("/root/main/erpatinfo/erpatlist/chosidx");
  239. if(sChosIndex == ""){
  240. return;
  241. }
  242. model.removeNodeset("/root/send");
  243. model.removeNodeset("/root/main/nedistraminfo");
  244. model.makeValue("/root/send/eragidno", model.getValue("/root/main/nedistrsmpatinfo/nedistrsmpatlist[chosidx = "+sChosIndex+"]/eragidno"));
  245. model.makeValue("/root/send/eragindt", model.getValue("/root/main/nedistrsmpatinfo/nedistrsmpatlist[chosidx ="+sChosIndex+"]/eragindt"));
  246. model.makeValue("/root/send/eragintm", model.getValue("/root/main/nedistrsmpatinfo/nedistrsmpatlist[chosidx ="+sChosIndex+"]/eragintm"));
  247. submit("TRMNE07403");
  248. }
  249. //조회 내역 출력 기능
  250. function fPrnt(){
  251. if(cmb_choslist.label == ""){
  252. messageBox("출력할 정보가 존재하지 않습니다.", "I");
  253. model.setFocus("cmb_choslist");
  254. return;
  255. }
  256. model.removeNode ("/root/send/report");
  257. model.makeNode ("/root/send/report");
  258. model.copyNode("/root/send/report", "/root/main");
  259. model.makeValue("/root/send/report/logourl", getImageURL("biglogo"+getUserInfo("dutplceinstcd")+"e", "jpg"));
  260. exeReportPreview("RPMNE07400", "XMLSTR", ""); //임시 미리보기 창 활성화
  261. }
  262. ]]>
  263. </script>
  264. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/code/codelist"/>
  265. <submission id="TRMNE07401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/erpatlist"/>
  266. <submission id="TRMNE07402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nedistrampatlist"/>
  267. <submission id="TRMNE07403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/nedistraminfo"/>
  268. <submission id="TRMNE07404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/tmp"/>
  269. </model>
  270. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  271. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  272. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  273. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  274. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  275. </xhtml:head>
  276. <xhtml:body pagewidth="750" pageheight="880" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  277. <group id="group1" style="left:0px; top:0px; width:730px; height:13px; ">
  278. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:185px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">NEDIS전송자료 조회</caption>
  279. </group>
  280. <group id="group2" style="left:0px; top:20px; width:730px; height:850px; ">
  281. <datagrid id="grd_erdiaginfo" nodeset="/root/main/nedistraminfo/erdiaginfo/erdiaglist" caption="퇴실 시 진단명^퇴실 시 진단명" colsep="^" colwidth="120, 575" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:463px; width:717px; height:100px; ">
  282. <col ref="diagcd"/>
  283. <col ref="diagnm"/>
  284. </datagrid>
  285. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:730px; height:35px; "/>
  286. <input id="ipt_pid" ref="/root/main/condition/pid" class="input_s_essential" style="left:100px; top:8px; width:92px; height:19px; font-weight:bold; ">
  287. <script type="javascript" ev:event="onkeyup">
  288. <![CDATA[
  289. if(event.keyCode == "13") {
  290. setInputNodeCurText(); // 현재 인풋값 노드 반영
  291. fSrchErPatInfo();
  292. }
  293. ]]>
  294. </script>
  295. </input>
  296. <caption id="caption12" class="search_name" style="left:9px; top:9px; width:86px; height:17px; vertical-align:middle; ">등록번호 :</caption>
  297. <line id="line27" class="line_4" style="x1:604px; y1:7px; x2:604px; y2:29px; "/>
  298. <button id="btn_srchindxcd" class="btn1_letter2" navindex="5" style="left:613px; top:7px; width:56px; height:22px; ">
  299. <caption>조회</caption>
  300. <script type="javascript" ev:event="DOMActivate">
  301. <![CDATA[
  302. //fGetPatTramInfo();
  303. fSrchErPatInfo();
  304. ]]>
  305. </script>
  306. </button>
  307. <button id="btn_prnt" class="btn1_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:545px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  308. <caption>출력</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. fPrnt();
  312. ]]>
  313. </script>
  314. </button>
  315. <button id="btn_srchpopup" class="icon_search" style="left:199px; top:9px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  316. <caption/>
  317. <script type="javascript" ev:event="onclick">
  318. <![CDATA[
  319. fUseridPopup("/root/main/condition", "/pid","", "", "", ipt_pid);
  320. fSrchErPatInfo();
  321. ]]>
  322. </script>
  323. </button>
  324. <output id="opt_hngnm" ref="/root/main/erpatinfo/erpatlist/hngnm" class="output_fix" appearance="output" style="left:330px; top:8px; width:90px; height:19px; font-weight:bold; text-align:center; "/>
  325. <caption id="caption1" class="search_name" style="left:240px; top:9px; width:91px; height:17px; vertical-align:middle; ">환자정보 :</caption>
  326. <output id="opt_rrgstno1" ref="/root/main/erpatinfo/erpatlist/rrgstno1" class="output_fix" appearance="output" style="left:422px; top:8px; width:65px; height:19px; font-weight:bold; text-align:center; "/>
  327. <output id="opt_rrgstno2" ref="/root/main/erpatinfo/erpatlist/rrgstno2" class="output_fix" appearance="output" style="left:489px; top:8px; width:65px; height:19px; font-weight:bold; text-align:center; "/>
  328. <select1 id="cmb_choslist" ref="/root/main/erpatinfo/erpatlist/chosidx" visibility="hidden" appearance="minimal" style="left:115px; top:70px; width:210px; height:19px; font-weight:bold; ">
  329. <choices>
  330. <itemset nodeset="/root/main/nedistrsmpatinfo/nedistrsmpatlist">
  331. <label ref="chosdt"/>
  332. <value ref="chosidx"/>
  333. </itemset>
  334. </choices>
  335. <script type="javascript" ev:event="xforms-value-changed">
  336. <![CDATA[
  337. fGetPatTramInfo();
  338. ]]>
  339. </script>
  340. </select1>
  341. <caption id="caption7" class="tit_2" style="left:0px; top:75px; width:131px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 내원 정보</caption>
  342. <caption id="caption8" class="cell_1" style="left:328px; top:94px; width:132px; height:21px; vertical-align:middle; ">내원경로</caption>
  343. <caption id="caption9" class="cell_1" style="left:0px; top:120px; width:110px; height:21px; vertical-align:middle; ">내원수단</caption>
  344. <caption id="caption10" class="cell_1" style="left:0px; top:411px; width:110px; height:21px; vertical-align:middle; ">응급진료 결과</caption>
  345. <caption id="caption11" class="cell_1" style="left:328px; top:385px; width:132px; height:21px; vertical-align:middle; ">퇴실일시</caption>
  346. <caption id="caption14" class="cell_1" style="left:0px; top:331px; width:110px; height:21px; vertical-align:middle; ">내원 시 반응</caption>
  347. <caption id="caption15" class="cell_1" style="left:0px; top:676px; width:110px; height:21px; vertical-align:middle; ">입원배치 일시</caption>
  348. <caption id="caption17" class="cell_1" style="left:328px; top:702px; width:132px; height:21px; vertical-align:middle; ">퇴원일</caption>
  349. <caption id="caption18" class="cell_1" style="left:534px; top:305px; width:95px; height:21px; vertical-align:middle; ">호흡수</caption>
  350. <caption id="caption19" class="cell_1" style="left:534px; top:331px; width:95px; height:21px; vertical-align:middle; ">체온</caption>
  351. <caption id="caption20" class="cell_1" style="left:534px; top:253px; width:95px; height:21px; vertical-align:middle; ">SBP/DBP</caption>
  352. <caption id="caption21" class="cell_1" style="left:534px; top:279px; width:95px; height:21px; vertical-align:middle; ">맥박수</caption>
  353. <caption id="caption22" class="cell_1" style="left:0px; top:623px; width:110px; height:21px; vertical-align:middle; ">보호장구</caption>
  354. <caption id="caption27" class="cell_1" style="left:328px; top:172px; width:132px; height:21px; vertical-align:middle; ">의도성여부</caption>
  355. <caption id="caption28" class="cell_1" style="left:0px; top:172px; width:110px; height:21px; vertical-align:middle; ">질병여부</caption>
  356. <caption id="caption29" class="tit_2" style="left:0px; top:232px; width:131px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 초기평가 정보</caption>
  357. <caption id="caption30" class="cell_1" style="left:0px; top:198px; width:110px; height:21px; vertical-align:middle; ">손상기전</caption>
  358. <caption id="caption31" class="cell_1" style="left:0px; top:94px; width:110px; height:21px; vertical-align:middle; ">발병일시</caption>
  359. <caption id="caption33" class="cell_1" style="left:0px; top:252px; width:110px; height:74px; vertical-align:middle; ">주증상</caption>
  360. <caption id="caption34" class="cell_1" style="left:328px; top:676px; width:132px; height:21px; vertical-align:middle; ">입원결정시간</caption>
  361. <datagrid id="grd_indiaginfo" nodeset="/root/main/nedistraminfo/indiaginfo/indiaglist" caption="퇴원 시 진단명^퇴원 시 진단명" colsep="^" colwidth="120, 575" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:754px; width:717px; height:91px; ">
  362. <col ref="diagcd"/>
  363. <col ref="diagnm"/>
  364. </datagrid>
  365. <input id="caption50" ref="/root/main/nedistraminfo/nedisreclist/erptotdt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:463px; top:386px; width:254px; height:19px; "/>
  366. <input id="ipt_erptinrt" ref="/root/main/nedistraminfo/nedisreclist/erptinrt" appearance="input" style="left:463px; top:95px; width:254px; height:19px; "/>
  367. <input id="caption52" ref="/root/main/nedistraminfo/nedisreclist/erptinmn" appearance="input" style="left:114px; top:121px; width:210px; height:19px; "/>
  368. <input id="caption53" ref="/root/main/nedistraminfo/nedisreclist/erptemrt" appearance="input" style="left:114px; top:412px; width:210px; height:19px; "/>
  369. <input id="caption35" ref="/root/main/nedistraminfo/nedisreclist/erptresp" appearance="input" style="left:114px; top:331px; width:210px; height:19px; "/>
  370. <input id="ipt_wardintm" ref="/root/main/nedistraminfo/nedisreclist/wardintm" format="yyyy-mm-dd hh:nn" appearance="input" style="left:114px; top:678px; width:210px; height:19px; "/>
  371. <input id="caption37" ref="/root/main/nedistraminfo/nedisreclist/erptdctm" format="yyyy-mm-dd hh:nn" appearance="input" style="left:463px; top:702px; width:254px; height:19px; "/>
  372. <input id="caption16" ref="/root/main/nedistraminfo/nedisreclist/erptbdht" appearance="input" style="left:632px; top:331px; width:85px; height:19px; "/>
  373. <input id="caption39" ref="/root/main/nedistraminfo/nedisreclist/erptbp" appearance="input" style="left:632px; top:254px; width:85px; height:19px; "/>
  374. <input id="caption40" ref="/root/main/nedistraminfo/nedisreclist/erptpuls" appearance="input" style="left:632px; top:279px; width:85px; height:19px; "/>
  375. <input id="caption41" ref="/root/main/nedistraminfo/nedisreclist/erptbrth" appearance="input" style="left:632px; top:305px; width:85px; height:19px; "/>
  376. <input id="caption42" ref="/root/main/nedistraminfo/nedisreclist/mainsympcd" appearance="input" style="left:114px; top:254px; width:80px; height:19px; "/>
  377. <input id="caption43" ref="/root/main/nedistraminfo/nedisreclist/mainsympcd1" appearance="input" style="left:114px; top:279px; width:80px; height:19px; "/>
  378. <input id="caption44" ref="/root/main/nedistraminfo/nedisreclist/mainsympcd2" appearance="input" style="left:114px; top:305px; width:80px; height:19px; "/>
  379. <input id="caption45" ref="/root/main/nedistraminfo/nedisreclist/erptakdt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:114px; top:95px; width:210px; height:19px; "/>
  380. <input id="caption46" ref="/root/main/nedistraminfo/nedisreclist/erptarcs" appearance="input" style="left:114px; top:199px; width:603px; height:19px; "/>
  381. <input id="caption49" ref="/root/main/nedistraminfo/nedisreclist/erptarck" appearance="input" style="left:463px; top:173px; width:254px; height:19px; "/>
  382. <input id="caption54" ref="/root/main/nedistraminfo/nedisreclist/erptdgkd" appearance="input" style="left:114px; top:173px; width:210px; height:19px; "/>
  383. <input id="caption55" ref="/root/main/nedistraminfo/nedisreclist/ertptsall" appearance="input" style="left:114px; top:624px; width:603px; height:19px; "/>
  384. <input id="caption58" ref="/root/main/nedistraminfo/nedisreclist/erdecidt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:463px; top:678px; width:254px; height:19px; "/>
  385. <input id="caption61" ref="/root/main/nedistraminfo/nedisreclist/termengnm" appearance="input" style="left:197px; top:254px; width:333px; height:19px; "/>
  386. <input id="caption62" ref="/root/main/nedistraminfo/nedisreclist/termengnm1" appearance="input" style="left:197px; top:279px; width:333px; height:19px; "/>
  387. <input id="caption63" ref="/root/main/nedistraminfo/nedisreclist/termengnm2" appearance="input" style="left:197px; top:305px; width:333px; height:19px; "/>
  388. <line id="line1" class="line_3" style="x1:0px; y1:41px; x2:728px; y2:41px; "/>
  389. <caption id="caption4" class="cell_1" style="left:0px; top:43px; width:110px; height:21px; vertical-align:middle; ">내원일시</caption>
  390. <line id="line2" class="line_3" style="x1:0px; y1:65px; x2:728px; y2:65px; "/>
  391. <line id="line3" class="line_3" style="x1:0px; y1:92px; x2:728px; y2:92px; "/>
  392. <line id="line5" class="line_3" style="x1:0px; y1:353px; x2:728px; y2:353px; "/>
  393. <line id="line6" class="line_3" style="x1:0px; y1:565px; x2:728px; y2:565px; "/>
  394. <input id="input1" ref="/root/main/nedistraminfo/nedisreclist/chnghospnm" appearance="input" style="left:328px; top:438px; width:389px; height:19px; "/>
  395. <caption id="caption23" class="cell_1" style="left:0px; top:437px; width:110px; height:21px; vertical-align:middle; ">전원보낼의료기관</caption>
  396. <caption id="caption2" class="cell_1" style="left:328px; top:120px; width:132px; height:21px; vertical-align:middle; ">전원 온 의료기관 종류</caption>
  397. <caption id="caption3" class="cell_1" style="left:0px; top:146px; width:110px; height:21px; vertical-align:middle; ">재난번호</caption>
  398. <caption id="caption5" class="cell_1" style="left:328px; top:146px; width:132px; height:21px; vertical-align:middle; ">구급활동일지 일련번호</caption>
  399. <line id="line15" class="line_2" style="x1:0px; y1:117px; x2:728px; y2:117px; "/>
  400. <line id="line16" class="line_2" style="x1:0px; y1:143px; x2:728px; y2:143px; "/>
  401. <line id="line17" class="line_2" style="x1:0px; y1:169px; x2:728px; y2:169px; "/>
  402. <line id="line18" class="line_2" style="x1:0px; y1:195px; x2:728px; y2:195px; "/>
  403. <line id="line8" class="line_3" style="x1:0px; y1:250px; x2:728px; y2:250px; "/>
  404. <line id="line4" class="line_2" style="x1:110px; y1:276px; x2:728px; y2:276px; "/>
  405. <line id="line7" class="line_2" style="x1:110px; y1:302px; x2:728px; y2:302px; "/>
  406. <line id="line9" class="line_2" style="x1:0px; y1:328px; x2:728px; y2:328px; "/>
  407. <line id="line10" class="line_3" style="x1:0px; y1:221px; x2:728px; y2:221px; "/>
  408. <caption id="caption24" class="tit_2" style="left:0px; top:364px; width:255px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자 응급 진료 내용 및 결과</caption>
  409. <caption id="caption25" class="cell_1" style="left:0px; top:385px; width:110px; height:21px; vertical-align:middle; ">주진료과</caption>
  410. <line id="line11" class="line_3" style="x1:0px; y1:382px; x2:728px; y2:382px; "/>
  411. <line id="line12" class="line_2" style="x1:0px; y1:408px; x2:728px; y2:408px; "/>
  412. <line id="line13" class="line_2" style="x1:0px; y1:434px; x2:728px; y2:434px; "/>
  413. <line id="line14" class="line_2" style="x1:0px; y1:460px; x2:728px; y2:460px; "/>
  414. <line id="line19" class="line_3" style="x1:0px; y1:646px; x2:728px; y2:646px; "/>
  415. <input id="input2" ref="/root/main/nedistraminfo/nedisreclist/erptdept" style="left:114px; top:386px; width:210px; height:19px; "/>
  416. <input id="input3" ref="/root/main/nedistraminfo/nedisreclist/erptdctp2" style="left:114px; top:438px; width:210px; height:19px; "/>
  417. <input id="input4" ref="/root/main/nedistraminfo/nedisreclist/erptdsid" style="left:114px; top:147px; width:210px; height:19px; "/>
  418. <input id="input5" ref="/root/main/nedistraminfo/nedisreclist/erptintp" style="left:463px; top:121px; width:254px; height:19px; "/>
  419. <input id="input6" ref="/root/main/nedistraminfo/nedisreclist/erptreid" style="left:463px; top:147px; width:254px; height:19px; "/>
  420. <line id="line21" class="line_3" style="x1:0px; y1:594px; x2:728px; y2:594px; "/>
  421. <caption id="caption26" class="tit_2" style="left:0px; top:576px; width:255px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">교통사고 진료결과</caption>
  422. <caption id="caption32" class="cell_1" style="left:0px; top:597px; width:110px; height:21px; vertical-align:middle; ">손상당사자</caption>
  423. <input id="input7" ref="/root/main/nedistraminfo/nedisreclist/erpttaip" style="left:114px; top:598px; width:205px; height:19px; "/>
  424. <line id="line22" class="line_2" style="x1:0px; y1:620px; x2:728px; y2:620px; "/>
  425. <line id="line23" class="line_3" style="x1:0px; y1:674px; x2:728px; y2:674px; "/>
  426. <caption id="caption36" class="tit_2" style="left:0px; top:656px; width:255px; height:15px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">최종 진료결과 (응급실 경유 입원환자)</caption>
  427. <caption id="caption47" class="cell_1" style="left:0px; top:702px; width:110px; height:21px; vertical-align:middle; ">입원 후 결과</caption>
  428. <input id="input8" ref="/root/main/nedistraminfo/nedisreclist/erptdcrt" appearance="input" style="left:114px; top:702px; width:210px; height:19px; "/>
  429. <line id="line24" class="line_2" style="x1:0px; y1:699px; x2:728px; y2:699px; "/>
  430. <caption id="caption13" class="cell_1" style="left:0px; top:728px; width:110px; height:21px; vertical-align:middle; ">전원보낼의료기관</caption>
  431. <input id="input9" ref="/root/main/nedistraminfo/nedisreclist/erptdctp3" style="left:114px; top:729px; width:210px; height:19px; "/>
  432. <line id="line25" class="line_2" style="x1:0px; y1:725px; x2:728px; y2:725px; "/>
  433. <line id="line26" class="line_2" style="x1:0px; y1:751px; x2:728px; y2:751px; "/>
  434. <caption id="caption38" class="cell_1" style="left:328px; top:43px; width:132px; height:21px; vertical-align:middle; ">전송상태</caption>
  435. <!--select1 id="radio2" ref="/root/main/nedistrsmpatinfo/nedistrsmpatlist/eragstat" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:463px; top:45px; width:250px; height:20px; border-style:none; "-->
  436. <select1 id="radio2" ref="/root/main/nedistraminfo/nedisreclist/eragstat" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:463px; top:45px; width:262px; height:20px; border-style:none; ">
  437. <choices>
  438. <item>
  439. <label>집계중</label>
  440. <value>N</value>
  441. </item>
  442. <item>
  443. <label>전송대기</label>
  444. <value>Y</value>
  445. </item>
  446. <item>
  447. <label>전송완료</label>
  448. <value>T</value>
  449. </item>
  450. <item>
  451. <label>전송실패</label>
  452. <value>E</value>
  453. </item>
  454. </choices>
  455. </select1>
  456. <input id="input10" ref="/root/main/nedistraminfo/nedisreclist/erptindt" format="yyyy-mm-dd hh:nn" appearance="input" style="left:114px; top:44px; width:210px; height:19px; "/>
  457. <datagrid id="grd_erpatlist" nodeset="/root/main/erpatinfo/erpatlist" visibility="hidden" caption="내원일시^내원일시" colsep="^" colwidth="110, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:125px; top:30px; width:190px; height:130px; ">
  458. <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
  459. <col ref="chostm" format="hh:nn" style="text-align:center; "/>
  460. <script type="javascript" ev:event="ondblclick">
  461. <![CDATA[
  462. var row = grd_erpatlist.row;
  463. var pid = "";
  464. var chosdd = "";
  465. var chostm = "";
  466. var cretno = "";
  467. if ( row > 0) {
  468. pid = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/pid")
  469. chosdd = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/chosdd")
  470. chostm = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/chostm")
  471. cretno = model.getValue("/root/main/erpatinfo/erpatlist[" + row + "]/cretno")
  472. model.setValue("/root/main/condition/orddd", chosdd);
  473. model.removeNodeset("/root/send");
  474. model.removeNodeset("/root/main/nedistraminfo");
  475. model.makeValue("/root/send/eragidno", pid);
  476. model.makeValue("/root/send/eragindt", chosdd);
  477. model.makeValue("/root/send/eragintm", chostm);
  478. model.makeValue("/root/send/cretno", cretno);
  479. submit("TRMNE07403");
  480. }
  481. grd_erpatlist.visible = false;
  482. ]]>
  483. </script>
  484. <script type="javascript" ev:event="onmousedown">
  485. <![CDATA[
  486. if (event.button == 3) {
  487. grd_erpatlist.visible = false;
  488. }
  489. ]]>
  490. </script>
  491. </datagrid>
  492. <button id="button1" class="btn1_letter2" navindex="5" style="left:670px; top:7px; width:56px; height:22px; ">
  493. <caption>집계</caption>
  494. <script type="javascript" ev:event="DOMActivate">
  495. <![CDATA[
  496. var pid = "";
  497. var orddd = "";
  498. pid = model.getValue("/root/main/condition/pid");
  499. orddd = model.getValue("/root/main/condition/orddd");
  500. if (pid == "" || orddd == "") {
  501. //messageBox("");
  502. } else {
  503. model.removeNodeset("/root/send");
  504. model.makeValue("/root/send/pid", pid);
  505. model.makeValue("/root/send/orddd", orddd);
  506. submit("TRMNE07404");
  507. }
  508. ]]>
  509. </script>
  510. </button>
  511. </group>
  512. </xhtml:body>
  513. </xhtml:html>