<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.0" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="0" />
    <DataSources isList="true" count="1">
      <tmp Ref="2" type="DataTableSource" isKey="true">
        <Alias>tmp</Alias>
        <Columns isList="true" count="10">
          <value>app_date,System.DateTime</value>
          <value>ClinicGroup_name,System.String</value>
          <value>tno,System.Int64</value>
          <value>count_x0028_referout_no_x0029_,System.Int64</value>
          <value>clinicgroup,System.String</value>
          <value>referout_no,System.String</value>
          <value>service_id,System.String</value>
          <value>service_name,System.String</value>
          <value>icd10,System.String</value>
          <value>diag_name,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>tmp</Name>
        <NameInSource>NewDataSet.tmp</NameInSource>
      </tmp>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="0" />
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="3" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="2">
        <PageHeaderBand1 Ref="4" type="PageHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,27.7,0.6</ClientRectangle>
          <Components isList="true" count="1">
            <Text8 Ref="5" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>2.8,0,24.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75,Bold,Point,False,222</Font>
              <Guid>98c1b45e51d243b38439bdc14e98b442</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <Text>รายงานผู้ป่วยรับ Refer OPD New case จำแนกตามวันที่นัด/แผนก</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text8>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>PageHeaderBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
        </PageHeaderBand1>
        <DataBand1 Ref="6" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,1.8,27.7,5.2</ClientRectangle>
          <Components isList="true" count="1">
            <CrossTab1 Ref="7" type="Stimulsoft.Report.CrossTab.StiCrossTab" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.4,0.2,26.8,4.8</ClientRectangle>
              <Components isList="true" count="8">
                <CrossTab1_RowTotal1 Ref="8" type="CrossRowTotal" isKey="true">
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>[255:255:255]</Brush>
                  <ClientRectangle>0,1.3,1.4,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Font>Arial,9.75,Bold</Font>
                  <Guid>ab282ad171674a50b9080b47f59f9267</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_RowTotal1</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>รวม</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                </CrossTab1_RowTotal1>
                <CrossTab1_Row1_Title Ref="9" type="CrossTitle" isKey="true">
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>White</Brush>
                  <ClientRectangle>0,0.45,1.4,0.4</ClientRectangle>
                  <Font>Arial,9.75,Regular,Point,False,0</Font>
                  <Guid>ceac00b17c034206aa1fed8693e41686</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_Row1_Title</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>วันที่นัด</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <TypeOfComponent>Row:CrossTab1_Row1</TypeOfComponent>
                </CrossTab1_Row1_Title>
                <CrossTab1_ColTotal1 Ref="10" type="CrossColumnTotal" isKey="true">
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>[255:255:255]</Brush>
                  <ClientRectangle>4.25,0.45,0.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Font>Arial,9.75,Bold</Font>
                  <Guid>ea99529fdd9244e5b74425d8f367d8cb</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_ColTotal1</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>รวม</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                </CrossTab1_ColTotal1>
                <CrossTab1_LeftTitle Ref="11" type="CrossTitle" isKey="true">
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>White</Brush>
                  <ClientRectangle>0,0,1.4,0.4</ClientRectangle>
                  <Font>Arial,8</Font>
                  <Guid>5a6ee6079e294261a06b05eb9d083e83</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_LeftTitle</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <TextBrush>[105:105:105]</TextBrush>
                  <Type>Expression</Type>
                  <TypeOfComponent>LeftTitle</TypeOfComponent>
                </CrossTab1_LeftTitle>
                <CrossTab1_Row1 Ref="12" type="CrossRow" isKey="true">
                  <Alias>app_date</Alias>
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>White</Brush>
                  <ClientRectangle>0,0.9,1.4,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <DisplayValue>{Format("{0:dd/MM/yyyy}", tmp.app_date)}</DisplayValue>
                  <Font>Arial,9.75,Regular,Point,False,0</Font>
                  <Guid>fa609b1080e640c4b99f8f26df7f7c53</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_Row1</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>app_date</Text>
                  <TextBrush>Black</TextBrush>
                  <TotalGuid>ab282ad171674a50b9080b47f59f9267</TotalGuid>
                  <Type>DataColumn</Type>
                  <Value>{tmp.app_date}</Value>
                </CrossTab1_Row1>
                <CrossTab1_Column1 Ref="13" type="CrossColumn" isKey="true">
                  <Alias>ClinicGroup_name</Alias>
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>White</Brush>
                  <ClientRectangle>1.45,0.45,2.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <DisplayValue>{tmp.ClinicGroup_name}</DisplayValue>
                  <Font>Arial,9.75,Regular,Point,False,0</Font>
                  <Guid>597a01727146473681da825bc778081e</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_Column1</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>ClinicGroup_name</Text>
                  <TextBrush>Black</TextBrush>
                  <TotalGuid>ea99529fdd9244e5b74425d8f367d8cb</TotalGuid>
                  <Type>Expression</Type>
                  <Value>{tmp.ClinicGroup_name}</Value>
                </CrossTab1_Column1>
                <CrossTab1_Sum1 Ref="14" type="CrossSummary" isKey="true">
                  <Alias>tno</Alias>
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>[255:255:255]</Brush>
                  <ClientRectangle>1.45,0.9,2.8,0.4</ClientRectangle>
                  <Conditions isList="true" count="0" />
                  <Font>Arial,9.75,Regular,Point,False,0</Font>
                  <Guid>e1f6ca9964fd4da292123a035ed97921</Guid>
                  <HorAlignment>Right</HorAlignment>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_Sum1</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>0</Text>
                  <TextBrush>Black</TextBrush>
                  <Value>{tmp.tno}</Value>
                </CrossTab1_Sum1>
                <CrossTab1_RightTitle Ref="15" type="CrossTitle" isKey="true">
                  <Border>All;[155:155:155];1;Solid;False;4;Black</Border>
                  <Brush>White</Brush>
                  <ClientRectangle>1.45,0,3.6,0.4</ClientRectangle>
                  <Font>Arial,12,Bold</Font>
                  <Guid>b8c4e65ceff94521995bef1d7868a0b1</Guid>
                  <Margins>0,0,0,0</Margins>
                  <Name>CrossTab1_RightTitle</Name>
                  <Page isRef="3" />
                  <Parent isRef="7" />
                  <Restrictions>AllowMove, AllowResize, AllowSelect, AllowChange</Restrictions>
                  <Text>รายงานผู้ป่วยรับ Refer OPD New case จำแนกตามวันที่นัด/แผนก</Text>
                  <TextBrush>Black</TextBrush>
                  <Type>Expression</Type>
                  <TypeOfComponent>RightTitle</TypeOfComponent>
                </CrossTab1_RightTitle>
              </Components>
              <Conditions isList="true" count="0" />
              <DataRelationName />
              <DataSourceName>tmp</DataSourceName>
              <EmptyValue />
              <Filters isList="true" count="0" />
              <HorAlignment>Center</HorAlignment>
              <Name>CrossTab1</Name>
              <Page isRef="3" />
              <Parent isRef="6" />
              <Sort isList="true" count="0" />
            </CrossTab1>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>tmp</DataSourceName>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
          <Sort isList="true" count="0" />
        </DataBand1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>52d347c3b9bd4c559759e8da023e64be</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <Orientation>Landscape</Orientation>
      <PageHeight>21</PageHeight>
      <PageWidth>29.7</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="16" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="17" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportChanged>8/28/2016 1:23:59 PM</ReportChanged>
  <ReportCreated>2/13/2011 2:23:29 AM</ReportCreated>
  <ReportFile>C:\Users\Sucker\Desktop\ThaiRefer_2016_06_30\ThaiRefer_2016_06_30\ThaiRefer_Client\ReferLink\bin\Debug\reports\referout_reply_opd.mrt</ReportFile>
  <ReportGuid>4feb113af401417598c4f37258f5bddd</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2010.3.900</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
    public class Report : Stimulsoft.Report.StiReport
    {
        public Report()
        {
            this.InitializeComponent();
        }

        #region StiReport Designer generated code - do not modify
        #endregion StiReport Designer generated code - do not modify
    }
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="0" />
</StiSerializer>