SMMMO06300_응급의료관리료발생현황.xrw 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>응급의료관리료 발생현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ercalcscorgpc>
  11. <ercalcscorlist>
  12. <pid/>
  13. <hngnm/>
  14. <sa/>
  15. <orddd/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <ersympresncd/>
  19. <rgstdt/>
  20. <rgstnm/>
  21. <ersympresnnm/>
  22. </ercalcscorlist>
  23. </ercalcscorgpc>
  24. <cond>
  25. <orddd/>
  26. <pid/>
  27. <hngnm/>
  28. </cond>
  29. <patinfo>
  30. <patinfolist/>
  31. </patinfo>
  32. </main>
  33. <send>
  34. <reqdata/>
  35. </send>
  36. <hidden/>
  37. <init/>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. //그리드 초기화
  43. model.removeNodeset("/root/main/ercalcscorgpc/ercalcscorlist");
  44. //진료일자 현재날짜로 받아옴
  45. model.setValue("/root/main/cond/orddd",getCurrentDate());
  46. model.refresh();
  47. ]]>
  48. </script>
  49. <submission id="TRMMO06303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ercalcscorgpc"/>
  50. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hngnm"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  56. </xhtml:head>
  57. <xhtml:body guideline="2,376;1,1194;2,784;" style="margin-left:8; margin-right:8; ">
  58. <caption id="caption1" class="tit_1" style="left:0px; top:10px; width:185px; height:13px; ">응급의료관리료 발생현황</caption>
  59. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1194px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
  60. <caption id="caption2" class="search_name" style="left:17px; top:38px; width:105px; height:17px; ">진료일자 :</caption>
  61. <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_search" inputtype="date" appearance="input" style="left:105px; top:37px; width:87px; height:19px; "/>
  62. <caption id="caption3" class="search_name" style="left:247px; top:38px; width:93px; height:17px; ">등록번호:</caption>
  63. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" maxlength="10" appearance="input" style="left:331px; top:38px; width:115px; height:19px; ">
  64. <script type="javascript" ev:event="onkeypress">
  65. <![CDATA[
  66. //그리드 초기화
  67. model.removeNodeset("/root/main/ercalcscorgpc/ercalcscorlist");
  68. //입력한 등록번호를 가지고 등록번호에 해당하는 환자명을 조회하러 간다
  69. inputEnterKey("btn_reqpatnm", "DOMActivate");
  70. //등록번호에 해당하는 환자를 조회
  71. inputEnterKey("btn_req", "DOMActivate");
  72. ]]>
  73. </script>
  74. <hint>
  75. <![CDATA[등록번호를 입력하세요]]>
  76. </hint>
  77. </input>
  78. <caption id="caption4" class="search_name" style="left:471px; top:38px; width:107px; height:17px; ">성 명 :</caption>
  79. <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" disabled="true" appearance="input" style="left:543px; top:38px; width:106px; height:19px; ">
  80. <hint>
  81. <![CDATA[환자명은 입력할 수 없습니다.]]>
  82. </hint>
  83. </input>
  84. <button id="button1" class="icon_search" navindex="3" style="left:654px; top:38px; width:16px; height:16px; ">
  85. <caption/>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. ipt_hngnm.value = '';
  89. ipt_pid.value = '';
  90. //원무팀의 환자명을 받아오는 팝업창을 띠운다.
  91. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  92. //input박스에 데이타를 받아온다.
  93. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  94. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  95. model.setValue("/root/main/cond/pid", sPid);
  96. model.setValue("/root/main/cond/hngnm", sHngnm);
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </button>
  101. <line id="line3" style="x1:1115px; y1:30px; x2:1115px; y2:60px; border-color:#ffe4bb; border-left-style:solid; "/>
  102. <button id="btn_req" class="btn1_letter2" navindex="6" style="left:1127px; top:35px; width:56px; height:22px; ">
  103. <caption>조회</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. //조건에 맞는 데이타조회
  107. model.copyNode("/root/send/reqdata","/root/main/cond");
  108. submit("TRMMO06303");
  109. ]]>
  110. </script>
  111. </button>
  112. <caption id="caption25" class="tit_2" style="left:0px; top:81px; width:230px; height:13px; ">응급의료관리료 발생현황 리스트</caption>
  113. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
  114. <datagrid id="grd_ercalcscorlist" nodeset="/root/main/ercalcscorgpc/ercalcscorlist" caption="등록번호^성 명^나이/성별^진료일자^처방코드^처방명^응급증상사유코드^응급증상사유^등록일시^등록자명" colsep="^" colwidth="60, 70, 70, 70, 80, 280, 0, 338, 120, 70" ellipsis="true" explorerbar="sortshow" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="7" style="left:0px; top:101px; width:1194px; height:683px; ">
  115. <col ref="pid"/>
  116. <col ref="hngnm"/>
  117. <col ref="sa"/>
  118. <col ref="orddd" format="yyyy-mm-dd"/>
  119. <col ref="prcpcd"/>
  120. <col ref="prcpnm"/>
  121. <col ref="ersympresncd"/>
  122. <col ref="ersympresnnm"/>
  123. <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  124. <col ref="rgstnm"/>
  125. </datagrid>
  126. <button id="btn_excel" class="btn2_letter3" style="left:1137px; top:74px; width:53px; height:19px; ">
  127. <caption>Excel</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. //파일 선택 다이얼로그 띄운다. - "응급실호출현황"이라는 이름으로 저장 위치를 지정하는 팝업을 띄움
  131. var fileName = window.fileDialog("save", ",", false, "응급실의료관리료 발생현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  132. //파일저장주소를 받아온 것을 가지고 그리드내용을 엑셀로 저장
  133. if (fileName != "")
  134. {
  135. //그리드의 내용을 Excel 파일로 저장하는 함수로.. 파일이름을 받아온것을 가지고 저장하러 간다.
  136. grd_ercalcscorlist.saveExcel(fileName, "SheetName", true, true, "", "");
  137. }
  138. ]]>
  139. </script>
  140. </button>
  141. <button id="btn_reqpatnm" disabled="true" navindex="4" style="left:455px; top:40px; width:10px; height:20px; ">
  142. <caption/>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. //등록번호를 입력하면 등록번호에 해당하는 환자명을 조회하고 환자명입력창에 환자명 넣어줌
  146. model.removenode("/root/init/patnm/patnm");
  147. //reqPatInfo: 환자정보 조회 - 함수 (MMO0001에 있음)
  148. reqPatInfo("pid", "ptbs",model.getValue("/root/main/cond/pid"));
  149. //받아온 환자명을 환자명 input박스에 넣어준다
  150. model.setValue("/root/main/cond/hngnm", model.getValue("/root/init/patnm/patnm/hngnm"));
  151. model.refresh();
  152. ]]>
  153. </script>
  154. </button>
  155. </xhtml:body>
  156. </xhtml:html>