RPMNE04700_응급환자대장.rex 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <?xml version="1.0"?>
  2. <Report Title="" Author="" Company="" Category="" Description="" CreatedDate="2005-03-07 18:59:28" LastSavedDate="2011-01-30 15:42:53" Version="2.5.1.93"><FieldInfo><FieldSet ID="1"><Field Name="fromdd" Type="8" Size="0" Xpath="../../srchinfo/cond/fromdd"/><Field Name="todd" Type="8" Size="0" Xpath="../../srchinfo/cond/todd"/><Field Name="srchflag" Type="8" Size="0" Xpath="../../srchinfo/cond/srchflag"/><Field Name="bedposcnts" Type="8" Size="0" Xpath="bedposcnts"/><Field Name="fsexamflag" Type="8" Size="0" Xpath="fsexamflag"/><Field Name="serdiagflag" Type="8" Size="0" Xpath="serdiagflag"/><Field Name="recovwardcd" Type="8" Size="0" Xpath="recovwardcd"/><Field Name="unstablevs" Type="8" Size="0" Xpath="unstablevs"/><Field Name="pid" Type="8" Size="0" Xpath="pid"/><Field Name="patnm" Type="8" Size="0" Xpath="patnm"/><Field Name="sex" Type="8" Size="0" Xpath="sex"/><Field Name="age" Type="8" Size="0" Xpath="age"/><Field Name="diagnm" Type="8" Size="0" Xpath="diagnm"/><Field Name="mainorddept" Type="8" Size="0" Xpath="mainorddept"/><Field Name="maindocnm" Type="8" Size="0" Xpath="maindocnm"/><Field Name="outrmcdnm" Type="8" Size="0" Xpath="outrmcdnm"/><Field Name="opdd" Type="8" Size="0" Xpath="opdd"/><Field Name="indt" Type="8" Size="0" Xpath="indt"/><Field Name="maincalldt" Type="8" Size="0" Xpath="maincalldt"/><Field Name="fstexamorddt" Type="8" Size="0" Xpath="fstexamorddt"/><Field Name="decidt" Type="8" Size="0" Xpath="decidt"/><Field Name="outrmdt" Type="8" Size="0" Xpath="outrmdt"/><Field Name="outmodin" Type="8" Size="0" Xpath="outmodin"/><Field Name="callmodin" Type="8" Size="0" Xpath="callmodin"/><Field Name="visitmodcall" Type="8" Size="0" Xpath="visitmodcall"/><Field Name="dschdclrmodin" Type="8" Size="0" Xpath="dschdclrmodin"/><Field Name="outmoddschdclr" Type="8" Size="0" Xpath="outmoddschdclr"/><Field Name="difnm1" Type="8" Size="0" Xpath="difnm1"/><Field Name="difcall1" Type="8" Size="0" Xpath="difcall1"/><Field Name="difvisit1" Type="8" Size="0" Xpath="difvisit1"/><Field Name="difgab1" Type="8" Size="0" Xpath="difgab1"/><Field Name="difnm2" Type="8" Size="0" Xpath="difnm2"/><Field Name="difcall2" Type="8" Size="0" Xpath="difcall2"/><Field Name="difvisit2" Type="8" Size="0" Xpath="difvisit2"/><Field Name="difgab2" Type="8" Size="0" Xpath="difgab2"/><Field Name="difnm3" Type="8" Size="0" Xpath="difnm3"/><Field Name="difcall3" Type="8" Size="0" Xpath="difcall3"/><Field Name="difvisit3" Type="8" Size="0" Xpath="difvisit3"/><Field Name="difgab3" Type="8" Size="0" Xpath="difgab3"/><Field Name="difnm4" Type="8" Size="0" Xpath="difnm4"/><Field Name="difcall4" Type="8" Size="0" Xpath="difcall4"/><Field Name="difvisit4" Type="8" Size="0" Xpath="difvisit4"/><Field Name="difgab4" Type="8" Size="0" Xpath="difgab4"/><Field Name="difnm5" Type="8" Size="0" Xpath="difnm5"/><Field Name="difcall5" Type="8" Size="0" Xpath="difcall5"/><Field Name="difvisit5" Type="8" Size="0" Xpath="difvisit5"/><Field Name="difgab5" Type="8" Size="0" Xpath="difgab5"/><Field Name="indd" Type="8" Size="0" Xpath="indd"/><Field Name="instcd" Type="8" Size="0" Xpath="instcd"/><Field Name="cretno" Type="8" Size="0" Xpath="cretno"/><Field Name="visitno" Type="8" Size="0" Xpath="visitno"/><Field Name="outrmcd" Type="8" Size="0" Xpath="outrmcd"/><Field Name="mainarrivdt" Type="8" Size="0" Xpath="mainarrivdt"/><Field Name="juorddeptcd" Type="8" Size="0" Xpath="juorddeptcd"/><Field Name="juorddrid" Type="8" Size="0" Xpath="juorddrid"/><Field Name="damorddrid" Type="8" Size="0" Xpath="damorddrid"/></FieldSet><FieldSet ID="2"/><FieldSet ID="3"><Field Name="ffromdd" ScriptType="0"><![CDATA[formula = Mid("{@fromdd}",1,4)+"/"+Mid("{@fromdd}",5,2)+"/"+Mid("{@fromdd}",7,2)]]></Field><Field Name="ftodd" ScriptType="0"><![CDATA[formula = Mid("{@todd}",1,4)+"/"+Mid("{@todd}",5,2)+"/"+Mid("{@todd}",7,2)]]></Field><Field Name="fmainarrivdt" ScriptType="1"><![CDATA[if ( "{@indt}" != "" )
  3. return "{@indt}".substring(0, 4)+"/"+"{@indt}".substring(4, 6)+"/"+"{@indt}".substring(6, 8)
  4. +" "+"{@indt}".substring(8, 10)+":"+"{@indt}".substring(10, 12);
  5. ]]></Field><Field Name="foutrmdt" ScriptType="1"><![CDATA[if ( "{@outrmdt}" != "" )
  6. return "{@outrmdt}".substring(0, 4)+"/"+"{@outrmdt}".substring(4, 6)+"/"+"{@outrmdt}".substring(6, 8)
  7. +" "+"{@outrmdt}".substring(8, 10)+":"+"{@outrmdt}".substring(10, 12);
  8. ]]></Field><Field Name="ffstexamorddt" ScriptType="1"><![CDATA[if ( "{@fstexamorddt}" != "" )
  9. return "{@fstexamorddt}".substring(0, 4)+"/"+
  10. "{@fstexamorddt}".substring(4, 6)+"/"+
  11. "{@fstexamorddt}".substring(6, 8)+" "+
  12. "{@fstexamorddt}".substring(8, 10)+":"+
  13. "{@fstexamorddt}".substring(10, 12);
  14. ]]></Field><Field Name="fdifcall1" ScriptType="1"><![CDATA[if ( "{@difcall1}" != "" )
  15. return "{@difcall1}".substring(0, 4)+"/"+
  16. "{@difcall1}".substring(4, 6)+"/"+
  17. "{@difcall1}".substring(6, 8)+" "+
  18. "{@difcall1}".substring(8, 10)+":"+
  19. "{@difcall1}".substring(10, 12);
  20. ]]></Field><Field Name="fdifvisit1" ScriptType="1"><![CDATA[if ( "{@difvisit1}" != "" )
  21. return "{@difvisit1}".substring(0, 4)+"/"+
  22. "{@difvisit1}".substring(4, 6)+"/"+
  23. "{@difvisit1}".substring(6, 8)+" "+
  24. "{@difvisit1}".substring(8, 10)+":"+
  25. "{@difvisit1}".substring(10, 12);
  26. ]]></Field></FieldSet><FieldSet ID="4"/></FieldInfo><DataSetting EncryptSQL="0" ConnectionString="Provider=OraOLEDB.Oracle.1;Password=hisu01;Persist Security Info=True;User ID=hisu01;Data Source=his012_dev" DynamicSQL="0" SQLScriptType="1" RecordType="2" DataPath="C:\KNUProject\application\webapps\emr\ercareweb\rex\RPMNE04700_응급환자대장.xml" DataRoot="root/main/callvisitinfo/callvisitlsit" XslPath="" XsdPath="" CsvPath="" CsvRowSeparator="|@|" CsvColumnSeparator="|*|"><OrderInfos/><FilterInfos/><SPInfo FunctionName=""/><SQL>SELECT tmp1.pid, tmp1.indd, tmp1.instcd, tmp1.cretno, tmp1.visitno, DECODE (tmp1.visitno, 0, ptbs.hngnm, ptbs.hngnm || 'ⓡ') AS patnm
  27. ,
  28. ptbs.sex AS sex
  29. ,
  30. com.fn_zz_getage ('', '', TO_CHAR (SYSDATE, 'YYYYMMDD'), 'b', ptbs.brthdd) AS age
  31. ,
  32. CASE
  33. WHEN erce.nurscccnts IS NULL OR erce.nurscccnts = ''
  34. THEN ''
  35. ELSE erce.nurscccnts || '; '
  36. END
  37. || CASE
  38. WHEN errt.termengnm IS NULL OR erce.nurscccnts = ''
  39. THEN ''
  40. ELSE errt.termengnm || '; '
  41. END
  42. || (SELECT NVL (term.termengnm, '')
  43. FROM emr.mmohdiag diag, emr.mrtmterm term
  44. WHERE tmp1.pid = diag.pid
  45. AND tmp1.cretno = diag.cretno
  46. AND tmp1.instcd = diag.instcd
  47. AND tmp1.indd = diag.orddd
  48. AND diag.diagkindcdflag = 'M'
  49. AND diag.diaghistcd = 'O'
  50. AND diag.genrflagcd = 'E'
  51. AND diag.diagkindcd = 'C'
  52. AND diag.diagtypecd = 'D'
  53. AND diag.instcd = term.instcd(+)
  54. AND diag.diagcd = term.termcd(+)
  55. AND term.termflag(+) = '0'
  56. AND term.termfromdd(+) &lt;= TO_CHAR (SYSDATE, 'YYYYMMDD')
  57. AND term.termtodd(+) &gt;= TO_CHAR (SYSDATE, 'YYYYMMDD')
  58. AND ROWNUM = 1) AS diagnm
  59. ,
  60. DECODE (inpt.fsexamflag,
  61. NULL, (SELECT fsexamflag
  62. FROM pam.pmohotpt
  63. WHERE pid = tmp1.pid AND instcd = tmp1.instcd AND orddd = tmp1.indd AND cretno = tmp1.cretno),
  64. inpt.fsexamflag
  65. ) AS fsexamflag,
  66. RTRIM (errt.fstexamorddd || errt.fstexamordtm) AS fstexamorddt
  67. ,
  68. DECODE (code.cdnm, '-', '', NULL, '', code.cdnm) AS recovwardcd,
  69. (SELECT MAX (opcr.patinroomdt)
  70. FROM emr.mmohoprs oprs, emr.mnphopcr opcr
  71. WHERE oprs.instcd = opcr.instcd
  72. AND oprs.oprsrvno = opcr.oprsrvno
  73. AND oprs.ophistcd = 'O'
  74. AND oprs.pid = tmp1.pid
  75. AND oprs.instcd = tmp1.instcd
  76. AND oprs.opcnfmdd BETWEEN tmp1.chosdd AND inpt.dschdd) AS opdd
  77. ,
  78. tmp1.outrmcd,
  79. CASE
  80. WHEN inpt.inpath = '1' AND tmp1.outrmcd LIKE '3%'
  81. THEN '외래경유 입원'
  82. WHEN inpt.inpath = '1'
  83. THEN '외래경유 내원'
  84. WHEN tmp1.outrmcd = '14'
  85. THEN 'DAMA'
  86. WHEN tmp1.outrmcd = '13'
  87. THEN 'Hopeless Discharge'
  88. WHEN tmp1.outrmcd = '19'
  89. THEN '외래처치대행'
  90. WHEN tmp1.outrmcd LIKE '1%'
  91. THEN '귀가'
  92. WHEN tmp1.outrmcd LIKE '2%'
  93. THEN '전원'
  94. WHEN tmp1.outrmcd IN ('33', '34')
  95. THEN '수술'
  96. WHEN tmp1.outrmcd LIKE '3%'
  97. THEN '입원'
  98. WHEN tmp1.outrmcd = '41'
  99. THEN 'DOA'
  100. WHEN tmp1.outrmcd LIKE '4%'
  101. THEN '사망'
  102. WHEN tmp1.outrmcd LIKE '8%'
  103. THEN '탈원'
  104. WHEN tmp1.outrmcd LIKE '9%'
  105. THEN '기타'
  106. WHEN tmp1.outrmcd IS NULL OR tmp1.outrmcd = ''
  107. THEN '응급실재원'
  108. END AS outrmcdnm,
  109. tmp1.outrmdd || tmp1.outrmtm AS outrmdt
  110. ,
  111. tmp1.outdecidt AS decidt
  112. ,
  113. tmp1.chosdd || tmp1.chostm AS indt
  114. ,
  115. tmp1.maindept AS mainorddept,
  116. (SELECT usernm
  117. FROM com.zsumusrb
  118. WHERE userid = tmp1.maindoctcd AND userfromdd &lt;= TO_CHAR (SYSDATE, 'YYYYMMDD') AND usertodd &gt;= TO_CHAR (SYSDATE, 'YYYYMMDD')) AS maindocnm,
  119. tmp1.maincalldt, tmp1.mainarrivdt,
  120. ROUND ( ( TO_DATE (CASE
  121. WHEN tmp1.maincalldt NOT LIKE '-%' AND tmp1.maincalldt IS NOT NULL
  122. THEN tmp1.maincalldt
  123. END, 'yyyymmddhh24miss')
  124. - TO_DATE (tmp1.chosdd || tmp1.chostm, 'yyyymmddhh24miss')
  125. )
  126. * 24
  127. * 60
  128. ) AS callmodin
  129. ,
  130. ROUND ( ( TO_DATE (CASE
  131. WHEN tmp1.mainarrivdt NOT LIKE '-%' AND tmp1.mainarrivdt IS NOT NULL
  132. THEN tmp1.mainarrivdt
  133. END, 'yyyymmddhh24miss')
  134. - TO_DATE (CASE
  135. WHEN tmp1.maincalldt NOT LIKE '-%' AND tmp1.maincalldt IS NOT NULL AND tmp1.maincalldt != ''
  136. THEN tmp1.maincalldt
  137. END,
  138. 'yyyymmddhh24miss'
  139. )
  140. )
  141. * 24
  142. * 60
  143. ) AS visitmodcall
  144. ,
  145. (CASE
  146. WHEN (tmp1.outdecidt IS NULL OR tmp1.outdecidt = '-') AND (tmp1.chosdd IS NULL OR tmp1.chosdd = '-')
  147. THEN NULL
  148. ELSE ROUND ((TO_DATE (tmp1.outdecidt, 'yyyymmddhh24miss') - TO_DATE (tmp1.chosdd || tmp1.chostm, 'yyyymmddhh24miss')) * 24 * 60)
  149. END
  150. ) AS dschdclrmodin
  151. ,
  152. (CASE
  153. WHEN (tmp1.outrmdd IS NULL OR tmp1.outrmdd = '-') AND (tmp1.chosdd IS NULL OR tmp1.chosdd = '-')
  154. THEN NULL
  155. ELSE ROUND ( (TO_DATE (tmp1.outrmdd || tmp1.outrmtm, 'yyyymmddhh24miss') - TO_DATE (tmp1.chosdd || tmp1.chostm, 'yyyymmddhh24miss'))
  156. * 24
  157. * 60
  158. )
  159. END
  160. ) AS outmodin
  161. ,
  162. (CASE
  163. WHEN (tmp1.outrmdd IS NULL OR tmp1.outrmdd = '-') OR (tmp1.outdecidt IS NULL OR tmp1.outdecidt = '-')
  164. THEN NULL
  165. ELSE ROUND ((TO_DATE (tmp1.outrmdd || tmp1.outrmtm, 'yyyymmddhh24miss') - TO_DATE (tmp1.outdecidt, 'yyyymmddhh24miss')) * 24 * 60)
  166. END
  167. ) AS outmoddschdclr
  168. ,
  169. tmp1.dept1 AS difnm1, tmp1.calldt1 AS difcall1, tmp1.arrivdt1 AS difvisit1,
  170. CASE
  171. WHEN (tmp1.arrivdt1 LIKE '-%' OR tmp1.arrivdt1 IS NULL) OR (tmp1.calldt1 LIKE '-%' OR tmp1.calldt1 IS NULL)
  172. THEN NULL
  173. ELSE ROUND ((TO_DATE (tmp1.arrivdt1, 'yyyymmddhh24miss') - TO_DATE (tmp1.calldt1, 'yyyymmddhh24miss')) * 24 * 60)
  174. END AS difgab1,
  175. tmp1.dept2 AS difnm2, tmp1.calldt2 AS difcall2, tmp1.arrivdt2 AS difvisit2,
  176. CASE
  177. WHEN (tmp1.arrivdt2 LIKE '-%' OR tmp1.arrivdt2 IS NULL) OR (tmp1.calldt2 LIKE '-%' OR tmp1.calldt2 IS NULL)
  178. THEN NULL
  179. ELSE ROUND ((TO_DATE (tmp1.arrivdt2, 'yyyymmddhh24miss') - TO_DATE (tmp1.calldt2, 'yyyymmddhh24miss')) * 24 * 60)
  180. END AS difgab2,
  181. tmp1.dept3 AS difnm3, tmp1.calldt3 AS difcall3, tmp1.arrivdt3 AS difvisit3,
  182. CASE
  183. WHEN (tmp1.arrivdt3 LIKE '-%' OR tmp1.arrivdt3 IS NULL) OR (tmp1.calldt3 LIKE '-%' OR tmp1.calldt3 IS NULL)
  184. THEN NULL
  185. ELSE ROUND ((TO_DATE (tmp1.arrivdt3, 'yyyymmddhh24miss') - TO_DATE (tmp1.calldt3, 'yyyymmddhh24miss')) * 24 * 60)
  186. END AS difgab3,
  187. tmp1.dept4 AS difnm4, tmp1.arrivdt4 AS difcall4, tmp1.calldt4 AS difvisit4,
  188. CASE
  189. WHEN (tmp1.arrivdt4 LIKE '-%' OR tmp1.arrivdt4 IS NULL) OR (tmp1.calldt4 LIKE '-%' OR tmp1.calldt4 IS NULL)
  190. THEN NULL
  191. ELSE ROUND ((TO_DATE (tmp1.arrivdt4, 'yyyymmddhh24miss') - TO_DATE (tmp1.calldt4, 'yyyymmddhh24miss')) * 24 * 60)
  192. END AS difgab4,
  193. tmp1.dept5 AS difnm5, tmp1.calldt5 AS difcall5, tmp1.arrivdt5 AS difvisit5,
  194. CASE
  195. WHEN (tmp1.calldt5 LIKE '-%' OR tmp1.arrivdt5 IS NULL) OR (tmp1.arrivdt5 LIKE '-%' OR tmp1.calldt5 IS NULL)
  196. THEN NULL
  197. ELSE ROUND ((TO_DATE (tmp1.arrivdt5, 'yyyymmddhh24miss') - TO_DATE (tmp1.calldt5, 'yyyymmddhh24miss')) * 24 * 60)
  198. END AS difgab5,
  199. erce.bedposcnts, DECODE (errt.serdiagflag, NULL, '-', errt.serdiagflag) serdiagflag
  200. ,
  201. CASE
  202. WHEN com.fn_zz_getage ('', '', TO_CHAR (SYSDATE, 'YYYYMMDD'), 'b', ptbs.brthdd) != '-'
  203. AND com.fn_zz_getage ('', '', TO_CHAR (SYSDATE, 'YYYYMMDD'), 'b', ptbs.brthdd) &gt;= 15
  204. AND ( (TO_NUMBER (errt.highbp) &lt;= 90 AND errt.highbp NOT IN ('-1', '999'))
  205. OR (TO_NUMBER (errt.mntpulsecnt) &gt;= 120 AND errt.mntpulsecnt NOT IN ('-1', '999'))
  206. )
  207. THEN (SELECT COUNT (COUNT (pcri.instcd || pcri.pid || pcri.orddd || TO_CHAR (pcri.cretno) || pcor.recdt)) cnt
  208. FROM emr.mnrhpcri pcri, emr.mnrhpcor pcor, emr.mnrdlbil lbil
  209. WHERE pcri.carerecseqno = pcor.carerecseqno
  210. AND pcri.instcd = pcor.instcd
  211. AND pcri.itemcd = lbil.itemcd
  212. AND pcri.instcd = lbil.instcd
  213. AND lbil.lnkviewcd = 'SMMNE00200'
  214. AND lbil.cncldd = '99991231'
  215. AND pcri.pid = tmp1.pid
  216. AND pcri.orddd = tmp1.indd
  217. AND pcri.cretno = tmp1.cretno
  218. AND pcri.instcd = tmp1.instcd
  219. AND pcor.cncldt = '99991231235959'
  220. AND (pcor.recrslt IS NOT NULL OR TRIM (pcor.recrslt) != '')
  221. AND pcor.wardcd IN (SELECT cdid
  222. FROM emr.mnwmcode
  223. WHERE cdgrupid = '002' AND instcd = '012')
  224. AND pcor.recdt BETWEEN DECODE (tmp1.chosdd, NULL, (inpt.indd || inpt.intm), (tmp1.chosdd || tmp1.chostm)) || '00'
  225. AND DECODE (tmp1.outrmdd, NULL, (inpt.dschdd || inpt.dschtm), (tmp1.outrmdd || tmp1.outrmtm)) || '00'
  226. GROUP BY pcri.instcd, pcri.pid, pcri.orddd, pcri.cretno, pcor.recdt
  227. HAVING COUNT (pcri.instcd || pcri.pid || pcri.orddd || TO_CHAR (pcri.cretno) || pcor.recdt) &gt;=
  228. (SELECT COUNT (1)
  229. FROM emr.mnrdlbil
  230. WHERE lnkviewcd = 'SMMNE00200'))
  231. ELSE NULL
  232. END AS unstablevs
  233. FROM (SELECT pid, indd, instcd, cretno, visitno, chosdd, chostm, outrmdd, outrmtm, outrmcd, outdecidt,
  234. MAX (DECODE (mainyn, 'M', deptengabbr, NULL)) maindept, MAX (DECODE (mainyn, 'M', calldt, NULL)) maincalldt,
  235. MAX (DECODE (mainyn, 'M', arrivdt, NULL)) mainarrivdt, MAX (DECODE (mainyn, 'M', erorddoctcd, NULL)) maindoctcd,
  236. MAX (CASE
  237. WHEN mainyn = 'S' AND mrnum = 1
  238. THEN deptengabbr
  239. ELSE NULL
  240. END) dept1, MAX (CASE
  241. WHEN mainyn = 'S' AND mrnum = 1
  242. THEN calldt
  243. ELSE NULL
  244. END) calldt1, MAX (CASE
  245. WHEN mainyn = 'S' AND mrnum = 1
  246. THEN arrivdt
  247. ELSE NULL
  248. END) arrivdt1, MAX (CASE
  249. WHEN mainyn = 'S' AND mrnum = 2
  250. THEN deptengabbr
  251. ELSE NULL
  252. END) dept2,
  253. MAX (CASE
  254. WHEN mainyn = 'S' AND mrnum = 2
  255. THEN calldt
  256. ELSE NULL
  257. END) calldt2, MAX (CASE
  258. WHEN mainyn = 'S' AND mrnum = 2
  259. THEN arrivdt
  260. ELSE NULL
  261. END) arrivdt2, MAX (CASE
  262. WHEN mainyn = 'S' AND mrnum = 3
  263. THEN deptengabbr
  264. ELSE NULL
  265. END) dept3, MAX (CASE
  266. WHEN mainyn = 'S' AND mrnum = 3
  267. THEN calldt
  268. ELSE NULL
  269. END) calldt3,
  270. MAX (CASE
  271. WHEN mainyn = 'S' AND mrnum = 3
  272. THEN arrivdt
  273. ELSE NULL
  274. END) arrivdt3, MAX (CASE
  275. WHEN mainyn = 'S' AND mrnum = 4
  276. THEN deptengabbr
  277. ELSE NULL
  278. END) dept4, MAX (CASE
  279. WHEN mainyn = 'S' AND mrnum = 4
  280. THEN calldt
  281. ELSE NULL
  282. END) calldt4, MAX (CASE
  283. WHEN mainyn = 'S' AND mrnum = 4
  284. THEN arrivdt
  285. ELSE NULL
  286. END) arrivdt4,
  287. MAX (CASE
  288. WHEN mainyn = 'S' AND mrnum = 5
  289. THEN deptengabbr
  290. ELSE NULL
  291. END) dept5, MAX (CASE
  292. WHEN mainyn = 'S' AND mrnum = 5
  293. THEN calldt
  294. ELSE NULL
  295. END) calldt5, MAX (CASE
  296. WHEN mainyn = 'S' AND mrnum = 5
  297. THEN arrivdt
  298. ELSE NULL
  299. END) arrivdt5
  300. FROM (SELECT ervd.pid, ervd.indd, ervd.instcd, ervd.cretno, ervd.visitno, ervd.chosdd, ervd.chostm, ervd.outrmdd, ervd.outrmtm,
  301. ervd.outrmcd, ervd.outdecidt, ercd.calldt, ercd.arrivdt, ercd.mainyn, ercd.erorddeptcd, ercd.erorddoctcd, dept.deptengabbr,
  302. ROW_NUMBER () OVER (PARTITION BY ervd.indd, ervd.pid, ervd.cretno, ervd.visitno, ercd.mainyn ORDER BY ervd.indd,
  303. ervd.pid, ervd.cretno, ervd.visitno, ercd.mainyn, ercd.calldt) mrnum,
  304. ROW_NUMBER () OVER (PARTITION BY ervd.indd, ervd.pid, ervd.cretno, ervd.visitno ORDER BY ervd.indd, ervd.pid,
  305. ervd.cretno, ervd.visitno, ercd.mainyn, ercd.calldt) rnum
  306. FROM emr.mnehervd ervd, emr.mnehercd ercd, com.zsdddept dept
  307. WHERE ervd.instcd = '012'
  308. AND ervd.chosdd BETWEEN '20090301' AND '20091231'
  309. AND ervd.incncldt = '-'
  310. AND ervd.pid = ercd.pid(+)
  311. AND ervd.indd = ercd.indd(+)
  312. AND ervd.cretno = ercd.cretno(+)
  313. AND ervd.visitno = ercd.visitno(+)
  314. AND ervd.instcd = ercd.instcd(+)
  315. AND ercd.histcd(+) = 'O'
  316. AND ercd.erorddeptcd = dept.deptcd(+)
  317. AND dept.instcd(+) = '012'
  318. AND dept.valifromdd(+) &lt;= TO_CHAR (SYSDATE, 'YYYYMMDD')
  319. AND dept.valitodd(+) &gt;= TO_CHAR (SYSDATE, 'YYYYMMDD'))
  320. GROUP BY pid, indd, instcd, cretno, visitno, chosdd, chostm, outrmdd, outrmtm, outrmcd, outdecidt) tmp1,
  321. pam.pmihinpt inpt,
  322. emr.mnwmcode code,
  323. pam.pmcmptbs ptbs,
  324. emr.mneherce erce,
  325. emr.mmoherrt errt
  326. WHERE tmp1.pid = inpt.pid
  327. AND tmp1.indd = inpt.indd
  328. AND tmp1.cretno = inpt.cretno
  329. AND tmp1.instcd = inpt.instcd
  330. AND inpt.mskind = 'M'
  331. AND inpt.histstat = 'Y'
  332. AND inpt.recovwardcd = code.cdid(+)
  333. AND code.cdgrupid(+) = '104'
  334. AND code.instcd(+) = '012'
  335. AND tmp1.pid = ptbs.pid
  336. AND tmp1.instcd = ptbs.instcd
  337. AND inpt.pid = erce.pid(+)
  338. AND inpt.indd = erce.indd(+)
  339. AND inpt.cretno = erce.cretno(+)
  340. AND inpt.instcd = erce.instcd(+)
  341. AND erce.incncldt(+) = '-'
  342. AND tmp1.pid = errt.pid(+)
  343. AND tmp1.indd = errt.orddd(+)
  344. AND tmp1.instcd = errt.instcd(+)
  345. AND tmp1.cretno = errt.cretno(+)
  346. AND errt.histcd(+) = 'O'
  347. ORDER BY chosdd, chostm</SQL><ServerConnection URL="http://160.1.17.111:9901/RexServer/RexService.jsp" DataType=""><Parameter Name="service" ValueType="0" Value="jdbc.comdb" ValueFieldID="-1" ValueFieldIndex="-1"/><Parameter Name="servicetype" ValueType="0" Value="run" ValueFieldID="-1" ValueFieldIndex="-1"/></ServerConnection></DataSetting><GlobalStyleManager><GlobalStyle Name="중점관리학생"><PropertySetting Name="Visible" Value="0"/><PropertySetting Name="BackColor" Value="16751052"/></GlobalStyle><GlobalStyle Name="우수학생"><PropertySetting Name="BackColor" Value="52479"/></GlobalStyle></GlobalStyleManager><Page Gutter="0" MirrorMargin="0" Orientation="2" PaperSize="2" PaperWidth="2970" PaperHeight="2100" ReportWidth="2970" TopMargin="50" LeftMargin="50" BottomMargin="50" RightMargin="50"/><Page Gutter="0" MirrorMargin="0" Orientation="2" PaperSize="2" PaperWidth="2970" PaperHeight="2100" ReportWidth="2970" TopMargin="50" LeftMargin="50" BottomMargin="50" RightMargin="50"><Section Type="4" Name="PageHeader1" Height="150" Visible="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" CanGrow="0" CanShrink="0" ColumnWidth="0" ColumnDirection="0" ColumnSpacing="0" ColumnLayout="1" Repeat="0" UnderlayNext="0" DetailIteration="0" ForcedGH="0" KeepTogether="1" NewColumn="0" NewPage="0" PrintAtBottom="0" PageReset="0" SuppressBlankSection="0" SuppressRepeatedBlankSection="0" FillBlank="0" Exportable="1" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0" GroupFieldID="-1" GroupFieldIndex="-1" GroupSortingFieldID="-1" GroupSortingFieldIndex="-1" GroupTOCFieldID="-1" GroupTOCFieldIndex="-1"><ListControls Type="0"/><ListControls Type="1"><Control Type="Control.Table" Name="표1" Visible="0" X1="500" Y1="0" Width="1623" Height="50" FitSection="0" LinkIndex="5" RoundLeftTopEdge="0" RoundRightTopEdge="0" RoundRightBottomEdge="0" RoundLeftBottomEdge="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><CellStyles><CellStyle LeftLineStyle="0" RightLineStyle="0" TopLineStyle="0" BottomLineStyle="0" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0" RightLineWidth="0" TopLineWidth="0" BottomLineWidth="0" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="0" RightLineColor="0" TopLineColor="0" BottomLineColor="0" FDiagonalLineColor="0" BDiagonalLineColor="0"/></CellStyles><Rows><Row Size="50"><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="2" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="" MultiLine="1" WordWrap="1" WordSpace="10" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="10" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="응급 환자 대장" MultiLine="1" WordWrap="1" WordSpace="10" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="10" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="10" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell></Row></Rows><Cols><Col Size="525"/><Col Size="625"/><Col Size="473"/></Cols><ConditionalStyles/></Control><Control Type="Control.Table" Name="표3" Visible="0" X1="0" Y1="50" Width="550" Height="50" FitSection="0" LinkIndex="6" RoundLeftTopEdge="0" RoundRightTopEdge="0" RoundRightBottomEdge="0" RoundLeftBottomEdge="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><CellStyles><CellStyle LeftLineStyle="0" RightLineStyle="0" TopLineStyle="0" BottomLineStyle="0" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0" RightLineWidth="0" TopLineWidth="0" BottomLineWidth="0" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="0" RightLineColor="0" TopLineColor="0" BottomLineColor="0" FDiagonalLineColor="0" BDiagonalLineColor="0"/></CellStyles><Rows><Row Size="50"><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="Date" MultiLine="1" WordWrap="1" WordSpace="2" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="1" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="2" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="1" Text="!ffromdd" MultiLine="1" WordWrap="1" WordSpace="2" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="1" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="0" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="~" MultiLine="1" WordWrap="1" WordSpace="2" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="1" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="0" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="1" Text="!ftodd" MultiLine="1" WordWrap="1" WordSpace="2" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="1" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell></Row></Rows><Cols><Col Size="100"/><Col Size="200"/><Col Size="50"/><Col Size="200"/></Cols><ConditionalStyles/></Control><Control Type="Control.Table" Name="표2" Visible="0" X1="50" Y1="100" Width="2800" Height="50" FitSection="0" LinkIndex="7" RoundLeftTopEdge="0" RoundRightTopEdge="0" RoundRightBottomEdge="0" RoundLeftBottomEdge="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><CellStyles><CellStyle LeftLineStyle="1" RightLineStyle="1" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="16777215" RightLineColor="16777215" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/><CellStyle LeftLineStyle="1" RightLineStyle="1" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="12632256" RightLineColor="16777215" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/><CellStyle LeftLineStyle="1" RightLineStyle="1" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="16777215" RightLineColor="12632256" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/></CellStyles><Rows><Row Size="50"><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="No" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="중증도" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="등록번호" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="성명" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="성별" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="나이" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="내원일시" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="퇴실일시" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="주증상 및 진단명" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="주진료과" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="호출진료과" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="의사초진" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="타과호출" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="타과진료" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="1" BackColor="12632256" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="0" DataType="0" Text="진료 결과" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="-1" FieldIndex="-1" StyleIndex="2"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell></Row></Rows><Cols><Col Size="50"/><Col Size="100"/><Col Size="150"/><Col Size="150"/><Col Size="100"/><Col Size="100"/><Col Size="250"/><Col Size="250"/><Col Size="650"/><Col Size="150"/><Col Size="150"/><Col Size="150"/><Col Size="200"/><Col Size="200"/><Col Size="150"/></Cols><ConditionalStyles/></Control></ListControls><ConditionalStyles/><Script><![CDATA[]]></Script></Section><Section Type="64" Name="Detail1" Height="45" Visible="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" CanGrow="0" CanShrink="0" ColumnWidth="0" ColumnDirection="1" ColumnSpacing="0" ColumnLayout="1" Repeat="0" UnderlayNext="0" DetailIteration="0" ForcedGH="0" KeepTogether="1" NewColumn="0" NewPage="0" PrintAtBottom="0" PageReset="0" SuppressBlankSection="0" SuppressRepeatedBlankSection="0" FillBlank="0" Exportable="1" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0" GroupFieldID="-1" GroupFieldIndex="-1" GroupSortingFieldID="-1" GroupSortingFieldIndex="-1" GroupTOCFieldID="-1" GroupTOCFieldIndex="-1"><ListControls Type="0"/><ListControls Type="1"><Control Type="Control.Table" Name="표4" Visible="0" X1="0" Y1="0" Width="2850" Height="45" FitSection="0" LinkIndex="8" RoundLeftTopEdge="0" RoundRightTopEdge="0" RoundRightBottomEdge="0" RoundLeftBottomEdge="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><CellStyles><CellStyle LeftLineStyle="1" RightLineStyle="3" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="12632256" RightLineColor="12632256" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/><CellStyle LeftLineStyle="3" RightLineStyle="3" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="12632256" RightLineColor="12632256" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/><CellStyle LeftLineStyle="3" RightLineStyle="1" TopLineStyle="1" BottomLineStyle="1" FDiagonalLineStyle="0" BDiagonalLineStyle="0" LeftLineWidth="0.25" RightLineWidth="0.25" TopLineWidth="0.25" BottomLineWidth="0.25" FDiagonalLineWidth="0.75" BDiagonalLineWidth="0.75" LeftLineColor="12632256" RightLineColor="12632256" TopLineColor="12632256" BottomLineColor="12632256" FDiagonalLineColor="0" BDiagonalLineColor="0"/></CellStyles><Rows><Row Size="45"><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="%RecordNumber" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="0" FieldIndex="7" StyleIndex="0"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@recovwardcd" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="6" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@pid" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="8" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@patnm" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="9" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@sex" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="10" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@age" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="11" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="!fmainarrivdt" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="2" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences><FieldReference ID="-1" Index="-1"/></FieldReferences></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="!foutrmdt" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="3" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="0" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@diagnm" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="12" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="0" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@juorddeptcd" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="53" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@mainorddept" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="13" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="!ffstexamorddt" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="4" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="!fdifcall1" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="5" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="!fdifvisit1" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="3" FieldIndex="6" StyleIndex="1"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell><Cell CellType="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="0" VerticalAlignment="1" CanGrow="0" CanShrink="1" DataType="1" Text="@outrmcdnm" MultiLine="0" WordWrap="0" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" RowSpan="1" ColSpan="1" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" MergeIfSuppress="0" MergeColumn="0" AddEnterWhenMergeColumn="0" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="8" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" FieldID="1" FieldIndex="15" StyleIndex="2"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/><FieldReferences/></Cell></Row></Rows><Cols><Col Size="56"/><Col Size="152"/><Col Size="142"/><Col Size="150"/><Col Size="100"/><Col Size="100"/><Col Size="250"/><Col Size="250"/><Col Size="650"/><Col Size="150"/><Col Size="150"/><Col Size="150"/><Col Size="200"/><Col Size="200"/><Col Size="150"/></Cols><ConditionalStyles/></Control></ListControls><ConditionalStyles/><Script><![CDATA[]]></Script></Section><Section Type="8" Name="PageFooter1" Height="50" Visible="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" CanGrow="0" CanShrink="0" ColumnWidth="0" ColumnDirection="0" ColumnSpacing="0" ColumnLayout="1" Repeat="0" UnderlayNext="0" DetailIteration="0" ForcedGH="0" KeepTogether="1" NewColumn="0" NewPage="0" PrintAtBottom="0" PageReset="0" SuppressBlankSection="0" SuppressRepeatedBlankSection="0" FillBlank="0" Exportable="1" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0" GroupFieldID="-1" GroupFieldIndex="-1" GroupSortingFieldID="-1" GroupSortingFieldIndex="-1" GroupTOCFieldID="-1" GroupTOCFieldIndex="-1"><ListControls Type="0"><Control Type="Control.Line" Name="선1" Visible="0" X1="50" Y1="0" X2="2850" Y2="0" EndSectionIndex="2" LineStyle="1" LineWidth="1.5" LineColor="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><ConditionalStyles/></Control></ListControls><ListControls Type="1"><Control Type="Control.Label" Name="글상자1" Visible="0" X1="1300" Y1="0" Width="100" Height="50" LineStyle="0" LineWidth="0.75" LineColor="0" RoundRate="0" SquareRound="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" Text="page: " MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0"><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/></Control><Control Type="Control.Field" Name="필드1" Visible="0" X1="1350" Y1="0" Width="200" Height="50" LineStyle="0" LineWidth="0.75" LineColor="0" RoundRate="0" SquareRound="0" BackStyle="0" BackColor="16777215" FillStyle="0" FillColor="0" Alignment="1" VerticalAlignment="1" MultiLine="1" WordWrap="1" WordSpace="0" LineSpace="0" Editable="0" AutoFontSize="0" CanGrow="0" CanShrink="0" OutputFormat="" ReplaceEmpty="" SuppressIfDuplication="0" SuppressIfZero="0" SuppressText="" SummaryFunction="0" TopMargin="0" LeftMargin="0" BottomMargin="0" RightMargin="0" FontName="맑은 고딕" FontSize="9" FontBold="0" FontUnderline="0" FontItalic="0" FontStrike="0" ForeColor="0" Text="%PageNofM" ExportLeft="0" ExportTop="0" ExportRight="0" ExportBottom="0" FieldID="0" FieldIndex="2"><FieldReferences/><SummaryCondition/><HyperLinkInfo LinkType="0" LinkText="" ToolTipType="0" ToolTipText="" LinkFieldID="-1" LinkFieldIndex="-1" ToolTipFieldID="-1" ToolTipFieldIndex="-1"/><ConditionalStyles/></Control></ListControls><ConditionalStyles/><Script><![CDATA[]]></Script></Section></Page><Page Gutter="0" MirrorMargin="0" Orientation="1" PaperSize="2" PaperWidth="2970" PaperHeight="2100" ReportWidth="2100" TopMargin="50" LeftMargin="50" BottomMargin="50" RightMargin="50"/></Report>