<Activity mc:Ignorable="sap sap2010" x:Class="Main" mva:VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="825.5,2328" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data" xmlns:sd1="clr-namespace:System.Drawing;assembly=System.Drawing" xmlns:snm="clr-namespace:System.Net.Mail;assembly=System" xmlns:stt="clr-namespace:System.Threading.Tasks;assembly=mscorlib" xmlns:uca="clr-namespace:UiPath.Callout.Activity;assembly=UiPath.Callout.Activity" xmlns:ufa="clr-namespace:UiPath.Form.Activities;assembly=UiPath.Form.Activities" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextExpression.NamespacesForImplementation>
    <scg:List x:TypeArguments="x:String" Capacity="23">
      <x:String>System.Activities</x:String>
      <x:String>System.Activities.Statements</x:String>
      <x:String>System.Activities.Expressions</x:String>
      <x:String>System.Activities.Validation</x:String>
      <x:String>System.Activities.XamlIntegration</x:String>
      <x:String>Microsoft.VisualBasic</x:String>
      <x:String>Microsoft.VisualBasic.Activities</x:String>
      <x:String>System</x:String>
      <x:String>System.Collections</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Diagnostics</x:String>
      <x:String>System.Drawing</x:String>
      <x:String>System.IO</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Net.Mail</x:String>
      <x:String>System.Xml</x:String>
      <x:String>System.Xml.Linq</x:String>
      <x:String>UiPath.Core</x:String>
      <x:String>UiPath.Core.Activities</x:String>
      <x:String>System.Windows.Markup</x:String>
      <x:String>System.Xml.Serialization</x:String>
      <x:String>Microsoft.VisualBasic.CompilerServices</x:String>
    </scg:List>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <scg:List x:TypeArguments="AssemblyReference" Capacity="18">
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>WindowsBase</AssemblyReference>
      <AssemblyReference>PresentationCore</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>UiPath.System.Activities</AssemblyReference>
      <AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ValueTuple</AssemblyReference>
    </scg:List>
  </TextExpression.ReferencesForImplementation>
  <Flowchart sap:VirtualizedContainerService.HintSize="805.5,2268" sap2010:WorkflowViewState.IdRef="Flowchart_1">
    <Flowchart.Variables>
      <Variable x:TypeArguments="sd:DataTable" Name="CalenderResult" />
      <Variable x:TypeArguments="sd:DataRow" Name="PatientDataRow" />
      <Variable x:TypeArguments="x:String" Name="IsNewPatient" />
      <Variable x:TypeArguments="x:String" Name="IsDoctorAvailable" />
      <Variable x:TypeArguments="sd:DataTable" Name="Masterpatientdata" />
      <Variable x:TypeArguments="sd:DataTable" Name="PatientDT" />
      <Variable x:TypeArguments="sd:DataTable" Name="DoctorCalender" />
      <Variable x:TypeArguments="x:String" Name="PatientContactNumber" />
      <Variable x:TypeArguments="x:String" Name="TimeSlotRequested" />
      <Variable x:TypeArguments="sd:DataTable" Name="MasterPatientFileData" />
      <Variable x:TypeArguments="scg:List(x:String)" Default="[New List(Of String)(New String() {&quot;张青&quot;,&quot;陈元美&quot;,&quot;朱亚琴&quot;})]" Name="ListOfDoctors" />
      <Variable x:TypeArguments="x:String" Name="test" />
      <Variable x:TypeArguments="x:String" Name="MailBody" />
      <Variable x:TypeArguments="scg:List(snm:MailMessage)" Name="ListOfMailMessages" />
      <Variable x:TypeArguments="x:String" Name="AttachmentLocation" />
      <Variable x:TypeArguments="x:String" Name="PatientsFilesLocation" />
      <Variable x:TypeArguments="x:String" Name="otherDoctorSelected" />
    </Flowchart.Variables>
    <sap:WorkflowViewStateService.ViewState>
      <scg:Dictionary x:TypeArguments="x:String, x:Object">
        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
        <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
        <av:Size x:Key="ShapeSize">60,75</av:Size>
        <x:Double x:Key="Height">2231.9740359613888</x:Double>
        <x:Double x:Key="Width">771.5</x:Double>
        <av:PointCollection x:Key="ConnectorLocation">300,77.1666666666667 300,104.02</av:PointCollection>
      </scg:Dictionary>
    </sap:WorkflowViewStateService.ViewState>
    <Flowchart.StartNode>
      <x:Reference>__ReferenceID25</x:Reference>
    </Flowchart.StartNode>
    <FlowStep x:Name="__ReferenceID19">
      <sap:WorkflowViewStateService.ViewState>
        <scg:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">200,323.666666666667</av:Point>
          <av:Size x:Key="ShapeSize">200,51.5</av:Size>
          <av:PointCollection x:Key="ConnectorLocation">300,375.166666666667 300,403.666666666667</av:PointCollection>
        </scg:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <ui:ExcelApplicationScope Password="{x:Null}" DisplayName="获取患者主数据" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_1" WorkbookPath="患者主数据.xlsx">
        <ui:ExcelApplicationScope.Body>
          <ActivityAction x:TypeArguments="ui:WorkbookApplication">
            <ActivityAction.Argument>
              <DelegateInArgument x:TypeArguments="ui:WorkbookApplication" Name="ExcelWorkbookScope" />
            </ActivityAction.Argument>
            <Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,151" sap2010:WorkflowViewState.IdRef="Sequence_1">
              <sap:WorkflowViewStateService.ViewState>
                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                </scg:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
              <ui:ExcelReadRange AddHeaders="True" DataTable="[Masterpatientdata]" DisplayName="Read Range" sap:VirtualizedContainerService.HintSize="334,59" sap2010:WorkflowViewState.IdRef="ExcelReadRange_1" SheetName="Sheet1">
                <ui:ExcelReadRange.Range>
                  <InArgument x:TypeArguments="x:String">
                    <Literal x:TypeArguments="x:String" Value="" />
                  </InArgument>
                </ui:ExcelReadRange.Range>
              </ui:ExcelReadRange>
            </Sequence>
          </ActivityAction>
        </ui:ExcelApplicationScope.Body>
      </ui:ExcelApplicationScope>
      <FlowStep.Next>
        <FlowStep x:Name="__ReferenceID4">
          <sap:WorkflowViewStateService.ViewState>
            <scg:Dictionary x:TypeArguments="x:String, x:Object">
              <av:Point x:Key="ShapeLocation">200,403.666666666667</av:Point>
              <av:Size x:Key="ShapeSize">200,51.5</av:Size>
              <av:PointCollection x:Key="ConnectorLocation">300,455.666666666667 300,483.666666666667</av:PointCollection>
            </scg:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <ui:ExcelApplicationScope Password="{x:Null}" DisplayName="获取医生日历" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_2" WorkbookPath="医生日历摘要.xlsx">
            <ui:ExcelApplicationScope.Body>
              <ActivityAction x:TypeArguments="ui:WorkbookApplication">
                <ActivityAction.Argument>
                  <DelegateInArgument x:TypeArguments="ui:WorkbookApplication" Name="ExcelWorkbookScope" />
                </ActivityAction.Argument>
                <Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,151" sap2010:WorkflowViewState.IdRef="Sequence_2">
                  <sap:WorkflowViewStateService.ViewState>
                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                    </scg:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <ui:ExcelReadRange AddHeaders="True" DataTable="[DoctorCalender]" DisplayName="Read Range" sap:VirtualizedContainerService.HintSize="334,59" sap2010:WorkflowViewState.IdRef="ExcelReadRange_2" SheetName="Sheet1">
                    <ui:ExcelReadRange.Range>
                      <InArgument x:TypeArguments="x:String">
                        <Literal x:TypeArguments="x:String" Value="" />
                      </InArgument>
                    </ui:ExcelReadRange.Range>
                  </ui:ExcelReadRange>
                </Sequence>
              </ActivityAction>
            </ui:ExcelApplicationScope.Body>
          </ui:ExcelApplicationScope>
          <FlowStep.Next>
            <FlowStep x:Name="__ReferenceID5">
              <sap:WorkflowViewStateService.ViewState>
                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                  <av:Point x:Key="ShapeLocation">200,483.666666666667</av:Point>
                  <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                  <av:PointCollection x:Key="ConnectorLocation">300,535.166666666667 300,659</av:PointCollection>
                </scg:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
              <ui:ExcelApplicationScope Password="{x:Null}" DisplayName="获取患者信息" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_3" WorkbookPath="患者.xlsx">
                <ui:ExcelApplicationScope.Body>
                  <ActivityAction x:TypeArguments="ui:WorkbookApplication">
                    <ActivityAction.Argument>
                      <DelegateInArgument x:TypeArguments="ui:WorkbookApplication" Name="ExcelWorkbookScope" />
                    </ActivityAction.Argument>
                    <Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,151" sap2010:WorkflowViewState.IdRef="Sequence_3">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                        </scg:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <ui:ExcelReadRange AddHeaders="True" DataTable="[PatientDT]" DisplayName="Read Range" sap:VirtualizedContainerService.HintSize="334,59" sap2010:WorkflowViewState.IdRef="ExcelReadRange_3" SheetName="Sheet1">
                        <ui:ExcelReadRange.Range>
                          <InArgument x:TypeArguments="x:String">
                            <Literal x:TypeArguments="x:String" Value="" />
                          </InArgument>
                        </ui:ExcelReadRange.Range>
                      </ui:ExcelReadRange>
                    </Sequence>
                  </ActivityAction>
                </ui:ExcelApplicationScope.Body>
                <sap:WorkflowViewStateService.ViewState>
                  <scg:Dictionary x:TypeArguments="x:String, x:Object">
                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                  </scg:Dictionary>
                </sap:WorkflowViewStateService.ViewState>
              </ui:ExcelApplicationScope>
              <FlowStep.Next>
                <FlowStep x:Name="__ReferenceID6">
                  <sap:WorkflowViewStateService.ViewState>
                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                      <av:Point x:Key="ShapeLocation">200,659</av:Point>
                      <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                      <av:PointCollection x:Key="ConnectorLocation">300,711 300,741.666666666667</av:PointCollection>
                    </scg:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <ui:ForEachRow CurrentIndex="{x:Null}" DataTable="[PatientDT]" DisplayName="For Each Row" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="ForEachRow_1">
                    <ui:ForEachRow.Body>
                      <ActivityAction x:TypeArguments="sd:DataRow">
                        <ActivityAction.Argument>
                          <DelegateInArgument x:TypeArguments="sd:DataRow" Name="row" />
                        </ActivityAction.Argument>
                        <Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="305,555" sap2010:WorkflowViewState.IdRef="Sequence_4">
                          <sap:WorkflowViewStateService.ViewState>
                            <scg:Dictionary x:TypeArguments="x:String, x:Object">
                              <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                            </scg:Dictionary>
                          </sap:WorkflowViewStateService.ViewState>
                          <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_7">
                            <Assign.To>
                              <OutArgument x:TypeArguments="sd:DataRow">[PatientDataRow]</OutArgument>
                            </Assign.To>
                            <Assign.Value>
                              <InArgument x:TypeArguments="sd:DataRow">[row]</InArgument>
                            </Assign.Value>
                          </Assign>
                          <WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="263,61.5" sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="[PatientDataRow(&quot;科室&quot;).ToString]" />
                          <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_1">
                            <Assign.To>
                              <OutArgument x:TypeArguments="x:String">[PatientContactNumber]</OutArgument>
                            </Assign.To>
                            <Assign.Value>
                              <InArgument x:TypeArguments="x:String">[row("手机号码").ToString]</InArgument>
                            </Assign.Value>
                          </Assign>
                          <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_2">
                            <Assign.To>
                              <OutArgument x:TypeArguments="x:String">[TimeSlotRequested]</OutArgument>
                            </Assign.To>
                            <Assign.Value>
                              <InArgument x:TypeArguments="x:String">[row("预约时间段").ToString]</InArgument>
                            </Assign.Value>
                          </Assign>
                          <WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="263,61.5" sap2010:WorkflowViewState.IdRef="WriteLine_1" Text="[TimeSlotRequested]" />
                        </Sequence>
                      </ActivityAction>
                    </ui:ForEachRow.Body>
                  </ui:ForEachRow>
                  <FlowStep.Next>
                    <FlowStep x:Name="__ReferenceID7">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:Point x:Key="ShapeLocation">200,741.666666666667</av:Point>
                          <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                          <av:PointCollection x:Key="ConnectorLocation">300,793.666666666667 300,824.333333333333</av:PointCollection>
                        </scg:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <ui:FilterDataTable DataTable="[Masterpatientdata]" DisplayName="筛选患者主数据" FilterRowsMode="Keep" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="FilterDataTable_1" OutputDataTable="[MasterPatientFileData]" SelectColumnsMode="Keep">
                        <ui:FilterDataTable.Filters>
                          <scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
                            <ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
                              <ui:FilterOperationArgument.Column>
                                <InArgument x:TypeArguments="x:String">["手机号码"]</InArgument>
                              </ui:FilterOperationArgument.Column>
                              <ui:FilterOperationArgument.Operand>
                                <InArgument x:TypeArguments="x:String">["9663309212"]</InArgument>
                              </ui:FilterOperationArgument.Operand>
                            </ui:FilterOperationArgument>
                          </scg:List>
                        </ui:FilterDataTable.Filters>
                        <ui:FilterDataTable.SelectColumns>
                          <scg:List x:TypeArguments="InArgument" Capacity="4">
                            <x:Null />
                          </scg:List>
                        </ui:FilterDataTable.SelectColumns>
                      </ui:FilterDataTable>
                      <FlowStep.Next>
                        <FlowStep x:Name="__ReferenceID8">
                          <sap:WorkflowViewStateService.ViewState>
                            <scg:Dictionary x:TypeArguments="x:String, x:Object">
                              <av:Point x:Key="ShapeLocation">200,824.333333333333</av:Point>
                              <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                              <av:PointCollection x:Key="ConnectorLocation">300,875.833333333333 300,916.5</av:PointCollection>
                            </scg:Dictionary>
                          </sap:WorkflowViewStateService.ViewState>
                          <ui:FilterDataTable DataTable="[DoctorCalender]" DisplayName="筛选医生日历" FilterRowsMode="Keep" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="FilterDataTable_2" OutputDataTable="[CalenderResult]" SelectColumnsMode="Keep">
                            <ui:FilterDataTable.Filters>
                              <scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
                                <ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
                                  <ui:FilterOperationArgument.Column>
                                    <InArgument x:TypeArguments="x:String">["医生姓名"]</InArgument>
                                  </ui:FilterOperationArgument.Column>
                                  <ui:FilterOperationArgument.Operand>
                                    <InArgument x:TypeArguments="x:String">[PatientDataRow("预约咨询医生").ToString]</InArgument>
                                  </ui:FilterOperationArgument.Operand>
                                </ui:FilterOperationArgument>
                                <ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
                                  <ui:FilterOperationArgument.Column>
                                    <InArgument x:TypeArguments="x:String">[TimeSlotRequested]</InArgument>
                                  </ui:FilterOperationArgument.Column>
                                  <ui:FilterOperationArgument.Operand>
                                    <InArgument x:TypeArguments="x:String">["忙"]</InArgument>
                                  </ui:FilterOperationArgument.Operand>
                                </ui:FilterOperationArgument>
                              </scg:List>
                            </ui:FilterDataTable.Filters>
                            <ui:FilterDataTable.SelectColumns>
                              <scg:List x:TypeArguments="InArgument" Capacity="4">
                                <x:Null />
                              </scg:List>
                            </ui:FilterDataTable.SelectColumns>
                          </ui:FilterDataTable>
                          <FlowStep.Next>
                            <FlowDecision x:Name="__ReferenceID9" Condition="[CalenderResult.Rows.Count&gt;0]" DisplayName="医生是否已预约" sap:VirtualizedContainerService.HintSize="90,87" sap2010:WorkflowViewState.IdRef="FlowDecision_2">
                              <sap:WorkflowViewStateService.ViewState>
                                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                  <av:Point x:Key="ShapeLocation">255,916.5</av:Point>
                                  <av:Size x:Key="ShapeSize">90,87</av:Size>
                                  <av:PointCollection x:Key="TrueConnector">255,960 140.5,960 140.5,1039</av:PointCollection>
                                  <av:PointCollection x:Key="FalseConnector">345,960 500.5,960 500.5,1029</av:PointCollection>
                                </scg:Dictionary>
                              </sap:WorkflowViewStateService.ViewState>
                              <FlowDecision.True>
                                <FlowStep x:Name="__ReferenceID10">
                                  <sap:WorkflowViewStateService.ViewState>
                                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                      <av:Point x:Key="ShapeLocation">9,1039</av:Point>
                                      <av:Size x:Key="ShapeSize">263,60</av:Size>
                                      <av:PointCollection x:Key="ConnectorLocation">140.5,1099 140.5,1129 335.666666666667,1129 335.666666666667,1146.66666666667</av:PointCollection>
                                    </scg:Dictionary>
                                  </sap:WorkflowViewStateService.ViewState>
                                  <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_3">
                                    <Assign.To>
                                      <OutArgument x:TypeArguments="x:String">[IsDoctorAvailable]</OutArgument>
                                    </Assign.To>
                                    <Assign.Value>
                                      <InArgument x:TypeArguments="x:String">否</InArgument>
                                    </Assign.Value>
                                  </Assign>
                                  <FlowStep.Next>
                                    <FlowDecision x:Name="__ReferenceID3" Condition="[MasterPatientFileData.Rows.Count&gt;0]" DisplayName="是否新患者" sap:VirtualizedContainerService.HintSize="70,87" sap2010:WorkflowViewState.IdRef="FlowDecision_1">
                                      <sap:WorkflowViewStateService.ViewState>
                                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                          <av:Point x:Key="ShapeLocation">300.666666666667,1146.66666666667</av:Point>
                                          <av:Size x:Key="ShapeSize">70,87</av:Size>
                                          <av:PointCollection x:Key="TrueConnector">300.666666666667,1190 140,1190 140,1279</av:PointCollection>
                                          <av:PointCollection x:Key="FalseConnector">370.666666666667,1190.16666666667 550.5,1190.16666666667 550.5,1279</av:PointCollection>
                                        </scg:Dictionary>
                                      </sap:WorkflowViewStateService.ViewState>
                                      <FlowDecision.True>
                                        <FlowStep x:Name="__ReferenceID12">
                                          <sap:WorkflowViewStateService.ViewState>
                                            <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                              <av:Point x:Key="ShapeLocation">9,1279</av:Point>
                                              <av:Size x:Key="ShapeSize">263,60</av:Size>
                                              <av:PointCollection x:Key="ConnectorLocation">140,1339 140,1470 228,1470</av:PointCollection>
                                            </scg:Dictionary>
                                          </sap:WorkflowViewStateService.ViewState>
                                          <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_4">
                                            <Assign.To>
                                              <OutArgument x:TypeArguments="x:String">[IsNewPatient]</OutArgument>
                                            </Assign.To>
                                            <Assign.Value>
                                              <InArgument x:TypeArguments="x:String">是</InArgument>
                                            </Assign.Value>
                                          </Assign>
                                          <FlowStep.Next>
                                            <FlowStep x:Name="__ReferenceID2">
                                              <sap:WorkflowViewStateService.ViewState>
                                                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                  <av:Point x:Key="ShapeLocation">228,1432</av:Point>
                                                  <av:Size x:Key="ShapeSize">204,76</av:Size>
                                                  <av:PointCollection x:Key="ConnectorLocation">330,1508 330,1559.33333333333</av:PointCollection>
                                                </scg:Dictionary>
                                              </sap:WorkflowViewStateService.ViewState>
                                              <ufa:FormActivity Dismissed="{x:Null}" FormFieldsInputData="{x:Null}" FormFieldsOutputData="{x:Null}" FormTitle="{x:Null}" SelectedButton="{x:Null}" DisplayName="Create Form" FormHeight="400" FormSchema="%[{&quot;columns&quot;:[{&quot;components&quot;:[{&quot;label&quot;:&quot;姓名&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;fullName&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;患者编号&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;patientID&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;血型&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;bloodGroup&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;年龄&quot;,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;number&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;age&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;delimiter&quot;:false,&quot;requireDecimal&quot;:false,&quot;reorder&quot;:false},{&quot;label&quot;:&quot;体重&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;weight&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;科室&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;department&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;是否新患者？&quot;,&quot;optionsLabelPosition&quot;:&quot;right&quot;,&quot;values&quot;:[{&quot;label&quot;:&quot;是&quot;,&quot;value&quot;:&quot;是&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;否&quot;,&quot;value&quot;:&quot;否&quot;,&quot;shortcut&quot;:&quot;&quot;}],&quot;inline&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;radio&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;newPatient&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;历史健康情况&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textarea&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;healthHistory&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;uploadUrl&quot;:&quot;&quot;,&quot;uploadOptions&quot;:&quot;&quot;,&quot;uploadDir&quot;:&quot;&quot;,&quot;reorder&quot;:false},{&quot;label&quot;:&quot;希望出诊的医生&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;doctorRequestedForDiagonosis&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;预约时间段&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;TimeSlotRequested&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false}],&quot;width&quot;:6,&quot;offset&quot;:0,&quot;push&quot;:0,&quot;pull&quot;:0,&quot;type&quot;:&quot;column&quot;,&quot;input&quot;:false,&quot;hideOnChildrenHidden&quot;:false,&quot;key&quot;:&quot;column&quot;,&quot;tableView&quot;:true,&quot;label&quot;:&quot;Column&quot;},{&quot;components&quot;:[{&quot;label&quot;:&quot;联系电话&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;phoneNumber&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;contactNumber&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;\&quot;Incorrect Contact Number\&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;紧急联系电话&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;phoneNumber&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;emergencyContactNumber&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;邮件&quot;,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;email&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;email&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;婚姻状况&quot;,&quot;optionsLabelPosition&quot;:&quot;right&quot;,&quot;values&quot;:[{&quot;label&quot;:&quot;已婚&quot;,&quot;value&quot;:&quot;已婚&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;未婚&quot;,&quot;value&quot;:&quot;未婚&quot;,&quot;shortcut&quot;:&quot;&quot;}],&quot;inline&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;radio&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;relationshipStatus&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;性别&quot;,&quot;optionsLabelPosition&quot;:&quot;right&quot;,&quot;values&quot;:[{&quot;label&quot;:&quot;男&quot;,&quot;value&quot;:&quot;男&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;女&quot;,&quot;value&quot;:&quot;女&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;其他&quot;,&quot;value&quot;:&quot;其他&quot;,&quot;shortcut&quot;:&quot;&quot;}],&quot;inline&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;radio&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;gender&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;之前咨询过的医生&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;theDoctorConsultedEarlier&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;在预约时间段该医生是否有空？&quot;,&quot;optionsLabelPosition&quot;:&quot;right&quot;,&quot;values&quot;:[{&quot;label&quot;:&quot;是&quot;,&quot;value&quot;:&quot;是&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;否&quot;,&quot;value&quot;:&quot;否&quot;,&quot;shortcut&quot;:&quot;&quot;}],&quot;inline&quot;:false,&quot;disabled&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;radio&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;isDoctorAvailable&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;是否把患者分配给其他医生？&quot;,&quot;optionsLabelPosition&quot;:&quot;right&quot;,&quot;values&quot;:[{&quot;label&quot;:&quot;是&quot;,&quot;value&quot;:&quot;是&quot;,&quot;shortcut&quot;:&quot;&quot;},{&quot;label&quot;:&quot;否&quot;,&quot;value&quot;:&quot;否&quot;,&quot;shortcut&quot;:&quot;&quot;}],&quot;inline&quot;:false,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;radio&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;doctorAssignmentCheck&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;可以出诊的医生&quot;,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;select&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;doctorAvailable&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;,&quot;select&quot;:false},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;data&quot;:{&quot;values&quot;:[{&quot;label&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]},&quot;valueProperty&quot;:&quot;value&quot;,&quot;selectThreshold&quot;:0.3,&quot;lazyLoad&quot;:false,&quot;selectValues&quot;:&quot;&quot;,&quot;disableLimit&quot;:false,&quot;sort&quot;:&quot;&quot;,&quot;reference&quot;:false,&quot;defaultValue&quot;:&quot;&quot;,&quot;reorder&quot;:false}],&quot;width&quot;:6,&quot;offset&quot;:0,&quot;push&quot;:0,&quot;pull&quot;:0,&quot;type&quot;:&quot;column&quot;,&quot;input&quot;:false,&quot;hideOnChildrenHidden&quot;:false,&quot;key&quot;:&quot;column&quot;,&quot;tableView&quot;:true,&quot;label&quot;:&quot;Column&quot;}],&quot;type&quot;:&quot;columns&quot;,&quot;input&quot;:false,&quot;key&quot;:&quot;columns2&quot;,&quot;tableView&quot;:false,&quot;label&quot;:&quot;Columns&quot;,&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;病情描述&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textarea&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;explanationOfTheDisease&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;uploadUrl&quot;:&quot;&quot;,&quot;uploadOptions&quot;:&quot;&quot;,&quot;uploadDir&quot;:&quot;&quot;,&quot;reorder&quot;:false},{&quot;label&quot;:&quot;分配医生&quot;,&quot;theme&quot;:&quot;primary&quot;,&quot;disableOnInvalid&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;button&quot;,&quot;key&quot;:&quot;submit&quot;,&quot;input&quot;:true,&quot;tableView&quot;:true,&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;showValidations&quot;:false,&quot;event&quot;:&quot;&quot;,&quot;url&quot;:&quot;&quot;,&quot;custom&quot;:&quot;&quot;,&quot;reorder&quot;:false}]" FormTheme="{}{&quot;Activities&quot;:[&quot;FORMS&quot;,&quot;CALLOUT&quot;],&quot;Id&quot;:&quot;&quot;,&quot;Name&quot;:&quot;United&quot;,&quot;BaseCss&quot;:&quot;../../assets/css/themes/united.bootstrap.min.css&quot;,&quot;ImageSrc&quot;:&quot;../../assets/themeicons/united.png&quot;,&quot;OverrideCssUrl&quot;:&quot;&quot;,&quot;UserStyleOverrides&quot;:&quot;&quot;,&quot;Properties&quot;:&quot;&quot;,&quot;IsCustomTheme&quot;:false,&quot;Version&quot;:1,&quot;ThemeVersion&quot;:1}" FormWidth="800" GenerateInputFields="False" sap:VirtualizedContainerService.HintSize="204,76" sap2010:WorkflowViewState.IdRef="FormActivity_1" IsReadOnly="False">
                                                <ufa:FormActivity.FormFieldsCollection>
                                                  <InArgument x:TypeArguments="x:String" x:Key="gender">[Masterpatientdata.Rows(0)("性别").ToString.Trim]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="isDoctorAvailable">[IsDoctorAvailable]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="newPatient">[IsNewPatient]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="patientID">[Masterpatientdata.Rows(0)("患者ID").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:Int32" x:Key="age">[Convert.ToInt16(Masterpatientdata.Rows(0)("年龄"))]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="weight">[Masterpatientdata.Rows(0)("体重").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="emergencyContactNumber">[Masterpatientdata.Rows(0)("紧急联系电话").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="email">[Masterpatientdata.Rows(0)("邮件").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="department">[PatientDataRow("科室").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="relationshipStatus">[Masterpatientdata.Rows(0)("婚姻状况").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="bloodGroup">[Masterpatientdata.Rows(0)("血型").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="doctorRequestedForDiagonosis">[PatientDataRow("预约咨询医生").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="healthHistory">[Masterpatientdata.Rows(0)("历史诊断").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="explanationOfTheDisease">[PatientDataRow("病情描述").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="fullName">[PatientDataRow("姓名").ToString]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="contactNumber">[PatientContactNumber]</InArgument>
                                                  <InArgument x:TypeArguments="scg:List(x:String)" x:Key="doctorAvailable">[ListOfDoctors]</InArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="theDoctorConsultedEarlier">[Masterpatientdata.Rows(0)("上一次咨询医生").ToString]</InArgument>
                                                  <OutArgument x:TypeArguments="x:String" x:Key="doctorAssignmentCheck">[otherDoctorSelected]</OutArgument>
                                                  <InArgument x:TypeArguments="x:String" x:Key="TimeSlotRequested">[TimeSlotRequested]</InArgument>
                                                </ufa:FormActivity.FormFieldsCollection>
                                              </ufa:FormActivity>
                                              <FlowStep.Next>
                                                <FlowStep x:Name="__ReferenceID14">
                                                  <sap:WorkflowViewStateService.ViewState>
                                                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                      <av:Point x:Key="ShapeLocation">199,1559.33333333333</av:Point>
                                                      <av:Size x:Key="ShapeSize">263,60</av:Size>
                                                      <av:PointCollection x:Key="ConnectorLocation">330,1619.33333333333 330,1654</av:PointCollection>
                                                    </scg:Dictionary>
                                                  </sap:WorkflowViewStateService.ViewState>
                                                  <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_9">
                                                    <Assign.To>
                                                      <OutArgument x:TypeArguments="x:String">[MailBody]</OutArgument>
                                                    </Assign.To>
                                                    <Assign.Value>
                                                      <InArgument x:TypeArguments="x:String">["预约成功，请回复'是'以确认预约。"]</InArgument>
                                                    </Assign.Value>
                                                  </Assign>
                                                  <FlowStep.Next>
                                                    <FlowStep x:Name="__ReferenceID16">
                                                      <sap:WorkflowViewStateService.ViewState>
                                                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                          <av:Point x:Key="ShapeLocation">230,1654</av:Point>
                                                          <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                                                          <av:PointCollection x:Key="ConnectorLocation">330,1706 330,1754</av:PointCollection>
                                                        </scg:Dictionary>
                                                      </sap:WorkflowViewStateService.ViewState>
                                                      <ui:SendOutlookMail Account="{x:Null}" Bcc="{x:Null}" Body="{x:Null}" Cc="{x:Null}" MailMessage="{x:Null}" TimeoutMS="{x:Null}" DisplayName="Send Outlook Mail Message" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="SendOutlookMail_1" IsBodyHtml="False" IsDraft="False" Subject="[MailBody]" To="joyce.wang@uipath.com">
                                                        <ui:SendOutlookMail.Files>
                                                          <scg:List x:TypeArguments="InArgument(x:String)" Capacity="0" />
                                                        </ui:SendOutlookMail.Files>
                                                        <sap:WorkflowViewStateService.ViewState>
                                                          <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                          </scg:Dictionary>
                                                        </sap:WorkflowViewStateService.ViewState>
                                                      </ui:SendOutlookMail>
                                                      <FlowStep.Next>
                                                        <FlowStep x:Name="__ReferenceID17">
                                                          <sap:WorkflowViewStateService.ViewState>
                                                            <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                              <av:Point x:Key="ShapeLocation">230,1754</av:Point>
                                                              <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                                                              <av:PointCollection x:Key="ConnectorLocation">330,1806 330,1844</av:PointCollection>
                                                            </scg:Dictionary>
                                                          </sap:WorkflowViewStateService.ViewState>
                                                          <ui:SendHotkey ClickBeforeTyping="{x:Null}" DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" EmptyField="{x:Null}" SendWindowMessages="{x:Null}" SpecialKey="{x:Null}" Activate="True" DisplayName="Send Hotkey" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="SendHotkey_1" Key="d" KeyModifiers="Win">
                                                            <ui:SendHotkey.Target>
                                                              <ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Selector="{x:Null}">
                                                                <ui:Target.TimeoutMS>
                                                                  <InArgument x:TypeArguments="x:Int32" />
                                                                </ui:Target.TimeoutMS>
                                                                <ui:Target.WaitForReady>
                                                                  <InArgument x:TypeArguments="ui:WaitForReady" />
                                                                </ui:Target.WaitForReady>
                                                              </ui:Target>
                                                            </ui:SendHotkey.Target>
                                                            <sap:WorkflowViewStateService.ViewState>
                                                              <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                              </scg:Dictionary>
                                                            </sap:WorkflowViewStateService.ViewState>
                                                          </ui:SendHotkey>
                                                          <FlowStep.Next>
                                                            <FlowStep x:Name="__ReferenceID21">
                                                              <sap:WorkflowViewStateService.ViewState>
                                                                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                  <av:Point x:Key="ShapeLocation">230,1844</av:Point>
                                                                  <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                                                                  <av:PointCollection x:Key="ConnectorLocation">330,1896 330,1943.33333333333</av:PointCollection>
                                                                </scg:Dictionary>
                                                              </sap:WorkflowViewStateService.ViewState>
                                                              <ui:CommentOut sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="CommentOut_1">
                                                                <ui:CommentOut.Body>
                                                                  <Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="510,206" sap2010:WorkflowViewState.IdRef="Sequence_6">
                                                                    <sap:WorkflowViewStateService.ViewState>
                                                                      <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                      </scg:Dictionary>
                                                                    </sap:WorkflowViewStateService.ViewState>
                                                                    <Parallel sap:VirtualizedContainerService.HintSize="468,114" sap2010:WorkflowViewState.IdRef="Parallel_1">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                      <ui:Click DelayBefore="{x:Null}" DelayMS="{x:Null}" SendWindowMessages="{x:Null}" SimulateClick="{x:Null}" ClickType="CLICK_SINGLE" sap:VirtualizedContainerService.HintSize="334,68" sap2010:WorkflowViewState.IdRef="Click_2" KeyModifiers="None" MouseButton="BTN_LEFT">
                                                                        <ui:Click.CursorPosition>
                                                                          <ui:CursorPosition Position="Center">
                                                                            <ui:CursorPosition.OffsetX>
                                                                              <InArgument x:TypeArguments="x:Int32" />
                                                                            </ui:CursorPosition.OffsetX>
                                                                            <ui:CursorPosition.OffsetY>
                                                                              <InArgument x:TypeArguments="x:Int32" />
                                                                            </ui:CursorPosition.OffsetY>
                                                                          </ui:CursorPosition>
                                                                        </ui:Click.CursorPosition>
                                                                        <ui:Click.Target>
                                                                          <ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Selector="{x:Null}">
                                                                            <ui:Target.TimeoutMS>
                                                                              <InArgument x:TypeArguments="x:Int32" />
                                                                            </ui:Target.TimeoutMS>
                                                                            <ui:Target.WaitForReady>
                                                                              <InArgument x:TypeArguments="ui:WaitForReady" />
                                                                            </ui:Target.WaitForReady>
                                                                          </ui:Target>
                                                                        </ui:Click.Target>
                                                                      </ui:Click>
                                                                    </Parallel>
                                                                  </Sequence>
                                                                </ui:CommentOut.Body>
                                                              </ui:CommentOut>
                                                              <FlowStep.Next>
                                                                <FlowStep x:Name="__ReferenceID15">
                                                                  <sap:WorkflowViewStateService.ViewState>
                                                                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                      <av:Point x:Key="ShapeLocation">230,1943.33333333333</av:Point>
                                                                      <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                                                                      <av:PointCollection x:Key="ConnectorLocation">330,1994.83333333333 330,2024.25</av:PointCollection>
                                                                    </scg:Dictionary>
                                                                  </sap:WorkflowViewStateService.ViewState>
                                                                  <ui:Click DelayBefore="{x:Null}" DelayMS="{x:Null}" SendWindowMessages="{x:Null}" SimulateClick="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Navigate to Outlook" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="Click_1" KeyModifiers="None" MouseButton="BTN_LEFT">
                                                                    <ui:Click.CursorPosition>
                                                                      <ui:CursorPosition Position="Center">
                                                                        <ui:CursorPosition.OffsetX>
                                                                          <InArgument x:TypeArguments="x:Int32" />
                                                                        </ui:CursorPosition.OffsetX>
                                                                        <ui:CursorPosition.OffsetY>
                                                                          <InArgument x:TypeArguments="x:Int32" />
                                                                        </ui:CursorPosition.OffsetY>
                                                                      </ui:CursorPosition>
                                                                    </ui:Click.CursorPosition>
                                                                    <ui:Click.Target>
                                                                      <ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="40bf599fa7cefa7b1c67334d42ec715a" Selector="&lt;wnd app='outlook.exe' cls='rctrl_renwnd32' title='*- Joyce.Wang@uipath.com - Outlook' /&gt;&lt;uia automationid='1' cls='Navigation Module' name='日历' /&gt;">
                                                                        <ui:Target.TimeoutMS>
                                                                          <InArgument x:TypeArguments="x:Int32" />
                                                                        </ui:Target.TimeoutMS>
                                                                        <ui:Target.WaitForReady>
                                                                          <InArgument x:TypeArguments="ui:WaitForReady" />
                                                                        </ui:Target.WaitForReady>
                                                                      </ui:Target>
                                                                    </ui:Click.Target>
                                                                  </ui:Click>
                                                                  <FlowStep.Next>
                                                                    <FlowStep x:Name="__ReferenceID18">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <av:Point x:Key="ShapeLocation">230,2024.25</av:Point>
                                                                          <av:Size x:Key="ShapeSize">200,51.5</av:Size>
                                                                        </scg:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                      <ui:CalloutScope DisplayName="Callout 'Button  Work Offline'" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="CalloutScope_1">
                                                                        <ui:CalloutScope.CalloutForm>
                                                                          <ActivityFunc x:TypeArguments="sd1:Rectangle, s:IntPtr, stt:Task" Argument1="{x:Reference __ReferenceID0}" Argument2="{x:Reference __ReferenceID1}">
                                                                            <uca:CallOutActivity CalloutFieldsInputData="{x:Null}" CalloutFieldsOutputData="{x:Null}" Dismissed="{x:Null}" Result="{x:Null}" SelectedButton="{x:Null}" TimeoutInSeconds="{x:Null}" BackgroundColor="#FFFFFFFF" CalloutSchema="%[{&quot;label&quot;:&quot;关键点&quot;,&quot;tag&quot;:&quot;h3&quot;,&quot;className&quot;:&quot;&quot;,&quot;attrs&quot;:[{&quot;attr&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}],&quot;content&quot;:&quot;关键点&quot;,&quot;refreshOnChange&quot;:false,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;htmlelement&quot;,&quot;mask&quot;:false,&quot;tableView&quot;:true,&quot;input&quot;:false,&quot;key&quot;:&quot;title&quot;,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;properties&quot;:{},&quot;customConditional&quot;:&quot;&quot;,&quot;logic&quot;:[],&quot;reorder&quot;:false},{&quot;label&quot;:&quot;HTML&quot;,&quot;tag&quot;:&quot;br&quot;,&quot;className&quot;:&quot;&quot;,&quot;attrs&quot;:[{&quot;attr&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}],&quot;content&quot;:&quot;&lt;div class=\&quot;well\&quot;&gt;Content&lt;/div&gt;&quot;,&quot;refreshOnChange&quot;:false,&quot;mask&quot;:false,&quot;tableView&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;htmlelement&quot;,&quot;input&quot;:false,&quot;key&quot;:&quot;content&quot;,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;reorder&quot;:false,&quot;properties&quot;:{},&quot;customConditional&quot;:&quot;&quot;,&quot;logic&quot;:[]},{&quot;label&quot;:&quot;提醒&quot;,&quot;placeholder&quot;:&quot;不要忘记更新指定医生的出诊日历&quot;,&quot;showWordCount&quot;:false,&quot;showCharCount&quot;:false,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;textfield&quot;,&quot;input&quot;:true,&quot;key&quot;:&quot;textField2&quot;,&quot;defaultValue&quot;:&quot;&quot;,&quot;tableView&quot;:true,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;},&quot;reorder&quot;:false},{&quot;label&quot;:&quot;HTML&quot;,&quot;tag&quot;:&quot;br&quot;,&quot;className&quot;:&quot;&quot;,&quot;attrs&quot;:[{&quot;attr&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}],&quot;content&quot;:&quot;&lt;div class=\&quot;well\&quot;&gt;Content&lt;/div&gt;&quot;,&quot;refreshOnChange&quot;:false,&quot;mask&quot;:false,&quot;tableView&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;htmlelement&quot;,&quot;input&quot;:false,&quot;key&quot;:&quot;wellcontent&quot;,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;reorder&quot;:false,&quot;properties&quot;:{},&quot;customConditional&quot;:&quot;&quot;,&quot;logic&quot;:[]},{&quot;label&quot;:&quot;OK&quot;,&quot;state&quot;:&quot;&quot;,&quot;theme&quot;:&quot;primary&quot;,&quot;shortcut&quot;:&quot;&quot;,&quot;disableOnInvalid&quot;:true,&quot;mask&quot;:false,&quot;tableView&quot;:true,&quot;alwaysEnabled&quot;:false,&quot;type&quot;:&quot;button&quot;,&quot;key&quot;:&quot;submit&quot;,&quot;input&quot;:true,&quot;defaultValue&quot;:false,&quot;validate&quot;:{&quot;customMessage&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;conditional&quot;:{&quot;show&quot;:&quot;&quot;,&quot;when&quot;:&quot;&quot;,&quot;json&quot;:&quot;&quot;},&quot;showValidations&quot;:false,&quot;event&quot;:&quot;&quot;,&quot;url&quot;:&quot;&quot;,&quot;custom&quot;:&quot;&quot;,&quot;reorder&quot;:false,&quot;properties&quot;:{},&quot;customConditional&quot;:&quot;&quot;,&quot;logic&quot;:[],&quot;customClass&quot;:&quot;text-right&quot;}]" CalloutTheme="{}{&quot;Activities&quot;:[&quot;CALLOUT&quot;],&quot;Id&quot;:&quot;100110&quot;,&quot;Name&quot;:&quot;Blue&quot;,&quot;BaseCss&quot;:&quot;../../assets/css/themes/cerulean.bootstrap.min.css&quot;,&quot;ImageSrc&quot;:&quot;../../assets/themeicons/cerulean.png&quot;,&quot;OverrideCssUrl&quot;:&quot;../../assets/css/themes/callout-cerulean-blue.css&quot;,&quot;UserStyleOverrides&quot;:&quot;&quot;,&quot;Properties&quot;:&quot;&quot;,&quot;IsCustomTheme&quot;:false,&quot;Version&quot;:1,&quot;ThemeVersion&quot;:1}" DisplayName="Callout Designer" GenerateInputFields="True" Height="252" sap:VirtualizedContainerService.HintSize="247.5,81.5" sap2010:WorkflowViewState.IdRef="CallOutActivity_1" Width="673">
                                                                              <uca:CallOutActivity.CalloutFieldsCollection>
                                                                                <scg:Dictionary x:TypeArguments="x:String, Argument" />
                                                                              </uca:CallOutActivity.CalloutFieldsCollection>
                                                                              <uca:CallOutActivity.TargetElementPosition>
                                                                                <InArgument x:TypeArguments="sd1:Rectangle">
                                                                                  <DelegateArgumentValue x:TypeArguments="sd1:Rectangle" sap2010:WorkflowViewState.IdRef="DelegateArgumentValue`1_1">
                                                                                    <DelegateInArgument x:TypeArguments="sd1:Rectangle" x:Name="__ReferenceID0" Name="TargetElementPosition" />
                                                                                  </DelegateArgumentValue>
                                                                                </InArgument>
                                                                              </uca:CallOutActivity.TargetElementPosition>
                                                                              <uca:CallOutActivity.TargetWindowHandle>
                                                                                <InArgument x:TypeArguments="s:IntPtr">
                                                                                  <DelegateArgumentValue x:TypeArguments="s:IntPtr" sap2010:WorkflowViewState.IdRef="DelegateArgumentValue`1_2">
                                                                                    <DelegateInArgument x:TypeArguments="s:IntPtr" x:Name="__ReferenceID1" Name="TargetWindowHandle" />
                                                                                  </DelegateArgumentValue>
                                                                                </InArgument>
                                                                              </uca:CallOutActivity.TargetWindowHandle>
                                                                            </uca:CallOutActivity>
                                                                          </ActivityFunc>
                                                                        </ui:CalloutScope.CalloutForm>
                                                                        <ui:CalloutScope.Target>
                                                                          <ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="2a065ee2c379c16d09e597618db47e51" Selector="&lt;wnd app='outlook.exe' cls='rctrl_renwnd32' title='* - Joyce.Wang@uipath.com - Outlook' /&gt;&lt;uia automationid='4710' cls='Navigation Bar' name='Navigation Bar' /&gt;&lt;uia automationid='1' cls='Navigation Module' name='日历' /&gt;" TimeoutMS="3000">
                                                                            <ui:Target.WaitForReady>
                                                                              <InArgument x:TypeArguments="ui:WaitForReady" />
                                                                            </ui:Target.WaitForReady>
                                                                          </ui:Target>
                                                                        </ui:CalloutScope.Target>
                                                                      </ui:CalloutScope>
                                                                    </FlowStep>
                                                                  </FlowStep.Next>
                                                                </FlowStep>
                                                              </FlowStep.Next>
                                                            </FlowStep>
                                                          </FlowStep.Next>
                                                        </FlowStep>
                                                      </FlowStep.Next>
                                                    </FlowStep>
                                                  </FlowStep.Next>
                                                </FlowStep>
                                              </FlowStep.Next>
                                            </FlowStep>
                                          </FlowStep.Next>
                                        </FlowStep>
                                      </FlowDecision.True>
                                      <FlowDecision.False>
                                        <FlowStep x:Name="__ReferenceID13">
                                          <sap:WorkflowViewStateService.ViewState>
                                            <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                              <av:Point x:Key="ShapeLocation">419,1279</av:Point>
                                              <av:Size x:Key="ShapeSize">263,60</av:Size>
                                              <av:PointCollection x:Key="ConnectorLocation">550,1339 550,1470 432,1470</av:PointCollection>
                                            </scg:Dictionary>
                                          </sap:WorkflowViewStateService.ViewState>
                                          <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_5">
                                            <Assign.To>
                                              <OutArgument x:TypeArguments="x:String">[IsNewPatient]</OutArgument>
                                            </Assign.To>
                                            <Assign.Value>
                                              <InArgument x:TypeArguments="x:String">否</InArgument>
                                            </Assign.Value>
                                          </Assign>
                                          <FlowStep.Next>
                                            <x:Reference>__ReferenceID2</x:Reference>
                                          </FlowStep.Next>
                                        </FlowStep>
                                      </FlowDecision.False>
                                    </FlowDecision>
                                  </FlowStep.Next>
                                </FlowStep>
                              </FlowDecision.True>
                              <FlowDecision.False>
                                <FlowStep x:Name="__ReferenceID11">
                                  <sap:WorkflowViewStateService.ViewState>
                                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                      <av:Point x:Key="ShapeLocation">369,1029</av:Point>
                                      <av:Size x:Key="ShapeSize">263,60</av:Size>
                                      <av:PointCollection x:Key="ConnectorLocation">500.5,1089 500.5,1119 335.666666666667,1119 335.666666666667,1146.66666666667</av:PointCollection>
                                    </scg:Dictionary>
                                  </sap:WorkflowViewStateService.ViewState>
                                  <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_6">
                                    <Assign.To>
                                      <OutArgument x:TypeArguments="x:String">[IsDoctorAvailable]</OutArgument>
                                    </Assign.To>
                                    <Assign.Value>
                                      <InArgument x:TypeArguments="x:String">是</InArgument>
                                    </Assign.Value>
                                  </Assign>
                                  <FlowStep.Next>
                                    <x:Reference>__ReferenceID3</x:Reference>
                                  </FlowStep.Next>
                                </FlowStep>
                              </FlowDecision.False>
                            </FlowDecision>
                          </FlowStep.Next>
                        </FlowStep>
                      </FlowStep.Next>
                    </FlowStep>
                  </FlowStep.Next>
                </FlowStep>
              </FlowStep.Next>
            </FlowStep>
          </FlowStep.Next>
        </FlowStep>
      </FlowStep.Next>
    </FlowStep>
    <x:Reference>__ReferenceID4</x:Reference>
    <x:Reference>__ReferenceID5</x:Reference>
    <x:Reference>__ReferenceID6</x:Reference>
    <x:Reference>__ReferenceID7</x:Reference>
    <x:Reference>__ReferenceID8</x:Reference>
    <x:Reference>__ReferenceID9</x:Reference>
    <x:Reference>__ReferenceID3</x:Reference>
    <x:Reference>__ReferenceID10</x:Reference>
    <x:Reference>__ReferenceID11</x:Reference>
    <x:Reference>__ReferenceID12</x:Reference>
    <x:Reference>__ReferenceID13</x:Reference>
    <x:Reference>__ReferenceID2</x:Reference>
    <FlowStep>
      <sap:WorkflowViewStateService.ViewState>
        <scg:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">508.5,560</av:Point>
          <av:Size x:Key="ShapeSize">263,60</av:Size>
          <av:PointCollection x:Key="ConnectorLocation">640,620 640,650 300,650 300,659</av:PointCollection>
        </scg:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <Assign sap:VirtualizedContainerService.HintSize="263,60" sap2010:WorkflowViewState.IdRef="Assign_8">
        <Assign.To>
          <OutArgument x:TypeArguments="x:String">[test]</OutArgument>
        </Assign.To>
        <Assign.Value>
          <InArgument x:TypeArguments="x:String">[Masterpatientdata.Rows(0)("邮件").ToString]</InArgument>
        </Assign.Value>
      </Assign>
      <FlowStep.Next>
        <x:Reference>__ReferenceID6</x:Reference>
      </FlowStep.Next>
    </FlowStep>
    <x:Reference>__ReferenceID14</x:Reference>
    <x:Reference>__ReferenceID15</x:Reference>
    <x:Reference>__ReferenceID16</x:Reference>
    <x:Reference>__ReferenceID17</x:Reference>
    <x:Reference>__ReferenceID18</x:Reference>
    <FlowStep x:Name="__ReferenceID22">
      <sap:WorkflowViewStateService.ViewState>
        <scg:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">200,209</av:Point>
          <av:Size x:Key="ShapeSize">200,22</av:Size>
          <av:PointCollection x:Key="ConnectorLocation">300,231 300,249.166666666667</av:PointCollection>
        </scg:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <ui:GetOutlookMailMessages Account="{x:Null}" Filter="{x:Null}" TimeoutMS="{x:Null}" DisplayName="Get Outlook Mail Messages" GetAttachements="False" sap:VirtualizedContainerService.HintSize="200,22" sap2010:WorkflowViewState.IdRef="GetOutlookMailMessages_1" MailFolder="Inbox" MarkAsRead="False" Messages="[ListOfMailMessages]" OnlyUnreadMessages="True" Top="3" />
      <FlowStep.Next>
        <FlowStep x:Name="__ReferenceID20">
          <sap:WorkflowViewStateService.ViewState>
            <scg:Dictionary x:TypeArguments="x:String, x:Object">
              <av:Point x:Key="ShapeLocation">200,249.166666666667</av:Point>
              <av:Size x:Key="ShapeSize">200,51.5</av:Size>
              <av:PointCollection x:Key="ConnectorLocation">300,300.166666666667 300,323.666666666667</av:PointCollection>
            </scg:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <ui:ForEach x:TypeArguments="snm:MailMessage" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="ForEach`1_1" Values="[ListOfMailMessages]">
            <ui:ForEach.Body>
              <ActivityAction x:TypeArguments="snm:MailMessage">
                <ActivityAction.Argument>
                  <DelegateInArgument x:TypeArguments="snm:MailMessage" Name="item" />
                </ActivityAction.Argument>
                <Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="526,328" sap2010:WorkflowViewState.IdRef="Sequence_5">
                  <sap:WorkflowViewStateService.ViewState>
                    <scg:Dictionary x:TypeArguments="x:String, x:Object">
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                    </scg:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <If Condition="[item.Subject=&quot;预约医生&quot;]" sap:VirtualizedContainerService.HintSize="484,236" sap2010:WorkflowViewState.IdRef="If_1">
                    <If.Then>
                      <ui:SaveMailAttachments Attachments="{x:Null}" DisplayName="Save Attachments" FolderPath="[PatientsFilesLocation]" sap:VirtualizedContainerService.HintSize="334,87" sap2010:WorkflowViewState.IdRef="SaveMailAttachments_1" Message="[item]" />
                    </If.Then>
                  </If>
                </Sequence>
              </ActivityAction>
            </ui:ForEach.Body>
            <sap:WorkflowViewStateService.ViewState>
              <scg:Dictionary x:TypeArguments="x:String, x:Object">
                <x:Boolean x:Key="IsExpanded">False</x:Boolean>
                <x:Boolean x:Key="IsPinned">False</x:Boolean>
              </scg:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
          </ui:ForEach>
          <FlowStep.Next>
            <x:Reference>__ReferenceID19</x:Reference>
          </FlowStep.Next>
        </FlowStep>
      </FlowStep.Next>
    </FlowStep>
    <x:Reference>__ReferenceID20</x:Reference>
    <x:Reference>__ReferenceID21</x:Reference>
    <FlowStep x:Name="__ReferenceID25">
      <sap:WorkflowViewStateService.ViewState>
        <scg:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">200,104.02</av:Point>
          <av:Size x:Key="ShapeSize">200,51.5</av:Size>
          <av:PointCollection x:Key="ConnectorLocation">400,129.77 430,129.77 430,130 500,130</av:PointCollection>
        </scg:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <ui:MonitorEvents ContinueOnError="{x:Null}" DisplayName="Monitor Events" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="MonitorEvents_2" RepeatForever="False">
        <ui:MonitorEvents.Handler>
          <ActivityAction x:TypeArguments="x:Object">
            <ActivityAction.Argument>
              <DelegateInArgument x:TypeArguments="x:Object" Name="args" />
            </ActivityAction.Argument>
            <Sequence DisplayName="Event Handler" sap:VirtualizedContainerService.HintSize="200,83.5" sap2010:WorkflowViewState.IdRef="Sequence_8">
              <sap:WorkflowViewStateService.ViewState>
                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                </scg:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
            </Sequence>
          </ActivityAction>
        </ui:MonitorEvents.Handler>
        <ui:MonitorEvents.Triggers>
          <ui:MouseTrigger DisplayName="Mouse Trigger" EventMode="EVENT_FORWARD" sap:VirtualizedContainerService.HintSize="334,84.5" sap2010:WorkflowViewState.IdRef="MouseTrigger_1" KeyModifiers="Ctrl" MouseButton="BTN_LEFT" />
        </ui:MonitorEvents.Triggers>
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </ui:MonitorEvents>
      <FlowStep.Next>
        <FlowStep x:Name="__ReferenceID24">
          <sap:WorkflowViewStateService.ViewState>
            <scg:Dictionary x:TypeArguments="x:String, x:Object">
              <av:Point x:Key="ShapeLocation">500,104.25</av:Point>
              <av:Size x:Key="ShapeSize">200,51.5</av:Size>
              <av:PointCollection x:Key="ConnectorLocation">600,155.75 600,179</av:PointCollection>
            </scg:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <ui:MessageBox ChosenButton="{x:Null}" Buttons="Ok" Caption="数字助理通知" DisplayName="Message Box" sap:VirtualizedContainerService.HintSize="200,51.5" sap2010:WorkflowViewState.IdRef="MessageBox_2" Text="[&quot;机器人需要一个位置来保存预约文件&quot;]" TopMost="True">
            <sap:WorkflowViewStateService.ViewState>
              <scg:Dictionary x:TypeArguments="x:String, x:Object">
                <x:Boolean x:Key="IsExpanded">True</x:Boolean>
              </scg:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
          </ui:MessageBox>
          <FlowStep.Next>
            <FlowStep x:Name="__ReferenceID23">
              <sap:WorkflowViewStateService.ViewState>
                <scg:Dictionary x:TypeArguments="x:String, x:Object">
                  <av:Point x:Key="ShapeLocation">500,179</av:Point>
                  <av:Size x:Key="ShapeSize">200,22</av:Size>
                  <av:PointCollection x:Key="ConnectorLocation">500,190 300,190 300,209</av:PointCollection>
                </scg:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
              <ui:SelectFolder DisplayName="Select Folder" sap:VirtualizedContainerService.HintSize="200,22" sap2010:WorkflowViewState.IdRef="SelectFolder_1" SelectedFolder="[PatientsFilesLocation]">
                <sap:WorkflowViewStateService.ViewState>
                  <scg:Dictionary x:TypeArguments="x:String, x:Object">
                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                  </scg:Dictionary>
                </sap:WorkflowViewStateService.ViewState>
              </ui:SelectFolder>
              <FlowStep.Next>
                <x:Reference>__ReferenceID22</x:Reference>
              </FlowStep.Next>
            </FlowStep>
          </FlowStep.Next>
        </FlowStep>
      </FlowStep.Next>
    </FlowStep>
    <x:Reference>__ReferenceID23</x:Reference>
    <x:Reference>__ReferenceID24</x:Reference>
  </Flowchart>
</Activity>