SMMNE02200_Call Visit time 현황.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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>Call Visit Time 현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <srchinfo>
  11. <cond>
  12. <fromdd/>
  13. <todd/>
  14. <srchtodd/>
  15. <srchorddept>-</srchorddept>
  16. </cond>
  17. </srchinfo>
  18. <callvisitinfo>
  19. <callvisitlsit>
  20. <pid/>
  21. <patnm/>
  22. <sex/>
  23. <age/>
  24. <diagnm/>
  25. <mainorddept/>
  26. <indt/>
  27. <fstexamorddt/>
  28. <decidt/>
  29. <outrmdt/>
  30. <recovwardcd/>
  31. <opyn/>
  32. <outrmcd/>
  33. <callmodin/>
  34. <visitmodcall/>
  35. <dschdclrmodin/>
  36. <outmodin/>
  37. <outmoddschdclr/>
  38. <difnm1/>
  39. <difcall1/>
  40. <difvisit1/>
  41. <difgab1/>
  42. <difnm2/>
  43. <difcall2/>
  44. <difvisit2/>
  45. <difgab2/>
  46. <difnm3/>
  47. <difcall3/>
  48. <difvisit3/>
  49. <difgab3/>
  50. <difnm4/>
  51. <difcall4/>
  52. <difvisit4/>
  53. <difgab4/>
  54. <difnm5/>
  55. <difcall5/>
  56. <difvisit5/>
  57. <difgab5/>
  58. <fstdeitdt/>
  59. <fstoutrmdt/>
  60. <fstrevisitindt/>
  61. <fstrevisitdeitdt/>
  62. <fstrevisitoutdt/>
  63. <scndrevisitindt/>
  64. <scndrevisitdeitdt/>
  65. <scndrevisitoutdt/>
  66. </callvisitlsit>
  67. </callvisitinfo>
  68. </main>
  69. <send/>
  70. <item/>
  71. <hidden>
  72. <item>
  73. <label/>
  74. <value/>
  75. </item>
  76. <orddeptlist/>
  77. <erorddeptlist/>
  78. </hidden>
  79. </root>
  80. </instance>
  81. <script type="javascript" ev:event="xforms-ready">
  82. <![CDATA[
  83. model.removeNodeset("/root/main/callvisitinfo/callvisitlsit");
  84. var setDate = getDateCalc(getCurrentDate() , 1);
  85. model.setValue("/root/main/srchinfo/cond/fromdd", setDate);
  86. model.setValue("/root/main/srchinfo/cond/todd", setDate);
  87. model.setValue("/root/main/srchinfo/cond/srchtodd", getDateAddc(setDate, 1) );
  88. var instcd = getUserInfo("dutplceinstcd");
  89. //var instcd = "012"
  90. var standard_yn = "orduseyn";
  91. var ord_deptflag = 'D';
  92. var rslt_ref = "/root/hidden/orddeptlist";
  93. var sort_field = "dispseq";
  94. var sort_method = "asc";
  95. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
  96. model.makevalue("/root/hidden/erorddeptlist/dept/depthngnm", "-");
  97. model.makevalue("/root/hidden/erorddeptlist/dept/deptcd", "-");
  98. for(i = 0 ; i < getNodesetCount("/root/hidden/orddeptlist/dept") ; i ++ ) {
  99. model.makevalue("/root/hidden/erorddeptlist/dept["+(i+2)+"]/depthngnm", model.getValue("/root/hidden/orddeptlist/dept["+(i+1)+"]/depthngnm") );
  100. model.makevalue("/root/hidden/erorddeptlist/dept["+(i+2)+"]/deptcd" , model.getValue("/root/hidden/orddeptlist/dept["+(i+1)+"]/deptcd") );
  101. }
  102. combo1.refresh();
  103. ]]>
  104. </script>
  105. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  106. <submission id="TRMNE02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/callvisitinfo"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  110. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  111. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  112. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  114. </xhtml:head>
  115. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  116. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  117. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:216px; height:14px; ">Call Visit Time 현황</caption>
  118. </group>
  119. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  120. <group id="group2" style="left:0px; top:6px; width:1194px; height:39px; vertical-align:top; ">
  121. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  122. <button id="button1" class="btn1_letter2" style="left:977px; top:8px; width:56px; height:22px; ">
  123. <caption>조회</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. var srchHeader = "fromdd▦todd▦srchtodd▦srchorddept▩";
  127. var srchData = model.getValue("/root/main/srchinfo/cond/fromdd")+"▦"
  128. + model.getValue("/root/main/srchinfo/cond/todd")+"▦"
  129. + model.getValue("/root/main/srchinfo/cond/srchtodd")+"▦"
  130. + model.getValue("/root/main/srchinfo/cond/srchorddept")+"▩"
  131. model.makeValue("/root/send/cond", srchHeader + srchData);
  132. datagrid2.rebuildStyle();
  133. submit("TRMNE02201");
  134. ]]>
  135. </script>
  136. </button>
  137. <line id="line13" class="line_4" style="x1:961px; y1:8px; x2:961px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  138. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:91px; height:17px; ">조회기간 :</caption>
  139. <input id="input_refFrDT" ref="/root/main/srchinfo/cond/fromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  140. <caption id="caption5" class="search_no_b" style="left:206px; top:8px; width:15px; height:17px; ">~</caption>
  141. <input id="input_refToDT" ref="/root/main/srchinfo/cond/todd" class="input_s_essential" inputtype="date" style="left:220px; top:8px; width:100px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. var getDate = getDateAddc(input_refToDT.value, 1);
  145. model.setValue("/root/main/srchinfo/cond/srchtodd",getDate);
  146. ]]>
  147. </script>
  148. </input>
  149. <button id="button2" class="btn1_letter2" style="left:1036px; top:8px; width:56px; height:22px; ">
  150. <caption>출력</caption>
  151. </button>
  152. <button id="button3" class="btn1_letter4" style="left:1095px; top:8px; width:80px; height:22px; ">
  153. <caption>엑셀저장</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. var fileName = window.fileDialog("save", ",", false, "응급실 Call&Visit Time_" + getCurrentDate() , "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  157. if (fileName != "") {
  158. datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", false);
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. <caption id="caption1" class="search_name" style="left:364px; top:8px; width:91px; height:17px; ">조회부서 :</caption>
  164. <select1 id="combo1" ref="/root/main/srchinfo/cond/srchorddept" class="combo_search" appearance="minimal" style="left:451px; top:8px; width:120px; height:19px; ">
  165. <choices>
  166. <itemset nodeset="/root/hidden/erorddeptlist/dept">
  167. <label ref="depthngnm"/>
  168. <value ref="deptcd"/>
  169. </itemset>
  170. </choices>
  171. </select1>
  172. </group>
  173. <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  174. <datagrid id="datagrid2" nodeset="/root/main/callvisitinfo/callvisitlsit" class="datagrid2" caption="등록번호^환자명^성별^나이^주 증상 및 진단명^호출&#xA;진료과^입실시간^초진시간^결정시간^퇴실시간^중증^수술&#xA;여부^퇴실사유^입실-호출^호출-도착^입실-결정^입실-퇴실^결정-퇴실^타과1^호출1^도착1^gab^타과2^호출2^도착2^gab^타과3^호출3^도착3^gab^타과4^호출4^도착4^gab^타과5^호출5^도착5^gab^최초결정시간^최초퇴실시간^1차Revisit&#xA;입실시간^1차Revisit&#xA;결정시간^1차Revisit&#xA;퇴실시간^2차Revisit&#xA;입실시간^2차Revisit&#xA;결정시간^2차Revisit&#xA;퇴실시간" colsep="^" colwidth="65, 75, 40, 40, 220, 55, 110, 110, 110, 110, 35, 30, 70, 60, 60, 60, 60, 60, 50, 110, 110, 40, 50, 110, 110, 40, 50, 110, 110, 40, 50, 110, 100, 40, 50, 110, 110, 40, 110, 110, 110, 110, 110, 110, 110, 110" ellipsis="true" explorerbar="sort" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:656px; ">
  175. <col ref="pid"/>
  176. <col ref="patnm"/>
  177. <col ref="sex" style="text-align:center; "/>
  178. <col ref="age" style="text-align:center; "/>
  179. <col ref="diagnm"/>
  180. <col ref="mainorddept" style="text-align:center; "/>
  181. <col ref="indt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  182. <col ref="fstexamorddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  183. <col ref="decidt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  184. <col ref="outrmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  185. <col ref="recovwardcd"/>
  186. <col ref="opyn" style="text-align:center; "/>
  187. <col ref="outrmcd"/>
  188. <col ref="callmodin" style="text-align:right; "/>
  189. <col ref="visitmodcall" style="text-align:right; "/>
  190. <col ref="dschdclrmodin" style="text-align:right; "/>
  191. <col ref="outmodin" style="text-align:right; "/>
  192. <col ref="outmoddschdclr" style="text-align:right; "/>
  193. <col ref="difnm1" style="text-align:center; "/>
  194. <col ref="difcall1" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  195. <col ref="difvisit1" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  196. <col ref="difgab1" style="text-align:right; "/>
  197. <col ref="difnm2" style="text-align:center; "/>
  198. <col ref="difcall2" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  199. <col ref="difvisit2" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  200. <col ref="difgab2" style="text-align:right; "/>
  201. <col ref="difnm3" style="text-align:center; "/>
  202. <col ref="difcall3" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  203. <col ref="difvisit3" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  204. <col ref="difgab3" style="text-align:right; "/>
  205. <col ref="difnm4" style="text-align:center; "/>
  206. <col ref="difcall4" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  207. <col ref="difvisit4" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  208. <col ref="difgab4" style="text-align:right; "/>
  209. <col ref="difnm5" style="text-align:center; "/>
  210. <col ref="difcall5" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  211. <col ref="difvisit5" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  212. <col ref="difgab5" style="text-align:right; "/>
  213. <col ref="fstdeitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  214. <col ref="fstoutrmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  215. <col ref="fstrevisitindt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  216. <col ref="fstrevisitdeitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  217. <col ref="fstrevisitoutdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  218. <col ref="scndrevisitindt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  219. <col ref="scndrevisitdeitdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  220. <col ref="scndrevisitoutdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  221. </datagrid>
  222. <caption id="caption22" class="tit_2" style="left:5px; top:55px; width:139px; height:13px; ">CallTime/VisitTime</caption>
  223. <line id="line1" class="line_3" style="x1:0px; y1:737px; x2:1194px; y2:737px; "/>
  224. </group>
  225. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  226. <caption id="caption3" style="left:1165px; top:5px; width:30px; height:20px; text-align:right; ">[표]</caption>
  227. </group>
  228. </xhtml:body>
  229. </xhtml:html>