33. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/28/2017 10:56:12 AM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

33.1 Files compared

# Location File Last Modified
1 VIRP_CiF.zip\Registries VIRP Database\ETL Objects Referrals.dtsx Thu Dec 7 15:50:00 2017 UTC
2 VIRP_CiF.zip\Registries VIRP Database\ETL Objects Referrals.dtsx Tue Dec 26 16:52:35 2017 UTC

33.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 11 20262
Changed 10 24
Inserted 0 0
Removed 0 0

33.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

33.4 Active regular expressions

No regular expressions were active.

33.5 Comparison detail

  1   <?xml vers ion="1.0"? >
  2   <DTS:Execu table xmln s:DTS="www .microsoft .com/SqlSe rver/Dts"
  3     DTS:refI d="Package "
  4     DTS:Crea tionDate=" 4/20/2016  12:52:09 P M"
  5     DTS:Crea tionName=" SSIS.Packa ge.3"
  6       DTS:Creato rComputerN ame=" RED A
C TED "
  7       DTS:Creato rName=" DN S         \ DN S      LAWSOW"
  8     DTS:DTSI D="{04FFF0 0A-37DF-4D 6A-B6B8-FC 7A241B17CA }"
  9     DTS:Exec utableType ="SSIS.Pac kage.3"
  10     DTS:Last ModifiedPr oductVersi on="11.0.6 020.0"
  11     DTS:Loca leID="1033 "
  12     DTS:Obje ctName="Re ferrals"
  13     DTS:Pack ageType="5 "
  14     DTS:Vers ionBuild=" 366"
  15     DTS:Vers ionGUID="{ 31BE926F-5 25A-40D6-B 90C-4355DD C45470}">
  16     <DTS:Pro perty
  17       DTS:Na me="Packag eFormatVer sion">6</D TS:Propert y>
  18     <DTS:Con nectionMan agers>
  19       <DTS:C onnectionM anager
  20         DTS: refId="Pac kage.Conne ctionManag ers[CRSReg istry]"
  21         DTS: CreationNa me="OLEDB"
  22         DTS: DTSID="{39 6F51F3-B53 D-4546-B89 B-A0E24633 BFEF}"
  23         DTS: ObjectName ="CRSRegis try">
  24         <DTS :PropertyE xpression
  25           DT S:Name="In itialCatal og">@[User ::CRSDatab ase]</DTS: PropertyEx pression>
  26         <DTS :PropertyE xpression
  27           DT S:Name="Se rverName"> @[User::CR SServer]</ DTS:Proper tyExpressi on>
  28         <DTS :ObjectDat a>
  29           <D TS:Connect ionManager
  30               DTS:Connec tionString ="Data Sou rce=
S E R V E R .aac.dva. DNS     ;Initial C atalog=CRS ;Provider= SQLNCLI11. 1;Integrat ed Securit y=SSPI;Aut o Translat e=False;"  />
  31         </DT S:ObjectDa ta>
  32       </DTS: Connection Manager>
  33       <DTS:C onnectionM anager
  34         DTS: refId="Pac kage.Conne ctionManag ers[HRP_CR SRegistry] "
  35         DTS: CreationNa me="OLEDB"
  36         DTS: DTSID="{86 9EF169-A7C 4-4182-833 5-F892A537 3122}"
  37         DTS: ObjectName ="HRP_CRSR egistry">
  38         <DTS :PropertyE xpression
  39           DT S:Name="In itialCatal og">@[User ::LoggingD atabase]</ DTS:Proper tyExpressi on>
  40         <DTS :PropertyE xpression
  41           DT S:Name="Se rverName"> @[User::Lo ggingServe r]</DTS:Pr opertyExpr ession>
  42         <DTS :ObjectDat a>
  43           <D TS:Connect ionManager
  44              DTS:Retain ="True"
  45               DTS:Connec tionString ="Data Sou rce= SERVER ;Initial C atalog=HRP _CRSRegist ry;Provide r=SQLNCLI1 1.1;Integr ated Secur ity=SSPI;A uto Transl ate=False; " />
  46         </DT S:ObjectDa ta>
  47       </DTS: Connection Manager>
  48       <DTS:C onnectionM anager
  49         DTS: refId="Pac kage.Conne ctionManag ers[SMTP C onnection  Manager]"
  50         DTS: CreationNa me="SMTP"
  51         DTS: DTSID="{79 831383-223 B-461C-8A1 4-353FEBD3 FCA6}"
  52         DTS: ObjectName ="SMTP Con nection Ma nager">
  53         <DTS :ObjectDat a>
  54           <S mtpConnect ionManager
  55               Connection String="Sm tpServer= DNS          ;UseWindow sAuthentic ation=Fals e;EnableSs l=False;"  />
  56         </DT S:ObjectDa ta>
  57       </DTS: Connection Manager>
  58       <DTS:C onnectionM anager
  59         DTS: refId="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  60         DTS: CreationNa me="OLEDB"
  61         DTS: DTSID="{F8 EF5CE6-B4B 0-4369-ABB A-E985CFC3 3711}"
  62         DTS: ObjectName ="StagingR egistry">
  63         <DTS :PropertyE xpression
  64           DT S:Name="In itialCatal og">@[User ::StagingD atabase]</ DTS:Proper tyExpressi on>
  65         <DTS :PropertyE xpression
  66           DT S:Name="Se rverName"> @[User::St agingServe r]</DTS:Pr opertyExpr ession>
  67         <DTS :ObjectDat a>
  68           <D TS:Connect ionManager
  69              DTS:Retain ="True"
  70               DTS:Connec tionString ="Data Sou rce=
S E R V E R .aac.dva. DNS     ;Initial C atalog=STG ;Provider= SQLNCLI11. 1;Integrat ed Securit y=SSPI;Aut o Translat e=False;"  />
  71         </DT S:ObjectDa ta>
  72       </DTS: Connection Manager>
  73     </DTS:Co nnectionMa nagers>
  74     <DTS:Var iables>
  75       <DTS:V ariable
  76         DTS: CreationNa me=""
  77         DTS: DTSID="{5D 15DFE2-FF2 E-46ED-AE0 A-38C19E78 9FDE}"
  78         DTS: IncludeInD ebugDump=" 2345"
  79         DTS: Namespace= "User"
  80         DTS: ObjectName ="CRSDatab ase">
  81         <DTS :VariableV alue
  82           DT S:DataType ="8">CRS</ DTS:Variab leValue>
  83       </DTS: Variable>
  84       <DTS:V ariable
  85         DTS: CreationNa me=""
  86         DTS: DTSID="{08 0B0E47-26D B-41E0-B06 6-0A61E30E D061}"
  87         DTS: IncludeInD ebugDump=" 2345"
  88         DTS: Namespace= "User"
  89         DTS: ObjectName ="CRSServe r">
  90         <DTS :VariableV alue
  91             DTS:DataTy pe="8">
S E R V E R .aac.dva. DNS     </DTS:Vari ableValue>
  92       </DTS: Variable>
  93       <DTS:V ariable
  94         DTS: CreationNa me=""
  95         DTS: DTSID="{44 D7E11C-817 5-422E-8B9 9-087289EA CF21}"
  96         DTS: IncludeInD ebugDump=" 2345"
  97         DTS: Namespace= "User"
  98         DTS: ObjectName ="ETLType" >
  99         <DTS :VariableV alue
  100           DT S:DataType ="8"
  101           xm l:space="p reserve">< /DTS:Varia bleValue>
  102       </DTS: Variable>
  103       <DTS:V ariable
  104         DTS: CreationNa me=""
  105         DTS: DTSID="{3B 96D253-1C9 E-42F1-B28 1-1069E59C 2160}"
  106         DTS: IncludeInD ebugDump=" 6789"
  107         DTS: Namespace= "User"
  108         DTS: ObjectName ="iPackage ID">
  109         <DTS :VariableV alue
  110           DT S:DataType ="3">0</DT S:Variable Value>
  111       </DTS: Variable>
  112       <DTS:V ariable
  113         DTS: CreationNa me=""
  114         DTS: DTSID="{7C F00AA0-58E 2-43EA-98C 6-DE070530 96CA}"
  115         DTS: IncludeInD ebugDump=" 2345"
  116         DTS: Namespace= "User"
  117         DTS: ObjectName ="LoggingD atabase">
  118         <DTS :VariableV alue
  119           DT S:DataType ="8">HRP_C RSRegistry </DTS:Vari ableValue>
  120       </DTS: Variable>
  121       <DTS:V ariable
  122         DTS: CreationNa me=""
  123         DTS: DTSID="{34 94C434-C02 7-4F8F-902 0-24D1304B 016A}"
  124         DTS: IncludeInD ebugDump=" 2345"
  125         DTS: Namespace= "User"
  126         DTS: ObjectName ="LoggingS erver">
  127         <DTS :VariableV alue
  128             DTS:DataTy pe="8"> SERVER </DTS:Vari ableValue>
  129       </DTS: Variable>
  130       <DTS:V ariable
  131         DTS: CreationNa me=""
  132         DTS: DTSID="{1D 302DD6-343 C-4E7E-ABA 9-197E2A98 CE92}"
  133         DTS: IncludeInD ebugDump=" 6789"
  134         DTS: Namespace= "User"
  135         DTS: ObjectName ="Max_Sort _Order">
  136         <DTS :VariableV alue
  137           DT S:DataType ="3">0</DT S:Variable Value>
  138       </DTS: Variable>
  139       <DTS:V ariable
  140         DTS: CreationNa me=""
  141         DTS: DTSID="{69 8AD31D-7E6 9-4D9B-8F3 E-DD5EA004 7CF0}"
  142         DTS: IncludeInD ebugDump=" 2345"
  143         DTS: Namespace= "User"
  144         DTS: ObjectName ="Notifica tionGroup" >
  145         <DTS :VariableV alue
  146             DTS:DataTy pe="8"> PII                    ; PII                     </DTS:Vari ableValue>
  147       </DTS: Variable>
  148       <DTS:V ariable
  149         DTS: CreationNa me=""
  150         DTS: DTSID="{77 14C03A-372 9-4ABD-AEA 2-73F92710 4877}"
  151         DTS: IncludeInD ebugDump=" 6789"
  152         DTS: Namespace= "User"
  153         DTS: ObjectName ="Refferra lSTS_ID">
  154         <DTS :VariableV alue
  155           DT S:DataType ="3">0</DT S:Variable Value>
  156       </DTS: Variable>
  157       <DTS:V ariable
  158         DTS: CreationNa me=""
  159         DTS: DTSID="{58 8B0E25-488 E-4658-975 B-0990DCAF 1C5F}"
  160         DTS: IncludeInD ebugDump=" 2345"
  161         DTS: Namespace= "User"
  162         DTS: ObjectName ="RegName" >
  163         <DTS :VariableV alue
  164           DT S:DataType ="8">Testi ng</DTS:Va riableValu e>
  165       </DTS: Variable>
  166       <DTS:V ariable
  167         DTS: CreationNa me=""
  168         DTS: DTSID="{90 EF9E50-981 A-4CAF-821 A-0D37EA23 5249}"
  169         DTS: EvaluateAs Expression ="True"
  170         DTS: Expression ="&quot;Se lect ID, C ode, Name  &#xA;From  &#xA;CRSE. STD_ REFER RALSTS&#xA ;WHERE &#x A;code =?& quot;"
  171         DTS: IncludeInD ebugDump=" 2345"
  172         DTS: Namespace= "User"
  173         DTS: ObjectName ="SQLCRS">
  174         <DTS :VariableV alue
  175           DT S:DataType ="8">Selec t ID, Code , Name 
  176   From 
  177   CRSE.STD_  REFERRALST S
  178   WHERE 
  179   code =?</D TS:Variabl eValue>
  180       </DTS: Variable>
  181       <DTS:V ariable
  182         DTS: CreationNa me=""
  183         DTS: DTSID="{F4 9DEAB4-B84 7-4DC8-91F 0-FEA7ACCA E003}"
  184         DTS: IncludeInD ebugDump=" 2345"
  185         DTS: Namespace= "User"
  186         DTS: ObjectName ="StagingD atabase">
  187         <DTS :VariableV alue
  188           DT S:DataType ="8">STG</ DTS:Variab leValue>
  189       </DTS: Variable>
  190       <DTS:V ariable
  191         DTS: CreationNa me=""
  192         DTS: DTSID="{D1 AD91FD-BC4 9-4A5F-B6B A-411EBBCB EA66}"
  193         DTS: IncludeInD ebugDump=" 2345"
  194         DTS: Namespace= "User"
  195         DTS: ObjectName ="StagingS erver">
  196         <DTS :VariableV alue
  197             DTS:DataTy pe="8">
S E R V E R .aac.dva. DNS     </DTS:Vari ableValue>
  198       </DTS: Variable>
  199       <DTS:V ariable
  200         DTS: CreationNa me=""
  201         DTS: DTSID="{F8 29B2DD-C80 4-41FF-B5F 2-C325C628 69E1}"
  202         DTS: IncludeInD ebugDump=" 6789"
  203         DTS: Namespace= "User"
  204         DTS: ObjectName ="STDRegis tryID">
  205         <DTS :VariableV alue
  206           DT S:DataType ="3">1</DT S:Variable Value>
  207       </DTS: Variable>
  208       <DTS:V ariable
  209         DTS: CreationNa me=""
  210         DTS: DTSID="{D0 277A06-B99 B-48EE-B81 7-59D12A9B 0E6A}"
  211         DTS: IncludeInD ebugDump=" 6789"
  212         DTS: Namespace= "User"
  213         DTS: ObjectName ="STD_Regi stry">
  214         <DTS :VariableV alue
  215           DT S:DataSubT ype="Manag edSerializ able"
  216           DT S:DataType ="13">
  217           <S OAP-ENV:En velope xml ns:clr="ht tp://schem as.microso ft.com/soa p/encoding /clr/1.0"  xmlns:SOAP -ENC="http ://schemas .xmlsoap.o rg/soap/en coding/" x mlns:SOAP- ENV="http: //schemas. xmlsoap.or g/soap/env elope/" xm lns:xsd="h ttp://www. w3.org/200 1/XMLSchem a" xmlns:x si="http:/ /www.w3.or g/2001/XML Schema-ins tance"
  218              SOAP-ENV:e ncodingSty le="http:/ /schemas.x mlsoap.org /soap/enco ding/">
  219              <SOAP-ENV: Body>
  220                <xsd:any Type
  221                  id="re f-1"></xsd :anyType>
  222              </SOAP-ENV :Body>
  223           </ SOAP-ENV:E nvelope>
  224         </DT S:Variable Value>
  225       </DTS: Variable>
  226       <DTS:V ariable
  227         DTS: CreationNa me=""
  228         DTS: DTSID="{52 CD2A38-1DB 2-4333-B98 0-CC9F61AE 9FDE}"
  229         DTS: EvaluateAs Expression ="True"
  230         DTS: Expression ="&quot;SE LECT &#xA; 'NEW' AS C ODE,&#xA;' &quot;+ (D T_STR, 10,  1252)@[Us er::RegNam e] + &quot ;'+'_NEW'  AS Name,&# xA;--'New'  AS NAME,& #xA;'NEW-W AITING TO  BE ACTIVAT ED. '+'&qu ot; + (DT_ STR, 10, 1 252)@[User ::RegName]  +&quot;'+  '_New Ref erral stat us - Creat ed via SSI S ETL' AS  DESCRIPTIO N_TEXT, &q uot;+ &quo t;\n&quot; +&#xA;(DT_ STR, 10, 1 252)@[User ::Max_Sort _Order] +  &quot;+1 A S SORT_ORD ER,&#xA;0  AS INACTIV E_FLAG,&#x A;'ETL_Pro cess' AS C REATEDBY,& #xA;'ETL_P rocess' AS  UPDATEDBY ,&#xA;GETD ATE() AS C REATED,&#x A;GETDATE( ) AS UPDAT ED,&quot;& #xA;+(DT_S TR, 10, 12 52)@[User: :STDRegist ryID]  + & quot; AS S TD_REGISTR Y_ID&quot;  + &quot;\ n&quot;+&# xA;&quot;U NION&quot; + &quot;\n &quot;+&#x A;&quot;SE LECT &#xA; 'NEW-MANUA L' AS CODE ,&#xA;'&qu ot;+ (DT_S TR, 10, 12 52)@[User: :RegName]  + &quot;'+ '_NEW-MANU AL' AS Nam e,&#xA;--' New' AS NA ME,&#xA;'N EW-MANUAL- WAITING ON  DATA. '+' &quot;+ (D T_STR, 10,  1252)@[Us er::RegNam e] +&quot; '+ '_NEW-M ANUAL Refe rral statu s - Create d via SSIS  ETL' AS D ESCRIPTION _TEXT, &qu ot;+ &quot ;\n&quot;+ &#xA;(DT_S TR, 10, 12 52)@[User: :Max_Sort_ Order] + & quot;+1 AS  SORT_ORDE R,&#xA;0 A S INACTIVE _FLAG,&#xA ;'ETL_Proc ess' AS CR EATEDBY,&# xA;'ETL_Pr ocess' AS  UPDATEDBY, &#xA;GETDA TE() AS CR EATED,&#xA ;GETDATE()  AS UPDATE D,&quot;&# xA;+(DT_ST R, 10, 125 2)@[User:: STDRegistr yID]  + &q uot; AS ST D_REGISTRY _ID&quot;  + &quot;\n &quot;+&#x A;&quot;UN ION&quot;+  &quot;\n& quot;+&#xA ;&quot;SEL ECT &#xA;' ACTIVE' AS  CODE,&#xA ;'&quot;+  (DT_STR, 1 0, 1252)@[ User::RegN ame] + &qu ot;'+'_ACT IVE' AS Na me,&#xA;-- 'New' AS N AME,&#xA;' ACTIVE. '+ '&quot;+ ( DT_STR, 10 , 1252)@[U ser::RegNa me] +&quot ;'+ '_ACTI VE Referra l status -  Created v ia SSIS ET L' AS DESC RIPTION_TE XT, &quot; + &quot;\n &quot;+&#x A;(DT_STR,  10, 1252) @[User::Ma x_Sort_Ord er] + &quo t; +2 AS S ORT_ORDER, &#xA;0 AS  INACTIVE_F LAG,&#xA;' ETL_Proces s' AS CREA TEDBY,&#xA ;'ETL_Proc ess' AS UP DATEDBY,&# xA;GETDATE () AS CREA TED,&#xA;G ETDATE() A S UPDATED, &quot;&#xA ;+(DT_STR,  10, 1252) @[User::ST DRegistryI D]  + &quo t; AS STD_ REGISTRY_I D&quot; +  &quot;\n&q uot;+&#xA; &quot;UNIO N&quot;+ & quot;\n&qu ot;+&#xA;& quot;SELEC T &#xA;'DI SQUALIFIED ' AS CODE, &#xA;'&quo t;+ (DT_ST R, 10, 125 2)@[User:: RegName] +  &quot;'+' _DISQUALIF IED' AS Na me,&#xA;-- 'New' AS N AME,&#xA;' DISQUALIFI ED. '+'&qu ot;+ (DT_S TR, 10, 12 52)@[User: :RegName]  +&quot;'+  '_DISQUALI FIED Refer ral status  - Created  via SSIS  ETL' AS DE SCRIPTION_ TEXT, &quo t;+ &quot; \n&quot;+& #xA;(DT_ST R, 10, 125 2)@[User:: Max_Sort_O rder] + &q uot; +3 AS  SORT_ORDE R,&#xA;0 A S INACTIVE _FLAG,&#xA ;'ETL_Proc ess' AS CR EATEDBY,&# xA;'ETL_Pr ocess' AS  UPDATEDBY, &#xA;GETDA TE() AS CR EATED,&#xA ;GETDATE()  AS UPDATE D,&quot;&# xA;+(DT_ST R, 10, 125 2)@[User:: STDRegistr yID]  + &q uot; AS ST D_REGISTRY _ID&quot;  + &quot;\n &quot;+&#x A;&quot;UN ION&quot;+  &quot;\n& quot;+&#xA ;&quot;SEL ECT &#xA;' CANCELED'  AS CODE,&# xA;'&quot; + (DT_STR,  10, 1252) @[User::Re gName] + & quot;'+'_C ANCELED' A S Name,&#x A;--'New'  AS NAME,&# xA;'CANCEL ED-CRITERI A MATCH NO  LONGER EX ISTS. '+'& quot;+ (DT _STR, 10,  1252)@[Use r::RegName ] +&quot;' + '_CANCEL ED Referra l status -  Created v ia SSIS ET L' AS DESC RIPTION_TE XT, &quot; + &quot;\n &quot;+&#x A;(DT_STR,  10, 1252) @[User::Ma x_Sort_Ord er] + &quo t;  +4 AS  SORT_ORDER ,&#xA;0 AS  INACTIVE_ FLAG,&#xA; 'ETL_Proce ss' AS CRE ATEDBY,&#x A;'ETL_Pro cess' AS U PDATEDBY,& #xA;GETDAT E() AS CRE ATED,&#xA; GETDATE()  AS UPDATED ,&quot;&#x A;+(DT_STR , 10, 1252 )@[User::S TDRegistry ID]  + &qu ot; AS STD _REGISTRY_ ID&quot; +  &quot;\n& quot;+&#xA ;&quot;UNI ON&quot;+  &quot;\n&q uot;+&#xA; &quot;SELE CT &#xA;'D UPLICATE'  AS CODE,&# xA;'&quot; + (DT_STR,  10, 1252) @[User::Re gName] + & quot;'+'_D UPLICATE'  AS Name,&# xA;--'New'  AS NAME,& #xA;'SUBSE QUENT-DUPL ICATE. '+' &quot;+ (D T_STR, 10,  1252)@[Us er::RegNam e] +&quot; '+ '_SUBSE QUENT-DUPL ICATE Refe rral statu s - Create d via SSIS  ETL' AS D ESCRIPTION _TEXT, &qu ot;+ &quot ;\n&quot;+ &#xA;(DT_S TR, 10, 12 52)@[User: :Max_Sort_ Order] + & quot; +5 A S SORT_ORD ER,&#xA;0  AS INACTIV E_FLAG,&#x A;'ETL_Pro cess' AS C REATEDBY,& #xA;'ETL_P rocess' AS  UPDATEDBY ,&#xA;GETD ATE() AS C REATED,&#x A;GETDATE( ) AS UPDAT ED,&quot;& #xA;+(DT_S TR, 10, 12 52)@[User: :STDRegist ryID]  + & quot; AS S TD_REGISTR Y_ID&quot;  + &quot;\ n&quot;+&# xA;&quot;U NION&quot; + &quot;\n &quot;+&#x A;&quot;SE LECT &#xA; 'COMPLETED ' AS CODE, &#xA;'&quo t;+ (DT_ST R, 10, 125 2)@[User:: RegName] +  &quot;'+' _COMPLETED ' AS Name, &#xA;--'Ne w' AS NAME ,&#xA;'COM PLETED. '+ '&quot;+ ( DT_STR, 10 , 1252)@[U ser::RegNa me] +&quot ;'+ '_COMP LETED Refe rral statu s - Create d via SSIS  ETL' AS D ESCRIPTION _TEXT, &qu ot;+ &quot ;\n&quot;+ &#xA;(DT_S TR, 10, 12 52)@[User: :Max_Sort_ Order] + & quot; +6 A S SORT_ORD ER,&#xA;0  AS INACTIV E_FLAG,&#x A;'ETL_Pro cess' AS C REATEDBY,& #xA;'ETL_P rocess' AS  UPDATEDBY ,&#xA;GETD ATE() AS C REATED,&#x A;GETDATE( ) AS UPDAT ED,&quot;& #xA;+(DT_S TR, 10, 12 52)@[User: :STDRegist ryID]  + & quot; AS S TD_REGISTR Y_ID&#xA;O RDER BY SO RT_ORDER&q uot;"
  231         DTS: IncludeInD ebugDump=" 2345"
  232         DTS: Namespace= "User"
  233         DTS: ObjectName ="STRSQL_I nsertNewRe fsts">
  234         <DTS :VariableV alue
  235           DT S:DataType ="8">SELEC
  236   'NEW' AS C ODE,
  237   'Testing'+ '_NEW' AS  Name,
  238   --'New' AS  NAME,
  239   'NEW-WAITI NG TO BE A CTIVATED.  '+'Testing '+ '_New R eferral st atus - Cre ated via S SIS ETL' A S DESCRIPT ION_TEXT, 
  240   0+1 AS SOR T_ORDER,
  241   0 AS INACT IVE_FLAG,
  242   'ETL_Proce ss' AS CRE ATEDBY,
  243   'ETL_Proce ss' AS UPD ATEDBY,
  244   GETDATE()  AS CREATED ,
  245   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  246   UNION
  247   SELECT 
  248   'NEW-MANUA L' AS CODE ,
  249   'Testing'+ '_NEW-MANU AL' AS Nam e,
  250   --'New' AS  NAME,
  251   'NEW-MANUA L-WAITING  ON DATA. ' +'Testing' + '_NEW-MA NUAL Refer ral status  - Created  via SSIS  ETL' AS DE SCRIPTION_ TEXT, 
  252   0+1 AS SOR T_ORDER,
  253   0 AS INACT IVE_FLAG,
  254   'ETL_Proce ss' AS CRE ATEDBY,
  255   'ETL_Proce ss' AS UPD ATEDBY,
  256   GETDATE()  AS CREATED ,
  257   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  258   UNION
  259   SELECT 
  260   'ACTIVE' A S CODE,
  261   'Testing'+ '_ACTIVE'  AS Name,
  262   --'New' AS  NAME,
  263   'ACTIVE. ' +'Testing' + '_ACTIVE  Referral  status - C reated via  SSIS ETL'  AS DESCRI PTION_TEXT
  264   0 +2 AS SO RT_ORDER,
  265   0 AS INACT IVE_FLAG,
  266   'ETL_Proce ss' AS CRE ATEDBY,
  267   'ETL_Proce ss' AS UPD ATEDBY,
  268   GETDATE()  AS CREATED ,
  269   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  270   UNION
  271   SELECT 
  272   'DISQUALIF IED' AS CO DE,
  273   'Testing'+ '_DISQUALI FIED' AS N ame,
  274   --'New' AS  NAME,
  275   'DISQUALIF IED. '+'Te sting'+ '_ DISQUALIFI ED Referra l status -  Created v ia SSIS ET L' AS DESC RIPTION_TE XT, 
  276   0 +3 AS SO RT_ORDER,
  277   0 AS INACT IVE_FLAG,
  278   'ETL_Proce ss' AS CRE ATEDBY,
  279   'ETL_Proce ss' AS UPD ATEDBY,
  280   GETDATE()  AS CREATED ,
  281   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  282   UNION
  283   SELECT 
  284   'CANCELED'  AS CODE,
  285   'Testing'+ '_CANCELED ' AS Name,
  286   --'New' AS  NAME,
  287   'CANCELED- CRITERIA M ATCH NO LO NGER EXIST S. '+'Test ing'+ '_CA NCELED Ref erral stat us - Creat ed via SSI S ETL' AS  DESCRIPTIO N_TEXT, 
  288   0  +4 AS S ORT_ORDER,
  289   0 AS INACT IVE_FLAG,
  290   'ETL_Proce ss' AS CRE ATEDBY,
  291   'ETL_Proce ss' AS UPD ATEDBY,
  292   GETDATE()  AS CREATED ,
  293   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  294   UNION
  295   SELECT 
  296   'DUPLICATE ' AS CODE,
  297   'Testing'+ '_DUPLICAT E' AS Name ,
  298   --'New' AS  NAME,
  299   'SUBSEQUEN T-DUPLICAT E. '+'Test ing'+ '_SU BSEQUENT-D UPLICATE R eferral st atus - Cre ated via S SIS ETL' A S DESCRIPT ION_TEXT, 
  300   0 +5 AS SO RT_ORDER,
  301   0 AS INACT IVE_FLAG,
  302   'ETL_Proce ss' AS CRE ATEDBY,
  303   'ETL_Proce ss' AS UPD ATEDBY,
  304   GETDATE()  AS CREATED ,
  305   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  306   UNION
  307   SELECT 
  308   'COMPLETED ' AS CODE,
  309   'Testing'+ '_COMPLETE D' AS Name ,
  310   --'New' AS  NAME,
  311   'COMPLETED . '+'Testi ng'+ '_COM PLETED Ref erral stat us - Creat ed via SSI S ETL' AS  DESCRIPTIO N_TEXT, 
  312   0 +6 AS SO RT_ORDER,
  313   0 AS INACT IVE_FLAG,
  314   'ETL_Proce ss' AS CRE ATEDBY,
  315   'ETL_Proce ss' AS UPD ATEDBY,
  316   GETDATE()  AS CREATED ,
  317   GETDATE()  AS UPDATED ,1 AS STD_ REGISTRY_I D
  318   ORDER BY S ORT_ORDER< /DTS:Varia bleValue>
  319       </DTS: Variable>
  320       <DTS:V ariable
  321         DTS: CreationNa me=""
  322         DTS: DTSID="{3A C65A83-D73 8-4ACC-B47 E-EC1B5709 F2B8}"
  323         DTS: EvaluateAs Expression ="True"
  324         DTS: Expression ="&quot;IF  (SELECT C OUNT(*) FR OM TmpPATI ENTSID WHE RE PATIENT SID IS NUL L) = 0&#xA ;BEGIN&#xA ;SELECT &# xA;&#x9;&# x9;--sp.Pa tient_ID,  &#xA;&#x9; &#x9;sp.Pa tientFirst Name, &#xA ;&#x9;&#x9 ;sp.Patien tLastName,  &#xA;&#x9 ;&#x9;sp.E mailAddres s, &#xA;&# x9;&#x9;sp .DateOfBir th, &#xA;& #x9;&#x9;s p.DateOfDe ath, &#xA; &#x9;&#x9; sp.PhoneCe llular,&#x A;&#x9;&#x 9;sp.Creat edBy, &#xA ;&#x9;&#x9 ;sp.Update dBy, &#xA; &#x9;&#x9; GETDATE()  AS Created , &#xA;&#x 9;&#x9;GET DATE() AS  Updatedate ,&#xA;&#x9 ;&#x9;sp.O EF_OIF_IND ,&#xA;&#x9 ;&#x9;sp.P atientICN& #xA;&#x9;& #x9;--sp.P atientSID& #xA;FROM&# xA; TmpPAT IENTSID t& #xA; JOIN  CRS.SPATIE NT SP ON t .PATIENTSI D = sp.PAT IENTSID AN D&#xA;&#x9 ;&#x9;&#x9 ;&#x9;&#x9 ;&#x9;&#x9 ;t.PATIENT ICN = sp.P ATIENTICN  AND&#xA;&# x9;&#x9;&# x9;&#x9;&# x9;&#x9;&# x9;sp.STDR EGISTRYID  = &quot;+  (DT_STR, 1 0, 1252)@[ User::STDR egistryID]  +&quot;            & #xA;LEFT J OIN  CRS.P ATIENT P o n t.Patien tICN = p.P atientICN& #xA;WHERE  --sp.STDRE GISTRYID =  7 AND&#xA ;     p.Pa tientICN I S NULL AND &#xA;      sp.Patient ICN IS NOT  NULL&#xA; END&#xA;EL SE&#xA;BEG IN&#xA;SEL ECT &#xA;& #x9;&#x9;- -sp.Patien t_ID, &#xA ;&#x9;&#x9 ;sp.Patien tFirstName , &#xA;&#x 9;&#x9;sp. PatientLas tName, &#x A;&#x9;&#x 9;sp.Email Address, & #xA;&#x9;& #x9;sp.Dat eOfBirth,  &#xA;&#x9; &#x9;sp.Da teOfDeath,  &#xA;&#x9 ;&#x9;sp.P honeCellul ar,&#xA;&# x9;&#x9;sp .CreatedBy , &#xA;&#x 9;&#x9;sp. UpdatedBy,  &#xA;&#x9 ;&#x9;GETD ATE() AS C reated, &# xA;&#x9;&# x9;GETDATE () AS Upda tedate,&#x A;&#x9;&#x 9;sp.OEF_O IF_IND,&#x A;&#x9;&#x 9;sp.Patie ntICN&#xA; &#x9;&#x9; --sp.Patie ntSID&#xA; FROM&#xA;  TmpPATIENT SID t&#xA;  JOIN CRS. SPATIENT S P ON --t.P ATIENTSID  = sp.PATIE NTSID AND& #xA;&#x9;& #x9;&#x9;& #x9;&#x9;& #x9;&#x9;t .PATIENTIC N = sp.PAT IENTICN AN D&#xA;&#x9 ;&#x9;&#x9 ;&#x9;&#x9 ;&#x9;&#x9 ;sp.STDREG ISTRYID =  &quot;+ (D T_STR, 10,  1252)@[Us er::STDReg istryID] + &quot; &#x A; JOIN (s elect max( pk_ID) pk_ ID, PATIEN TICN&#xA;       from  CRS.SPATIE NT&#xA;&#x 9;  where  STDREGISTR YID  = &qu ot;+ (DT_S TR, 10, 12 52)@[User: :STDRegist ryID] +&qu ot;&#xA;&# x9;  GROUP  BY PATIEN TICN) as k  on k.pk_I D = sp.pk_ ID and k.P ATIENTICN  = sp.PATIE NTICN &#xA ;LEFT JOIN   CRS.PATI ENT P on t .PatientIC N = p.Pati entICN&#xA ;WHERE --s p.STDREGIS TRYID = 7  AND&#xA;      p.Patie ntICN IS N ULL AND&#x A;     sp. PatientICN  IS NOT NU LL&#xA;END &quot;"
  325         DTS: IncludeInD ebugDump=" 2345"
  326         DTS: Namespace= "User"
  327         DTS: ObjectName ="STRSQL_I nsertPatie nts">
  328         <DTS :VariableV alue
  329           DT S:DataType ="8">IF (S ELECT COUN T(*) FROM  TmpPATIENT SID WHERE  PATIENTSID  IS NULL)  = 0
  330   BEGIN
  331   SELECT 
  332                    --sp .Patient_I D, 
  333                    sp.P atientFirs tName, 
  334                    sp.P atientLast Name, 
  335                    sp.E mailAddres s, 
  336                    sp.D ateOfBirth
  337                    sp.D ateOfDeath
  338                    sp.P honeCellul ar,
  339                    sp.C reatedBy, 
  340                    sp.U pdatedBy, 
  341                    GETD ATE() AS C reated, 
  342                    GETD ATE() AS U pdatedate,
  343                    sp.O EF_OIF_IND ,
  344                    sp.P atientICN
  345                    --sp .PatientSI D
  346   FROM
  347    TmpPATIEN TSID t
  348    JOIN CRS. SPATIENT S P ON t.PAT IENTSID =  sp.PATIENT SID AND
  349                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  350                                                                sp.S TDREGISTRY ID = 1            
  351   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  352   WHERE --sp .STDREGIST RYID = 7 A ND
  353        p.Pat ientICN IS  NULL AND
  354        sp.Pa tientICN I S NOT NULL
  355   END
  356   ELSE
  357   BEGIN
  358   SELECT 
  359                    --sp .Patient_I D, 
  360                    sp.P atientFirs tName, 
  361                    sp.P atientLast Name, 
  362                    sp.E mailAddres s, 
  363                    sp.D ateOfBirth
  364                    sp.D ateOfDeath
  365                    sp.P honeCellul ar,
  366                    sp.C reatedBy, 
  367                    sp.U pdatedBy, 
  368                    GETD ATE() AS C reated, 
  369                    GETD ATE() AS U pdatedate,
  370                    sp.O EF_OIF_IND ,
  371                    sp.P atientICN
  372                    --sp .PatientSI D
  373   FROM
  374    TmpPATIEN TSID t
  375    JOIN CRS. SPATIENT S P ON --t.P ATIENTSID  = sp.PATIE NTSID AND
  376                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  377                                                                sp.S TDREGISTRY ID = 1 
  378    JOIN (sel ect max(pk _ID) pk_ID , PATIENTI CN
  379         from  CRS.SPATI ENT
  380              where STDR EGISTRYID   = 1
  381              GROUP BY P ATIENTICN)  as k on k .pk_ID = s p.pk_ID an d k.PATIEN TICN = sp. PATIENTICN  
  382   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  383   WHERE --sp .STDREGIST RYID = 7 A ND
  384        p.Pat ientICN IS  NULL AND
  385        sp.Pa tientICN I S NOT NULL
  386   END</DTS:V ariableVal ue>
  387       </DTS: Variable>
  388       <DTS:V ariable
  389         DTS: CreationNa me=""
  390         DTS: DTSID="{55 25DF87-527 2-4462-8BA F-1008263E C802}"
  391         DTS: EvaluateAs Expression ="True"
  392         DTS: Expression ="&quot;IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[dbo ].[TmpPATI ENTSID]')  AND type i n (N'U'))& #xA;TRUNCA TE TABLE [ dbo].[TmpP ATIENTSID] &#xA;&#xA; INSERT Tmp PATIENTSID &#xA;&#x9; (PATIENTIC N,&#xA;&#x 9; PATIENT SID)&#xA;S ELECT PATI ENTICN, &# xA;                 M AX(Patient SID) PATIE NTSID&#xA; FROM CRS.S PATIENT &# xA;WHERE S TDREGISTRY ID = &quot ;+ (DT_STR , 10, 1252 )@[User::S TDRegistry ID] +&quot ; AND&#xA;       PATI ENTICN IS  NOT NULL&# xA;GROUP B Y PATIENTI CN&#xA;ORD ER BY PATI ENTSID&#xA ;IF (SELEC T COUNT(*)  FROM TmpP ATIENTSID  WHERE PATI ENTSID IS  NULL) = 0& #xA;BEGIN& #xA;SELECT  DISTINCT  &#xA;-- +  (DT_STR, 1 0, 1252)@[ User::Reff erralSTS_I D] +  AS S TD_REFERRA LSTS_ID&#x A; b.ID AS  STD_REFER RALSTS_ID& #xA;,a.Std RegistryId &#xA;,p.Pa tient_ID        &#xA; ,'ETL_Proc ess' AS Cr eatedBy&#x A;,'ETL_Pr ocess' AS  UpdatedBy& #xA;,GETDA TE() AS Cr eated&#xA; ,GETDATE()  AS Update d&#xA;,a.C reated AS  CreatedSou rce&#xA;,a .Updatedat e AS Updat edSource&# xA;,GETDAT E() AS Ref errale_Dat e&#xA;,NUL L AS Refer ral_Class_ text&#xA;, NULL AS Pr ovider_ID& #xA;,NULL  AS Comment _Text&#xA; ,NULL AS S TD_Reminde rclass&#xA ;,NULL AS  Review_By  &#xA;,NULL  AS Review _Date&#xA; ,0 AS Dupl icate_Flag &#xA;FROM& #xA;TmpPAT IENTSID t& #xA;JOIN C RS.SPATIEN T a ON t.P ATIENTSID  = a.PATIEN TSID AND&# xA;&#x9;&# x9;&#x9;&# x9;&#x9;&# x9;&#x9;t. PATIENTICN  = a.PATIE NTICN&#xA; JOIN [CRS] .[PATIENT]  AS p ON t .PatientIC N = p.Pati entICN&#xA ;LEFT JOIN  [CRS].[RE FERRAL] r  ON p.PATIE NT_ID = r. PATIENT_ID  AND a.[ST DREGISTRYI D] = r.[ST D_REGISTRY _ID]&#xA;I NNER JOIN  [CRS].[STD _REFERRALS TS] AS b O N b.[STD_R EGISTRY_ID ] = a.[STD REGISTRYID ]&#xA;WHER E r.PATIEN T_ID IS NU LL AND &#x A; b.CODE  = 'New' AN D a.[STDRE GISTRYID]  = &quot;+  (DT_STR, 1 0, 1252)@[ User::STDR egistryID] + &quot;\n &quot;+&#x A;&quot; E ND&#xA; EL SE&#xA; SE LECT DISTI NCT &#xA;- - + (DT_ST R, 10, 125 2)@[User:: RefferralS TS_ID] +   AS STD_REF ERRALSTS_I D&#xA; b.I D AS STD_R EFERRALSTS _ID&#xA;,a .StdRegist ryId&#xA;, p.Patient_ ID       & #xA;,'ETL_ Process' A S CreatedB y&#xA;,'ET L_Process'  AS Update dBy&#xA;,G ETDATE() A S Created& #xA;,GETDA TE() AS Up dated&#xA; ,a.Created  AS Create dSource&#x A;,a.Updat edate AS U pdatedSour ce&#xA;,GE TDATE() AS  Referrale _Date&#xA; ,NULL AS R eferral_Cl ass_text&# xA;,NULL A S Provider _ID&#xA;,N ULL AS Com ment_Text& #xA;,NULL  AS STD_Rem inderclass &#xA;,NULL  AS Review _By &#xA;, NULL AS Re view_Date& #xA;,0 AS  Duplicate_ Flag&#xA;F ROM&#xA;Tm pPATIENTSI D t&#xA;JO IN CRS.SPA TIENT a ON  --t.PATIE NTSID = a. PATIENTSID  AND&#xA;& #x9;&#x9;& #x9;&#x9;& #x9;&#x9;& #x9;t.PATI ENTICN = a .PATIENTIC N&#xA;JOIN  [CRS].[PA TIENT] AS  p ON t.Pat ientICN =  p.PatientI CN&#xA;LEF T JOIN [CR S].[REFERR AL] r ON p .PATIENT_I D = r.PATI ENT_ID AND  a.[STDREG ISTRYID] =  r.[STD_RE GISTRY_ID] &#xA;INNER  JOIN [CRS ].[STD_REF ERRALSTS]  AS b ON b. [STD_REGIS TRY_ID] =  a.[STDREGI STRYID]&#x A;WHERE r. PATIENT_ID  IS NULL A ND &#xA; b .CODE = 'N ew' AND a. [STDREGIST RYID] = &q uot;+ (DT_ STR, 10, 1 252)@[User ::STDRegis tryID]"
  393         DTS: IncludeInD ebugDump=" 2345"
  394         DTS: Namespace= "User"
  395         DTS: ObjectName ="STRSQL_I nsertRef">
  396         <DTS :VariableV alue
  397           DT S:DataType ="8">IF  E XISTS (SEL ECT * FROM  sys.objec ts WHERE o bject_id =  OBJECT_ID (N'[dbo].[ TmpPATIENT SID]') AND  type in ( N'U'))
  398   TRUNCATE T ABLE [dbo] .[TmpPATIE NTSID]
  399  
  400   INSERT Tmp PATIENTSID
  401           (P ATIENTICN,
  402            P ATIENTSID)
  403   SELECT PAT IENTICN, 
  404                    MAX( PatientSID ) PATIENTS ID
  405   FROM CRS.S PATIENT 
  406   WHERE STDR EGISTRYID  = 1 AND
  407         PATI ENTICN IS  NOT NULL
  408   GROUP BY P ATIENTICN
  409   ORDER BY P ATIENTSID
  410   IF (SELECT  COUNT(*)  FROM TmpPA TIENTSID W HERE PATIE NTSID IS N ULL) = 0
  411   BEGIN
  412   SELECT DIS TINCT 
  413   -- + (DT_S TR, 10, 12 52)@[User: :Refferral STS_ID] +   AS STD_RE FERRALSTS_ ID
  414    b.ID AS S TD_REFERRA LSTS_ID
  415   ,a.StdRegi stryId
  416   ,p.Patient _ID       
  417   ,'ETL_Proc ess' AS Cr eatedBy
  418   ,'ETL_Proc ess' AS Up datedBy
  419   ,GETDATE()  AS Create d
  420   ,GETDATE()  AS Update d
  421   ,a.Created  AS Create dSource
  422   ,a.Updated ate AS Upd atedSource
  423   ,GETDATE()  AS Referr ale_Date
  424   ,NULL AS R eferral_Cl ass_text
  425   ,NULL AS P rovider_ID
  426   ,NULL AS C omment_Tex t
  427   ,NULL AS S TD_Reminde rclass
  428   ,NULL AS R eview_By 
  429   ,NULL AS R eview_Date
  430   ,0 AS Dupl icate_Flag
  431   FROM
  432   TmpPATIENT SID t
  433   JOIN CRS.S PATIENT a  ON t.PATIE NTSID = a. PATIENTSID  AND
  434                                                                t.PA TIENTICN =  a.PATIENT ICN
  435   JOIN [CRS] .[PATIENT]  AS p ON t .PatientIC N = p.Pati entICN
  436   LEFT JOIN  [CRS].[REF ERRAL] r O N p.PATIEN T_ID = r.P ATIENT_ID  AND a.[STD REGISTRYID ] = r.[STD _REGISTRY_ ID]
  437   INNER JOIN  [CRS].[ST D_REFERRAL STS] AS b  ON b.[STD_ REGISTRY_I D] = a.[ST DREGISTRYI D]
  438   WHERE r.PA TIENT_ID I S NULL AND  
  439    b.CODE =  'New' AND  a.[STDREGI STRYID] =  1
  440    END
  441    ELSE
  442    SELECT DI STINCT 
  443   -- + (DT_S TR, 10, 12 52)@[User: :Refferral STS_ID] +   AS STD_RE FERRALSTS_ ID
  444    b.ID AS S TD_REFERRA LSTS_ID
  445   ,a.StdRegi stryId
  446   ,p.Patient _ID       
  447   ,'ETL_Proc ess' AS Cr eatedBy
  448   ,'ETL_Proc ess' AS Up datedBy
  449   ,GETDATE()  AS Create d
  450   ,GETDATE()  AS Update d
  451   ,a.Created  AS Create dSource
  452   ,a.Updated ate AS Upd atedSource
  453   ,GETDATE()  AS Referr ale_Date
  454   ,NULL AS R eferral_Cl ass_text
  455   ,NULL AS P rovider_ID
  456   ,NULL AS C omment_Tex t
  457   ,NULL AS S TD_Reminde rclass
  458   ,NULL AS R eview_By 
  459   ,NULL AS R eview_Date
  460   ,0 AS Dupl icate_Flag
  461   FROM
  462   TmpPATIENT SID t
  463   JOIN CRS.S PATIENT a  ON --t.PAT IENTSID =  a.PATIENTS ID AND
  464                                                                t.PA TIENTICN =  a.PATIENT ICN
  465   JOIN [CRS] .[PATIENT]  AS p ON t .PatientIC N = p.Pati entICN
  466   LEFT JOIN  [CRS].[REF ERRAL] r O N p.PATIEN T_ID = r.P ATIENT_ID  AND a.[STD REGISTRYID ] = r.[STD _REGISTRY_ ID]
  467   INNER JOIN  [CRS].[ST D_REFERRAL STS] AS b  ON b.[STD_ REGISTRY_I D] = a.[ST DREGISTRYI D]
  468   WHERE r.PA TIENT_ID I S NULL AND  
  469    b.CODE =  'New' AND  a.[STDREGI STRYID] =  1</DTS:Var iableValue >
  470       </DTS: Variable>
  471       <DTS:V ariable
  472         DTS: CreationNa me=""
  473         DTS: DTSID="{6E E8F6DF-6E4 1-4E04-BD7 5-8BDEA231 E640}"
  474         DTS: EvaluateAs Expression ="True"
  475         DTS: Expression ="&quot;SE LECT &quot ;+ &#xA;   (DT_STR,10 ,1252)@[Us er::Reffer ralSTS_ID]  +&quot; A S STD_REFE RRALSTS_ID &#xA;,a.St dRegistryI d&#xA;,a.P atient_ID        &#xA ;,a.Create dBy&#xA;,a .UpdatedBy &#xA;,GETD ATE() AS C reated&#xA ;,GETDATE( ) AS Updat ed&#xA;,a. Created AS  CreatedSo urce&#xA;, a.Updateda te AS Upda tedSource& #xA;,GETDA TE() AS Re ferrale_Da te&#xA;,NU LL AS Refe rral_Class _text&#xA; ,NULL AS P rovider_ID &#xA;,NULL  AS Commen t_Text&#xA ;,NULL AS  STD_Remind erclass&#x A;,NULL AS  Review_By  &#xA;,NUL L AS Revie w_Date&#xA ;,0 AS Dup licate_Fla g&#xA;FROM  [STAGING] .[SPATIENT ] AS a&quo t;"
  476         DTS: IncludeInD ebugDump=" 2345"
  477         DTS: Namespace= "User"
  478         DTS: ObjectName ="STRSQL_S TGReferral ">
  479         <DTS :VariableV alue
  480           DT S:DataType ="8">SELEC T 0 AS STD _REFERRALS TS_ID
  481   ,a.StdRegi stryId
  482   ,a.Patient _ID       
  483   ,a.Created By
  484   ,a.Updated By
  485   ,GETDATE()  AS Create d
  486   ,GETDATE()  AS Update d
  487   ,a.Created  AS Create dSource
  488   ,a.Updated ate AS Upd atedSource
  489   ,GETDATE()  AS Referr ale_Date
  490   ,NULL AS R eferral_Cl ass_text
  491   ,NULL AS P rovider_ID
  492   ,NULL AS C omment_Tex t
  493   ,NULL AS S TD_Reminde rclass
  494   ,NULL AS R eview_By 
  495   ,NULL AS R eview_Date
  496   ,0 AS Dupl icate_Flag
  497   FROM [STAG ING].[SPAT IENT] AS a </DTS:Vari ableValue>
  498       </DTS: Variable>
  499       <DTS:V ariable
  500         DTS: CreationNa me=""
  501         DTS: DTSID="{04 EC90A5-81C 2-47A4-BA3 C-EBCFD9C6 50BB}"
  502         DTS: IncludeInD ebugDump=" 2345"
  503         DTS: Namespace= "User"
  504         DTS: ObjectName ="tmpTable Referralst s">
  505         <DTS :VariableV alue
  506           DT S:DataType ="8">#STAG ING_STD_RE FERRALSTS< /DTS:Varia bleValue>
  507       </DTS: Variable>
  508       <DTS:V ariable
  509         DTS: CreationNa me=""
  510         DTS: DTSID="{9D 6551AD-B09 5-470A-91C 8-F6ADA0AD 3F61}"
  511         DTS: IncludeInD ebugDump=" 2345"
  512         DTS: Namespace= "User"
  513         DTS: ObjectName ="UserName ">
  514         <DTS :VariableV alue
  515           DT S:DataType ="8"
  516           xm l:space="p reserve">< /DTS:Varia bleValue>
  517       </DTS: Variable>
  518     </DTS:Va riables>
  519     <DTS:Exe cutables>
  520       <DTS:E xecutable
  521         DTS: refId="Pac kage\Clean up CRS sta ging table s"
  522         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  523         DTS: Descriptio n="Execute  SQL Task"
  524         DTS: DTSID="{99 F1F522-DA2 7-47ED-9AB E-DDF98063 0A95}"
  525         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  526         DTS: LocaleID=" -1"
  527         DTS: ObjectName ="Cleanup  CRS stagin g tables"
  528         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  529         DTS: ThreadHint ="0">
  530         <DTS :Variables  />
  531         <DTS :ObjectDat a>
  532           <S QLTask:Sql TaskData
  533              SQLTask:Co nnection=" {396F51F3- B53D-4546- B89B-A0E24 633BFEF}"
  534              SQLTask:Sq lStatement Source="IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[dbo ].[TmpRefe rrals]') A ND type in  (N'U'))&# xA;DROP TA BLE [dbo]. [TmpReferr als]&#xA;G O&#xA;&#xA ;IF  EXIST S (SELECT  * FROM sys .objects W HERE objec t_id = OBJ ECT_ID(N'[ dbo].[TmpD upReferral s]') AND t ype in (N' U'))&#xA;D ROP TABLE  [dbo].[Tmp DupReferra ls]&#xA;GO &#xA;&#xA; IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[TmpDu pReferrals flag]') AN D type in  (N'U'))&#x A;DROP TAB LE [dbo].[ TmpDupRefe rralsflag] &#xA;GO&#x A;IF  EXIS TS (SELECT  * FROM sy s.objects  WHERE obje ct_id = OB JECT_ID(N' [dbo].[Tmp PATIENTSID ]') AND ty pe in (N'U '))&#xA;DR OP TABLE [ dbo].[TmpP ATIENTSID] &#xA;GO" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask"  />
  535         </DT S:ObjectDa ta>
  536       </DTS: Executable >
  537       <DTS:E xecutable
  538         DTS: refId="Pac kage\Clean up STG sta ging table s"
  539         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  540         DTS: Descriptio n="Execute  SQL Task"
  541         DTS: DTSID="{4F 90A8C3-16C E-4597-91A 4-3C23C587 CC29}"
  542         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  543         DTS: LocaleID=" -1"
  544         DTS: ObjectName ="Cleanup  STG stagin g tables"
  545         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  546         DTS: ThreadHint ="0">
  547         <DTS :Variables  />
  548         <DTS :ObjectDat a>
  549           <S QLTask:Sql TaskData
  550              SQLTask:Co nnection=" {F8EF5CE6- B4B0-4369- ABBA-E985C FC33711}"
  551              SQLTask:Sq lStatement Source="IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[STA GING].[REF ERRAL]') A ND type in  (N'U'))&# xA;DROP TA BLE [STAGI NG].[REFER RAL]&#xA;G O&#xA;&#xA ;IF  EXIST S (SELECT  * FROM sys .objects W HERE objec t_id = OBJ ECT_ID(N'[ STAGING].[ STD_REFERR ALSTS]') A ND type in  (N'U'))&# xA;DROP TA BLE [STAGI NG].[STD_R EFERRALSTS ]&#xA;GO&# xA;&#xA;IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[STA GING].[PAT IENT]') AN D type in  (N'U'))&#x A;DROP TAB LE [STAGIN G].[PATIEN T]&#xA;GO& #xA;" xmln s:SQLTask= "www.micro soft.com/s qlserver/d ts/tasks/s qltask" />
  552         </DT S:ObjectDa ta>
  553       </DTS: Executable >
  554       <DTS:E xecutable
  555         DTS: refId="Pac kage\Creat e Temp Tab le in CRS  DB"
  556         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  557         DTS: Descriptio n="Execute  SQL Task"
  558         DTS: DTSID="{3D 3910E4-7D0 0-4361-B2A 9-6848BD86 5F80}"
  559         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  560         DTS: LocaleID=" -1"
  561         DTS: ObjectName ="Create T emp Table  in CRS DB"
  562         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  563         DTS: ThreadHint ="0">
  564         <DTS :Variables  />
  565         <DTS :ObjectDat a>
  566           <S QLTask:Sql TaskData
  567              SQLTask:Co nnection=" {396F51F3- B53D-4546- B89B-A0E24 633BFEF}"
  568              SQLTask:Sq lStatement Source="IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[dbo ].[TmpPATI ENTSID]')  AND type i n (N'U'))& #xA;DROP T ABLE [dbo] .[TmpPATIE NTSID]&#xA ;GO&#xA;&# xA;CREATE  TABLE TmpP ATIENTSID& #xA;&#x9;( PATIENTICN  VARCHAR(5 0),&#xA;&# x9; PATIEN TSID int)& #xA;&#x9;  --STDREGIS TRYID int) " xmlns:SQ LTask="www .microsoft .com/sqlse rver/dts/t asks/sqlta sk" />
  569         </DT S:ObjectDa ta>
  570       </DTS: Executable >
  571       <DTS:E xecutable
  572         DTS: refId="Pac kage\Creat e Temp Tab le in STG  DB"
  573         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  574         DTS: Descriptio n="Execute  SQL Task"
  575         DTS: DTSID="{7A F2DA09-82D F-424E-A79 E-634A8F5D CEB4}"
  576         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  577         DTS: LocaleID=" -1"
  578         DTS: ObjectName ="Create T emp Table  in STG DB"
  579         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  580         DTS: ThreadHint ="0">
  581         <DTS :Variables  />
  582         <DTS :ObjectDat a>
  583           <S QLTask:Sql TaskData
  584              SQLTask:Co nnection=" {F8EF5CE6- B4B0-4369- ABBA-E985C FC33711}"
  585              SQLTask:Sq lStatement Source="IF   EXISTS ( SELECT * F ROM sys.ob jects WHER E object_i d = OBJECT _ID(N'[STA GING].[REF ERRAL]') A ND type in  (N'U'))&# xA;DROP TA BLE [STAGI NG].[REFER RAL]&#xA;G O&#xA;&#xA ;CREATE TA BLE [STAGI NG].[REFER RAL](&#xA; &#x9;[STD_ REFERRALST S_ID] [int ] NULL,&#x A;&#x9;[ST D_REGISTRY _ID] [int]  NULL,&#xA ;&#x9;[PAT IENT_ID] [ int] NULL, &#xA;&#x9; [REFERRAL_ DATE] [dat etime] NUL L,&#xA;&#x 9;[REFERRA L_CLASS_TE XT] [varch ar](4000)  NULL,&#xA; &#x9;[PROV IDER_ID] [ int] NULL, &#xA;&#x9; [CREATEDBY ] [varchar ](30) NULL ,&#xA;&#x9 ;[CREATED]  [datetime ] NULL,&#x A;&#x9;[UP DATEDBY] [ varchar](3 0) NULL,&# xA;&#x9;[U PDATED] [d atetime] N ULL,&#xA;& #x9;[COMME NT_TEXT] [ varchar](4 000) NULL, &#xA;&#x9; [STD_REMIN DERCLASS_I D] [int] N ULL,&#xA;& #x9;[REVIE W_BY] [var char](30)  NULL,&#xA; &#x9;[REVI EW_DATE] [ datetime]  NULL,&#xA; &#x9;[DUPL ICATE_FLAG ] [bit] NU LL,&#xA;&# x9;[CREATE DSOURCE] [ varchar](3 0) NULL,&# xA;&#x9;[U PDATEDSOUR CE] [varch ar](30) NU LL&#xA;) O N [PRIMARY ]&#xA;&#xA ;GO&#xA;&# xA;IF  EXI STS (SELEC T * FROM s ys.objects  WHERE obj ect_id = O BJECT_ID(N '[STAGING] .[STD_REFE RRALSTS]')  AND type  in (N'U')) &#xA;DROP  TABLE [STA GING].[STD _REFERRALS TS]&#xA;GO &#xA;CREAT E TABLE [S TAGING].[S TD_REFERRA LSTS](&#xA ;&#x9;[COD E] [varcha r](50) NOT  NULL,&#xA ;&#x9;[NAM E] [varcha r](100) NO T NULL,&#x A;&#x9;[DE SCRIPTION_ TEXT] [var char](500)  NOT NULL, &#xA;&#x9; [SORT_ORDE R] [int] N OT NULL,&# xA;&#x9;[I NACTIVE_FL AG] [bit]  NOT NULL,& #xA;&#x9;[ INACTIVE_D ATE] [date time] NULL ,&#xA;&#x9 ;[CREATEDB Y] [varcha r](30) NOT  NULL,&#xA ;&#x9;[UPD ATEDBY] [v archar](30 ) NOT NULL ,&#xA;&#x9 ;[CREATED]  [datetime ] NOT NULL ,&#xA;&#x9 ;[UPDATED]  [datetime ] NOT NULL ,&#xA;&#x9 ;[STD_REGI STRY_ID] [ int] NULL& #xA;) ON [ PRIMARY]&# xA;&#xA;GO &#xA;&#xA; IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[S TAGING].[P ATIENT]')  AND type i n (N'U'))& #xA;DROP T ABLE [STAG ING].[PATI ENT]&#xA;G O&#xA;CREA TE TABLE [ STAGING].[ PATIENT](& #xA;&#x9;[ PATIENT_ID ] [int] ID ENTITY(1,1 ) NOT NULL ,&#xA;&#x9 ;[FIRST_NA ME] [varch ar](50) NU LL,&#xA;&# x9;[MIDDLE _NAME] [va rchar](50)  NULL,&#xA ;&#x9;[LAS T_NAME] [v archar](50 ) NULL,&#x A;&#x9;[EM AIL_ADDRES S] [varcha r](128) NU LL,&#xA;&# x9;[BIRTH_ DATE] [dat e] NULL,&# xA;&#x9;[D EATH_DATE]  [date] NU LL,&#xA;&# x9;[CELL_P HONE] [var char](50)  NULL,&#xA; &#x9;[PERF ERRED_ADDR ESS_TYPE]  [varchar]( 50) NULL,& #xA;&#x9;[ CREATEDBY]  [varchar] (30) NULL, &#xA;&#x9; [CREATED]  [datetime]  NULL,&#xA ;&#x9;[UPD ATEDBY] [v archar](30 ) NULL,&#x A;&#x9;[UP DATED] [da tetime] NU LL,&#xA;&# x9;[OEFOIF _IND] [bit ] NULL,&#x A;&#x9;[Pa tientICN]  [varchar]( 50) NULL,& #xA;&#x9;[ PATIENTSID ] [int] NU LL,&#xA; C ONSTRAINT  [PK_PATIEN T_ID_STAGI NG] PRIMAR Y KEY CLUS TERED &#xA ;(&#xA;&#x 9;[PATIENT _ID] ASC&# xA;)WITH ( PAD_INDEX  = OFF, STA TISTICS_NO RECOMPUTE  = OFF, IGN ORE_DUP_KE Y = OFF, A LLOW_ROW_L OCKS = ON,  ALLOW_PAG E_LOCKS =  ON) ON [PR IMARY]&#xA ;) ON [PRI MARY]&#xA; &#xA;GO" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask"  />
  586         </DT S:ObjectDa ta>
  587       </DTS: Executable >
  588       <DTS:E xecutable
  589         DTS: refId="Pac kage\Flag  the duplic ates"
  590         DTS: CreationNa me="STOCK: SEQUENCE"
  591         DTS: Descriptio n="Sequenc e Containe r"
  592         DTS: DTSID="{1D 445D9C-B62 6-4057-B3D 2-5F472CEB 5015}"
  593         DTS: Executable Type="STOC K:SEQUENCE "
  594         DTS: LocaleID=" -1"
  595         DTS: ObjectName ="Flag the  duplicate s">
  596         <DTS :Variables  />
  597         <DTS :Executabl es>
  598           <D TS:Executa ble
  599              DTS:refId= "Package\F lag the du plicates\U pdate Dupl icate refe rrals"
  600              DTS:Creati onName="Mi crosoft.Sq lServer.Dt s.Tasks.Ex ecuteSQLTa sk.Execute SQLTask, M icrosoft.S qlServer.S QLTask, Ve rsion=11.0 .0.0, Cult ure=neutra l, PublicK eyToken=89 845dcd8080 cc91"
  601              DTS:Descri ption="Exe cute SQL T ask"
  602              DTS:DTSID= "{BF991CF0 -2A48-4AA4 -A5CA-7A1E EDD87198}"
  603              DTS:Execut ableType=" Microsoft. SqlServer. Dts.Tasks. ExecuteSQL Task.Execu teSQLTask,  Microsoft .SqlServer .SQLTask,  Version=11 .0.0.0, Cu lture=neut ral, Publi cKeyToken= 89845dcd80 80cc91"
  604              DTS:Locale ID="-1"
  605              DTS:Object Name="Upda te Duplica te referra ls"
  606              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 012; Â© 20 07 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1"
  607              DTS:Thread Hint="0">
  608              <DTS:Varia bles />
  609              <DTS:Objec tData>
  610                <SQLTask :SqlTaskDa ta
  611                  SQLTas k:Connecti on="{396F5 1F3-B53D-4 546-B89B-A 0E24633BFE F}"
  612                  SQLTas k:BypassPr epare="Fal se"
  613                  SQLTas k:SqlState mentSource ="IF  EXIS TS (SELECT  * FROM sy s.objects  WHERE obje ct_id = OB JECT_ID(N' [dbo].[Tmp Referrals] ') AND typ e in (N'U' ))&#xA;DRO P TABLE [d bo].[TmpRe ferrals]&# xA;GO&#xA; &#xA;IF  E XISTS (SEL ECT * FROM  sys.objec ts WHERE o bject_id =  OBJECT_ID (N'[dbo].[ TmpDupRefe rrals]') A ND type in  (N'U'))&# xA;DROP TA BLE [dbo]. [TmpDupRef errals]&#x A;GO&#xA;& #xA;IF  EX ISTS (SELE CT * FROM  sys.object s WHERE ob ject_id =  OBJECT_ID( N'[dbo].[T mpDupRefer ralsflag]' ) AND type  in (N'U') )&#xA;DROP  TABLE [db o].[TmpDup Referralsf lag]&#xA;G O&#xA;&#xA ;CREATE TA BLE TmpRef errals &#x A;&#x9;(Re ferralID i nt,&#xA;&# x9; Patien t_ID int,& #xA;&#x9;  STD_Regist ry_ID int) &#xA;&#xA; INSERT Tmp Referrals& #xA;&#x9;( ReferralID ,&#xA;&#x9 ;Patient_I D,&#xA;&#x 9;STD_Regi stry_ID)&# xA;&#xA;SE LECT&#xA;& #x9;r.Refe rral_ID,&# xA;&#x9;r. Patient_ID ,&#xA;&#x9 ;r.STD_Reg istry_ID&# xA;FROM cr s.Referral  r&#xA;WHE RE Duplica te_Flag =  0 AND COMM ENT_TEXT I S NULL AND &#xA;CREAT ED &gt; GE TDATE()-2& #xA;&#xA;- -SELECT *  FROM TmpRe ferrals &# xA;CREATE  TABLE TmpD upReferral s &#xA;&#x 9;(Patient _ID int,&# xA;&#x9; S TD_Registr y_ID int,& #xA;&#x9;  COUNTS int )&#xA;INSE RT TmpDupR eferrals&# xA;SELECT& #xA;&#x9;P atient_ID, &#xA;&#x9; STD_Regist ry_ID,&#xA ;&#x9;COUN T(*) COUNT S&#xA;--in to #temp&# xA;FROM Tm pReferrals &#xA;GROUP  By patien t_ID,STD_R egistry_ID &#xA;HAVIN G COUNT(*)  &gt; 1&#x A;&#xA;--S ELECT * FR OM TmpDupR eferrals&# xA;--DROP  table TmpD upReferral sflag&#xA; IF (SELECT  COUNT(*)  from TmpDu pReferrals ) &gt; 0&# xA;BEGIN&# xA;CREATE  TABLE TmpD upReferral sflag &#xA ;&#x9;(&#x A;&#x9; Re ferral_ID  INT,&#xA;& #x9; Patie nt_ID INT) &#xA;&#xA; INSERT Tmp DupReferra lsflag&#xA ;SELECT&#x A;MAX(r.Re ferral_ID)  Referral_ ID,&#xA;r. Patient_ID &#xA;--int o #test&#x A;FROM crs .Referral  r&#xA;JOIN  TmpDupRef errals t o n r.Patien t_ID = t.P atient_ID& #xA;group  by r.PATIE NT_ID&#xA; --END&#xA; &#xA;--SEL ECT * FROM  TmpDupRef erralsflag &#xA; UPDA TE CRS.REF ERRAL &#xA ;&#x9;SET  STD_Referr alSTS_ID =  s.ID,&#xA ;&#x9;Revi ew_By = 'E TL_Process ', &#xA;&# x9;Review_ Date = get date(), &# xA;&#x9;Co mment_Text  = 'Duplic ate', &#xA ;&#x9;Dupl icate_Flag  = 1,&#xA; &#x9;Updat ed = getda te(),&#xA; &#x9;Updat edBy = 'ET L_Process'  &#xA;--se lect r.*,  s.*&#xA;   FROM TmpDu pReferrals flag P&#xA ;  JOIN cr s.Referral  r ON p.PA TIENT_ID =  r.PATIENT _ID AND&#x A;&#x9;&#x 9;&#x9;&#x 9;&#x9;P.R eferral_ID  = R.refer ral_ID&#xA ;  JOIN [c rs].[STD_R EFERRALSTS ] s ON r.S TD_Registr y_ID = s.S TD_Registr y_ID and s .name = 'D UPLICATE'& #xA;END" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask"  />
  614              </DTS:Obje ctData>
  615           </ DTS:Execut able>
  616         </DT S:Executab les>
  617       </DTS: Executable >
  618       <DTS:E xecutable
  619         DTS: refId="Pac kage\Forea ch Loop Co ntainer"
  620         DTS: CreationNa me="STOCK: FOREACHLOO P"
  621         DTS: Descriptio n="Foreach  Loop Cont ainer"
  622         DTS: DTSID="{F4 AD1DCF-ADA 5-412C-ABC 4-3D4C0076 6D79}"
  623         DTS: Executable Type="STOC K:FOREACHL OOP"
  624         DTS: LocaleID=" -1"
  625         DTS: ObjectName ="Foreach  Loop Conta iner">
  626         <DTS :ForEachEn umerator
  627           DT S:Creation Name="Micr osoft.SqlS erver.Dts. Runtime.En umerators. ADO.ForEac hADOEnumer ator, Micr osoft.SqlS erver.ForE achADOEnum erator, Ve rsion=11.0 .0.0, Cult ure=neutra l, PublicK eyToken=89 845dcd8080 cc91"
  628           DT S:DTSID="{ 2F7A2563-2 D7A-4CF8-9 076-E634EC 9A7995}"
  629           DT S:ObjectNa me="{2F7A2 563-2D7A-4 CF8-9076-E 634EC9A799 5}">
  630           <D TS:ObjectD ata>
  631              <FEEADO
  632                EnumType ="Enumerat eRowsInFir stTable"
  633                VarName= "User::STD _Registry"  />
  634           </ DTS:Object Data>
  635         </DT S:ForEachE numerator>
  636         <DTS :Variables  />
  637         <DTS :Executabl es>
  638           <D TS:Executa ble
  639              DTS:refId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID"
  640              DTS:Creati onName="ST OCK:SEQUEN CE"
  641              DTS:Descri ption="Seq uence Cont ainer"
  642              DTS:DTSID= "{907FC54E -00FA-4082 -A70C-35DD 4386A03A}"
  643              DTS:Execut ableType=" STOCK:SEQU ENCE"
  644              DTS:Locale ID="-1"
  645              DTS:Object Name="Crea te a new R eferralst  ID">
  646              <DTS:Varia bles />
  647              <DTS:Execu tables>
  648                <DTS:Exe cutable
  649                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Creare  Referral i n staging"
  650                  DTS:Cr eationName ="SSIS.Pip eline.3"
  651                  DTS:De layValidat ion="True"
  652                  DTS:De scription= "Data Flow  Task"
  653                  DTS:DT SID="{5484 D4C9-AE6B- 458B-8F80- D5EC295BB7 88}"
  654                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  655                  DTS:Lo caleID="-1 "
  656                  DTS:Ob jectName=" Creare Ref erral in s taging"
  657                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  658                  <DTS:V ariables / >
  659                  <DTS:O bjectData>
  660                    <pip eline
  661                      ve rsion="1">
  662                      <c omponents>
  663                         <component
  664                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre are Referr al in stag ing\OLE DB  Destinati on"
  665                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  666                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  667                           descript ion="OLE D B Destinat ion"
  668                           name="OL E DB Desti nation"
  669                           usesDisp ositions=" true"
  670                           version= "4">
  671                           <propert ies>
  672                             <prope rty
  673                               data Type="Syst em.Int32"
  674                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  675                               name ="CommandT imeout">0< /property>
  676                             <prope rty
  677                               data Type="Syst em.String"
  678                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  679                               name ="OpenRows et">[STAGI NG].[REFER RAL]</prop erty>
  680                             <prope rty
  681                               data Type="Syst em.String"
  682                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  683                               name ="OpenRows etVariable "></proper ty>
  684                             <prope rty
  685                               data Type="Syst em.String"
  686                               desc ription="T he SQL com mand to be  executed. "
  687                               name ="SqlComma nd"
  688                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  689                             <prope rty
  690                               data Type="Syst em.Int32"
  691                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  692                               name ="DefaultC odePage">1 252</prope rty>
  693                             <prope rty
  694                               data Type="Syst em.Boolean "
  695                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  696                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  697                             <prope rty
  698                               data Type="Syst em.Int32"
  699                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  700                               name ="AccessMo de"
  701                               type Converter= "AccessMod e">3</prop erty>
  702                             <prope rty
  703                               data Type="Syst em.Boolean "
  704                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  705                               name ="FastLoad KeepIdenti ty">false< /property>
  706                             <prope rty
  707                               data Type="Syst em.Boolean "
  708                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  709                               name ="FastLoad KeepNulls" >false</pr operty>
  710                             <prope rty
  711                               data Type="Syst em.String"
  712                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  713                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  714                             <prope rty
  715                               data Type="Syst em.Int32"
  716                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  717                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  718                           </proper ties>
  719                           <connect ions>
  720                             <conne ction
  721                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Desti nation.Con nections[O leDbConnec tion]"
  722                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  723                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  724                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  725                               name ="OleDbCon nection" / >
  726                           </connec tions>
  727                           <inputs>
  728                             <input
  729                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]"
  730                               erro rOrTruncat ionOperati on="Insert "
  731                               erro rRowDispos ition="Fai lComponent "
  732                               hasS ideEffects ="true"
  733                               name ="OLE DB D estination  Input">
  734                               <inp utColumns>
  735                                 <i nputColumn
  736                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Patient_ ID]"
  737                                    cachedData Type="i4"
  738                                    cachedName ="Patient_ ID"
  739                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ATIENT_ID] "
  740                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pa tient_ID]"  />
  741                                 <i nputColumn
  742                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CreatedB y]"
  743                                    cachedCode page="1252 "
  744                                    cachedData Type="str"
  745                                    cachedLeng th="30"
  746                                    cachedName ="CreatedB y"
  747                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATEDBY]"
  748                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eatedBy]"  />
  749                                 <i nputColumn
  750                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UpdatedB y]"
  751                                    cachedCode page="1252 "
  752                                    cachedData Type="str"
  753                                    cachedLeng th="30"
  754                                    cachedName ="UpdatedB y"
  755                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATEDBY]"
  756                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up datedBy]"  />
  757                                 <i nputColumn
  758                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Created] "
  759                                    cachedData Type="dbTi meStamp"
  760                                    cachedName ="Created"
  761                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATED]"
  762                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eated]" />
  763                                 <i nputColumn
  764                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[STD_REFE RRALSTS_ID ]"
  765                                    cachedData Type="i4"
  766                                    cachedName ="STD_REFE RRALSTS_ID "
  767                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REFERRA LSTS_ID]"
  768                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REFERRAL STS_ID]" / >
  769                                 <i nputColumn
  770                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Updated] "
  771                                    cachedData Type="dbTi meStamp"
  772                                    cachedName ="Updated"
  773                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATED]"
  774                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up dated]" />
  775                                 <i nputColumn
  776                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CreatedS ource]"
  777                                    cachedData Type="dbTi meStamp"
  778                                    cachedName ="CreatedS ource"
  779                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATEDSOUR CE]"
  780                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eatedSourc e]" />
  781                                 <i nputColumn
  782                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UpdatedS ource]"
  783                                    cachedData Type="dbTi meStamp"
  784                                    cachedName ="UpdatedS ource"
  785                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATEDSOUR CE]"
  786                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up datedSourc e]" />
  787                                 <i nputColumn
  788                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Referral _Class_tex t]"
  789                                    cachedData Type="i4"
  790                                    cachedName ="Referral _Class_tex t"
  791                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EFERRAL_CL ASS_TEXT]"
  792                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re ferral_Cla ss_text]"  />
  793                                 <i nputColumn
  794                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Provider _ID]"
  795                                    cachedData Type="i4"
  796                                    cachedName ="Provider _ID"
  797                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ROVIDER_ID ]"
  798                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pr ovider_ID] " />
  799                                 <i nputColumn
  800                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Comment_ Text]"
  801                                    cachedData Type="i4"
  802                                    cachedName ="Comment_ Text"
  803                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C OMMENT_TEX T]"
  804                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co mment_Text ]" />
  805                                 <i nputColumn
  806                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Review_B y]"
  807                                    cachedData Type="i4"
  808                                    cachedName ="Review_B y"
  809                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EVIEW_BY]"
  810                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re view_By]"  />
  811                                 <i nputColumn
  812                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Review_D ate]"
  813                                    cachedData Type="i4"
  814                                    cachedName ="Review_D ate"
  815                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EVIEW_DATE ]"
  816                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re view_Date] " />
  817                                 <i nputColumn
  818                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Duplicat e_Flag]"
  819                                    cachedData Type="i4"
  820                                    cachedName ="Duplicat e_Flag"
  821                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[D UPLICATE_F LAG]"
  822                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Du plicate_Fl ag]" />
  823                                 <i nputColumn
  824                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[STD_Remi nderclass] "
  825                                    cachedData Type="i4"
  826                                    cachedName ="STD_Remi nderclass"
  827                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REMINDE RCLASS_ID] "
  828                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_Reminder class]" />
  829                                 <i nputColumn
  830                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[Referral e_Date]"
  831                                    cachedData Type="dbTi meStamp"
  832                                    cachedName ="Referral e_Date"
  833                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EFERRAL_DA TE]"
  834                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re ferrale_Da te]" />
  835                                 <i nputColumn
  836                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[StdRegis tryId]"
  837                                    cachedData Type="i4"
  838                                    cachedName ="StdRegis tryId"
  839                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REGISTR Y_ID]"
  840                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[St dRegistryI d]" />
  841                               </in putColumns >
  842                               <ext ernalMetad ataColumns
  843                                 is Used="True ">
  844                                 <e xternalMet adataColum n
  845                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REFERR ALSTS_ID]"
  846                                    dataType=" i4"
  847                                    name="STD_ REFERRALST S_ID" />
  848                                 <e xternalMet adataColum n
  849                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REGIST RY_ID]"
  850                                    dataType=" i4"
  851                                    name="STD_ REGISTRY_I D" />
  852                                 <e xternalMet adataColum n
  853                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PATIENT_ID ]"
  854                                    dataType=" i4"
  855                                    name="PATI ENT_ID" />
  856                                 <e xternalMet adataColum n
  857                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REFERRAL_D ATE]"
  858                                    dataType=" dbTimeStam p"
  859                                    name="REFE RRAL_DATE"  />
  860                                 <e xternalMet adataColum n
  861                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REFERRAL_C LASS_TEXT] "
  862                                    codePage=" 1252"
  863                                    dataType=" str"
  864                                    length="40 00"
  865                                    name="REFE RRAL_CLASS _TEXT" />
  866                                 <e xternalMet adataColum n
  867                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PROVIDER_I D]"
  868                                    dataType=" i4"
  869                                    name="PROV IDER_ID" / >
  870                                 <e xternalMet adataColum n
  871                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATEDBY] "
  872                                    codePage=" 1252"
  873                                    dataType=" str"
  874                                    length="30 "
  875                                    name="CREA TEDBY" />
  876                                 <e xternalMet adataColum n
  877                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATED]"
  878                                    dataType=" dbTimeStam p"
  879                                    name="CREA TED" />
  880                                 <e xternalMet adataColum n
  881                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATEDBY] "
  882                                    codePage=" 1252"
  883                                    dataType=" str"
  884                                    length="30 "
  885                                    name="UPDA TEDBY" />
  886                                 <e xternalMet adataColum n
  887                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATED]"
  888                                    dataType=" dbTimeStam p"
  889                                    name="UPDA TED" />
  890                                 <e xternalMet adataColum n
  891                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ COMMENT_TE XT]"
  892                                    codePage=" 1252"
  893                                    dataType=" str"
  894                                    length="40 00"
  895                                    name="COMM ENT_TEXT"  />
  896                                 <e xternalMet adataColum n
  897                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REMIND ERCLASS_ID ]"
  898                                    dataType=" i4"
  899                                    name="STD_ REMINDERCL ASS_ID" />
  900                                 <e xternalMet adataColum n
  901                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REVIEW_BY] "
  902                                    codePage=" 1252"
  903                                    dataType=" str"
  904                                    length="30 "
  905                                    name="REVI EW_BY" />
  906                                 <e xternalMet adataColum n
  907                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REVIEW_DAT E]"
  908                                    dataType=" dbTimeStam p"
  909                                    name="REVI EW_DATE" / >
  910                                 <e xternalMet adataColum n
  911                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ DUPLICATE_ FLAG]"
  912                                    dataType=" bool"
  913                                    name="DUPL ICATE_FLAG " />
  914                                 <e xternalMet adataColum n
  915                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATEDSOU RCE]"
  916                                    codePage=" 1252"
  917                                    dataType=" str"
  918                                    length="30 "
  919                                    name="CREA TEDSOURCE"  />
  920                                 <e xternalMet adataColum n
  921                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATEDSOU RCE]"
  922                                    codePage=" 1252"
  923                                    dataType=" str"
  924                                    length="30 "
  925                                    name="UPDA TEDSOURCE"  />
  926                               </ex ternalMeta dataColumn s>
  927                             </inpu t>
  928                           </inputs >
  929                           <outputs >
  930                             <outpu t
  931                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output]"
  932                               excl usionGroup ="1"
  933                               isEr rorOut="tr ue"
  934                               name ="OLE DB D estination  Error Out put"
  935                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t]">
  936                               <out putColumns >
  937                                 <o utputColum n
  938                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorCode] "
  939                                    dataType=" i4"
  940                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC ode]"
  941                                    name="Erro rCode"
  942                                    specialFla gs="1" />
  943                                 <o utputColum n
  944                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorColum n]"
  945                                    dataType=" i4"
  946                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC olumn]"
  947                                    name="Erro rColumn"
  948                                    specialFla gs="2" />
  949                               </ou tputColumn s>
  950                               <ext ernalMetad ataColumns  />
  951                             </outp ut>
  952                           </output s>
  953                         </componen t>
  954                         <component
  955                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre are Referr al in stag ing\OLE DB  Source"
  956                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  957                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  958                           descript ion="OLE D B Source"
  959                           name="OL E DB Sourc e"
  960                           usesDisp ositions=" true"
  961                           version= "7">
  962                           <propert ies>
  963                             <prope rty
  964                               data Type="Syst em.Int32"
  965                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  966                               name ="CommandT imeout">0< /property>
  967                             <prope rty
  968                               data Type="Syst em.String"
  969                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  970                               name ="OpenRows et">[STAGI NG].[SPATI ENT]</prop erty>
  971                             <prope rty
  972                               data Type="Syst em.String"
  973                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  974                               name ="OpenRows etVariable "></proper ty>
  975                             <prope rty
  976                               data Type="Syst em.String"
  977                               desc ription="T he SQL com mand to be  executed. "
  978                               name ="SqlComma nd"
  979                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">S ELECT 
  980    b.ID AS S TD_REFERRA LSTS_ID
  981   ,a.StdRegi stryId
  982   ,a.Patient _ID       
  983   ,a.Created By
  984   ,a.Updated By
  985   ,GETDATE()  AS Create d
  986   ,GETDATE()  AS Update d
  987   ,a.Created  AS Create dSource
  988   ,a.Updated ate AS Upd atedSource
  989   ,GETDATE()  AS Referr ale_Date
  990   ,NULL AS R eferral_Cl ass_text
  991   ,NULL AS P rovider_ID
  992   ,NULL AS C omment_Tex t
  993   ,NULL AS S TD_Reminde rclass
  994   ,NULL AS R eview_By 
  995   ,NULL AS R eview_Date
  996   ,0 AS Dupl icate_Flag
  997   --,'CDW' A S CreatedS ource
  998   --,NULL AS  UpdatedSo urce
  999   FROM [STAG ING].[SPAT IENT] AS a
  1000        INNER  JOIN [STA GING].[STD _REFERRALS TS] AS b O
  1001    b.[STD_RE GISTRY_ID]  = a.[STDR EGISTRYID]
  1002    AND b.NAM E = 'new'< /property>
  1003                             <prope rty
  1004                               data Type="Syst em.String"
  1005                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  1006                               name ="SqlComma ndVariable ">User::ST RSQL_Inser tRef</prop erty>
  1007                             <prope rty
  1008                               data Type="Syst em.Int32"
  1009                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  1010                               name ="DefaultC odePage">1 252</prope rty>
  1011                             <prope rty
  1012                               data Type="Syst em.Boolean "
  1013                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  1014                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  1015                             <prope rty
  1016                               data Type="Syst em.Int32"
  1017                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  1018                               name ="AccessMo de"
  1019                               type Converter= "AccessMod e">3</prop erty>
  1020                             <prope rty
  1021                               data Type="Syst em.String"
  1022                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  1023                               name ="Paramete rMapping"> </property >
  1024                           </proper ties>
  1025                           <connect ions>
  1026                             <conne ction
  1027                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Sourc e.Connecti ons[OleDbC onnection] "
  1028                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  1029                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  1030                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  1031                               name ="OleDbCon nection" / >
  1032                           </connec tions>
  1033                           <outputs >
  1034                             <outpu t
  1035                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]"
  1036                               name ="OLE DB S ource Outp ut">
  1037                               <out putColumns >
  1038                                 <o utputColum n
  1039                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Patien t_ID]"
  1040                                    dataType=" i4"
  1041                                    errorOrTru ncationOpe ration="Co nversion"
  1042                                    errorRowDi sposition= "FailCompo nent"
  1043                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Patient_I D]"
  1044                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pa tient_ID]"
  1045                                    name="Pati ent_ID"
  1046                                    truncation RowDisposi tion="Fail Component"  />
  1047                                 <o utputColum n
  1048                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[StdReg istryId]"
  1049                                    dataType=" i4"
  1050                                    errorOrTru ncationOpe ration="Co nversion"
  1051                                    errorRowDi sposition= "FailCompo nent"
  1052                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [StdRegist ryId]"
  1053                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[St dRegistryI d]"
  1054                                    name="StdR egistryId"
  1055                                    truncation RowDisposi tion="Fail Component"  />
  1056                                 <o utputColum n
  1057                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Create dBy]"
  1058                                    codePage=" 1252"
  1059                                    dataType=" str"
  1060                                    errorOrTru ncationOpe ration="Co nversion"
  1061                                    errorRowDi sposition= "FailCompo nent"
  1062                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CreatedBy ]"
  1063                                    length="30 "
  1064                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eatedBy]"
  1065                                    name="Crea tedBy"
  1066                                    truncation RowDisposi tion="Fail Component"  />
  1067                                 <o utputColum n
  1068                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Update dBy]"
  1069                                    codePage=" 1252"
  1070                                    dataType=" str"
  1071                                    errorOrTru ncationOpe ration="Co nversion"
  1072                                    errorRowDi sposition= "FailCompo nent"
  1073                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UpdatedBy ]"
  1074                                    length="30 "
  1075                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up datedBy]"
  1076                                    name="Upda tedBy"
  1077                                    truncation RowDisposi tion="Fail Component"  />
  1078                                 <o utputColum n
  1079                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Create d]"
  1080                                    dataType=" dbTimeStam p"
  1081                                    errorOrTru ncationOpe ration="Co nversion"
  1082                                    errorRowDi sposition= "FailCompo nent"
  1083                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Created]"
  1084                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eated]"
  1085                                    name="Crea ted"
  1086                                    truncation RowDisposi tion="Fail Component"  />
  1087                                 <o utputColum n
  1088                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE FERRALSTS_ ID]"
  1089                                    dataType=" i4"
  1090                                    errorOrTru ncationOpe ration="Co nversion"
  1091                                    errorRowDi sposition= "FailCompo nent"
  1092                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [STD_REFER RALSTS_ID] "
  1093                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REFERRAL STS_ID]"
  1094                                    name="STD_ REFERRALST S_ID"
  1095                                    truncation RowDisposi tion="Fail Component"  />
  1096                                 <o utputColum n
  1097                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Update d]"
  1098                                    dataType=" dbTimeStam p"
  1099                                    errorOrTru ncationOpe ration="Co nversion"
  1100                                    errorRowDi sposition= "FailCompo nent"
  1101                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Updated]"
  1102                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up dated]"
  1103                                    name="Upda ted"
  1104                                    truncation RowDisposi tion="Fail Component"  />
  1105                                 <o utputColum n
  1106                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Create dSource]"
  1107                                    dataType=" dbTimeStam p"
  1108                                    errorOrTru ncationOpe ration="Co nversion"
  1109                                    errorRowDi sposition= "FailCompo nent"
  1110                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CreatedSo urce]"
  1111                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Cr eatedSourc e]"
  1112                                    name="Crea tedSource"
  1113                                    truncation RowDisposi tion="Fail Component"  />
  1114                                 <o utputColum n
  1115                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Update dSource]"
  1116                                    dataType=" dbTimeStam p"
  1117                                    errorOrTru ncationOpe ration="Co nversion"
  1118                                    errorRowDi sposition= "FailCompo nent"
  1119                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UpdatedSo urce]"
  1120                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Up datedSourc e]"
  1121                                    name="Upda tedSource"
  1122                                    truncation RowDisposi tion="Fail Component"  />
  1123                                 <o utputColum n
  1124                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Referr ale_Date]"
  1125                                    dataType=" dbTimeStam p"
  1126                                    errorOrTru ncationOpe ration="Co nversion"
  1127                                    errorRowDi sposition= "FailCompo nent"
  1128                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Referrale _Date]"
  1129                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re ferrale_Da te]"
  1130                                    name="Refe rrale_Date "
  1131                                    truncation RowDisposi tion="Fail Component"  />
  1132                                 <o utputColum n
  1133                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Referr al_Class_t ext]"
  1134                                    dataType=" i4"
  1135                                    errorOrTru ncationOpe ration="Co nversion"
  1136                                    errorRowDi sposition= "FailCompo nent"
  1137                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Referral_ Class_text ]"
  1138                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re ferral_Cla ss_text]"
  1139                                    name="Refe rral_Class _text"
  1140                                    truncation RowDisposi tion="Fail Component"  />
  1141                                 <o utputColum n
  1142                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Provid er_ID]"
  1143                                    dataType=" i4"
  1144                                    errorOrTru ncationOpe ration="Co nversion"
  1145                                    errorRowDi sposition= "FailCompo nent"
  1146                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Provider_ ID]"
  1147                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pr ovider_ID] "
  1148                                    name="Prov ider_ID"
  1149                                    truncation RowDisposi tion="Fail Component"  />
  1150                                 <o utputColum n
  1151                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Commen t_Text]"
  1152                                    dataType=" i4"
  1153                                    errorOrTru ncationOpe ration="Co nversion"
  1154                                    errorRowDi sposition= "FailCompo nent"
  1155                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Comment_T ext]"
  1156                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Co mment_Text ]"
  1157                                    name="Comm ent_Text"
  1158                                    truncation RowDisposi tion="Fail Component"  />
  1159                                 <o utputColum n
  1160                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_Re minderclas s]"
  1161                                    dataType=" i4"
  1162                                    errorOrTru ncationOpe ration="Co nversion"
  1163                                    errorRowDi sposition= "FailCompo nent"
  1164                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [STD_Remin derclass]"
  1165                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_Reminder class]"
  1166                                    name="STD_ Remindercl ass"
  1167                                    truncation RowDisposi tion="Fail Component"  />
  1168                                 <o utputColum n
  1169                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Review _By]"
  1170                                    dataType=" i4"
  1171                                    errorOrTru ncationOpe ration="Co nversion"
  1172                                    errorRowDi sposition= "FailCompo nent"
  1173                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Review_By ]"
  1174                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re view_By]"
  1175                                    name="Revi ew_By"
  1176                                    truncation RowDisposi tion="Fail Component"  />
  1177                                 <o utputColum n
  1178                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Review _Date]"
  1179                                    dataType=" i4"
  1180                                    errorOrTru ncationOpe ration="Co nversion"
  1181                                    errorRowDi sposition= "FailCompo nent"
  1182                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Review_Da te]"
  1183                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Re view_Date] "
  1184                                    name="Revi ew_Date"
  1185                                    truncation RowDisposi tion="Fail Component"  />
  1186                                 <o utputColum n
  1187                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Duplic ate_Flag]"
  1188                                    dataType=" i4"
  1189                                    errorOrTru ncationOpe ration="Co nversion"
  1190                                    errorRowDi sposition= "FailCompo nent"
  1191                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [Duplicate _Flag]"
  1192                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Du plicate_Fl ag]"
  1193                                    name="Dupl icate_Flag "
  1194                                    truncation RowDisposi tion="Fail Component"  />
  1195                               </ou tputColumn s>
  1196                               <ext ernalMetad ataColumns
  1197                                 is Used="True ">
  1198                                 <e xternalMet adataColum n
  1199                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Patient_ ID]"
  1200                                    dataType=" i4"
  1201                                    name="Pati ent_ID" />
  1202                                 <e xternalMet adataColum n
  1203                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[StdRegis tryId]"
  1204                                    dataType=" i4"
  1205                                    name="StdR egistryId"  />
  1206                                 <e xternalMet adataColum n
  1207                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CreatedB y]"
  1208                                    codePage=" 1252"
  1209                                    dataType=" str"
  1210                                    length="11 "
  1211                                    name="Crea tedBy" />
  1212                                 <e xternalMet adataColum n
  1213                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UpdatedB y]"
  1214                                    codePage=" 1252"
  1215                                    dataType=" str"
  1216                                    length="11 "
  1217                                    name="Upda tedBy" />
  1218                                 <e xternalMet adataColum n
  1219                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Created] "
  1220                                    dataType=" dbTimeStam p"
  1221                                    name="Crea ted" />
  1222                                 <e xternalMet adataColum n
  1223                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[STD_REFE RRALSTS_ID ]"
  1224                                    dataType=" i4"
  1225                                    name="STD_ REFERRALST S_ID" />
  1226                                 <e xternalMet adataColum n
  1227                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Updated] "
  1228                                    dataType=" dbTimeStam p"
  1229                                    name="Upda ted" />
  1230                                 <e xternalMet adataColum n
  1231                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CreatedS ource]"
  1232                                    dataType=" dbTimeStam p"
  1233                                    name="Crea tedSource"  />
  1234                                 <e xternalMet adataColum n
  1235                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UpdatedS ource]"
  1236                                    dataType=" dbTimeStam p"
  1237                                    name="Upda tedSource"  />
  1238                                 <e xternalMet adataColum n
  1239                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Referral e_Date]"
  1240                                    dataType=" dbTimeStam p"
  1241                                    name="Refe rrale_Date " />
  1242                                 <e xternalMet adataColum n
  1243                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Referral _Class_tex t]"
  1244                                    dataType=" i4"
  1245                                    name="Refe rral_Class _text" />
  1246                                 <e xternalMet adataColum n
  1247                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Provider _ID]"
  1248                                    dataType=" i4"
  1249                                    name="Prov ider_ID" / >
  1250                                 <e xternalMet adataColum n
  1251                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Comment_ Text]"
  1252                                    dataType=" i4"
  1253                                    name="Comm ent_Text"  />
  1254                                 <e xternalMet adataColum n
  1255                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[STD_Remi nderclass] "
  1256                                    dataType=" i4"
  1257                                    name="STD_ Remindercl ass" />
  1258                                 <e xternalMet adataColum n
  1259                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Review_B y]"
  1260                                    dataType=" i4"
  1261                                    name="Revi ew_By" />
  1262                                 <e xternalMet adataColum n
  1263                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Review_D ate]"
  1264                                    dataType=" i4"
  1265                                    name="Revi ew_Date" / >
  1266                                 <e xternalMet adataColum n
  1267                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[Duplicat e_Flag]"
  1268                                    dataType=" i4"
  1269                                    name="Dupl icate_Flag " />
  1270                               </ex ternalMeta dataColumn s>
  1271                             </outp ut>
  1272                             <outpu t
  1273                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Creare Re ferral in  staging\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output]"
  1274                               isEr rorOut="tr ue"
  1275                               name ="OLE DB S ource Erro r Output">
  1276                               <out putColumns >
  1277                                 <o utputColum n
  1278                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_REFERR ALSTS_ID]"
  1279                                    dataType=" i4"
  1280                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[STD_RE FERRALSTS_ ID]"
  1281                                    name="STD_ REFERRALST S_ID" />
  1282                                 <o utputColum n
  1283                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Patient_ID ]"
  1284                                    dataType=" i4"
  1285                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Patien t_ID]"
  1286                                    name="Pati ent_ID" />
  1287                                 <o utputColum n
  1288                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ StdRegistr yId]"
  1289                                    dataType=" i4"
  1290                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[StdReg istryId]"
  1291                                    name="StdR egistryId"  />
  1292                                 <o utputColum n
  1293                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CreatedBy] "
  1294                                    codePage=" 1252"
  1295                                    dataType=" str"
  1296                                    length="11 "
  1297                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Create dBy]"
  1298                                    name="Crea tedBy" />
  1299                                 <o utputColum n
  1300                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UpdatedBy] "
  1301                                    codePage=" 1252"
  1302                                    dataType=" str"
  1303                                    length="11 "
  1304                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Update dBy]"
  1305                                    name="Upda tedBy" />
  1306                                 <o utputColum n
  1307                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Created]"
  1308                                    dataType=" dbTimeStam p"
  1309                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Create d]"
  1310                                    name="Crea ted" />
  1311                                 <o utputColum n
  1312                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Updated]"
  1313                                    dataType=" dbTimeStam p"
  1314                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Update d]"
  1315                                    name="Upda ted" />
  1316                                 <o utputColum n
  1317                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CreatedSou rce]"
  1318                                    dataType=" dbTimeStam p"
  1319                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Create dSource]"
  1320                                    name="Crea tedSource"  />
  1321                                 <o utputColum n
  1322                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UpdatedSou rce]"
  1323                                    dataType=" dbTimeStam p"
  1324                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Update dSource]"
  1325                                    name="Upda tedSource"  />
  1326                                 <o utputColum n
  1327                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Referrale_ Date]"
  1328                                    dataType=" dbTimeStam p"
  1329                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Referr ale_Date]"
  1330                                    name="Refe rrale_Date " />
  1331                                 <o utputColum n
  1332                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Referral_C lass_text] "
  1333                                    dataType=" i4"
  1334                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Referr al_Class_t ext]"
  1335                                    name="Refe rral_Class _text" />
  1336                                 <o utputColum n
  1337                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Provider_I D]"
  1338                                    dataType=" i4"
  1339                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Provid er_ID]"
  1340                                    name="Prov ider_ID" / >
  1341                                 <o utputColum n
  1342                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Comment_Te xt]"
  1343                                    dataType=" i4"
  1344                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Commen t_Text]"
  1345                                    name="Comm ent_Text"  />
  1346                                 <o utputColum n
  1347                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_Remind erclass]"
  1348                                    dataType=" i4"
  1349                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[STD_Re minderclas s]"
  1350                                    name="STD_ Remindercl ass" />
  1351                                 <o utputColum n
  1352                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Review_By] "
  1353                                    dataType=" i4"
  1354                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Review _By]"
  1355                                    name="Revi ew_By" />
  1356                                 <o utputColum n
  1357                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Review_Dat e]"
  1358                                    dataType=" i4"
  1359                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Review _Date]"
  1360                                    name="Revi ew_Date" / >
  1361                                 <o utputColum n
  1362                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Duplicate_ Flag]"
  1363                                    dataType=" i4"
  1364                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Duplic ate_Flag]"
  1365                                    name="Dupl icate_Flag " />
  1366                                 <o utputColum n
  1367                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorCode] "
  1368                                    dataType=" i4"
  1369                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC ode]"
  1370                                    name="Erro rCode"
  1371                                    specialFla gs="1" />
  1372                                 <o utputColum n
  1373                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Crear e Referral  in stagin g\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorColum n]"
  1374                                    dataType=" i4"
  1375                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC olumn]"
  1376                                    name="Erro rColumn"
  1377                                    specialFla gs="2" />
  1378                               </ou tputColumn s>
  1379                               <ext ernalMetad ataColumns  />
  1380                             </outp ut>
  1381                           </output s>
  1382                         </componen t>
  1383                      </ components >
  1384                      <p aths>
  1385                         <path
  1386                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre are Referr al in stag ing.Paths[ OLE DB Sou rce Output ]"
  1387                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre are Referr al in stag ing\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput]"
  1388                           name="OL E DB Sourc e Output"
  1389                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]"  />
  1390                      </ paths>
  1391                    </pi peline>
  1392                  </DTS: ObjectData >
  1393                </DTS:Ex ecutable>
  1394                <DTS:Exe cutable
  1395                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Create  a STD REFE RRALSTS re cord STG f or new ref feral"
  1396                  DTS:Cr eationName ="SSIS.Pip eline.3"
  1397                  DTS:De layValidat ion="True"
  1398                  DTS:De scription= "Data Flow  Task"
  1399                  DTS:DT SID="{3B58 9989-455F- 4260-B5F0- 7E18981C0A 1B}"
  1400                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  1401                  DTS:Lo caleID="-1 "
  1402                  DTS:Ob jectName=" Create a S TD REFERRA LSTS recor d STG for  new reffer al"
  1403                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  1404                  <DTS:V ariables / >
  1405                  <DTS:O bjectData>
  1406                    <pip eline
  1407                      ve rsion="1">
  1408                      <c omponents>
  1409                         <component
  1410                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre ate a STD  REFERRALST S record S TG for new  refferal\ OLE DB Des tination"
  1411                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  1412                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  1413                           descript ion="OLE D B Destinat ion"
  1414                           name="OL E DB Desti nation"
  1415                           usesDisp ositions=" true"
  1416                           version= "4">
  1417                           <propert ies>
  1418                             <prope rty
  1419                               data Type="Syst em.Int32"
  1420                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  1421                               name ="CommandT imeout">0< /property>
  1422                             <prope rty
  1423                               data Type="Syst em.String"
  1424                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  1425                               name ="OpenRows et">[STAGI NG].[STD_R EFERRALSTS ]</propert y>
  1426                             <prope rty
  1427                               data Type="Syst em.String"
  1428                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  1429                               name ="OpenRows etVariable "></proper ty>
  1430                             <prope rty
  1431                               data Type="Syst em.String"
  1432                               desc ription="T he SQL com mand to be  executed. "
  1433                               name ="SqlComma nd"
  1434                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  1435                             <prope rty
  1436                               data Type="Syst em.Int32"
  1437                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  1438                               name ="DefaultC odePage">1 252</prope rty>
  1439                             <prope rty
  1440                               data Type="Syst em.Boolean "
  1441                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  1442                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  1443                             <prope rty
  1444                               data Type="Syst em.Int32"
  1445                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  1446                               name ="AccessMo de"
  1447                               type Converter= "AccessMod e">3</prop erty>
  1448                             <prope rty
  1449                               data Type="Syst em.Boolean "
  1450                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  1451                               name ="FastLoad KeepIdenti ty">false< /property>
  1452                             <prope rty
  1453                               data Type="Syst em.Boolean "
  1454                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  1455                               name ="FastLoad KeepNulls" >false</pr operty>
  1456                             <prope rty
  1457                               data Type="Syst em.String"
  1458                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  1459                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  1460                             <prope rty
  1461                               data Type="Syst em.Int32"
  1462                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  1463                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  1464                           </proper ties>
  1465                           <connect ions>
  1466                             <conne ction
  1467                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Destinati on.Connect ions[OleDb Connection ]"
  1468                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  1469                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  1470                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  1471                               name ="OleDbCon nection" / >
  1472                           </connec tions>
  1473                           <inputs>
  1474                             <input
  1475                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput]"
  1476                               erro rOrTruncat ionOperati on="Insert "
  1477                               erro rRowDispos ition="Fai lComponent "
  1478                               hasS ideEffects ="true"
  1479                               name ="OLE DB D estination  Input">
  1480                               <inp utColumns>
  1481                                 <i nputColumn
  1482                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[CR EATEDBY]"
  1483                                    cachedCode page="1252 "
  1484                                    cachedData Type="str"
  1485                                    cachedLeng th="11"
  1486                                    cachedName ="CREATEDB Y"
  1487                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDBY]"
  1488                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE DBY]" />
  1489                                 <i nputColumn
  1490                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[UP DATEDBY]"
  1491                                    cachedCode page="1252 "
  1492                                    cachedData Type="str"
  1493                                    cachedLeng th="11"
  1494                                    cachedName ="UPDATEDB Y"
  1495                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDBY]"
  1496                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE DBY]" />
  1497                                 <i nputColumn
  1498                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[CR EATED]"
  1499                                    cachedData Type="dbTi meStamp"
  1500                                    cachedName ="CREATED"
  1501                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT ED]"
  1502                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE D]" />
  1503                                 <i nputColumn
  1504                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[DE SCRIPTION_ TEXT]"
  1505                                    cachedCode page="1252 "
  1506                                    cachedData Type="str"
  1507                                    cachedLeng th="500"
  1508                                    cachedName ="DESCRIPT ION_TEXT"
  1509                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[DESCR IPTION_TEX T]"
  1510                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DESCRI PTION_TEXT ]" />
  1511                                 <i nputColumn
  1512                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[IN ACTIVE_FLA G]"
  1513                                    cachedData Type="i4"
  1514                                    cachedName ="INACTIVE _FLAG"
  1515                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[INACT IVE_FLAG]"
  1516                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[INACTI VE_FLAG]"  />
  1517                                 <i nputColumn
  1518                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[Na me]"
  1519                                    cachedCode page="1252 "
  1520                                    cachedData Type="str"
  1521                                    cachedLeng th="100"
  1522                                    cachedName ="Name"
  1523                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[NAME] "
  1524                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Name]"  />
  1525                                 <i nputColumn
  1526                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[CO DE]"
  1527                                    cachedCode page="1252 "
  1528                                    cachedData Type="str"
  1529                                    cachedLeng th="50"
  1530                                    cachedName ="CODE"
  1531                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CODE] "
  1532                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CODE]"  />
  1533                                 <i nputColumn
  1534                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[UP DATED]"
  1535                                    cachedData Type="dbTi meStamp"
  1536                                    cachedName ="UPDATED"
  1537                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT ED]"
  1538                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE D]" />
  1539                                 <i nputColumn
  1540                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[ST D_REGISTRY _ID]"
  1541                                    cachedData Type="i4"
  1542                                    cachedName ="STD_REGI STRY_ID"
  1543                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EGISTRY_ID ]"
  1544                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE GISTRY_ID] " />
  1545                                 <i nputColumn
  1546                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. Columns[SO RT_ORDER]"
  1547                                    cachedData Type="i4"
  1548                                    cachedName ="SORT_ORD ER"
  1549                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[SORT_ ORDER]"
  1550                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[SORT_O RDER]" />
  1551                               </in putColumns >
  1552                               <ext ernalMetad ataColumns
  1553                                 is Used="True ">
  1554                                 <e xternalMet adataColum n
  1555                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[STD_ REGISTRY_I D]"
  1556                                    dataType=" i4"
  1557                                    name="STD_ REGISTRY_I D" />
  1558                                 <e xternalMet adataColum n
  1559                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CREA TEDBY]"
  1560                                    codePage=" 1252"
  1561                                    dataType=" str"
  1562                                    length="30 "
  1563                                    name="CREA TEDBY" />
  1564                                 <e xternalMet adataColum n
  1565                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CREA TED]"
  1566                                    dataType=" dbTimeStam p"
  1567                                    name="CREA TED" />
  1568                                 <e xternalMet adataColum n
  1569                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[UPDA TEDBY]"
  1570                                    codePage=" 1252"
  1571                                    dataType=" str"
  1572                                    length="30 "
  1573                                    name="UPDA TEDBY" />
  1574                                 <e xternalMet adataColum n
  1575                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[UPDA TED]"
  1576                                    dataType=" dbTimeStam p"
  1577                                    name="UPDA TED" />
  1578                                 <e xternalMet adataColum n
  1579                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CODE ]"
  1580                                    codePage=" 1252"
  1581                                    dataType=" str"
  1582                                    length="50 "
  1583                                    name="CODE " />
  1584                                 <e xternalMet adataColum n
  1585                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[NAME ]"
  1586                                    codePage=" 1252"
  1587                                    dataType=" str"
  1588                                    length="10 0"
  1589                                    name="NAME " />
  1590                                 <e xternalMet adataColum n
  1591                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[DESC RIPTION_TE XT]"
  1592                                    codePage=" 1252"
  1593                                    dataType=" str"
  1594                                    length="50 0"
  1595                                    name="DESC RIPTION_TE XT" />
  1596                                 <e xternalMet adataColum n
  1597                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[SORT _ORDER]"
  1598                                    dataType=" i4"
  1599                                    name="SORT _ORDER" />
  1600                                 <e xternalMet adataColum n
  1601                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[INAC TIVE_FLAG] "
  1602                                    dataType=" bool"
  1603                                    name="INAC TIVE_FLAG"  />
  1604                                 <e xternalMet adataColum n
  1605                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[INAC TIVE_DATE] "
  1606                                    dataType=" dbTimeStam p"
  1607                                    name="INAC TIVE_DATE"  />
  1608                               </ex ternalMeta dataColumn s>
  1609                             </inpu t>
  1610                           </inputs >
  1611                           <outputs >
  1612                             <outpu t
  1613                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Destinati on.Outputs [OLE DB De stination  Error Outp ut]"
  1614                               excl usionGroup ="1"
  1615                               isEr rorOut="tr ue"
  1616                               name ="OLE DB D estination  Error Out put"
  1617                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input]">
  1618                               <out putColumns >
  1619                                 <o utputColum n
  1620                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rCode]"
  1621                                    dataType=" i4"
  1622                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorCode] "
  1623                                    name="Erro rCode"
  1624                                    specialFla gs="1" />
  1625                                 <o utputColum n
  1626                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rColumn]"
  1627                                    dataType=" i4"
  1628                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorColum n]"
  1629                                    name="Erro rColumn"
  1630                                    specialFla gs="2" />
  1631                               </ou tputColumn s>
  1632                               <ext ernalMetad ataColumns  />
  1633                             </outp ut>
  1634                           </output s>
  1635                         </componen t>
  1636                         <component
  1637                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre ate a STD  REFERRALST S record S TG for new  refferal\ OLE DB Sou rce"
  1638                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  1639                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  1640                           descript ion="OLE D B Source"
  1641                           name="OL E DB Sourc e"
  1642                           usesDisp ositions=" true"
  1643                           version= "7">
  1644                           <propert ies>
  1645                             <prope rty
  1646                               data Type="Syst em.Int32"
  1647                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  1648                               name ="CommandT imeout">0< /property>
  1649                             <prope rty
  1650                               data Type="Syst em.String"
  1651                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  1652                               name ="OpenRows et">[CRS]. [STD_REFER RALSTS]</p roperty>
  1653                             <prope rty
  1654                               data Type="Syst em.String"
  1655                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  1656                               name ="OpenRows etVariable "></proper ty>
  1657                             <prope rty
  1658                               data Type="Syst em.String"
  1659                               desc ription="T he SQL com mand to be  executed. "
  1660                               name ="SqlComma nd"
  1661                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  1662                             <prope rty
  1663                               data Type="Syst em.String"
  1664                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  1665                               name ="SqlComma ndVariable ">User::ST RSQL_Inser tNewRefsts </property >
  1666                             <prope rty
  1667                               data Type="Syst em.Int32"
  1668                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  1669                               name ="DefaultC odePage">1 252</prope rty>
  1670                             <prope rty
  1671                               data Type="Syst em.Boolean "
  1672                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  1673                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  1674                             <prope rty
  1675                               data Type="Syst em.Int32"
  1676                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  1677                               name ="AccessMo de"
  1678                               type Converter= "AccessMod e">3</prop erty>
  1679                             <prope rty
  1680                               data Type="Syst em.String"
  1681                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  1682                               name ="Paramete rMapping"> </property >
  1683                           </proper ties>
  1684                           <connect ions>
  1685                             <conne ction
  1686                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Source.Co nnections[ OleDbConne ction]"
  1687                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  1688                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  1689                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  1690                               name ="OleDbCon nection" / >
  1691                           </connec tions>
  1692                           <outputs >
  1693                             <outpu t
  1694                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Source.Ou tputs[OLE  DB Source  Output]"
  1695                               name ="OLE DB S ource Outp ut">
  1696                               <out putColumns >
  1697                                 <o utputColum n
  1698                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CODE]"
  1699                                    codePage=" 1252"
  1700                                    dataType=" str"
  1701                                    errorOrTru ncationOpe ration="Co nversion"
  1702                                    errorRowDi sposition= "FailCompo nent"
  1703                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[COD E]"
  1704                                    length="50 "
  1705                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CODE]"
  1706                                    name="CODE "
  1707                                    truncation RowDisposi tion="Fail Component"  />
  1708                                 <o utputColum n
  1709                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DESCRIPTIO N_TEXT]"
  1710                                    codePage=" 1252"
  1711                                    dataType=" str"
  1712                                    errorOrTru ncationOpe ration="Co nversion"
  1713                                    errorRowDi sposition= "FailCompo nent"
  1714                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[DES CRIPTION_T EXT]"
  1715                                    length="50 0"
  1716                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DESCRI PTION_TEXT ]"
  1717                                    name="DESC RIPTION_TE XT"
  1718                                    truncation RowDisposi tion="Fail Component"  />
  1719                                 <o utputColum n
  1720                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ SORT_ORDER ]"
  1721                                    dataType=" i4"
  1722                                    errorOrTru ncationOpe ration="Co nversion"
  1723                                    errorRowDi sposition= "FailCompo nent"
  1724                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[SOR T_ORDER]"
  1725                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[SORT_O RDER]"
  1726                                    name="SORT _ORDER"
  1727                                    truncation RowDisposi tion="Fail Component"  />
  1728                                 <o utputColum n
  1729                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ INACTIVE_F LAG]"
  1730                                    dataType=" i4"
  1731                                    errorOrTru ncationOpe ration="Co nversion"
  1732                                    errorRowDi sposition= "FailCompo nent"
  1733                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[INA CTIVE_FLAG ]"
  1734                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[INACTI VE_FLAG]"
  1735                                    name="INAC TIVE_FLAG"
  1736                                    truncation RowDisposi tion="Fail Component"  />
  1737                                 <o utputColum n
  1738                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATEDBY] "
  1739                                    codePage=" 1252"
  1740                                    dataType=" str"
  1741                                    errorOrTru ncationOpe ration="Co nversion"
  1742                                    errorRowDi sposition= "FailCompo nent"
  1743                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATEDBY]"
  1744                                    length="11 "
  1745                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE DBY]"
  1746                                    name="CREA TEDBY"
  1747                                    truncation RowDisposi tion="Fail Component"  />
  1748                                 <o utputColum n
  1749                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATEDBY] "
  1750                                    codePage=" 1252"
  1751                                    dataType=" str"
  1752                                    errorOrTru ncationOpe ration="Co nversion"
  1753                                    errorRowDi sposition= "FailCompo nent"
  1754                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATEDBY]"
  1755                                    length="11 "
  1756                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE DBY]"
  1757                                    name="UPDA TEDBY"
  1758                                    truncation RowDisposi tion="Fail Component"  />
  1759                                 <o utputColum n
  1760                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATED]"
  1761                                    dataType=" dbTimeStam p"
  1762                                    errorOrTru ncationOpe ration="Co nversion"
  1763                                    errorRowDi sposition= "FailCompo nent"
  1764                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATED]"
  1765                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE D]"
  1766                                    name="CREA TED"
  1767                                    truncation RowDisposi tion="Fail Component"  />
  1768                                 <o utputColum n
  1769                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATED]"
  1770                                    dataType=" dbTimeStam p"
  1771                                    errorOrTru ncationOpe ration="Co nversion"
  1772                                    errorRowDi sposition= "FailCompo nent"
  1773                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATED]"
  1774                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE D]"
  1775                                    name="UPDA TED"
  1776                                    truncation RowDisposi tion="Fail Component"  />
  1777                                 <o utputColum n
  1778                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ STD_REGIST RY_ID]"
  1779                                    dataType=" i4"
  1780                                    errorOrTru ncationOpe ration="Co nversion"
  1781                                    errorRowDi sposition= "FailCompo nent"
  1782                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _REGISTRY_ ID]"
  1783                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE GISTRY_ID] "
  1784                                    name="STD_ REGISTRY_I D"
  1785                                    truncation RowDisposi tion="Fail Component"  />
  1786                                 <o utputColum n
  1787                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ Name]"
  1788                                    codePage=" 1252"
  1789                                    dataType=" str"
  1790                                    errorOrTru ncationOpe ration="Co nversion"
  1791                                    errorRowDi sposition= "FailCompo nent"
  1792                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Create  a STD REF ERRALSTS r ecord STG  for new re fferal\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Nam e]"
  1793                                    length="10 0"
  1794                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Name]"
  1795                                    name="Name "
  1796                                    truncation RowDisposi tion="Fail Component"  />
  1797                               </ou tputColumn s>
  1798                               <ext ernalMetad ataColumns
  1799                                 is Used="True ">
  1800                                 <e xternalMet adataColum n
  1801                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[CO DE]"
  1802                                    codePage=" 1252"
  1803                                    dataType=" str"
  1804                                    length="12 "
  1805                                    name="CODE " />
  1806                                 <e xternalMet adataColum n
  1807                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[DE SCRIPTION_ TEXT]"
  1808                                    codePage=" 1252"
  1809                                    dataType=" str"
  1810                                    length="97 "
  1811                                    name="DESC RIPTION_TE XT" />
  1812                                 <e xternalMet adataColum n
  1813                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[SO RT_ORDER]"
  1814                                    dataType=" i4"
  1815                                    name="SORT _ORDER" />
  1816                                 <e xternalMet adataColum n
  1817                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[IN ACTIVE_FLA G]"
  1818                                    dataType=" i4"
  1819                                    name="INAC TIVE_FLAG"  />
  1820                                 <e xternalMet adataColum n
  1821                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[CR EATEDBY]"
  1822                                    codePage=" 1252"
  1823                                    dataType=" str"
  1824                                    length="11 "
  1825                                    name="CREA TEDBY" />
  1826                                 <e xternalMet adataColum n
  1827                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[UP DATEDBY]"
  1828                                    codePage=" 1252"
  1829                                    dataType=" str"
  1830                                    length="11 "
  1831                                    name="UPDA TEDBY" />
  1832                                 <e xternalMet adataColum n
  1833                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[CR EATED]"
  1834                                    dataType=" dbTimeStam p"
  1835                                    name="CREA TED" />
  1836                                 <e xternalMet adataColum n
  1837                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[UP DATED]"
  1838                                    dataType=" dbTimeStam p"
  1839                                    name="UPDA TED" />
  1840                                 <e xternalMet adataColum n
  1841                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[ST D_REGISTRY _ID]"
  1842                                    dataType=" i4"
  1843                                    name="STD_ REGISTRY_I D" />
  1844                                 <e xternalMet adataColum n
  1845                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Na me]"
  1846                                    codePage=" 1252"
  1847                                    dataType=" str"
  1848                                    length="20 "
  1849                                    name="Name " />
  1850                               </ex ternalMeta dataColumn s>
  1851                             </outp ut>
  1852                             <outpu t
  1853                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Create a  STD REFERR ALSTS reco rd STG for  new reffe ral\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut]"
  1854                               isEr rorOut="tr ue"
  1855                               name ="OLE DB S ource Erro r Output">
  1856                               <out putColumns >
  1857                                 <o utputColum n
  1858                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CODE ]"
  1859                                    codePage=" 1252"
  1860                                    dataType=" str"
  1861                                    length="12 "
  1862                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CODE]"
  1863                                    name="CODE " />
  1864                                 <o utputColum n
  1865                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Name ]"
  1866                                    codePage=" 1252"
  1867                                    dataType=" str"
  1868                                    length="20 "
  1869                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ Name]"
  1870                                    name="Name " />
  1871                                 <o utputColum n
  1872                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[DESC RIPTION_TE XT]"
  1873                                    codePage=" 1252"
  1874                                    dataType=" str"
  1875                                    length="97 "
  1876                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ DESCRIPTIO N_TEXT]"
  1877                                    name="DESC RIPTION_TE XT" />
  1878                                 <o utputColum n
  1879                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[SORT _ORDER]"
  1880                                    dataType=" i4"
  1881                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ SORT_ORDER ]"
  1882                                    name="SORT _ORDER" />
  1883                                 <o utputColum n
  1884                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[INAC TIVE_FLAG] "
  1885                                    dataType=" i4"
  1886                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ INACTIVE_F LAG]"
  1887                                    name="INAC TIVE_FLAG"  />
  1888                                 <o utputColum n
  1889                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CREA TEDBY]"
  1890                                    codePage=" 1252"
  1891                                    dataType=" str"
  1892                                    length="11 "
  1893                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATEDBY] "
  1894                                    name="CREA TEDBY" />
  1895                                 <o utputColum n
  1896                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[UPDA TEDBY]"
  1897                                    codePage=" 1252"
  1898                                    dataType=" str"
  1899                                    length="11 "
  1900                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATEDBY] "
  1901                                    name="UPDA TEDBY" />
  1902                                 <o utputColum n
  1903                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CREA TED]"
  1904                                    dataType=" dbTimeStam p"
  1905                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATED]"
  1906                                    name="CREA TED" />
  1907                                 <o utputColum n
  1908                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[UPDA TED]"
  1909                                    dataType=" dbTimeStam p"
  1910                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATED]"
  1911                                    name="UPDA TED" />
  1912                                 <o utputColum n
  1913                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[STD_ REGISTRY_I D]"
  1914                                    dataType=" i4"
  1915                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_REGIST RY_ID]"
  1916                                    name="STD_ REGISTRY_I D" />
  1917                                 <o utputColum n
  1918                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rCode]"
  1919                                    dataType=" i4"
  1920                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorCode] "
  1921                                    name="Erro rCode"
  1922                                    specialFla gs="1" />
  1923                                 <o utputColum n
  1924                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Creat e a STD RE FERRALSTS  record STG  for new r efferal\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rColumn]"
  1925                                    dataType=" i4"
  1926                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorColum n]"
  1927                                    name="Erro rColumn"
  1928                                    specialFla gs="2" />
  1929                               </ou tputColumn s>
  1930                               <ext ernalMetad ataColumns  />
  1931                             </outp ut>
  1932                           </output s>
  1933                         </componen t>
  1934                      </ components >
  1935                      <p aths>
  1936                         <path
  1937                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre ate a STD  REFERRALST S record S TG for new  refferal. Paths[OLE  DB Source  Output]"
  1938                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Cre ate a STD  REFERRALST S record S TG for new  refferal\ OLE DB Des tination.I nputs[OLE  DB Destina tion Input ]"
  1939                           name="OL E DB Sourc e Output"
  1940                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\C reate a ST D REFERRAL STS record  STG for n ew reffera l\OLE DB S ource.Outp uts[OLE DB  Source Ou tput]" />
  1941                      </ paths>
  1942                    </pi peline>
  1943                  </DTS: ObjectData >
  1944                </DTS:Ex ecutable>
  1945                <DTS:Exe cutable
  1946                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Get Max _Sort_Orde r"
  1947                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  1948                  DTS:De scription= "Execute S QL Task"
  1949                  DTS:DT SID="{F4DC 7110-0983- 4E8A-A2E9- F395493EFB 61}"
  1950                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  1951                  DTS:Lo caleID="-1 "
  1952                  DTS:Ob jectName=" Get Max_So rt_Order"
  1953                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  1954                  DTS:Th readHint=" 1">
  1955                  <DTS:V ariables / >
  1956                  <DTS:O bjectData>
  1957                    <SQL Task:SqlTa skData
  1958                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  1959                      SQ LTask:SqlS tatementSo urce="SELE CT MAX(Sor t_Order)&# xA;from [C RS].[STD_R EFERRALSTS ]"
  1960                      SQ LTask:Resu ltType="Re sultSetTyp e_SingleRo w" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  1961                      <S QLTask:Res ultBinding
  1962                         SQLTask:Re sultName=" 0"
  1963                         SQLTask:Dt sVariableN ame="User: :Max_Sort_ Order" />
  1964                    </SQ LTask:SqlT askData>
  1965                  </DTS: ObjectData >
  1966                </DTS:Ex ecutable>
  1967                <DTS:Exe cutable
  1968                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Get Reg istry Name "
  1969                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  1970                  DTS:De scription= "Execute S QL Task"
  1971                  DTS:DT SID="{5BA7 1DEA-EFB9- 47A1-A823- 7C5BAB2CC6 20}"
  1972                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  1973                  DTS:Lo caleID="-1 "
  1974                  DTS:Ob jectName=" Get Regist ry Name"
  1975                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  1976                  DTS:Th readHint=" 1">
  1977                  <DTS:V ariables / >
  1978                  <DTS:O bjectData>
  1979                    <SQL Task:SqlTa skData
  1980                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  1981                      SQ LTask:SqlS tatementSo urce="SELE CT CODE FR OM CRS.STD _REGISTRY& #xA;WHERE  ID = ?"
  1982                      SQ LTask:Resu ltType="Re sultSetTyp e_SingleRo w" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  1983                      <S QLTask:Res ultBinding
  1984                         SQLTask:Re sultName=" 0"
  1985                         SQLTask:Dt sVariableN ame="User: :RegName"  />
  1986                      <S QLTask:Par ameterBind ing
  1987                         SQLTask:Pa rameterNam e="0"
  1988                         SQLTask:Dt sVariableN ame="User: :STDRegist ryID"
  1989                         SQLTask:Pa rameterDir ection="In put"
  1990                         SQLTask:Da taType="3"
  1991                         SQLTask:Pa rameterSiz e="-1" />
  1992                    </SQ LTask:SqlT askData>
  1993                  </DTS: ObjectData >
  1994                </DTS:Ex ecutable>
  1995                <DTS:Exe cutable
  1996                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Insert  into stagi ng patient  table"
  1997                  DTS:Cr eationName ="SSIS.Pip eline.3"
  1998                  DTS:De layValidat ion="True"
  1999                  DTS:De scription= "Data Flow  Task"
  2000                  DTS:DT SID="{4DFB 1ABC-D9EE- 4028-A342- 37F817E1A5 49}"
  2001                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  2002                  DTS:Lo caleID="-1 "
  2003                  DTS:Ob jectName=" Insert int o staging  patient ta ble"
  2004                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  2005                  <DTS:V ariables / >
  2006                  <DTS:O bjectData>
  2007                    <pip eline
  2008                      ve rsion="1">
  2009                      <c omponents>
  2010                         <component
  2011                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Ins ert into s taging pat ient table \OLE DB De stination"
  2012                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  2013                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  2014                           descript ion="OLE D B Destinat ion"
  2015                           name="OL E DB Desti nation"
  2016                           usesDisp ositions=" true"
  2017                           version= "4">
  2018                           <propert ies>
  2019                             <prope rty
  2020                               data Type="Syst em.Int32"
  2021                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  2022                               name ="CommandT imeout">0< /property>
  2023                             <prope rty
  2024                               data Type="Syst em.String"
  2025                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  2026                               name ="OpenRows et">[STAGI NG].[PATIE NT]</prope rty>
  2027                             <prope rty
  2028                               data Type="Syst em.String"
  2029                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  2030                               name ="OpenRows etVariable "></proper ty>
  2031                             <prope rty
  2032                               data Type="Syst em.String"
  2033                               desc ription="T he SQL com mand to be  executed. "
  2034                               name ="SqlComma nd"
  2035                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  2036                             <prope rty
  2037                               data Type="Syst em.Int32"
  2038                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  2039                               name ="DefaultC odePage">1 252</prope rty>
  2040                             <prope rty
  2041                               data Type="Syst em.Boolean "
  2042                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  2043                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  2044                             <prope rty
  2045                               data Type="Syst em.Int32"
  2046                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  2047                               name ="AccessMo de"
  2048                               type Converter= "AccessMod e">3</prop erty>
  2049                             <prope rty
  2050                               data Type="Syst em.Boolean "
  2051                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  2052                               name ="FastLoad KeepIdenti ty">false< /property>
  2053                             <prope rty
  2054                               data Type="Syst em.Boolean "
  2055                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  2056                               name ="FastLoad KeepNulls" >false</pr operty>
  2057                             <prope rty
  2058                               data Type="Syst em.String"
  2059                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  2060                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  2061                             <prope rty
  2062                               data Type="Syst em.Int32"
  2063                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  2064                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  2065                           </proper ties>
  2066                           <connect ions>
  2067                             <conne ction
  2068                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Destinat ion.Connec tions[OleD bConnectio n]"
  2069                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  2070                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  2071                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  2072                               name ="OleDbCon nection" / >
  2073                           </connec tions>
  2074                           <inputs>
  2075                             <input
  2076                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Destinat ion.Inputs [OLE DB De stination  Input]"
  2077                               erro rOrTruncat ionOperati on="Insert "
  2078                               erro rRowDispos ition="Fai lComponent "
  2079                               hasS ideEffects ="true"
  2080                               name ="OLE DB D estination  Input">
  2081                               <inp utColumns>
  2082                                 <i nputColumn
  2083                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[C reatedBy]"
  2084                                    cachedCode page="1252 "
  2085                                    cachedData Type="str"
  2086                                    cachedLeng th="30"
  2087                                    cachedName ="CreatedB y"
  2088                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CREA TEDBY]"
  2089                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Creat edBy]" />
  2090                                 <i nputColumn
  2091                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[U pdatedBy]"
  2092                                    cachedCode page="1252 "
  2093                                    cachedData Type="str"
  2094                                    cachedLeng th="30"
  2095                                    cachedName ="UpdatedB y"
  2096                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[UPDA TEDBY]"
  2097                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Updat edBy]" />
  2098                                 <i nputColumn
  2099                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[C reated]"
  2100                                    cachedData Type="dbTi meStamp"
  2101                                    cachedName ="Created"
  2102                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CREA TED]"
  2103                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Creat ed]" />
  2104                                 <i nputColumn
  2105                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[P atientICN] "
  2106                                    cachedCode page="1252 "
  2107                                    cachedData Type="str"
  2108                                    cachedLeng th="50"
  2109                                    cachedName ="PatientI CN"
  2110                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[Pati entICN]"
  2111                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntICN]" />
  2112                                 <i nputColumn
  2113                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[U pdatedate] "
  2114                                    cachedData Type="dbTi meStamp"
  2115                                    cachedName ="Updateda te"
  2116                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[UPDA TED]"
  2117                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Updat edate]" />
  2118                                 <i nputColumn
  2119                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[O EF_OIF_IND ]"
  2120                                    cachedData Type="bool "
  2121                                    cachedName ="OEF_OIF_ IND"
  2122                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[OEFO IF_IND]"
  2123                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[OEF_O IF_IND]" / >
  2124                                 <i nputColumn
  2125                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[P honeCellul ar]"
  2126                                    cachedCode page="1252 "
  2127                                    cachedData Type="str"
  2128                                    cachedLeng th="50"
  2129                                    cachedName ="PhoneCel lular"
  2130                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[CELL _PHONE]"
  2131                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Phone Cellular]"  />
  2132                                 <i nputColumn
  2133                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[D ateOfDeath ]"
  2134                                    cachedData Type="dbDa te"
  2135                                    cachedName ="DateOfDe ath"
  2136                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[DEAT H_DATE]"
  2137                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[DateO fDeath]" / >
  2138                                 <i nputColumn
  2139                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[D ateOfBirth ]"
  2140                                    cachedData Type="dbDa te"
  2141                                    cachedName ="DateOfBi rth"
  2142                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[BIRT H_DATE]"
  2143                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[DateO fBirth]" / >
  2144                                 <i nputColumn
  2145                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[E mailAddres s]"
  2146                                    cachedCode page="1252 "
  2147                                    cachedData Type="str"
  2148                                    cachedLeng th="50"
  2149                                    cachedName ="EmailAdd ress"
  2150                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[EMAI L_ADDRESS] "
  2151                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Email Address]"  />
  2152                                 <i nputColumn
  2153                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[P atientLast Name]"
  2154                                    cachedCode page="1252 "
  2155                                    cachedData Type="str"
  2156                                    cachedLeng th="50"
  2157                                    cachedName ="PatientL astName"
  2158                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[LAST _NAME]"
  2159                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntLastName ]" />
  2160                                 <i nputColumn
  2161                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .Columns[P atientFirs tName]"
  2162                                    cachedCode page="1252 "
  2163                                    cachedData Type="str"
  2164                                    cachedLeng th="50"
  2165                                    cachedName ="PatientF irstName"
  2166                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]. ExternalCo lumns[FIRS T_NAME]"
  2167                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntFirstNam e]" />
  2168                               </in putColumns >
  2169                               <ext ernalMetad ataColumns
  2170                                 is Used="True ">
  2171                                 <e xternalMet adataColum n
  2172                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[PAT IENT_ID]"
  2173                                    dataType=" i4"
  2174                                    name="PATI ENT_ID" />
  2175                                 <e xternalMet adataColum n
  2176                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[FIR ST_NAME]"
  2177                                    codePage=" 1252"
  2178                                    dataType=" str"
  2179                                    length="50 "
  2180                                    name="FIRS T_NAME" />
  2181                                 <e xternalMet adataColum n
  2182                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[MID DLE_NAME]"
  2183                                    codePage=" 1252"
  2184                                    dataType=" str"
  2185                                    length="50 "
  2186                                    name="MIDD LE_NAME" / >
  2187                                 <e xternalMet adataColum n
  2188                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[LAS T_NAME]"
  2189                                    codePage=" 1252"
  2190                                    dataType=" str"
  2191                                    length="50 "
  2192                                    name="LAST _NAME" />
  2193                                 <e xternalMet adataColum n
  2194                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[EMA IL_ADDRESS ]"
  2195                                    codePage=" 1252"
  2196                                    dataType=" str"
  2197                                    length="12 8"
  2198                                    name="EMAI L_ADDRESS"  />
  2199                                 <e xternalMet adataColum n
  2200                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[BIR TH_DATE]"
  2201                                    dataType=" dbDate"
  2202                                    name="BIRT H_DATE" />
  2203                                 <e xternalMet adataColum n
  2204                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[DEA TH_DATE]"
  2205                                    dataType=" dbDate"
  2206                                    name="DEAT H_DATE" />
  2207                                 <e xternalMet adataColum n
  2208                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[CEL L_PHONE]"
  2209                                    codePage=" 1252"
  2210                                    dataType=" str"
  2211                                    length="50 "
  2212                                    name="CELL _PHONE" />
  2213                                 <e xternalMet adataColum n
  2214                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[PER FERRED_ADD RESS_TYPE] "
  2215                                    codePage=" 1252"
  2216                                    dataType=" str"
  2217                                    length="50 "
  2218                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  2219                                 <e xternalMet adataColum n
  2220                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[CRE ATEDBY]"
  2221                                    codePage=" 1252"
  2222                                    dataType=" str"
  2223                                    length="30 "
  2224                                    name="CREA TEDBY" />
  2225                                 <e xternalMet adataColum n
  2226                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[CRE ATED]"
  2227                                    dataType=" dbTimeStam p"
  2228                                    name="CREA TED" />
  2229                                 <e xternalMet adataColum n
  2230                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[UPD ATEDBY]"
  2231                                    codePage=" 1252"
  2232                                    dataType=" str"
  2233                                    length="30 "
  2234                                    name="UPDA TEDBY" />
  2235                                 <e xternalMet adataColum n
  2236                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[UPD ATED]"
  2237                                    dataType=" dbTimeStam p"
  2238                                    name="UPDA TED" />
  2239                                 <e xternalMet adataColum n
  2240                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[OEF OIF_IND]"
  2241                                    dataType=" bool"
  2242                                    name="OEFO IF_IND" />
  2243                                 <e xternalMet adataColum n
  2244                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[Pat ientICN]"
  2245                                    codePage=" 1252"
  2246                                    dataType=" str"
  2247                                    length="50 "
  2248                                    name="Pati entICN" />
  2249                                 <e xternalMet adataColum n
  2250                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] .ExternalC olumns[PAT IENTSID]"
  2251                                    dataType=" i4"
  2252                                    name="PATI ENTSID" />
  2253                               </ex ternalMeta dataColumn s>
  2254                             </inpu t>
  2255                           </inputs >
  2256                           <outputs >
  2257                             <outpu t
  2258                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Destinat ion.Output s[OLE DB D estination  Error Out put]"
  2259                               excl usionGroup ="1"
  2260                               isEr rorOut="tr ue"
  2261                               name ="OLE DB D estination  Error Out put"
  2262                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]" >
  2263                               <out putColumns >
  2264                                 <o utputColum n
  2265                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.Ou tputs[OLE  DB Destina tion Error  Output].C olumns[Err orCode]"
  2266                                    dataType=" i4"
  2267                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Outputs[ OLE DB Des tination E rror Outpu t].Columns [ErrorCode ]"
  2268                                    name="Erro rCode"
  2269                                    specialFla gs="1" />
  2270                                 <o utputColum n
  2271                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Dest ination.Ou tputs[OLE  DB Destina tion Error  Output].C olumns[Err orColumn]"
  2272                                    dataType=" i4"
  2273                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Outputs[ OLE DB Des tination E rror Outpu t].Columns [ErrorColu mn]"
  2274                                    name="Erro rColumn"
  2275                                    specialFla gs="2" />
  2276                               </ou tputColumn s>
  2277                               <ext ernalMetad ataColumns  />
  2278                             </outp ut>
  2279                           </output s>
  2280                         </componen t>
  2281                         <component
  2282                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Ins ert into s taging pat ient table \OLE DB So urce"
  2283                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  2284                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  2285                           descript ion="OLE D B Source"
  2286                           name="OL E DB Sourc e"
  2287                           usesDisp ositions=" true"
  2288                           version= "7">
  2289                           <propert ies>
  2290                             <prope rty
  2291                               data Type="Syst em.Int32"
  2292                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  2293                               name ="CommandT imeout">0< /property>
  2294                             <prope rty
  2295                               data Type="Syst em.String"
  2296                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  2297                               name ="OpenRows et"></prop erty>
  2298                             <prope rty
  2299                               data Type="Syst em.String"
  2300                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  2301                               name ="OpenRows etVariable "></proper ty>
  2302                             <prope rty
  2303                               data Type="Syst em.String"
  2304                               desc ription="T he SQL com mand to be  executed. "
  2305                               name ="SqlComma nd"
  2306                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">I F (SELECT  COUNT(*) F ROM TmpPAT IENTSID WH ERE PATIEN TSID IS NU LL) = 0
  2307   BEGIN
  2308   SELECT top  10
  2309                    --sp .Patient_I D, 
  2310                    sp.P atientFirs tName, 
  2311                    sp.P atientLast Name, 
  2312                    sp.E mailAddres s, 
  2313                    sp.D ateOfBirth
  2314                    sp.D ateOfDeath
  2315                    sp.P honeCellul ar,
  2316                    sp.C reatedBy, 
  2317                    sp.U pdatedBy, 
  2318                    GETD ATE() AS C reated, 
  2319                    GETD ATE() AS U pdatedate,
  2320                    sp.O EF_OIF_IND ,
  2321                    sp.P atientICN
  2322                    --sp .PatientSI D
  2323   FROM
  2324    TmpPATIEN TSID t
  2325    JOIN CRS. SPATIENT S P ON t.PAT IENTSID =  sp.PATIENT SID AND
  2326                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  2327                                                                sp.S TDREGISTRY ID = ?                            
  2328   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  2329   WHERE --sp .STDREGIST RYID = 7 A ND
  2330        p.Pat ientICN IS  NULL AND
  2331        sp.Pa tientICN I S NOT NULL
  2332   END
  2333   ELSE
  2334   BEGIN
  2335   SELECT top  10
  2336                    --sp .Patient_I D, 
  2337                    sp.P atientFirs tName, 
  2338                    sp.P atientLast Name, 
  2339                    sp.E mailAddres s, 
  2340                    sp.D ateOfBirth
  2341                    sp.D ateOfDeath
  2342                    sp.P honeCellul ar,
  2343                    sp.C reatedBy, 
  2344                    sp.U pdatedBy, 
  2345                    GETD ATE() AS C reated, 
  2346                    GETD ATE() AS U pdatedate,
  2347                    sp.O EF_OIF_IND ,
  2348                    sp.P atientICN
  2349                    --sp .PatientSI D
  2350   FROM
  2351    TmpPATIEN TSID t
  2352    JOIN CRS. SPATIENT S P ON --t.P ATIENTSID  = sp.PATIE NTSID AND
  2353                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  2354                                                                sp.S TDREGISTRY ID = ?                            
  2355   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  2356   WHERE --sp .STDREGIST RYID = 7 A ND
  2357        p.Pat ientICN IS  NULL AND
  2358        sp.Pa tientICN I S NOT NULL
  2359   END</prope rty>
  2360                             <prope rty
  2361                               data Type="Syst em.String"
  2362                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  2363                               name ="SqlComma ndVariable ">User::ST RSQL_Inser tPatients< /property>
  2364                             <prope rty
  2365                               data Type="Syst em.Int32"
  2366                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  2367                               name ="DefaultC odePage">1 252</prope rty>
  2368                             <prope rty
  2369                               data Type="Syst em.Boolean "
  2370                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  2371                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  2372                             <prope rty
  2373                               data Type="Syst em.Int32"
  2374                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  2375                               name ="AccessMo de"
  2376                               type Converter= "AccessMod e">3</prop erty>
  2377                             <prope rty
  2378                               data Type="Syst em.String"
  2379                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  2380                               name ="Paramete rMapping"> "Parameter 0:Input",{ F829B2DD-C 804-41FF-B 5F2-C325C6 2869E1};</ property>
  2381                           </proper ties>
  2382                           <connect ions>
  2383                             <conne ction
  2384                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Source.C onnections [OleDbConn ection]"
  2385                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  2386                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  2387                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  2388                               name ="OleDbCon nection" / >
  2389                           </connec tions>
  2390                           <outputs >
  2391                             <outpu t
  2392                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Source.O utputs[OLE  DB Source  Output]"
  2393                               name ="OLE DB S ource Outp ut">
  2394                               <out putColumns >
  2395                                 <o utputColum n
  2396                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [PatientFi rstName]"
  2397                                    codePage=" 1252"
  2398                                    dataType=" str"
  2399                                    errorOrTru ncationOpe ration="Co nversion"
  2400                                    errorRowDi sposition= "FailCompo nent"
  2401                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Pa tientFirst Name]"
  2402                                    length="50 "
  2403                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntFirstNam e]"
  2404                                    name="Pati entFirstNa me"
  2405                                    truncation RowDisposi tion="Fail Component"  />
  2406                                 <o utputColum n
  2407                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [PatientLa stName]"
  2408                                    codePage=" 1252"
  2409                                    dataType=" str"
  2410                                    errorOrTru ncationOpe ration="Co nversion"
  2411                                    errorRowDi sposition= "FailCompo nent"
  2412                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Pa tientLastN ame]"
  2413                                    length="50 "
  2414                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntLastName ]"
  2415                                    name="Pati entLastNam e"
  2416                                    truncation RowDisposi tion="Fail Component"  />
  2417                                 <o utputColum n
  2418                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [EmailAddr ess]"
  2419                                    codePage=" 1252"
  2420                                    dataType=" str"
  2421                                    errorOrTru ncationOpe ration="Co nversion"
  2422                                    errorRowDi sposition= "FailCompo nent"
  2423                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Em ailAddress ]"
  2424                                    length="50 "
  2425                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Email Address]"
  2426                                    name="Emai lAddress"
  2427                                    truncation RowDisposi tion="Fail Component"  />
  2428                                 <o utputColum n
  2429                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [DateOfBir th]"
  2430                                    dataType=" dbDate"
  2431                                    errorOrTru ncationOpe ration="Co nversion"
  2432                                    errorRowDi sposition= "FailCompo nent"
  2433                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Da teOfBirth] "
  2434                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[DateO fBirth]"
  2435                                    name="Date OfBirth"
  2436                                    truncation RowDisposi tion="Fail Component"  />
  2437                                 <o utputColum n
  2438                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [DateOfDea th]"
  2439                                    dataType=" dbDate"
  2440                                    errorOrTru ncationOpe ration="Co nversion"
  2441                                    errorRowDi sposition= "FailCompo nent"
  2442                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Da teOfDeath] "
  2443                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[DateO fDeath]"
  2444                                    name="Date OfDeath"
  2445                                    truncation RowDisposi tion="Fail Component"  />
  2446                                 <o utputColum n
  2447                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [PhoneCell ular]"
  2448                                    codePage=" 1252"
  2449                                    dataType=" str"
  2450                                    errorOrTru ncationOpe ration="Co nversion"
  2451                                    errorRowDi sposition= "FailCompo nent"
  2452                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Ph oneCellula r]"
  2453                                    length="50 "
  2454                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Phone Cellular]"
  2455                                    name="Phon eCellular"
  2456                                    truncation RowDisposi tion="Fail Component"  />
  2457                                 <o utputColum n
  2458                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [CreatedBy ]"
  2459                                    codePage=" 1252"
  2460                                    dataType=" str"
  2461                                    errorOrTru ncationOpe ration="Co nversion"
  2462                                    errorRowDi sposition= "FailCompo nent"
  2463                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Cr eatedBy]"
  2464                                    length="30 "
  2465                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Creat edBy]"
  2466                                    name="Crea tedBy"
  2467                                    truncation RowDisposi tion="Fail Component"  />
  2468                                 <o utputColum n
  2469                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [UpdatedBy ]"
  2470                                    codePage=" 1252"
  2471                                    dataType=" str"
  2472                                    errorOrTru ncationOpe ration="Co nversion"
  2473                                    errorRowDi sposition= "FailCompo nent"
  2474                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Up datedBy]"
  2475                                    length="30 "
  2476                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Updat edBy]"
  2477                                    name="Upda tedBy"
  2478                                    truncation RowDisposi tion="Fail Component"  />
  2479                                 <o utputColum n
  2480                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [Created]"
  2481                                    dataType=" dbTimeStam p"
  2482                                    errorOrTru ncationOpe ration="Co nversion"
  2483                                    errorRowDi sposition= "FailCompo nent"
  2484                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Cr eated]"
  2485                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Creat ed]"
  2486                                    name="Crea ted"
  2487                                    truncation RowDisposi tion="Fail Component"  />
  2488                                 <o utputColum n
  2489                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [Updatedat e]"
  2490                                    dataType=" dbTimeStam p"
  2491                                    errorOrTru ncationOpe ration="Co nversion"
  2492                                    errorRowDi sposition= "FailCompo nent"
  2493                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Up datedate]"
  2494                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Updat edate]"
  2495                                    name="Upda tedate"
  2496                                    truncation RowDisposi tion="Fail Component"  />
  2497                                 <o utputColum n
  2498                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [OEF_OIF_I ND]"
  2499                                    dataType=" bool"
  2500                                    errorOrTru ncationOpe ration="Co nversion"
  2501                                    errorRowDi sposition= "FailCompo nent"
  2502                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[OE F_OIF_IND] "
  2503                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[OEF_O IF_IND]"
  2504                                    name="OEF_ OIF_IND"
  2505                                    truncation RowDisposi tion="Fail Component"  />
  2506                                 <o utputColum n
  2507                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Columns [PatientIC N]"
  2508                                    codePage=" 1252"
  2509                                    dataType=" str"
  2510                                    errorOrTru ncationOpe ration="Co nversion"
  2511                                    errorRowDi sposition= "FailCompo nent"
  2512                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].External Columns[Pa tientICN]"
  2513                                    length="50 "
  2514                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Col umns[Patie ntICN]"
  2515                                    name="Pati entICN"
  2516                                    truncation RowDisposi tion="Fail Component"  />
  2517                               </ou tputColumn s>
  2518                               <ext ernalMetad ataColumns
  2519                                 is Used="True ">
  2520                                 <e xternalMet adataColum n
  2521                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[P atientFirs tName]"
  2522                                    codePage=" 1252"
  2523                                    dataType=" str"
  2524                                    length="50 "
  2525                                    name="Pati entFirstNa me" />
  2526                                 <e xternalMet adataColum n
  2527                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[P atientLast Name]"
  2528                                    codePage=" 1252"
  2529                                    dataType=" str"
  2530                                    length="50 "
  2531                                    name="Pati entLastNam e" />
  2532                                 <e xternalMet adataColum n
  2533                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[E mailAddres s]"
  2534                                    codePage=" 1252"
  2535                                    dataType=" str"
  2536                                    length="50 "
  2537                                    name="Emai lAddress"  />
  2538                                 <e xternalMet adataColum n
  2539                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[D ateOfBirth ]"
  2540                                    dataType=" dbDate"
  2541                                    name="Date OfBirth" / >
  2542                                 <e xternalMet adataColum n
  2543                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[D ateOfDeath ]"
  2544                                    dataType=" dbDate"
  2545                                    name="Date OfDeath" / >
  2546                                 <e xternalMet adataColum n
  2547                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[P honeCellul ar]"
  2548                                    codePage=" 1252"
  2549                                    dataType=" str"
  2550                                    length="50 "
  2551                                    name="Phon eCellular"  />
  2552                                 <e xternalMet adataColum n
  2553                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[C reatedBy]"
  2554                                    codePage=" 1252"
  2555                                    dataType=" str"
  2556                                    length="30 "
  2557                                    name="Crea tedBy" />
  2558                                 <e xternalMet adataColum n
  2559                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[U pdatedBy]"
  2560                                    codePage=" 1252"
  2561                                    dataType=" str"
  2562                                    length="30 "
  2563                                    name="Upda tedBy" />
  2564                                 <e xternalMet adataColum n
  2565                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[C reated]"
  2566                                    dataType=" dbTimeStam p"
  2567                                    name="Crea ted" />
  2568                                 <e xternalMet adataColum n
  2569                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[U pdatedate] "
  2570                                    dataType=" dbTimeStam p"
  2571                                    name="Upda tedate" />
  2572                                 <e xternalMet adataColum n
  2573                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[O EF_OIF_IND ]"
  2574                                    dataType=" bool"
  2575                                    name="OEF_ OIF_IND" / >
  2576                                 <e xternalMet adataColum n
  2577                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Outpu t].Externa lColumns[P atientICN] "
  2578                                    codePage=" 1252"
  2579                                    dataType=" str"
  2580                                    length="50 "
  2581                                    name="Pati entICN" />
  2582                               </ex ternalMeta dataColumn s>
  2583                             </outp ut>
  2584                             <outpu t
  2585                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Insert in to staging  patient t able\OLE D B Source.O utputs[OLE  DB Source  Error Out put]"
  2586                               isEr rorOut="tr ue"
  2587                               name ="OLE DB S ource Erro r Output">
  2588                               <out putColumns >
  2589                                 <o utputColum n
  2590                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Pat ientFirstN ame]"
  2591                                    codePage=" 1252"
  2592                                    dataType=" str"
  2593                                    length="50 "
  2594                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [PatientFi rstName]"
  2595                                    name="Pati entFirstNa me" />
  2596                                 <o utputColum n
  2597                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Pat ientLastNa me]"
  2598                                    codePage=" 1252"
  2599                                    dataType=" str"
  2600                                    length="50 "
  2601                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [PatientLa stName]"
  2602                                    name="Pati entLastNam e" />
  2603                                 <o utputColum n
  2604                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Ema ilAddress] "
  2605                                    codePage=" 1252"
  2606                                    dataType=" str"
  2607                                    length="50 "
  2608                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [EmailAddr ess]"
  2609                                    name="Emai lAddress"  />
  2610                                 <o utputColum n
  2611                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Dat eOfBirth]"
  2612                                    dataType=" dbDate"
  2613                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [DateOfBir th]"
  2614                                    name="Date OfBirth" / >
  2615                                 <o utputColum n
  2616                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Dat eOfDeath]"
  2617                                    dataType=" dbDate"
  2618                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [DateOfDea th]"
  2619                                    name="Date OfDeath" / >
  2620                                 <o utputColum n
  2621                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Pho neCellular ]"
  2622                                    codePage=" 1252"
  2623                                    dataType=" str"
  2624                                    length="50 "
  2625                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [PhoneCell ular]"
  2626                                    name="Phon eCellular"  />
  2627                                 <o utputColum n
  2628                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Cre atedBy]"
  2629                                    codePage=" 1252"
  2630                                    dataType=" str"
  2631                                    length="30 "
  2632                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [CreatedBy ]"
  2633                                    name="Crea tedBy" />
  2634                                 <o utputColum n
  2635                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Upd atedBy]"
  2636                                    codePage=" 1252"
  2637                                    dataType=" str"
  2638                                    length="30 "
  2639                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [UpdatedBy ]"
  2640                                    name="Upda tedBy" />
  2641                                 <o utputColum n
  2642                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Cre ated]"
  2643                                    dataType=" dbTimeStam p"
  2644                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [Created]"
  2645                                    name="Crea ted" />
  2646                                 <o utputColum n
  2647                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Upd atedate]"
  2648                                    dataType=" dbTimeStam p"
  2649                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [Updatedat e]"
  2650                                    name="Upda tedate" />
  2651                                 <o utputColum n
  2652                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[OEF _OIF_IND]"
  2653                                    dataType=" bool"
  2654                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [OEF_OIF_I ND]"
  2655                                    name="OEF_ OIF_IND" / >
  2656                                 <o utputColum n
  2657                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Pat ientICN]"
  2658                                    codePage=" 1252"
  2659                                    dataType=" str"
  2660                                    length="50 "
  2661                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [PatientIC N]"
  2662                                    name="Pati entICN" />
  2663                                 <o utputColum n
  2664                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Err orCode]"
  2665                                    dataType=" i4"
  2666                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [ErrorCode ]"
  2667                                    name="Erro rCode"
  2668                                    specialFla gs="1" />
  2669                                 <o utputColum n
  2670                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Inser t into sta ging patie nt table\O LE DB Sour ce.Outputs [OLE DB So urce Error  Output].C olumns[Err orColumn]"
  2671                                    dataType=" i4"
  2672                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t].Columns [ErrorColu mn]"
  2673                                    name="Erro rColumn"
  2674                                    specialFla gs="2" />
  2675                               </ou tputColumn s>
  2676                               <ext ernalMetad ataColumns  />
  2677                             </outp ut>
  2678                           </output s>
  2679                         </componen t>
  2680                      </ components >
  2681                      <p aths>
  2682                         <path
  2683                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Ins ert into s taging pat ient table .Paths[OLE  DB Source  Output]"
  2684                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Ins ert into s taging pat ient table \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t]"
  2685                           name="OL E DB Sourc e Output"
  2686                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput]" />
  2687                      </ paths>
  2688                    </pi peline>
  2689                  </DTS: ObjectData >
  2690                </DTS:Ex ecutable>
  2691                <DTS:Exe cutable
  2692                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Move Pa tients to  CRSe"
  2693                  DTS:Cr eationName ="SSIS.Pip eline.3"
  2694                  DTS:De layValidat ion="True"
  2695                  DTS:De scription= "Data Flow  Task"
  2696                  DTS:DT SID="{62E7 9092-A81F- 4A6B-BF1D- 75D9ABE136 91}"
  2697                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  2698                  DTS:Lo caleID="-1 "
  2699                  DTS:Ob jectName=" Move Patie nts to CRS e"
  2700                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  2701                  <DTS:V ariables / >
  2702                  <DTS:O bjectData>
  2703                    <pip eline
  2704                      ve rsion="1">
  2705                      <c omponents>
  2706                         <component
  2707                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e Patients  to CRSe\O LE DB Dest ination"
  2708                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  2709                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  2710                           descript ion="OLE D B Destinat ion"
  2711                           name="OL E DB Desti nation"
  2712                           usesDisp ositions=" true"
  2713                           version= "4">
  2714                           <propert ies>
  2715                             <prope rty
  2716                               data Type="Syst em.Int32"
  2717                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  2718                               name ="CommandT imeout">0< /property>
  2719                             <prope rty
  2720                               data Type="Syst em.String"
  2721                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  2722                               name ="OpenRows et">[CRS]. [PATIENT]< /property>
  2723                             <prope rty
  2724                               data Type="Syst em.String"
  2725                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  2726                               name ="OpenRows etVariable "></proper ty>
  2727                             <prope rty
  2728                               data Type="Syst em.String"
  2729                               desc ription="T he SQL com mand to be  executed. "
  2730                               name ="SqlComma nd"
  2731                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  2732                             <prope rty
  2733                               data Type="Syst em.Int32"
  2734                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  2735                               name ="DefaultC odePage">1 252</prope rty>
  2736                             <prope rty
  2737                               data Type="Syst em.Boolean "
  2738                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  2739                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  2740                             <prope rty
  2741                               data Type="Syst em.Int32"
  2742                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  2743                               name ="AccessMo de"
  2744                               type Converter= "AccessMod e">3</prop erty>
  2745                             <prope rty
  2746                               data Type="Syst em.Boolean "
  2747                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  2748                               name ="FastLoad KeepIdenti ty">false< /property>
  2749                             <prope rty
  2750                               data Type="Syst em.Boolean "
  2751                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  2752                               name ="FastLoad KeepNulls" >false</pr operty>
  2753                             <prope rty
  2754                               data Type="Syst em.String"
  2755                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  2756                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  2757                             <prope rty
  2758                               data Type="Syst em.Int32"
  2759                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  2760                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  2761                           </proper ties>
  2762                           <connect ions>
  2763                             <conne ction
  2764                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Destinatio n.Connecti ons[OleDbC onnection] "
  2765                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  2766                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  2767                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  2768                               name ="OleDbCon nection" / >
  2769                           </connec tions>
  2770                           <inputs>
  2771                             <input
  2772                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put]"
  2773                               erro rOrTruncat ionOperati on="Insert "
  2774                               erro rRowDispos ition="Fai lComponent "
  2775                               hasS ideEffects ="true"
  2776                               name ="OLE DB D estination  Input">
  2777                               <inp utColumns>
  2778                                 <i nputColumn
  2779                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[FIR ST_NAME]"
  2780                                    cachedCode page="1252 "
  2781                                    cachedData Type="str"
  2782                                    cachedLeng th="50"
  2783                                    cachedName ="FIRST_NA ME"
  2784                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[FIRST_ NAME]"
  2785                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[FIRST_N AME]" />
  2786                                 <i nputColumn
  2787                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[MID DLE_NAME]"
  2788                                    cachedCode page="1252 "
  2789                                    cachedData Type="str"
  2790                                    cachedLeng th="50"
  2791                                    cachedName ="MIDDLE_N AME"
  2792                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[MIDDLE _NAME]"
  2793                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[MIDDLE_ NAME]" />
  2794                                 <i nputColumn
  2795                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[LAS T_NAME]"
  2796                                    cachedCode page="1252 "
  2797                                    cachedData Type="str"
  2798                                    cachedLeng th="50"
  2799                                    cachedName ="LAST_NAM E"
  2800                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[LAST_N AME]"
  2801                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[LAST_NA ME]" />
  2802                                 <i nputColumn
  2803                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[EMA IL_ADDRESS ]"
  2804                                    cachedCode page="1252 "
  2805                                    cachedData Type="str"
  2806                                    cachedLeng th="128"
  2807                                    cachedName ="EMAIL_AD DRESS"
  2808                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[EMAIL_ ADDRESS]"
  2809                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[EMAIL_A DDRESS]" / >
  2810                                 <i nputColumn
  2811                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[BIR TH_DATE]"
  2812                                    cachedData Type="dbDa te"
  2813                                    cachedName ="BIRTH_DA TE"
  2814                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[BIRTH_ DATE]"
  2815                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[BIRTH_D ATE]" />
  2816                                 <i nputColumn
  2817                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[DEA TH_DATE]"
  2818                                    cachedData Type="dbDa te"
  2819                                    cachedName ="DEATH_DA TE"
  2820                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[DEATH_ DATE]"
  2821                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[DEATH_D ATE]" />
  2822                                 <i nputColumn
  2823                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CEL L_PHONE]"
  2824                                    cachedCode page="1252 "
  2825                                    cachedData Type="str"
  2826                                    cachedLeng th="50"
  2827                                    cachedName ="CELL_PHO NE"
  2828                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CELL_P HONE]"
  2829                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CELL_PH ONE]" />
  2830                                 <i nputColumn
  2831                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[PER FERRED_ADD RESS_TYPE] "
  2832                                    cachedCode page="1252 "
  2833                                    cachedData Type="str"
  2834                                    cachedLeng th="50"
  2835                                    cachedName ="PERFERRE D_ADDRESS_ TYPE"
  2836                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PERFER RED_ADDRES S_TYPE]"
  2837                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PERFERR ED_ADDRESS _TYPE]" />
  2838                                 <i nputColumn
  2839                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CRE ATEDBY]"
  2840                                    cachedCode page="1252 "
  2841                                    cachedData Type="str"
  2842                                    cachedLeng th="30"
  2843                                    cachedName ="CREATEDB Y"
  2844                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE DBY]"
  2845                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED BY]" />
  2846                                 <i nputColumn
  2847                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CRE ATED]"
  2848                                    cachedData Type="dbTi meStamp"
  2849                                    cachedName ="CREATED"
  2850                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE D]"
  2851                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED ]" />
  2852                                 <i nputColumn
  2853                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[UPD ATEDBY]"
  2854                                    cachedCode page="1252 "
  2855                                    cachedData Type="str"
  2856                                    cachedLeng th="30"
  2857                                    cachedName ="UPDATEDB Y"
  2858                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE DBY]"
  2859                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED BY]" />
  2860                                 <i nputColumn
  2861                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[UPD ATED]"
  2862                                    cachedData Type="dbTi meStamp"
  2863                                    cachedName ="UPDATED"
  2864                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE D]"
  2865                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED ]" />
  2866                                 <i nputColumn
  2867                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[OEF OIF_IND]"
  2868                                    cachedData Type="bool "
  2869                                    cachedName ="OEFOIF_I ND"
  2870                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[OEFOIF _IND]"
  2871                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[OEFOIF_ IND]" />
  2872                                 <i nputColumn
  2873                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Pat ientICN]"
  2874                                    cachedCode page="1252 "
  2875                                    cachedData Type="str"
  2876                                    cachedLeng th="50"
  2877                                    cachedName ="PatientI CN"
  2878                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[Patien tICN]"
  2879                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Patient ICN]" />
  2880                                 <i nputColumn
  2881                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[PAT IENTSID]"
  2882                                    cachedData Type="i4"
  2883                                    cachedName ="PATIENTS ID"
  2884                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PATIEN TSID]"
  2885                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PATIENT SID]" />
  2886                               </in putColumns >
  2887                               <ext ernalMetad ataColumns
  2888                                 is Used="True ">
  2889                                 <e xternalMet adataColum n
  2890                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PATIE NT_ID]"
  2891                                    dataType=" i4"
  2892                                    name="PATI ENT_ID" />
  2893                                 <e xternalMet adataColum n
  2894                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[FIRST _NAME]"
  2895                                    codePage=" 1252"
  2896                                    dataType=" str"
  2897                                    length="50 "
  2898                                    name="FIRS T_NAME" />
  2899                                 <e xternalMet adataColum n
  2900                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[MIDDL E_NAME]"
  2901                                    codePage=" 1252"
  2902                                    dataType=" str"
  2903                                    length="50 "
  2904                                    name="MIDD LE_NAME" / >
  2905                                 <e xternalMet adataColum n
  2906                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[LAST_ NAME]"
  2907                                    codePage=" 1252"
  2908                                    dataType=" str"
  2909                                    length="50 "
  2910                                    name="LAST _NAME" />
  2911                                 <e xternalMet adataColum n
  2912                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[EMAIL _ADDRESS]"
  2913                                    codePage=" 1252"
  2914                                    dataType=" str"
  2915                                    length="12 8"
  2916                                    name="EMAI L_ADDRESS"  />
  2917                                 <e xternalMet adataColum n
  2918                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[BIRTH _DATE]"
  2919                                    dataType=" dbDate"
  2920                                    name="BIRT H_DATE" />
  2921                                 <e xternalMet adataColum n
  2922                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[DEATH _DATE]"
  2923                                    dataType=" dbDate"
  2924                                    name="DEAT H_DATE" />
  2925                                 <e xternalMet adataColum n
  2926                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CELL_ PHONE]"
  2927                                    codePage=" 1252"
  2928                                    dataType=" str"
  2929                                    length="50 "
  2930                                    name="CELL _PHONE" />
  2931                                 <e xternalMet adataColum n
  2932                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PERFE RRED_ADDRE SS_TYPE]"
  2933                                    codePage=" 1252"
  2934                                    dataType=" str"
  2935                                    length="50 "
  2936                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  2937                                 <e xternalMet adataColum n
  2938                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDBY]"
  2939                                    codePage=" 1252"
  2940                                    dataType=" str"
  2941                                    length="30 "
  2942                                    name="CREA TEDBY" />
  2943                                 <e xternalMet adataColum n
  2944                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT ED]"
  2945                                    dataType=" dbTimeStam p"
  2946                                    name="CREA TED" />
  2947                                 <e xternalMet adataColum n
  2948                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDBY]"
  2949                                    codePage=" 1252"
  2950                                    dataType=" str"
  2951                                    length="30 "
  2952                                    name="UPDA TEDBY" />
  2953                                 <e xternalMet adataColum n
  2954                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT ED]"
  2955                                    dataType=" dbTimeStam p"
  2956                                    name="UPDA TED" />
  2957                                 <e xternalMet adataColum n
  2958                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[OEFOI F_IND]"
  2959                                    dataType=" bool"
  2960                                    name="OEFO IF_IND" />
  2961                                 <e xternalMet adataColum n
  2962                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[Patie ntICN]"
  2963                                    codePage=" 1252"
  2964                                    dataType=" str"
  2965                                    length="50 "
  2966                                    name="Pati entICN" />
  2967                                 <e xternalMet adataColum n
  2968                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PATIE NTSID]"
  2969                                    dataType=" i4"
  2970                                    name="PATI ENTSID" />
  2971                               </ex ternalMeta dataColumn s>
  2972                             </inpu t>
  2973                           </inputs >
  2974                           <outputs >
  2975                             <outpu t
  2976                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Destinatio n.Outputs[ OLE DB Des tination E rror Outpu t]"
  2977                               excl usionGroup ="1"
  2978                               isEr rorOut="tr ue"
  2979                               name ="OLE DB D estination  Error Out put"
  2980                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input]">
  2981                               <out putColumns >
  2982                                 <o utputColum n
  2983                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Code]"
  2984                                    dataType=" i4"
  2985                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorCode]"
  2986                                    name="Erro rCode"
  2987                                    specialFla gs="1" />
  2988                                 <o utputColum n
  2989                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Column]"
  2990                                    dataType=" i4"
  2991                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorColumn ]"
  2992                                    name="Erro rColumn"
  2993                                    specialFla gs="2" />
  2994                               </ou tputColumn s>
  2995                               <ext ernalMetad ataColumns  />
  2996                             </outp ut>
  2997                           </output s>
  2998                         </componen t>
  2999                         <component
  3000                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e Patients  to CRSe\O LE DB Sour ce"
  3001                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  3002                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  3003                           descript ion="OLE D B Source"
  3004                           name="OL E DB Sourc e"
  3005                           usesDisp ositions=" true"
  3006                           version= "7">
  3007                           <propert ies>
  3008                             <prope rty
  3009                               data Type="Syst em.Int32"
  3010                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  3011                               name ="CommandT imeout">0< /property>
  3012                             <prope rty
  3013                               data Type="Syst em.String"
  3014                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  3015                               name ="OpenRows et">[STAGI NG].[PATIE NT]</prope rty>
  3016                             <prope rty
  3017                               data Type="Syst em.String"
  3018                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  3019                               name ="OpenRows etVariable "></proper ty>
  3020                             <prope rty
  3021                               data Type="Syst em.String"
  3022                               desc ription="T he SQL com mand to be  executed. "
  3023                               name ="SqlComma nd"
  3024                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  3025                             <prope rty
  3026                               data Type="Syst em.String"
  3027                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  3028                               name ="SqlComma ndVariable "></proper ty>
  3029                             <prope rty
  3030                               data Type="Syst em.Int32"
  3031                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  3032                               name ="DefaultC odePage">1 252</prope rty>
  3033                             <prope rty
  3034                               data Type="Syst em.Boolean "
  3035                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  3036                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  3037                             <prope rty
  3038                               data Type="Syst em.Int32"
  3039                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  3040                               name ="AccessMo de"
  3041                               type Converter= "AccessMod e">0</prop erty>
  3042                             <prope rty
  3043                               data Type="Syst em.String"
  3044                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  3045                               name ="Paramete rMapping"> </property >
  3046                           </proper ties>
  3047                           <connect ions>
  3048                             <conne ction
  3049                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Source.Con nections[O leDbConnec tion]"
  3050                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  3051                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  3052                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  3053                               name ="OleDbCon nection" / >
  3054                           </connec tions>
  3055                           <outputs >
  3056                             <outpu t
  3057                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput]"
  3058                               name ="OLE DB S ource Outp ut">
  3059                               <out putColumns >
  3060                                 <o utputColum n
  3061                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P ATIENT_ID] "
  3062                                    dataType=" i4"
  3063                                    errorOrTru ncationOpe ration="Co nversion"
  3064                                    errorRowDi sposition= "FailCompo nent"
  3065                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[PATI ENT_ID]"
  3066                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PATIENT _ID]"
  3067                                    name="PATI ENT_ID"
  3068                                    truncation RowDisposi tion="Fail Component"  />
  3069                                 <o utputColum n
  3070                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[F IRST_NAME] "
  3071                                    codePage=" 1252"
  3072                                    dataType=" str"
  3073                                    errorOrTru ncationOpe ration="Co nversion"
  3074                                    errorRowDi sposition= "FailCompo nent"
  3075                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[FIRS T_NAME]"
  3076                                    length="50 "
  3077                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[FIRST_N AME]"
  3078                                    name="FIRS T_NAME"
  3079                                    truncation RowDisposi tion="Fail Component"  />
  3080                                 <o utputColum n
  3081                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[M IDDLE_NAME ]"
  3082                                    codePage=" 1252"
  3083                                    dataType=" str"
  3084                                    errorOrTru ncationOpe ration="Co nversion"
  3085                                    errorRowDi sposition= "FailCompo nent"
  3086                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[MIDD LE_NAME]"
  3087                                    length="50 "
  3088                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[MIDDLE_ NAME]"
  3089                                    name="MIDD LE_NAME"
  3090                                    truncation RowDisposi tion="Fail Component"  />
  3091                                 <o utputColum n
  3092                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[L AST_NAME]"
  3093                                    codePage=" 1252"
  3094                                    dataType=" str"
  3095                                    errorOrTru ncationOpe ration="Co nversion"
  3096                                    errorRowDi sposition= "FailCompo nent"
  3097                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[LAST _NAME]"
  3098                                    length="50 "
  3099                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[LAST_NA ME]"
  3100                                    name="LAST _NAME"
  3101                                    truncation RowDisposi tion="Fail Component"  />
  3102                                 <o utputColum n
  3103                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[E MAIL_ADDRE SS]"
  3104                                    codePage=" 1252"
  3105                                    dataType=" str"
  3106                                    errorOrTru ncationOpe ration="Co nversion"
  3107                                    errorRowDi sposition= "FailCompo nent"
  3108                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[EMAI L_ADDRESS] "
  3109                                    length="12 8"
  3110                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[EMAIL_A DDRESS]"
  3111                                    name="EMAI L_ADDRESS"
  3112                                    truncation RowDisposi tion="Fail Component"  />
  3113                                 <o utputColum n
  3114                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[B IRTH_DATE] "
  3115                                    dataType=" dbDate"
  3116                                    errorOrTru ncationOpe ration="Co nversion"
  3117                                    errorRowDi sposition= "FailCompo nent"
  3118                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[BIRT H_DATE]"
  3119                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[BIRTH_D ATE]"
  3120                                    name="BIRT H_DATE"
  3121                                    truncation RowDisposi tion="Fail Component"  />
  3122                                 <o utputColum n
  3123                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[D EATH_DATE] "
  3124                                    dataType=" dbDate"
  3125                                    errorOrTru ncationOpe ration="Co nversion"
  3126                                    errorRowDi sposition= "FailCompo nent"
  3127                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[DEAT H_DATE]"
  3128                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[DEATH_D ATE]"
  3129                                    name="DEAT H_DATE"
  3130                                    truncation RowDisposi tion="Fail Component"  />
  3131                                 <o utputColum n
  3132                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C ELL_PHONE] "
  3133                                    codePage=" 1252"
  3134                                    dataType=" str"
  3135                                    errorOrTru ncationOpe ration="Co nversion"
  3136                                    errorRowDi sposition= "FailCompo nent"
  3137                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CELL _PHONE]"
  3138                                    length="50 "
  3139                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CELL_PH ONE]"
  3140                                    name="CELL _PHONE"
  3141                                    truncation RowDisposi tion="Fail Component"  />
  3142                                 <o utputColum n
  3143                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P ERFERRED_A DDRESS_TYP E]"
  3144                                    codePage=" 1252"
  3145                                    dataType=" str"
  3146                                    errorOrTru ncationOpe ration="Co nversion"
  3147                                    errorRowDi sposition= "FailCompo nent"
  3148                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[PERF ERRED_ADDR ESS_TYPE]"
  3149                                    length="50 "
  3150                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PERFERR ED_ADDRESS _TYPE]"
  3151                                    name="PERF ERRED_ADDR ESS_TYPE"
  3152                                    truncation RowDisposi tion="Fail Component"  />
  3153                                 <o utputColum n
  3154                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C REATEDBY]"
  3155                                    codePage=" 1252"
  3156                                    dataType=" str"
  3157                                    errorOrTru ncationOpe ration="Co nversion"
  3158                                    errorRowDi sposition= "FailCompo nent"
  3159                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CREA TEDBY]"
  3160                                    length="30 "
  3161                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED BY]"
  3162                                    name="CREA TEDBY"
  3163                                    truncation RowDisposi tion="Fail Component"  />
  3164                                 <o utputColum n
  3165                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C REATED]"
  3166                                    dataType=" dbTimeStam p"
  3167                                    errorOrTru ncationOpe ration="Co nversion"
  3168                                    errorRowDi sposition= "FailCompo nent"
  3169                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CREA TED]"
  3170                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED ]"
  3171                                    name="CREA TED"
  3172                                    truncation RowDisposi tion="Fail Component"  />
  3173                                 <o utputColum n
  3174                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U PDATEDBY]"
  3175                                    codePage=" 1252"
  3176                                    dataType=" str"
  3177                                    errorOrTru ncationOpe ration="Co nversion"
  3178                                    errorRowDi sposition= "FailCompo nent"
  3179                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[UPDA TEDBY]"
  3180                                    length="30 "
  3181                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED BY]"
  3182                                    name="UPDA TEDBY"
  3183                                    truncation RowDisposi tion="Fail Component"  />
  3184                                 <o utputColum n
  3185                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U PDATED]"
  3186                                    dataType=" dbTimeStam p"
  3187                                    errorOrTru ncationOpe ration="Co nversion"
  3188                                    errorRowDi sposition= "FailCompo nent"
  3189                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[UPDA TED]"
  3190                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED ]"
  3191                                    name="UPDA TED"
  3192                                    truncation RowDisposi tion="Fail Component"  />
  3193                                 <o utputColum n
  3194                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[O EFOIF_IND] "
  3195                                    dataType=" bool"
  3196                                    errorOrTru ncationOpe ration="Co nversion"
  3197                                    errorRowDi sposition= "FailCompo nent"
  3198                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[OEFO IF_IND]"
  3199                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[OEFOIF_ IND]"
  3200                                    name="OEFO IF_IND"
  3201                                    truncation RowDisposi tion="Fail Component"  />
  3202                                 <o utputColum n
  3203                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P atientICN] "
  3204                                    codePage=" 1252"
  3205                                    dataType=" str"
  3206                                    errorOrTru ncationOpe ration="Co nversion"
  3207                                    errorRowDi sposition= "FailCompo nent"
  3208                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Pati entICN]"
  3209                                    length="50 "
  3210                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Patient ICN]"
  3211                                    name="Pati entICN"
  3212                                    truncation RowDisposi tion="Fail Component"  />
  3213                                 <o utputColum n
  3214                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P ATIENTSID] "
  3215                                    dataType=" i4"
  3216                                    errorOrTru ncationOpe ration="Co nversion"
  3217                                    errorRowDi sposition= "FailCompo nent"
  3218                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[PATI ENTSID]"
  3219                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PATIENT SID]"
  3220                                    name="PATI ENTSID"
  3221                                    truncation RowDisposi tion="Fail Component"  />
  3222                               </ou tputColumn s>
  3223                               <ext ernalMetad ataColumns
  3224                                 is Used="True ">
  3225                                 <e xternalMet adataColum n
  3226                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[PAT IENT_ID]"
  3227                                    dataType=" i4"
  3228                                    name="PATI ENT_ID" />
  3229                                 <e xternalMet adataColum n
  3230                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[FIR ST_NAME]"
  3231                                    codePage=" 1252"
  3232                                    dataType=" str"
  3233                                    length="50 "
  3234                                    name="FIRS T_NAME" />
  3235                                 <e xternalMet adataColum n
  3236                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[MID DLE_NAME]"
  3237                                    codePage=" 1252"
  3238                                    dataType=" str"
  3239                                    length="50 "
  3240                                    name="MIDD LE_NAME" / >
  3241                                 <e xternalMet adataColum n
  3242                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[LAS T_NAME]"
  3243                                    codePage=" 1252"
  3244                                    dataType=" str"
  3245                                    length="50 "
  3246                                    name="LAST _NAME" />
  3247                                 <e xternalMet adataColum n
  3248                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[EMA IL_ADDRESS ]"
  3249                                    codePage=" 1252"
  3250                                    dataType=" str"
  3251                                    length="12 8"
  3252                                    name="EMAI L_ADDRESS"  />
  3253                                 <e xternalMet adataColum n
  3254                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[BIR TH_DATE]"
  3255                                    dataType=" dbDate"
  3256                                    name="BIRT H_DATE" />
  3257                                 <e xternalMet adataColum n
  3258                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[DEA TH_DATE]"
  3259                                    dataType=" dbDate"
  3260                                    name="DEAT H_DATE" />
  3261                                 <e xternalMet adataColum n
  3262                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CEL L_PHONE]"
  3263                                    codePage=" 1252"
  3264                                    dataType=" str"
  3265                                    length="50 "
  3266                                    name="CELL _PHONE" />
  3267                                 <e xternalMet adataColum n
  3268                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[PER FERRED_ADD RESS_TYPE] "
  3269                                    codePage=" 1252"
  3270                                    dataType=" str"
  3271                                    length="50 "
  3272                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  3273                                 <e xternalMet adataColum n
  3274                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATEDBY]"
  3275                                    codePage=" 1252"
  3276                                    dataType=" str"
  3277                                    length="30 "
  3278                                    name="CREA TEDBY" />
  3279                                 <e xternalMet adataColum n
  3280                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATED]"
  3281                                    dataType=" dbTimeStam p"
  3282                                    name="CREA TED" />
  3283                                 <e xternalMet adataColum n
  3284                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATEDBY]"
  3285                                    codePage=" 1252"
  3286                                    dataType=" str"
  3287                                    length="30 "
  3288                                    name="UPDA TEDBY" />
  3289                                 <e xternalMet adataColum n
  3290                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATED]"
  3291                                    dataType=" dbTimeStam p"
  3292                                    name="UPDA TED" />
  3293                                 <e xternalMet adataColum n
  3294                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[OEF OIF_IND]"
  3295                                    dataType=" bool"
  3296                                    name="OEFO IF_IND" />
  3297                                 <e xternalMet adataColum n
  3298                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Pat ientICN]"
  3299                                    codePage=" 1252"
  3300                                    dataType=" str"
  3301                                    length="50 "
  3302                                    name="Pati entICN" />
  3303                                 <e xternalMet adataColum n
  3304                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[PAT IENTSID]"
  3305                                    dataType=" i4"
  3306                                    name="PATI ENTSID" />
  3307                               </ex ternalMeta dataColumn s>
  3308                             </outp ut>
  3309                             <outpu t
  3310                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move Pati ents to CR Se\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t]"
  3311                               isEr rorOut="tr ue"
  3312                               name ="OLE DB S ource Erro r Output">
  3313                               <out putColumns >
  3314                                 <o utputColum n
  3315                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[PATIE NT_ID]"
  3316                                    dataType=" i4"
  3317                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P ATIENT_ID] "
  3318                                    name="PATI ENT_ID" />
  3319                                 <o utputColum n
  3320                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[FIRST _NAME]"
  3321                                    codePage=" 1252"
  3322                                    dataType=" str"
  3323                                    length="50 "
  3324                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[F IRST_NAME] "
  3325                                    name="FIRS T_NAME" />
  3326                                 <o utputColum n
  3327                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[MIDDL E_NAME]"
  3328                                    codePage=" 1252"
  3329                                    dataType=" str"
  3330                                    length="50 "
  3331                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[M IDDLE_NAME ]"
  3332                                    name="MIDD LE_NAME" / >
  3333                                 <o utputColum n
  3334                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[LAST_ NAME]"
  3335                                    codePage=" 1252"
  3336                                    dataType=" str"
  3337                                    length="50 "
  3338                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[L AST_NAME]"
  3339                                    name="LAST _NAME" />
  3340                                 <o utputColum n
  3341                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[EMAIL _ADDRESS]"
  3342                                    codePage=" 1252"
  3343                                    dataType=" str"
  3344                                    length="12 8"
  3345                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E MAIL_ADDRE SS]"
  3346                                    name="EMAI L_ADDRESS"  />
  3347                                 <o utputColum n
  3348                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[BIRTH _DATE]"
  3349                                    dataType=" dbDate"
  3350                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[B IRTH_DATE] "
  3351                                    name="BIRT H_DATE" />
  3352                                 <o utputColum n
  3353                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[DEATH _DATE]"
  3354                                    dataType=" dbDate"
  3355                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[D EATH_DATE] "
  3356                                    name="DEAT H_DATE" />
  3357                                 <o utputColum n
  3358                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CELL_ PHONE]"
  3359                                    codePage=" 1252"
  3360                                    dataType=" str"
  3361                                    length="50 "
  3362                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C ELL_PHONE] "
  3363                                    name="CELL _PHONE" />
  3364                                 <o utputColum n
  3365                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[PERFE RRED_ADDRE SS_TYPE]"
  3366                                    codePage=" 1252"
  3367                                    dataType=" str"
  3368                                    length="50 "
  3369                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P ERFERRED_A DDRESS_TYP E]"
  3370                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  3371                                 <o utputColum n
  3372                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CREAT EDBY]"
  3373                                    codePage=" 1252"
  3374                                    dataType=" str"
  3375                                    length="30 "
  3376                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C REATEDBY]"
  3377                                    name="CREA TEDBY" />
  3378                                 <o utputColum n
  3379                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CREAT ED]"
  3380                                    dataType=" dbTimeStam p"
  3381                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C REATED]"
  3382                                    name="CREA TED" />
  3383                                 <o utputColum n
  3384                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[UPDAT EDBY]"
  3385                                    codePage=" 1252"
  3386                                    dataType=" str"
  3387                                    length="30 "
  3388                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U PDATEDBY]"
  3389                                    name="UPDA TEDBY" />
  3390                                 <o utputColum n
  3391                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[UPDAT ED]"
  3392                                    dataType=" dbTimeStam p"
  3393                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U PDATED]"
  3394                                    name="UPDA TED" />
  3395                                 <o utputColum n
  3396                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[OEFOI F_IND]"
  3397                                    dataType=" bool"
  3398                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[O EFOIF_IND] "
  3399                                    name="OEFO IF_IND" />
  3400                                 <o utputColum n
  3401                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Patie ntICN]"
  3402                                    codePage=" 1252"
  3403                                    dataType=" str"
  3404                                    length="50 "
  3405                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P atientICN] "
  3406                                    name="Pati entICN" />
  3407                                 <o utputColum n
  3408                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[PATIE NTSID]"
  3409                                    dataType=" i4"
  3410                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P ATIENTSID] "
  3411                                    name="PATI ENTSID" />
  3412                                 <o utputColum n
  3413                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Code]"
  3414                                    dataType=" i4"
  3415                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorCode]"
  3416                                    name="Erro rCode"
  3417                                    specialFla gs="1" />
  3418                                 <o utputColum n
  3419                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  Patients t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Column]"
  3420                                    dataType=" i4"
  3421                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorColumn ]"
  3422                                    name="Erro rColumn"
  3423                                    specialFla gs="2" />
  3424                               </ou tputColumn s>
  3425                               <ext ernalMetad ataColumns  />
  3426                             </outp ut>
  3427                           </output s>
  3428                         </componen t>
  3429                      </ components >
  3430                      <p aths>
  3431                         <path
  3432                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e Patients  to CRSe.P aths[OLE D B Source O utput]"
  3433                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e Patients  to CRSe\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] "
  3434                           name="OL E DB Sourc e Output"
  3435                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put]" />
  3436                      </ paths>
  3437                    </pi peline>
  3438                  </DTS: ObjectData >
  3439                </DTS:Ex ecutable>
  3440                <DTS:Exe cutable
  3441                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Move re ferral to  CRSe"
  3442                  DTS:Cr eationName ="SSIS.Pip eline.3"
  3443                  DTS:De layValidat ion="True"
  3444                  DTS:De scription= "Data Flow  Task"
  3445                  DTS:DT SID="{FA1F 9057-76E0- 4193-8772- F7E1281386 28}"
  3446                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  3447                  DTS:Lo caleID="-1 "
  3448                  DTS:Ob jectName=" Move refer ral to CRS e"
  3449                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  3450                  <DTS:V ariables / >
  3451                  <DTS:O bjectData>
  3452                    <pip eline
  3453                      ve rsion="1">
  3454                      <c omponents>
  3455                         <component
  3456                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e referral  to CRSe\O LE DB Dest ination"
  3457                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  3458                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  3459                           descript ion="OLE D B Destinat ion"
  3460                           name="OL E DB Desti nation"
  3461                           usesDisp ositions=" true"
  3462                           version= "4">
  3463                           <propert ies>
  3464                             <prope rty
  3465                               data Type="Syst em.Int32"
  3466                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  3467                               name ="CommandT imeout">0< /property>
  3468                             <prope rty
  3469                               data Type="Syst em.String"
  3470                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  3471                               name ="OpenRows et">[CRS]. [REFERRAL] </property >
  3472                             <prope rty
  3473                               data Type="Syst em.String"
  3474                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  3475                               name ="OpenRows etVariable "></proper ty>
  3476                             <prope rty
  3477                               data Type="Syst em.String"
  3478                               desc ription="T he SQL com mand to be  executed. "
  3479                               name ="SqlComma nd"
  3480                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  3481                             <prope rty
  3482                               data Type="Syst em.Int32"
  3483                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  3484                               name ="DefaultC odePage">1 252</prope rty>
  3485                             <prope rty
  3486                               data Type="Syst em.Boolean "
  3487                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  3488                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  3489                             <prope rty
  3490                               data Type="Syst em.Int32"
  3491                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  3492                               name ="AccessMo de"
  3493                               type Converter= "AccessMod e">3</prop erty>
  3494                             <prope rty
  3495                               data Type="Syst em.Boolean "
  3496                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  3497                               name ="FastLoad KeepIdenti ty">false< /property>
  3498                             <prope rty
  3499                               data Type="Syst em.Boolean "
  3500                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  3501                               name ="FastLoad KeepNulls" >false</pr operty>
  3502                             <prope rty
  3503                               data Type="Syst em.String"
  3504                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  3505                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  3506                             <prope rty
  3507                               data Type="Syst em.Int32"
  3508                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  3509                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  3510                           </proper ties>
  3511                           <connect ions>
  3512                             <conne ction
  3513                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Destinatio n.Connecti ons[OleDbC onnection] "
  3514                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  3515                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  3516                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  3517                               name ="OleDbCon nection" / >
  3518                           </connec tions>
  3519                           <inputs>
  3520                             <input
  3521                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put]"
  3522                               erro rOrTruncat ionOperati on="Insert "
  3523                               erro rRowDispos ition="Fai lComponent "
  3524                               hasS ideEffects ="true"
  3525                               name ="OLE DB D estination  Input">
  3526                               <inp utColumns>
  3527                                 <i nputColumn
  3528                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[STD _REFERRALS TS_ID]"
  3529                                    cachedData Type="i4"
  3530                                    cachedName ="STD_REFE RRALSTS_ID "
  3531                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE FERRALSTS_ ID]"
  3532                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REF ERRALSTS_I D]" />
  3533                                 <i nputColumn
  3534                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[STD _REGISTRY_ ID]"
  3535                                    cachedData Type="i4"
  3536                                    cachedName ="STD_REGI STRY_ID"
  3537                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE GISTRY_ID] "
  3538                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REG ISTRY_ID]"  />
  3539                                 <i nputColumn
  3540                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[PAT IENT_ID]"
  3541                                    cachedData Type="i4"
  3542                                    cachedName ="PATIENT_ ID"
  3543                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PATIEN T_ID]"
  3544                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PATIENT _ID]" />
  3545                                 <i nputColumn
  3546                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[REF ERRAL_DATE ]"
  3547                                    cachedData Type="dbTi meStamp"
  3548                                    cachedName ="REFERRAL _DATE"
  3549                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REFERR AL_DATE]"
  3550                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REFERRA L_DATE]" / >
  3551                                 <i nputColumn
  3552                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[REF ERRAL_CLAS S_TEXT]"
  3553                                    cachedCode page="1252 "
  3554                                    cachedData Type="str"
  3555                                    cachedLeng th="4000"
  3556                                    cachedName ="REFERRAL _CLASS_TEX T"
  3557                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REFERR AL_CLASS_T EXT]"
  3558                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REFERRA L_CLASS_TE XT]" />
  3559                                 <i nputColumn
  3560                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[PRO VIDER_ID]"
  3561                                    cachedData Type="i4"
  3562                                    cachedName ="PROVIDER _ID"
  3563                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PROVID ER_ID]"
  3564                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PROVIDE R_ID]" />
  3565                                 <i nputColumn
  3566                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CRE ATEDBY]"
  3567                                    cachedCode page="1252 "
  3568                                    cachedData Type="str"
  3569                                    cachedLeng th="30"
  3570                                    cachedName ="CREATEDB Y"
  3571                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE DBY]"
  3572                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED BY]" />
  3573                                 <i nputColumn
  3574                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CRE ATED]"
  3575                                    cachedData Type="dbTi meStamp"
  3576                                    cachedName ="CREATED"
  3577                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE D]"
  3578                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED ]" />
  3579                                 <i nputColumn
  3580                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[UPD ATEDBY]"
  3581                                    cachedCode page="1252 "
  3582                                    cachedData Type="str"
  3583                                    cachedLeng th="30"
  3584                                    cachedName ="UPDATEDB Y"
  3585                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE DBY]"
  3586                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED BY]" />
  3587                                 <i nputColumn
  3588                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[UPD ATED]"
  3589                                    cachedData Type="dbTi meStamp"
  3590                                    cachedName ="UPDATED"
  3591                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE D]"
  3592                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED ]" />
  3593                                 <i nputColumn
  3594                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[COM MENT_TEXT] "
  3595                                    cachedCode page="1252 "
  3596                                    cachedData Type="str"
  3597                                    cachedLeng th="4000"
  3598                                    cachedName ="COMMENT_ TEXT"
  3599                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[COMMEN T_TEXT]"
  3600                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[COMMENT _TEXT]" />
  3601                                 <i nputColumn
  3602                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[STD _REMINDERC LASS_ID]"
  3603                                    cachedData Type="i4"
  3604                                    cachedName ="STD_REMI NDERCLASS_ ID"
  3605                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE MINDERCLAS S_ID]"
  3606                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REM INDERCLASS _ID]" />
  3607                                 <i nputColumn
  3608                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[REV IEW_BY]"
  3609                                    cachedCode page="1252 "
  3610                                    cachedData Type="str"
  3611                                    cachedLeng th="30"
  3612                                    cachedName ="REVIEW_B Y"
  3613                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REVIEW _BY]"
  3614                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REVIEW_ BY]" />
  3615                                 <i nputColumn
  3616                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[REV IEW_DATE]"
  3617                                    cachedData Type="dbTi meStamp"
  3618                                    cachedName ="REVIEW_D ATE"
  3619                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REVIEW _DATE]"
  3620                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REVIEW_ DATE]" />
  3621                                 <i nputColumn
  3622                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[DUP LICATE_FLA G]"
  3623                                    cachedData Type="bool "
  3624                                    cachedName ="DUPLICAT E_FLAG"
  3625                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[DUPLIC ATE_FLAG]"
  3626                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[DUPLICA TE_FLAG]"  />
  3627                                 <i nputColumn
  3628                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[CRE ATEDSOURCE ]"
  3629                                    cachedCode page="1252 "
  3630                                    cachedData Type="str"
  3631                                    cachedLeng th="30"
  3632                                    cachedName ="CREATEDS OURCE"
  3633                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE DSOURCE]"
  3634                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED SOURCE]" / >
  3635                                 <i nputColumn
  3636                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[UPD ATEDSOURCE ]"
  3637                                    cachedCode page="1252 "
  3638                                    cachedData Type="str"
  3639                                    cachedLeng th="30"
  3640                                    cachedName ="UPDATEDS OURCE"
  3641                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE DSOURCE]"
  3642                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED SOURCE]" / >
  3643                               </in putColumns >
  3644                               <ext ernalMetad ataColumns
  3645                                 is Used="True ">
  3646                                 <e xternalMet adataColum n
  3647                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REFER RAL_ID]"
  3648                                    dataType=" i4"
  3649                                    name="REFE RRAL_ID" / >
  3650                                 <e xternalMet adataColum n
  3651                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EFERRALSTS _ID]"
  3652                                    dataType=" i4"
  3653                                    name="STD_ REFERRALST S_ID" />
  3654                                 <e xternalMet adataColum n
  3655                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EGISTRY_ID ]"
  3656                                    dataType=" i4"
  3657                                    name="STD_ REGISTRY_I D" />
  3658                                 <e xternalMet adataColum n
  3659                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PATIE NT_ID]"
  3660                                    dataType=" i4"
  3661                                    name="PATI ENT_ID" />
  3662                                 <e xternalMet adataColum n
  3663                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REFER RAL_DATE]"
  3664                                    dataType=" dbTimeStam p"
  3665                                    name="REFE RRAL_DATE"  />
  3666                                 <e xternalMet adataColum n
  3667                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REFER RAL_CLASS_ TEXT]"
  3668                                    codePage=" 1252"
  3669                                    dataType=" str"
  3670                                    length="40 00"
  3671                                    name="REFE RRAL_CLASS _TEXT" />
  3672                                 <e xternalMet adataColum n
  3673                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PROVI DER_ID]"
  3674                                    dataType=" i4"
  3675                                    name="PROV IDER_ID" / >
  3676                                 <e xternalMet adataColum n
  3677                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDBY]"
  3678                                    codePage=" 1252"
  3679                                    dataType=" str"
  3680                                    length="30 "
  3681                                    name="CREA TEDBY" />
  3682                                 <e xternalMet adataColum n
  3683                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT ED]"
  3684                                    dataType=" dbTimeStam p"
  3685                                    name="CREA TED" />
  3686                                 <e xternalMet adataColum n
  3687                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDBY]"
  3688                                    codePage=" 1252"
  3689                                    dataType=" str"
  3690                                    length="30 "
  3691                                    name="UPDA TEDBY" />
  3692                                 <e xternalMet adataColum n
  3693                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT ED]"
  3694                                    dataType=" dbTimeStam p"
  3695                                    name="UPDA TED" />
  3696                                 <e xternalMet adataColum n
  3697                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[COMME NT_TEXT]"
  3698                                    codePage=" 1252"
  3699                                    dataType=" str"
  3700                                    length="40 00"
  3701                                    name="COMM ENT_TEXT"  />
  3702                                 <e xternalMet adataColum n
  3703                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EMINDERCLA SS_ID]"
  3704                                    dataType=" i4"
  3705                                    name="STD_ REMINDERCL ASS_ID" />
  3706                                 <e xternalMet adataColum n
  3707                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REVIE W_BY]"
  3708                                    codePage=" 1252"
  3709                                    dataType=" str"
  3710                                    length="30 "
  3711                                    name="REVI EW_BY" />
  3712                                 <e xternalMet adataColum n
  3713                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REVIE W_DATE]"
  3714                                    dataType=" dbTimeStam p"
  3715                                    name="REVI EW_DATE" / >
  3716                                 <e xternalMet adataColum n
  3717                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[DUPLI CATE_FLAG] "
  3718                                    dataType=" bool"
  3719                                    name="DUPL ICATE_FLAG " />
  3720                                 <e xternalMet adataColum n
  3721                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDSOURCE]"
  3722                                    codePage=" 1252"
  3723                                    dataType=" str"
  3724                                    length="30 "
  3725                                    name="CREA TEDSOURCE"  />
  3726                                 <e xternalMet adataColum n
  3727                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDSOURCE]"
  3728                                    codePage=" 1252"
  3729                                    dataType=" str"
  3730                                    length="30 "
  3731                                    name="UPDA TEDSOURCE"  />
  3732                                 <e xternalMet adataColum n
  3733                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_I NSTITUTION _ID]"
  3734                                    dataType=" i4"
  3735                                    name="STD_ INSTITUTIO N_ID" />
  3736                               </ex ternalMeta dataColumn s>
  3737                             </inpu t>
  3738                           </inputs >
  3739                           <outputs >
  3740                             <outpu t
  3741                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Destinatio n.Outputs[ OLE DB Des tination E rror Outpu t]"
  3742                               excl usionGroup ="1"
  3743                               isEr rorOut="tr ue"
  3744                               name ="OLE DB D estination  Error Out put"
  3745                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input]">
  3746                               <out putColumns >
  3747                                 <o utputColum n
  3748                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Code]"
  3749                                    dataType=" i4"
  3750                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorCode]"
  3751                                    name="Erro rCode"
  3752                                    specialFla gs="1" />
  3753                                 <o utputColum n
  3754                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Column]"
  3755                                    dataType=" i4"
  3756                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorColumn ]"
  3757                                    name="Erro rColumn"
  3758                                    specialFla gs="2" />
  3759                               </ou tputColumn s>
  3760                               <ext ernalMetad ataColumns  />
  3761                             </outp ut>
  3762                           </output s>
  3763                         </componen t>
  3764                         <component
  3765                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e referral  to CRSe\O LE DB Sour ce"
  3766                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  3767                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  3768                           descript ion="OLE D B Source"
  3769                           name="OL E DB Sourc e"
  3770                           usesDisp ositions=" true"
  3771                           version= "7">
  3772                           <propert ies>
  3773                             <prope rty
  3774                               data Type="Syst em.Int32"
  3775                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  3776                               name ="CommandT imeout">0< /property>
  3777                             <prope rty
  3778                               data Type="Syst em.String"
  3779                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  3780                               name ="OpenRows et">[STAGI NG].[REFER RAL]</prop erty>
  3781                             <prope rty
  3782                               data Type="Syst em.String"
  3783                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  3784                               name ="OpenRows etVariable "></proper ty>
  3785                             <prope rty
  3786                               data Type="Syst em.String"
  3787                               desc ription="T he SQL com mand to be  executed. "
  3788                               name ="SqlComma nd"
  3789                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  3790                             <prope rty
  3791                               data Type="Syst em.String"
  3792                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  3793                               name ="SqlComma ndVariable "></proper ty>
  3794                             <prope rty
  3795                               data Type="Syst em.Int32"
  3796                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  3797                               name ="DefaultC odePage">1 252</prope rty>
  3798                             <prope rty
  3799                               data Type="Syst em.Boolean "
  3800                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  3801                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  3802                             <prope rty
  3803                               data Type="Syst em.Int32"
  3804                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  3805                               name ="AccessMo de"
  3806                               type Converter= "AccessMod e">0</prop erty>
  3807                             <prope rty
  3808                               data Type="Syst em.String"
  3809                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  3810                               name ="Paramete rMapping"> </property >
  3811                           </proper ties>
  3812                           <connect ions>
  3813                             <conne ction
  3814                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Source.Con nections[O leDbConnec tion]"
  3815                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  3816                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  3817                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  3818                               name ="OleDbCon nection" / >
  3819                           </connec tions>
  3820                           <outputs >
  3821                             <outpu t
  3822                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput]"
  3823                               name ="OLE DB S ource Outp ut">
  3824                               <out putColumns >
  3825                                 <o utputColum n
  3826                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S TD_REFERRA LSTS_ID]"
  3827                                    dataType=" i4"
  3828                                    errorOrTru ncationOpe ration="Co nversion"
  3829                                    errorRowDi sposition= "FailCompo nent"
  3830                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[STD_ REFERRALST S_ID]"
  3831                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REF ERRALSTS_I D]"
  3832                                    name="STD_ REFERRALST S_ID"
  3833                                    truncation RowDisposi tion="Fail Component"  />
  3834                                 <o utputColum n
  3835                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S TD_REGISTR Y_ID]"
  3836                                    dataType=" i4"
  3837                                    errorOrTru ncationOpe ration="Co nversion"
  3838                                    errorRowDi sposition= "FailCompo nent"
  3839                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[STD_ REGISTRY_I D]"
  3840                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REG ISTRY_ID]"
  3841                                    name="STD_ REGISTRY_I D"
  3842                                    truncation RowDisposi tion="Fail Component"  />
  3843                                 <o utputColum n
  3844                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P ATIENT_ID] "
  3845                                    dataType=" i4"
  3846                                    errorOrTru ncationOpe ration="Co nversion"
  3847                                    errorRowDi sposition= "FailCompo nent"
  3848                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[PATI ENT_ID]"
  3849                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PATIENT _ID]"
  3850                                    name="PATI ENT_ID"
  3851                                    truncation RowDisposi tion="Fail Component"  />
  3852                                 <o utputColum n
  3853                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R EFERRAL_DA TE]"
  3854                                    dataType=" dbTimeStam p"
  3855                                    errorOrTru ncationOpe ration="Co nversion"
  3856                                    errorRowDi sposition= "FailCompo nent"
  3857                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[REFE RRAL_DATE] "
  3858                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REFERRA L_DATE]"
  3859                                    name="REFE RRAL_DATE"
  3860                                    truncation RowDisposi tion="Fail Component"  />
  3861                                 <o utputColum n
  3862                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R EFERRAL_CL ASS_TEXT]"
  3863                                    codePage=" 1252"
  3864                                    dataType=" str"
  3865                                    errorOrTru ncationOpe ration="Co nversion"
  3866                                    errorRowDi sposition= "FailCompo nent"
  3867                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[REFE RRAL_CLASS _TEXT]"
  3868                                    length="40 00"
  3869                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REFERRA L_CLASS_TE XT]"
  3870                                    name="REFE RRAL_CLASS _TEXT"
  3871                                    truncation RowDisposi tion="Fail Component"  />
  3872                                 <o utputColum n
  3873                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P ROVIDER_ID ]"
  3874                                    dataType=" i4"
  3875                                    errorOrTru ncationOpe ration="Co nversion"
  3876                                    errorRowDi sposition= "FailCompo nent"
  3877                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[PROV IDER_ID]"
  3878                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[PROVIDE R_ID]"
  3879                                    name="PROV IDER_ID"
  3880                                    truncation RowDisposi tion="Fail Component"  />
  3881                                 <o utputColum n
  3882                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C REATEDBY]"
  3883                                    codePage=" 1252"
  3884                                    dataType=" str"
  3885                                    errorOrTru ncationOpe ration="Co nversion"
  3886                                    errorRowDi sposition= "FailCompo nent"
  3887                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CREA TEDBY]"
  3888                                    length="30 "
  3889                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED BY]"
  3890                                    name="CREA TEDBY"
  3891                                    truncation RowDisposi tion="Fail Component"  />
  3892                                 <o utputColum n
  3893                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C REATED]"
  3894                                    dataType=" dbTimeStam p"
  3895                                    errorOrTru ncationOpe ration="Co nversion"
  3896                                    errorRowDi sposition= "FailCompo nent"
  3897                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CREA TED]"
  3898                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED ]"
  3899                                    name="CREA TED"
  3900                                    truncation RowDisposi tion="Fail Component"  />
  3901                                 <o utputColum n
  3902                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U PDATEDBY]"
  3903                                    codePage=" 1252"
  3904                                    dataType=" str"
  3905                                    errorOrTru ncationOpe ration="Co nversion"
  3906                                    errorRowDi sposition= "FailCompo nent"
  3907                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[UPDA TEDBY]"
  3908                                    length="30 "
  3909                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED BY]"
  3910                                    name="UPDA TEDBY"
  3911                                    truncation RowDisposi tion="Fail Component"  />
  3912                                 <o utputColum n
  3913                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U PDATED]"
  3914                                    dataType=" dbTimeStam p"
  3915                                    errorOrTru ncationOpe ration="Co nversion"
  3916                                    errorRowDi sposition= "FailCompo nent"
  3917                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[UPDA TED]"
  3918                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED ]"
  3919                                    name="UPDA TED"
  3920                                    truncation RowDisposi tion="Fail Component"  />
  3921                                 <o utputColum n
  3922                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C OMMENT_TEX T]"
  3923                                    codePage=" 1252"
  3924                                    dataType=" str"
  3925                                    errorOrTru ncationOpe ration="Co nversion"
  3926                                    errorRowDi sposition= "FailCompo nent"
  3927                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[COMM ENT_TEXT]"
  3928                                    length="40 00"
  3929                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[COMMENT _TEXT]"
  3930                                    name="COMM ENT_TEXT"
  3931                                    truncation RowDisposi tion="Fail Component"  />
  3932                                 <o utputColum n
  3933                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S TD_REMINDE RCLASS_ID] "
  3934                                    dataType=" i4"
  3935                                    errorOrTru ncationOpe ration="Co nversion"
  3936                                    errorRowDi sposition= "FailCompo nent"
  3937                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[STD_ REMINDERCL ASS_ID]"
  3938                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REM INDERCLASS _ID]"
  3939                                    name="STD_ REMINDERCL ASS_ID"
  3940                                    truncation RowDisposi tion="Fail Component"  />
  3941                                 <o utputColum n
  3942                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R EVIEW_BY]"
  3943                                    codePage=" 1252"
  3944                                    dataType=" str"
  3945                                    errorOrTru ncationOpe ration="Co nversion"
  3946                                    errorRowDi sposition= "FailCompo nent"
  3947                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[REVI EW_BY]"
  3948                                    length="30 "
  3949                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REVIEW_ BY]"
  3950                                    name="REVI EW_BY"
  3951                                    truncation RowDisposi tion="Fail Component"  />
  3952                                 <o utputColum n
  3953                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R EVIEW_DATE ]"
  3954                                    dataType=" dbTimeStam p"
  3955                                    errorOrTru ncationOpe ration="Co nversion"
  3956                                    errorRowDi sposition= "FailCompo nent"
  3957                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[REVI EW_DATE]"
  3958                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[REVIEW_ DATE]"
  3959                                    name="REVI EW_DATE"
  3960                                    truncation RowDisposi tion="Fail Component"  />
  3961                                 <o utputColum n
  3962                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[D UPLICATE_F LAG]"
  3963                                    dataType=" bool"
  3964                                    errorOrTru ncationOpe ration="Co nversion"
  3965                                    errorRowDi sposition= "FailCompo nent"
  3966                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[DUPL ICATE_FLAG ]"
  3967                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[DUPLICA TE_FLAG]"
  3968                                    name="DUPL ICATE_FLAG "
  3969                                    truncation RowDisposi tion="Fail Component"  />
  3970                                 <o utputColum n
  3971                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C REATEDSOUR CE]"
  3972                                    codePage=" 1252"
  3973                                    dataType=" str"
  3974                                    errorOrTru ncationOpe ration="Co nversion"
  3975                                    errorRowDi sposition= "FailCompo nent"
  3976                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[CREA TEDSOURCE] "
  3977                                    length="30 "
  3978                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[CREATED SOURCE]"
  3979                                    name="CREA TEDSOURCE"
  3980                                    truncation RowDisposi tion="Fail Component"  />
  3981                                 <o utputColum n
  3982                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U PDATEDSOUR CE]"
  3983                                    codePage=" 1252"
  3984                                    dataType=" str"
  3985                                    errorOrTru ncationOpe ration="Co nversion"
  3986                                    errorRowDi sposition= "FailCompo nent"
  3987                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[UPDA TEDSOURCE] "
  3988                                    length="30 "
  3989                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[UPDATED SOURCE]"
  3990                                    name="UPDA TEDSOURCE"
  3991                                    truncation RowDisposi tion="Fail Component"  />
  3992                               </ou tputColumn s>
  3993                               <ext ernalMetad ataColumns
  3994                                 is Used="True ">
  3995                                 <e xternalMet adataColum n
  3996                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _REFERRALS TS_ID]"
  3997                                    dataType=" i4"
  3998                                    name="STD_ REFERRALST S_ID" />
  3999                                 <e xternalMet adataColum n
  4000                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _REGISTRY_ ID]"
  4001                                    dataType=" i4"
  4002                                    name="STD_ REGISTRY_I D" />
  4003                                 <e xternalMet adataColum n
  4004                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[PAT IENT_ID]"
  4005                                    dataType=" i4"
  4006                                    name="PATI ENT_ID" />
  4007                                 <e xternalMet adataColum n
  4008                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[REF ERRAL_DATE ]"
  4009                                    dataType=" dbTimeStam p"
  4010                                    name="REFE RRAL_DATE"  />
  4011                                 <e xternalMet adataColum n
  4012                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[REF ERRAL_CLAS S_TEXT]"
  4013                                    codePage=" 1252"
  4014                                    dataType=" str"
  4015                                    length="40 00"
  4016                                    name="REFE RRAL_CLASS _TEXT" />
  4017                                 <e xternalMet adataColum n
  4018                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[PRO VIDER_ID]"
  4019                                    dataType=" i4"
  4020                                    name="PROV IDER_ID" / >
  4021                                 <e xternalMet adataColum n
  4022                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATEDBY]"
  4023                                    codePage=" 1252"
  4024                                    dataType=" str"
  4025                                    length="30 "
  4026                                    name="CREA TEDBY" />
  4027                                 <e xternalMet adataColum n
  4028                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATED]"
  4029                                    dataType=" dbTimeStam p"
  4030                                    name="CREA TED" />
  4031                                 <e xternalMet adataColum n
  4032                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATEDBY]"
  4033                                    codePage=" 1252"
  4034                                    dataType=" str"
  4035                                    length="30 "
  4036                                    name="UPDA TEDBY" />
  4037                                 <e xternalMet adataColum n
  4038                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATED]"
  4039                                    dataType=" dbTimeStam p"
  4040                                    name="UPDA TED" />
  4041                                 <e xternalMet adataColum n
  4042                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[COM MENT_TEXT] "
  4043                                    codePage=" 1252"
  4044                                    dataType=" str"
  4045                                    length="40 00"
  4046                                    name="COMM ENT_TEXT"  />
  4047                                 <e xternalMet adataColum n
  4048                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _REMINDERC LASS_ID]"
  4049                                    dataType=" i4"
  4050                                    name="STD_ REMINDERCL ASS_ID" />
  4051                                 <e xternalMet adataColum n
  4052                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[REV IEW_BY]"
  4053                                    codePage=" 1252"
  4054                                    dataType=" str"
  4055                                    length="30 "
  4056                                    name="REVI EW_BY" />
  4057                                 <e xternalMet adataColum n
  4058                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[REV IEW_DATE]"
  4059                                    dataType=" dbTimeStam p"
  4060                                    name="REVI EW_DATE" / >
  4061                                 <e xternalMet adataColum n
  4062                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[DUP LICATE_FLA G]"
  4063                                    dataType=" bool"
  4064                                    name="DUPL ICATE_FLAG " />
  4065                                 <e xternalMet adataColum n
  4066                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[CRE ATEDSOURCE ]"
  4067                                    codePage=" 1252"
  4068                                    dataType=" str"
  4069                                    length="30 "
  4070                                    name="CREA TEDSOURCE"  />
  4071                                 <e xternalMet adataColum n
  4072                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[UPD ATEDSOURCE ]"
  4073                                    codePage=" 1252"
  4074                                    dataType=" str"
  4075                                    length="30 "
  4076                                    name="UPDA TEDSOURCE"  />
  4077                               </ex ternalMeta dataColumn s>
  4078                             </outp ut>
  4079                             <outpu t
  4080                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move refe rral to CR Se\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t]"
  4081                               isEr rorOut="tr ue"
  4082                               name ="OLE DB S ource Erro r Output">
  4083                               <out putColumns >
  4084                                 <o utputColum n
  4085                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[STD_R EFERRALSTS _ID]"
  4086                                    dataType=" i4"
  4087                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S TD_REFERRA LSTS_ID]"
  4088                                    name="STD_ REFERRALST S_ID" />
  4089                                 <o utputColum n
  4090                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[STD_R EGISTRY_ID ]"
  4091                                    dataType=" i4"
  4092                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S TD_REGISTR Y_ID]"
  4093                                    name="STD_ REGISTRY_I D" />
  4094                                 <o utputColum n
  4095                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[PATIE NT_ID]"
  4096                                    dataType=" i4"
  4097                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P ATIENT_ID] "
  4098                                    name="PATI ENT_ID" />
  4099                                 <o utputColum n
  4100                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[REFER RAL_DATE]"
  4101                                    dataType=" dbTimeStam p"
  4102                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R EFERRAL_DA TE]"
  4103                                    name="REFE RRAL_DATE"  />
  4104                                 <o utputColum n
  4105                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[REFER RAL_CLASS_ TEXT]"
  4106                                    codePage=" 1252"
  4107                                    dataType=" str"
  4108                                    length="40 00"
  4109                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R EFERRAL_CL ASS_TEXT]"
  4110                                    name="REFE RRAL_CLASS _TEXT" />
  4111                                 <o utputColum n
  4112                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[PROVI DER_ID]"
  4113                                    dataType=" i4"
  4114                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P ROVIDER_ID ]"
  4115                                    name="PROV IDER_ID" / >
  4116                                 <o utputColum n
  4117                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CREAT EDBY]"
  4118                                    codePage=" 1252"
  4119                                    dataType=" str"
  4120                                    length="30 "
  4121                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C REATEDBY]"
  4122                                    name="CREA TEDBY" />
  4123                                 <o utputColum n
  4124                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CREAT ED]"
  4125                                    dataType=" dbTimeStam p"
  4126                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C REATED]"
  4127                                    name="CREA TED" />
  4128                                 <o utputColum n
  4129                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[UPDAT EDBY]"
  4130                                    codePage=" 1252"
  4131                                    dataType=" str"
  4132                                    length="30 "
  4133                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U PDATEDBY]"
  4134                                    name="UPDA TEDBY" />
  4135                                 <o utputColum n
  4136                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[UPDAT ED]"
  4137                                    dataType=" dbTimeStam p"
  4138                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U PDATED]"
  4139                                    name="UPDA TED" />
  4140                                 <o utputColum n
  4141                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[COMME NT_TEXT]"
  4142                                    codePage=" 1252"
  4143                                    dataType=" str"
  4144                                    length="40 00"
  4145                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C OMMENT_TEX T]"
  4146                                    name="COMM ENT_TEXT"  />
  4147                                 <o utputColum n
  4148                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[STD_R EMINDERCLA SS_ID]"
  4149                                    dataType=" i4"
  4150                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S TD_REMINDE RCLASS_ID] "
  4151                                    name="STD_ REMINDERCL ASS_ID" />
  4152                                 <o utputColum n
  4153                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[REVIE W_BY]"
  4154                                    codePage=" 1252"
  4155                                    dataType=" str"
  4156                                    length="30 "
  4157                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R EVIEW_BY]"
  4158                                    name="REVI EW_BY" />
  4159                                 <o utputColum n
  4160                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[REVIE W_DATE]"
  4161                                    dataType=" dbTimeStam p"
  4162                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R EVIEW_DATE ]"
  4163                                    name="REVI EW_DATE" / >
  4164                                 <o utputColum n
  4165                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[DUPLI CATE_FLAG] "
  4166                                    dataType=" bool"
  4167                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[D UPLICATE_F LAG]"
  4168                                    name="DUPL ICATE_FLAG " />
  4169                                 <o utputColum n
  4170                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[CREAT EDSOURCE]"
  4171                                    codePage=" 1252"
  4172                                    dataType=" str"
  4173                                    length="30 "
  4174                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C REATEDSOUR CE]"
  4175                                    name="CREA TEDSOURCE"  />
  4176                                 <o utputColum n
  4177                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[UPDAT EDSOURCE]"
  4178                                    codePage=" 1252"
  4179                                    dataType=" str"
  4180                                    length="30 "
  4181                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U PDATEDSOUR CE]"
  4182                                    name="UPDA TEDSOURCE"  />
  4183                                 <o utputColum n
  4184                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Code]"
  4185                                    dataType=" i4"
  4186                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorCode]"
  4187                                    name="Erro rCode"
  4188                                    specialFla gs="1" />
  4189                                 <o utputColum n
  4190                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  referral t o CRSe\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Column]"
  4191                                    dataType=" i4"
  4192                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorColumn ]"
  4193                                    name="Erro rColumn"
  4194                                    specialFla gs="2" />
  4195                               </ou tputColumn s>
  4196                               <ext ernalMetad ataColumns  />
  4197                             </outp ut>
  4198                           </output s>
  4199                         </componen t>
  4200                      </ components >
  4201                      <p aths>
  4202                         <path
  4203                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e referral  to CRSe.P aths[OLE D B Source O utput]"
  4204                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e referral  to CRSe\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] "
  4205                           name="OL E DB Sourc e Output"
  4206                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put]" />
  4207                      </ paths>
  4208                    </pi peline>
  4209                  </DTS: ObjectData >
  4210                </DTS:Ex ecutable>
  4211                <DTS:Exe cutable
  4212                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Move ST D_REFERRAL STS to CRS e"
  4213                  DTS:Cr eationName ="SSIS.Pip eline.3"
  4214                  DTS:De layValidat ion="True"
  4215                  DTS:De scription= "Data Flow  Task"
  4216                  DTS:DT SID="{C311 5FD9-314C- 4742-A18B- C3718AFBF3 7F}"
  4217                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  4218                  DTS:Lo caleID="-1 "
  4219                  DTS:Ob jectName=" Move STD_R EFERRALSTS  to CRSe"
  4220                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  4221                  <DTS:V ariables / >
  4222                  <DTS:O bjectData>
  4223                    <pip eline
  4224                      ve rsion="1">
  4225                      <c omponents>
  4226                         <component
  4227                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e STD_REFE RRALSTS to  CRSe\OLE  DB Destina tion"
  4228                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  4229                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  4230                           descript ion="OLE D B Destinat ion"
  4231                           name="OL E DB Desti nation"
  4232                           usesDisp ositions=" true"
  4233                           version= "4">
  4234                           <propert ies>
  4235                             <prope rty
  4236                               data Type="Syst em.Int32"
  4237                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  4238                               name ="CommandT imeout">0< /property>
  4239                             <prope rty
  4240                               data Type="Syst em.String"
  4241                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  4242                               name ="OpenRows et">[CRS]. [STD_REFER RALSTS]</p roperty>
  4243                             <prope rty
  4244                               data Type="Syst em.String"
  4245                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  4246                               name ="OpenRows etVariable "></proper ty>
  4247                             <prope rty
  4248                               data Type="Syst em.String"
  4249                               desc ription="T he SQL com mand to be  executed. "
  4250                               name ="SqlComma nd"
  4251                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  4252                             <prope rty
  4253                               data Type="Syst em.Int32"
  4254                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  4255                               name ="DefaultC odePage">1 252</prope rty>
  4256                             <prope rty
  4257                               data Type="Syst em.Boolean "
  4258                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  4259                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  4260                             <prope rty
  4261                               data Type="Syst em.Int32"
  4262                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  4263                               name ="AccessMo de"
  4264                               type Converter= "AccessMod e">3</prop erty>
  4265                             <prope rty
  4266                               data Type="Syst em.Boolean "
  4267                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  4268                               name ="FastLoad KeepIdenti ty">false< /property>
  4269                             <prope rty
  4270                               data Type="Syst em.Boolean "
  4271                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  4272                               name ="FastLoad KeepNulls" >false</pr operty>
  4273                             <prope rty
  4274                               data Type="Syst em.String"
  4275                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  4276                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  4277                             <prope rty
  4278                               data Type="Syst em.Int32"
  4279                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  4280                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  4281                           </proper ties>
  4282                           <connect ions>
  4283                             <conne ction
  4284                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Des tination.C onnections [OleDbConn ection]"
  4285                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  4286                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  4287                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  4288                               name ="OleDbCon nection" / >
  4289                           </connec tions>
  4290                           <inputs>
  4291                             <input
  4292                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Des tination.I nputs[OLE  DB Destina tion Input ]"
  4293                               erro rOrTruncat ionOperati on="Insert "
  4294                               erro rRowDispos ition="Fai lComponent "
  4295                               hasS ideEffects ="true"
  4296                               name ="OLE DB D estination  Input">
  4297                               <inp utColumns>
  4298                                 <i nputColumn
  4299                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[CODE]"
  4300                                    cachedCode page="1252 "
  4301                                    cachedData Type="str"
  4302                                    cachedLeng th="50"
  4303                                    cachedName ="CODE"
  4304                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CODE]"
  4305                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CODE]" />
  4306                                 <i nputColumn
  4307                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[NAME]"
  4308                                    cachedCode page="1252 "
  4309                                    cachedData Type="str"
  4310                                    cachedLeng th="100"
  4311                                    cachedName ="NAME"
  4312                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [NAME]"
  4313                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ NAME]" />
  4314                                 <i nputColumn
  4315                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[DESCRI PTION_TEXT ]"
  4316                                    cachedCode page="1252 "
  4317                                    cachedData Type="str"
  4318                                    cachedLeng th="500"
  4319                                    cachedName ="DESCRIPT ION_TEXT"
  4320                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [DESCRIPTI ON_TEXT]"
  4321                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DESCRIPTIO N_TEXT]" / >
  4322                                 <i nputColumn
  4323                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[SORT_O RDER]"
  4324                                    cachedData Type="i4"
  4325                                    cachedName ="SORT_ORD ER"
  4326                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [SORT_ORDE R]"
  4327                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ SORT_ORDER ]" />
  4328                                 <i nputColumn
  4329                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[INACTI VE_FLAG]"
  4330                                    cachedData Type="bool "
  4331                                    cachedName ="INACTIVE _FLAG"
  4332                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [INACTIVE_ FLAG]"
  4333                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ INACTIVE_F LAG]" />
  4334                                 <i nputColumn
  4335                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[INACTI VE_DATE]"
  4336                                    cachedData Type="dbTi meStamp"
  4337                                    cachedName ="INACTIVE _DATE"
  4338                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [INACTIVE_ DATE]"
  4339                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ INACTIVE_D ATE]" />
  4340                                 <i nputColumn
  4341                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[CREATE DBY]"
  4342                                    cachedCode page="1252 "
  4343                                    cachedData Type="str"
  4344                                    cachedLeng th="30"
  4345                                    cachedName ="CREATEDB Y"
  4346                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CREATEDBY ]"
  4347                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATEDBY] " />
  4348                                 <i nputColumn
  4349                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[UPDATE DBY]"
  4350                                    cachedCode page="1252 "
  4351                                    cachedData Type="str"
  4352                                    cachedLeng th="30"
  4353                                    cachedName ="UPDATEDB Y"
  4354                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [UPDATEDBY ]"
  4355                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATEDBY] " />
  4356                                 <i nputColumn
  4357                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[CREATE D]"
  4358                                    cachedData Type="dbTi meStamp"
  4359                                    cachedName ="CREATED"
  4360                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CREATED]"
  4361                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATED]"  />
  4362                                 <i nputColumn
  4363                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[UPDATE D]"
  4364                                    cachedData Type="dbTi meStamp"
  4365                                    cachedName ="UPDATED"
  4366                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [UPDATED]"
  4367                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATED]"  />
  4368                                 <i nputColumn
  4369                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[STD_RE GISTRY_ID] "
  4370                                    cachedData Type="i4"
  4371                                    cachedName ="STD_REGI STRY_ID"
  4372                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [STD_REGIS TRY_ID]"
  4373                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ STD_REGIST RY_ID]" />
  4374                               </in putColumns >
  4375                               <ext ernalMetad ataColumns
  4376                                 is Used="True ">
  4377                                 <e xternalMet adataColum n
  4378                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[ID]"
  4379                                    dataType=" i4"
  4380                                    name="ID"  />
  4381                                 <e xternalMet adataColum n
  4382                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CODE]"
  4383                                    codePage=" 1252"
  4384                                    dataType=" str"
  4385                                    length="50 "
  4386                                    name="CODE " />
  4387                                 <e xternalMet adataColum n
  4388                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[NAME]"
  4389                                    codePage=" 1252"
  4390                                    dataType=" str"
  4391                                    length="10 0"
  4392                                    name="NAME " />
  4393                                 <e xternalMet adataColum n
  4394                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[DESCRIPT ION_TEXT]"
  4395                                    codePage=" 1252"
  4396                                    dataType=" str"
  4397                                    length="50 0"
  4398                                    name="DESC RIPTION_TE XT" />
  4399                                 <e xternalMet adataColum n
  4400                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[SORT_ORD ER]"
  4401                                    dataType=" i4"
  4402                                    name="SORT _ORDER" />
  4403                                 <e xternalMet adataColum n
  4404                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[INACTIVE _FLAG]"
  4405                                    dataType=" bool"
  4406                                    name="INAC TIVE_FLAG"  />
  4407                                 <e xternalMet adataColum n
  4408                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[INACTIVE _DATE]"
  4409                                    dataType=" dbTimeStam p"
  4410                                    name="INAC TIVE_DATE"  />
  4411                                 <e xternalMet adataColum n
  4412                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CREATEDB Y]"
  4413                                    codePage=" 1252"
  4414                                    dataType=" str"
  4415                                    length="30 "
  4416                                    name="CREA TEDBY" />
  4417                                 <e xternalMet adataColum n
  4418                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[UPDATEDB Y]"
  4419                                    codePage=" 1252"
  4420                                    dataType=" str"
  4421                                    length="30 "
  4422                                    name="UPDA TEDBY" />
  4423                                 <e xternalMet adataColum n
  4424                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CREATED] "
  4425                                    dataType=" dbTimeStam p"
  4426                                    name="CREA TED" />
  4427                                 <e xternalMet adataColum n
  4428                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[UPDATED] "
  4429                                    dataType=" dbTimeStam p"
  4430                                    name="UPDA TED" />
  4431                                 <e xternalMet adataColum n
  4432                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[STD_REGI STRY_ID]"
  4433                                    dataType=" i4"
  4434                                    name="STD_ REGISTRY_I D" />
  4435                               </ex ternalMeta dataColumn s>
  4436                             </inpu t>
  4437                           </inputs >
  4438                           <outputs >
  4439                             <outpu t
  4440                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Des tination.O utputs[OLE  DB Destin ation Erro r Output]"
  4441                               excl usionGroup ="1"
  4442                               isEr rorOut="tr ue"
  4443                               name ="OLE DB D estination  Error Out put"
  4444                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put]">
  4445                               <out putColumns >
  4446                                 <o utputColum n
  4447                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Outputs [OLE DB De stination  Error Outp ut].Column s[ErrorCod e]"
  4448                                    dataType=" i4"
  4449                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rCode]"
  4450                                    name="Erro rCode"
  4451                                    specialFla gs="1" />
  4452                                 <o utputColum n
  4453                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Destinati on.Outputs [OLE DB De stination  Error Outp ut].Column s[ErrorCol umn]"
  4454                                    dataType=" i4"
  4455                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rColumn]"
  4456                                    name="Erro rColumn"
  4457                                    specialFla gs="2" />
  4458                               </ou tputColumn s>
  4459                               <ext ernalMetad ataColumns  />
  4460                             </outp ut>
  4461                           </output s>
  4462                         </componen t>
  4463                         <component
  4464                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e STD_REFE RRALSTS to  CRSe\OLE  DB Source"
  4465                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  4466                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  4467                           descript ion="OLE D B Source"
  4468                           name="OL E DB Sourc e"
  4469                           usesDisp ositions=" true"
  4470                           version= "7">
  4471                           <propert ies>
  4472                             <prope rty
  4473                               data Type="Syst em.Int32"
  4474                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  4475                               name ="CommandT imeout">0< /property>
  4476                             <prope rty
  4477                               data Type="Syst em.String"
  4478                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  4479                               name ="OpenRows et">[STAGI NG].[STD_R EFERRALSTS ]</propert y>
  4480                             <prope rty
  4481                               data Type="Syst em.String"
  4482                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  4483                               name ="OpenRows etVariable "></proper ty>
  4484                             <prope rty
  4485                               data Type="Syst em.String"
  4486                               desc ription="T he SQL com mand to be  executed. "
  4487                               name ="SqlComma nd"
  4488                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  4489                             <prope rty
  4490                               data Type="Syst em.String"
  4491                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  4492                               name ="SqlComma ndVariable "></proper ty>
  4493                             <prope rty
  4494                               data Type="Syst em.Int32"
  4495                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  4496                               name ="DefaultC odePage">1 252</prope rty>
  4497                             <prope rty
  4498                               data Type="Syst em.Boolean "
  4499                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  4500                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  4501                             <prope rty
  4502                               data Type="Syst em.Int32"
  4503                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  4504                               name ="AccessMo de"
  4505                               type Converter= "AccessMod e">0</prop erty>
  4506                             <prope rty
  4507                               data Type="Syst em.String"
  4508                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  4509                               name ="Paramete rMapping"> </property >
  4510                           </proper ties>
  4511                           <connect ions>
  4512                             <conne ction
  4513                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Sou rce.Connec tions[OleD bConnectio n]"
  4514                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  4515                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  4516                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  4517                               name ="OleDbCon nection" / >
  4518                           </connec tions>
  4519                           <outputs >
  4520                             <outpu t
  4521                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Sou rce.Output s[OLE DB S ource Outp ut]"
  4522                               name ="OLE DB S ource Outp ut">
  4523                               <out putColumns >
  4524                                 <o utputColum n
  4525                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[CODE ]"
  4526                                    codePage=" 1252"
  4527                                    dataType=" str"
  4528                                    errorOrTru ncationOpe ration="Co nversion"
  4529                                    errorRowDi sposition= "FailCompo nent"
  4530                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[CODE]"
  4531                                    length="50 "
  4532                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CODE]"
  4533                                    name="CODE "
  4534                                    truncation RowDisposi tion="Fail Component"  />
  4535                                 <o utputColum n
  4536                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[NAME ]"
  4537                                    codePage=" 1252"
  4538                                    dataType=" str"
  4539                                    errorOrTru ncationOpe ration="Co nversion"
  4540                                    errorRowDi sposition= "FailCompo nent"
  4541                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[NAME]"
  4542                                    length="10 0"
  4543                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ NAME]"
  4544                                    name="NAME "
  4545                                    truncation RowDisposi tion="Fail Component"  />
  4546                                 <o utputColum n
  4547                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[DESC RIPTION_TE XT]"
  4548                                    codePage=" 1252"
  4549                                    dataType=" str"
  4550                                    errorOrTru ncationOpe ration="Co nversion"
  4551                                    errorRowDi sposition= "FailCompo nent"
  4552                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[DESCRIP TION_TEXT] "
  4553                                    length="50 0"
  4554                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DESCRIPTIO N_TEXT]"
  4555                                    name="DESC RIPTION_TE XT"
  4556                                    truncation RowDisposi tion="Fail Component"  />
  4557                                 <o utputColum n
  4558                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[SORT _ORDER]"
  4559                                    dataType=" i4"
  4560                                    errorOrTru ncationOpe ration="Co nversion"
  4561                                    errorRowDi sposition= "FailCompo nent"
  4562                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[SORT_OR DER]"
  4563                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ SORT_ORDER ]"
  4564                                    name="SORT _ORDER"
  4565                                    truncation RowDisposi tion="Fail Component"  />
  4566                                 <o utputColum n
  4567                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[INAC TIVE_FLAG] "
  4568                                    dataType=" bool"
  4569                                    errorOrTru ncationOpe ration="Co nversion"
  4570                                    errorRowDi sposition= "FailCompo nent"
  4571                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[INACTIV E_FLAG]"
  4572                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ INACTIVE_F LAG]"
  4573                                    name="INAC TIVE_FLAG"
  4574                                    truncation RowDisposi tion="Fail Component"  />
  4575                                 <o utputColum n
  4576                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[INAC TIVE_DATE] "
  4577                                    dataType=" dbTimeStam p"
  4578                                    errorOrTru ncationOpe ration="Co nversion"
  4579                                    errorRowDi sposition= "FailCompo nent"
  4580                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[INACTIV E_DATE]"
  4581                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ INACTIVE_D ATE]"
  4582                                    name="INAC TIVE_DATE"
  4583                                    truncation RowDisposi tion="Fail Component"  />
  4584                                 <o utputColum n
  4585                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[CREA TEDBY]"
  4586                                    codePage=" 1252"
  4587                                    dataType=" str"
  4588                                    errorOrTru ncationOpe ration="Co nversion"
  4589                                    errorRowDi sposition= "FailCompo nent"
  4590                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[CREATED BY]"
  4591                                    length="30 "
  4592                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATEDBY] "
  4593                                    name="CREA TEDBY"
  4594                                    truncation RowDisposi tion="Fail Component"  />
  4595                                 <o utputColum n
  4596                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[UPDA TEDBY]"
  4597                                    codePage=" 1252"
  4598                                    dataType=" str"
  4599                                    errorOrTru ncationOpe ration="Co nversion"
  4600                                    errorRowDi sposition= "FailCompo nent"
  4601                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[UPDATED BY]"
  4602                                    length="30 "
  4603                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATEDBY] "
  4604                                    name="UPDA TEDBY"
  4605                                    truncation RowDisposi tion="Fail Component"  />
  4606                                 <o utputColum n
  4607                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[CREA TED]"
  4608                                    dataType=" dbTimeStam p"
  4609                                    errorOrTru ncationOpe ration="Co nversion"
  4610                                    errorRowDi sposition= "FailCompo nent"
  4611                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[CREATED ]"
  4612                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CREATED]"
  4613                                    name="CREA TED"
  4614                                    truncation RowDisposi tion="Fail Component"  />
  4615                                 <o utputColum n
  4616                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[UPDA TED]"
  4617                                    dataType=" dbTimeStam p"
  4618                                    errorOrTru ncationOpe ration="Co nversion"
  4619                                    errorRowDi sposition= "FailCompo nent"
  4620                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[UPDATED ]"
  4621                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UPDATED]"
  4622                                    name="UPDA TED"
  4623                                    truncation RowDisposi tion="Fail Component"  />
  4624                                 <o utputColum n
  4625                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[STD_ REGISTRY_I D]"
  4626                                    dataType=" i4"
  4627                                    errorOrTru ncationOpe ration="Co nversion"
  4628                                    errorRowDi sposition= "FailCompo nent"
  4629                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Cre ate a new  Referralst  ID\Move S TD_REFERRA LSTS to CR Se\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[STD_REG ISTRY_ID]"
  4630                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ STD_REGIST RY_ID]"
  4631                                    name="STD_ REGISTRY_I D"
  4632                                    truncation RowDisposi tion="Fail Component"  />
  4633                               </ou tputColumn s>
  4634                               <ext ernalMetad ataColumns
  4635                                 is Used="True ">
  4636                                 <e xternalMet adataColum n
  4637                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[CODE]"
  4638                                    codePage=" 1252"
  4639                                    dataType=" str"
  4640                                    length="50 "
  4641                                    name="CODE " />
  4642                                 <e xternalMet adataColum n
  4643                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[NAME]"
  4644                                    codePage=" 1252"
  4645                                    dataType=" str"
  4646                                    length="10 0"
  4647                                    name="NAME " />
  4648                                 <e xternalMet adataColum n
  4649                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[DESCRI PTION_TEXT ]"
  4650                                    codePage=" 1252"
  4651                                    dataType=" str"
  4652                                    length="50 0"
  4653                                    name="DESC RIPTION_TE XT" />
  4654                                 <e xternalMet adataColum n
  4655                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[SORT_O RDER]"
  4656                                    dataType=" i4"
  4657                                    name="SORT _ORDER" />
  4658                                 <e xternalMet adataColum n
  4659                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[INACTI VE_FLAG]"
  4660                                    dataType=" bool"
  4661                                    name="INAC TIVE_FLAG"  />
  4662                                 <e xternalMet adataColum n
  4663                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[INACTI VE_DATE]"
  4664                                    dataType=" dbTimeStam p"
  4665                                    name="INAC TIVE_DATE"  />
  4666                                 <e xternalMet adataColum n
  4667                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[CREATE DBY]"
  4668                                    codePage=" 1252"
  4669                                    dataType=" str"
  4670                                    length="30 "
  4671                                    name="CREA TEDBY" />
  4672                                 <e xternalMet adataColum n
  4673                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[UPDATE DBY]"
  4674                                    codePage=" 1252"
  4675                                    dataType=" str"
  4676                                    length="30 "
  4677                                    name="UPDA TEDBY" />
  4678                                 <e xternalMet adataColum n
  4679                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[CREATE D]"
  4680                                    dataType=" dbTimeStam p"
  4681                                    name="CREA TED" />
  4682                                 <e xternalMet adataColum n
  4683                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[UPDATE D]"
  4684                                    dataType=" dbTimeStam p"
  4685                                    name="UPDA TED" />
  4686                                 <e xternalMet adataColum n
  4687                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[STD_RE GISTRY_ID] "
  4688                                    dataType=" i4"
  4689                                    name="STD_ REGISTRY_I D" />
  4690                               </ex ternalMeta dataColumn s>
  4691                             </outp ut>
  4692                             <outpu t
  4693                               refI d="Package \Foreach L oop Contai ner\Create  a new Ref erralst ID \Move STD_ REFERRALST S to CRSe\ OLE DB Sou rce.Output s[OLE DB S ource Erro r Output]"
  4694                               isEr rorOut="tr ue"
  4695                               name ="OLE DB S ource Erro r Output">
  4696                               <out putColumns >
  4697                                 <o utputColum n
  4698                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[CODE]"
  4699                                    codePage=" 1252"
  4700                                    dataType=" str"
  4701                                    length="50 "
  4702                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CODE ]"
  4703                                    name="CODE " />
  4704                                 <o utputColum n
  4705                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[NAME]"
  4706                                    codePage=" 1252"
  4707                                    dataType=" str"
  4708                                    length="10 0"
  4709                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[NAME ]"
  4710                                    name="NAME " />
  4711                                 <o utputColum n
  4712                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[DESCRIPT ION_TEXT]"
  4713                                    codePage=" 1252"
  4714                                    dataType=" str"
  4715                                    length="50 0"
  4716                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[DESC RIPTION_TE XT]"
  4717                                    name="DESC RIPTION_TE XT" />
  4718                                 <o utputColum n
  4719                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[SORT_ORD ER]"
  4720                                    dataType=" i4"
  4721                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[SORT _ORDER]"
  4722                                    name="SORT _ORDER" />
  4723                                 <o utputColum n
  4724                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[INACTIVE _FLAG]"
  4725                                    dataType=" bool"
  4726                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[INAC TIVE_FLAG] "
  4727                                    name="INAC TIVE_FLAG"  />
  4728                                 <o utputColum n
  4729                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[INACTIVE _DATE]"
  4730                                    dataType=" dbTimeStam p"
  4731                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[INAC TIVE_DATE] "
  4732                                    name="INAC TIVE_DATE"  />
  4733                                 <o utputColum n
  4734                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[CREATEDB Y]"
  4735                                    codePage=" 1252"
  4736                                    dataType=" str"
  4737                                    length="30 "
  4738                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CREA TEDBY]"
  4739                                    name="CREA TEDBY" />
  4740                                 <o utputColum n
  4741                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[UPDATEDB Y]"
  4742                                    codePage=" 1252"
  4743                                    dataType=" str"
  4744                                    length="30 "
  4745                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[UPDA TEDBY]"
  4746                                    name="UPDA TEDBY" />
  4747                                 <o utputColum n
  4748                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[CREATED] "
  4749                                    dataType=" dbTimeStam p"
  4750                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[CREA TED]"
  4751                                    name="CREA TED" />
  4752                                 <o utputColum n
  4753                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[UPDATED] "
  4754                                    dataType=" dbTimeStam p"
  4755                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[UPDA TED]"
  4756                                    name="UPDA TED" />
  4757                                 <o utputColum n
  4758                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[STD_REGI STRY_ID]"
  4759                                    dataType=" i4"
  4760                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[STD_ REGISTRY_I D]"
  4761                                    name="STD_ REGISTRY_I D" />
  4762                                 <o utputColum n
  4763                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[ErrorCod e]"
  4764                                    dataType=" i4"
  4765                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rCode]"
  4766                                    name="Erro rCode"
  4767                                    specialFla gs="1" />
  4768                                 <o utputColum n
  4769                                    refId="Pac kage\Forea ch Loop Co ntainer\Cr eate a new  Referrals t ID\Move  STD_REFERR ALSTS to C RSe\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[ErrorCol umn]"
  4770                                    dataType=" i4"
  4771                                    lineageId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rColumn]"
  4772                                    name="Erro rColumn"
  4773                                    specialFla gs="2" />
  4774                               </ou tputColumn s>
  4775                               <ext ernalMetad ataColumns  />
  4776                             </outp ut>
  4777                           </output s>
  4778                         </componen t>
  4779                      </ components >
  4780                      <p aths>
  4781                         <path
  4782                           refId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e STD_REFE RRALSTS to  CRSe.Path s[OLE DB S ource Outp ut]"
  4783                           endId="P ackage\For each Loop  Container\ Create a n ew Referra lst ID\Mov e STD_REFE RRALSTS to  CRSe\OLE  DB Destina tion.Input s[OLE DB D estination  Input]"
  4784                           name="OL E DB Sourc e Output"
  4785                           startId= "Package\F oreach Loo p Containe r\Create a  new Refer ralst ID\M ove STD_RE FERRALSTS  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]" />
  4786                      </ paths>
  4787                    </pi peline>
  4788                  </DTS: ObjectData >
  4789                </DTS:Ex ecutable>
  4790                <DTS:Exe cutable
  4791                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Populat e TmpPATIE NTSID tabl e"
  4792                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  4793                  DTS:De scription= "Execute S QL Task"
  4794                  DTS:DT SID="{93D0 2457-B267- 4465-AB4B- C85EB92A7F 1D}"
  4795                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  4796                  DTS:Lo caleID="-1 "
  4797                  DTS:Ob jectName=" Populate T mpPATIENTS ID table"
  4798                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  4799                  DTS:Th readHint=" 1">
  4800                  <DTS:V ariables / >
  4801                  <DTS:O bjectData>
  4802                    <SQL Task:SqlTa skData
  4803                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  4804                      SQ LTask:SqlS tatementSo urce="&#xA ;INSERT Tm pPATIENTSI D&#xA; (PA TIENTICN,& #xA;  PATI ENTSID)&#x A;  --STDR EGISTRYID) &#xA;SELEC T PATIENTI CN, MAX(Pa tientSID)  PATIENTSID --,STDREGI STRYID&#xA ;FROM CRS. SPATIENT & #xA;WHERE  STDREGISTR YID = ? AN D&#xA;       PATIENTI CN IS NOT  NULL&#xA;G ROUP BY PA TIENTICN&# xA;ORDER B Y PATIENTS ID&#xA;&#x A;&#xA;DEL ETE from [ TmpPATIENT SID]&#xA;W HERE PATIE NTICN IN ( SELECT DIS TINCT PATI ENTICN FRO M CRS.pati ent)&#xA;G O" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  4805                      <S QLTask:Par ameterBind ing
  4806                         SQLTask:Pa rameterNam e="0"
  4807                         SQLTask:Dt sVariableN ame="User: :STDRegist ryID"
  4808                         SQLTask:Pa rameterDir ection="In put"
  4809                         SQLTask:Da taType="3"
  4810                         SQLTask:Pa rameterSiz e="-1" />
  4811                    </SQ LTask:SqlT askData>
  4812                  </DTS: ObjectData >
  4813                </DTS:Ex ecutable>
  4814                <DTS:Exe cutable
  4815                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Truncat e tabe Tmp PATIENTSID "
  4816                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  4817                  DTS:De scription= "Execute S QL Task"
  4818                  DTS:DT SID="{3584 2160-1C86- 4465-B6C3- 17D15B01B0 20}"
  4819                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  4820                  DTS:Lo caleID="-1 "
  4821                  DTS:Ob jectName=" Truncate t abe TmpPAT IENTSID"
  4822                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  4823                  DTS:Th readHint=" 1">
  4824                  <DTS:V ariables / >
  4825                  <DTS:O bjectData>
  4826                    <SQL Task:SqlTa skData
  4827                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  4828                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[dbo]. [TmpPATIEN TSID]') AN D type in  (N'U'))&#x A;TRUNCATE  TABLE [db o].[TmpPAT IENTSID]&# xA;GO" xml ns:SQLTask ="www.micr osoft.com/ sqlserver/ dts/tasks/ sqltask" / >
  4829                  </DTS: ObjectData >
  4830                </DTS:Ex ecutable>
  4831                <DTS:Exe cutable
  4832                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\Truncat e table ST AGING PATI ENT"
  4833                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  4834                  DTS:De scription= "Execute S QL Task"
  4835                  DTS:DT SID="{A257 CDCA-986B- 4CD9-8555- DAD25217FD 25}"
  4836                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  4837                  DTS:Lo caleID="-1 "
  4838                  DTS:Ob jectName=" Truncate t able STAGI NG PATIENT "
  4839                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  4840                  DTS:Th readHint=" 1">
  4841                  <DTS:V ariables / >
  4842                  <DTS:O bjectData>
  4843                    <SQL Task:SqlTa skData
  4844                      SQ LTask:Conn ection="{F 8EF5CE6-B4 B0-4369-AB BA-E985CFC 33711}"
  4845                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[STAGI NG].[PATIE NT]') AND  type in (N 'U'))&#xA; TRUNCATE T ABLE [STAG ING].[PATI ENT]&#xA;G O" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask" />
  4846                  </DTS: ObjectData >
  4847                </DTS:Ex ecutable>
  4848                <DTS:Exe cutable
  4849                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\truncat e table ST AGING REFE RRAL"
  4850                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  4851                  DTS:De scription= "Execute S QL Task"
  4852                  DTS:DT SID="{863F B0F0-A1A5- 460E-88FC- CE6499CD6E E6}"
  4853                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  4854                  DTS:Lo caleID="-1 "
  4855                  DTS:Ob jectName=" truncate t able STAGI NG REFERRA L"
  4856                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  4857                  DTS:Th readHint=" 1">
  4858                  <DTS:V ariables / >
  4859                  <DTS:O bjectData>
  4860                    <SQL Task:SqlTa skData
  4861                      SQ LTask:Conn ection="{F 8EF5CE6-B4 B0-4369-AB BA-E985CFC 33711}"
  4862                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[STAGI NG].[REFER RAL]') AND  type in ( N'U'))&#xA ;TRUNCATE  TABLE [STA GING].[REF ERRAL]&#xA ;GO" xmlns :SQLTask=" www.micros oft.com/sq lserver/dt s/tasks/sq ltask" />
  4863                  </DTS: ObjectData >
  4864                </DTS:Ex ecutable>
  4865                <DTS:Exe cutable
  4866                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID\truncat e table ST AGING STD_ REFERRALST S"
  4867                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  4868                  DTS:De scription= "Execute S QL Task"
  4869                  DTS:DT SID="{23AF A736-2475- 4FBF-8532- 2CCA3BB300 92}"
  4870                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  4871                  DTS:Lo caleID="-1 "
  4872                  DTS:Ob jectName=" truncate t able STAGI NG STD_REF ERRALSTS"
  4873                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  4874                  DTS:Th readHint=" 1">
  4875                  <DTS:V ariables / >
  4876                  <DTS:O bjectData>
  4877                    <SQL Task:SqlTa skData
  4878                      SQ LTask:Conn ection="{F 8EF5CE6-B4 B0-4369-AB BA-E985CFC 33711}"
  4879                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[STAGI NG].[STD_R EFERRALSTS ]') AND ty pe in (N'U '))&#xA;TR UNCATE TAB LE [STAGIN G].[STD_RE FERRALSTS] &#xA;GO" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask"  />
  4880                  </DTS: ObjectData >
  4881                </DTS:Ex ecutable>
  4882              </DTS:Exec utables>
  4883              <DTS:Prece denceConst raints>
  4884                <DTS:Pre cedenceCon straint
  4885                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint]"
  4886                  DTS:Cr eationName =""
  4887                  DTS:DT SID="{ACDD 7661-45B9- 42E2-9AFA- 18ECDC91A9 6D}"
  4888                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Get Regi stry Name"
  4889                  DTS:Lo gicalAnd=" True"
  4890                  DTS:Ob jectName=" Constraint "
  4891                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Get Max_So rt_Order"  />
  4892                <DTS:Pre cedenceCon straint
  4893                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 1]"
  4894                  DTS:Cr eationName =""
  4895                  DTS:DT SID="{E043 3105-8F06- 4236-B43B- A4090AB197 FE}"
  4896                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move STD _REFERRALS TS to CRSe "
  4897                  DTS:Lo gicalAnd=" True"
  4898                  DTS:Ob jectName=" Constraint  1"
  4899                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Truncate t abe TmpPAT IENTSID" / >
  4900                <DTS:Pre cedenceCon straint
  4901                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 10]"
  4902                  DTS:Cr eationName =""
  4903                  DTS:DT SID="{EF08 00D2-9B1F- 4E4F-9FEA- 0578219C20 6A}"
  4904                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Truncate  tabe TmpP ATIENTSID"
  4905                  DTS:Lo gicalAnd=" True"
  4906                  DTS:Ob jectName=" Constraint  10"
  4907                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Populate T mpPATIENTS ID table"  />
  4908                <DTS:Pre cedenceCon straint
  4909                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 11]"
  4910                  DTS:Cr eationName =""
  4911                  DTS:DT SID="{4B25 F17D-3922- 4F32-8BAC- 6E64F3D760 16}"
  4912                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Truncate  table STA GING PATIE NT"
  4913                  DTS:Lo gicalAnd=" True"
  4914                  DTS:Ob jectName=" Constraint  11"
  4915                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Insert int o staging  patient ta ble" />
  4916                <DTS:Pre cedenceCon straint
  4917                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 12]"
  4918                  DTS:Cr eationName =""
  4919                  DTS:DT SID="{093F 5A42-7912- 4F37-BA32- 91BCBF8E76 69}"
  4920                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move Pat ients to C RSe"
  4921                  DTS:Lo gicalAnd=" True"
  4922                  DTS:Ob jectName=" Constraint  12"
  4923                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ truncate t able STAGI NG REFERRA L" />
  4924                <DTS:Pre cedenceCon straint
  4925                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 2]"
  4926                  DTS:Cr eationName =""
  4927                  DTS:DT SID="{595C 6B7A-F9A9- 4D0E-A276- 86A0E1337C 7B}"
  4928                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\truncate  table STA GING REFER RAL"
  4929                  DTS:Lo gicalAnd=" True"
  4930                  DTS:Ob jectName=" Constraint  2"
  4931                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Creare Ref erral in s taging" />
  4932                <DTS:Pre cedenceCon straint
  4933                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 3]"
  4934                  DTS:Cr eationName =""
  4935                  DTS:DT SID="{84B1 3CBC-8CB7- 43C6-9441- C314787FB3 5F}"
  4936                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Creare R eferral in  staging"
  4937                  DTS:Lo gicalAnd=" True"
  4938                  DTS:Ob jectName=" Constraint  3"
  4939                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move refer ral to CRS e" />
  4940                <DTS:Pre cedenceCon straint
  4941                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 4]"
  4942                  DTS:Cr eationName =""
  4943                  DTS:DT SID="{AF6B 8A6E-64F6- 4C89-8B04- DF7093EC92 24}"
  4944                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Get Max_ Sort_Order "
  4945                  DTS:Lo gicalAnd=" True"
  4946                  DTS:Ob jectName=" Constraint  4"
  4947                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ truncate t able STAGI NG STD_REF ERRALSTS"  />
  4948                <DTS:Pre cedenceCon straint
  4949                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 5]"
  4950                  DTS:Cr eationName =""
  4951                  DTS:DT SID="{EB42 C745-47A9- 4FE0-AE30- 3088FABCB2 37}"
  4952                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Create a  STD REFER RALSTS rec ord STG fo r new reff eral"
  4953                  DTS:Lo gicalAnd=" True"
  4954                  DTS:Ob jectName=" Constraint  5"
  4955                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move STD_R EFERRALSTS  to CRSe"  />
  4956                <DTS:Pre cedenceCon straint
  4957                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 6]"
  4958                  DTS:Cr eationName =""
  4959                  DTS:DT SID="{7E89 BD7D-1F4C- 47E0-8098- 48C31C18A2 D5}"
  4960                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Insert i nto stagin g patient  table"
  4961                  DTS:Lo gicalAnd=" True"
  4962                  DTS:Ob jectName=" Constraint  6"
  4963                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move Patie nts to CRS e" />
  4964                <DTS:Pre cedenceCon straint
  4965                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 7]"
  4966                  DTS:Cr eationName =""
  4967                  DTS:DT SID="{14A0 FAE3-43B8- 4D34-A4CB- 66F36391F8 4C}"
  4968                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\truncate  table STA GING STD_R EFERRALSTS "
  4969                  DTS:Lo gicalAnd=" True"
  4970                  DTS:Ob jectName=" Constraint  7"
  4971                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Create a S TD REFERRA LSTS recor d STG for  new reffer al" />
  4972                <DTS:Pre cedenceCon straint
  4973                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Crea te a new R eferralst  ID.Precede nceConstra ints[Const raint 9]"
  4974                  DTS:Cr eationName =""
  4975                  DTS:DT SID="{34C7 0DFB-1F16- 4500-AE4D- 335E65BCFC 4E}"
  4976                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Populate  TmpPATIEN TSID table "
  4977                  DTS:Lo gicalAnd=" True"
  4978                  DTS:Ob jectName=" Constraint  9"
  4979                  DTS:To ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Truncate t able STAGI NG PATIENT " />
  4980              </DTS:Prec edenceCons traints>
  4981           </ DTS:Execut able>
  4982           <D TS:Executa ble
  4983              DTS:refId= "Package\F oreach Loo p Containe r\Get ETL_ Type Value "
  4984              DTS:Creati onName="Mi crosoft.Sq lServer.Dt s.Tasks.Ex ecuteSQLTa sk.Execute SQLTask, M icrosoft.S qlServer.S QLTask, Ve rsion=11.0 .0.0, Cult ure=neutra l, PublicK eyToken=89 845dcd8080 cc91"
  4985              DTS:Descri ption="Exe cute SQL T ask"
  4986              DTS:DTSID= "{3440E3BF -698F-423A -B446-EC5D A2346BE5}"
  4987              DTS:Execut ableType=" Microsoft. SqlServer. Dts.Tasks. ExecuteSQL Task.Execu teSQLTask,  Microsoft .SqlServer .SQLTask,  Version=11 .0.0.0, Cu lture=neut ral, Publi cKeyToken= 89845dcd80 80cc91"
  4988              DTS:Locale ID="-1"
  4989              DTS:Object Name="Get  ETL_Type V alue"
  4990              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 012; Â© 20 07 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1"
  4991              DTS:Thread Hint="0">
  4992              <DTS:Varia bles />
  4993              <DTS:Prope rtyExpress ion
  4994                DTS:Name ="SqlState mentSource ">"IF (SEL ECT COUNT( *) FROM [C RS].[STD_R EFERRALSTS ] WHERE ST D_Registry _ID = " +  (DT_STR, 1 0, 1252)@[ User::STDR egistryID]  +") &gt;  0
  4995  
  4996   SELECT 'in cremental'
  4997   ELSE 
  4998   SELECT 'in itial'"</D TS:Propert yExpressio n>
  4999              <DTS:Objec tData>
  5000                <SQLTask :SqlTaskDa ta
  5001                  SQLTas k:Connecti on="{396F5 1F3-B53D-4 546-B89B-A 0E24633BFE F}"
  5002                  SQLTas k:SqlState mentSource ="IF (SELE CT COUNT(* ) FROM [CR S].[STD_RE FERRALSTS]  WHERE STD _Registry_ ID = 1) &g t; 0&#xA;& #xA;SELECT  'incremen tal'&#xA;E LSE &#xA;S ELECT 'ini tial'"
  5003                  SQLTas k:ResultTy pe="Result SetType_Si ngleRow" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask" >
  5004                  <SQLTa sk:ResultB inding
  5005                    SQLT ask:Result Name="0"
  5006                    SQLT ask:DtsVar iableName= "User::ETL Type" />
  5007                  <SQLTa sk:Paramet erBinding
  5008                    SQLT ask:Parame terName="0 "
  5009                    SQLT ask:DtsVar iableName= "User::STD RegistryID "
  5010                    SQLT ask:Parame terDirecti on="Input"
  5011                    SQLT ask:DataTy pe="3"
  5012                    SQLT ask:Parame terSize="- 1" />
  5013                </SQLTas k:SqlTaskD ata>
  5014              </DTS:Obje ctData>
  5015           </ DTS:Execut able>
  5016           <D TS:Executa ble
  5017              DTS:refId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID"
  5018              DTS:Creati onName="ST OCK:SEQUEN CE"
  5019              DTS:Descri ption="Seq uence Cont ainer"
  5020              DTS:DTSID= "{897D9AEE -E66F-4F3A -9665-09AC D541F6CC}"
  5021              DTS:Execut ableType=" STOCK:SEQU ENCE"
  5022              DTS:Locale ID="-1"
  5023              DTS:Object Name="Get  the Existi ng Referra lsts ID">
  5024              <DTS:Varia bles />
  5025              <DTS:Execu tables>
  5026                <DTS:Exe cutable
  5027                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Cr eare Refer ral in sta ging"
  5028                  DTS:Cr eationName ="SSIS.Pip eline.3"
  5029                  DTS:De layValidat ion="True"
  5030                  DTS:De scription= "Data Flow  Task"
  5031                  DTS:DT SID="{1DCD DE2D-8278- 43B3-AD22- 8D085BA51E C1}"
  5032                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  5033                  DTS:Lo caleID="-1 "
  5034                  DTS:Ob jectName=" Creare Ref erral in s taging"
  5035                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  5036                  <DTS:V ariables / >
  5037                  <DTS:O bjectData>
  5038                    <pip eline
  5039                      ve rsion="1">
  5040                      <c omponents>
  5041                         <component
  5042                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Creare R eferral in  staging\O LE DB Dest ination"
  5043                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  5044                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  5045                           descript ion="OLE D B Destinat ion"
  5046                           name="OL E DB Desti nation"
  5047                           usesDisp ositions=" true"
  5048                           version= "4">
  5049                           <propert ies>
  5050                             <prope rty
  5051                               data Type="Syst em.Int32"
  5052                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  5053                               name ="CommandT imeout">0< /property>
  5054                             <prope rty
  5055                               data Type="Syst em.String"
  5056                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  5057                               name ="OpenRows et">[STAGI NG].[REFER RAL]</prop erty>
  5058                             <prope rty
  5059                               data Type="Syst em.String"
  5060                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  5061                               name ="OpenRows etVariable "></proper ty>
  5062                             <prope rty
  5063                               data Type="Syst em.String"
  5064                               desc ription="T he SQL com mand to be  executed. "
  5065                               name ="SqlComma nd"
  5066                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  5067                             <prope rty
  5068                               data Type="Syst em.Int32"
  5069                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  5070                               name ="DefaultC odePage">1 252</prope rty>
  5071                             <prope rty
  5072                               data Type="Syst em.Boolean "
  5073                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  5074                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  5075                             <prope rty
  5076                               data Type="Syst em.Int32"
  5077                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  5078                               name ="AccessMo de"
  5079                               type Converter= "AccessMod e">3</prop erty>
  5080                             <prope rty
  5081                               data Type="Syst em.Boolean "
  5082                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  5083                               name ="FastLoad KeepIdenti ty">false< /property>
  5084                             <prope rty
  5085                               data Type="Syst em.Boolean "
  5086                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  5087                               name ="FastLoad KeepNulls" >false</pr operty>
  5088                             <prope rty
  5089                               data Type="Syst em.String"
  5090                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  5091                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  5092                             <prope rty
  5093                               data Type="Syst em.Int32"
  5094                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  5095                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  5096                           </proper ties>
  5097                           <connect ions>
  5098                             <conne ction
  5099                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Destinatio n.Connecti ons[OleDbC onnection] "
  5100                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  5101                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  5102                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  5103                               name ="OleDbCon nection" / >
  5104                           </connec tions>
  5105                           <inputs>
  5106                             <input
  5107                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put]"
  5108                               erro rOrTruncat ionOperati on="Insert "
  5109                               erro rRowDispos ition="Fai lComponent "
  5110                               hasS ideEffects ="true"
  5111                               name ="OLE DB D estination  Input">
  5112                               <inp utColumns>
  5113                                 <i nputColumn
  5114                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[STD _REFERRALS TS_ID]"
  5115                                    cachedData Type="i4"
  5116                                    cachedName ="STD_REFE RRALSTS_ID "
  5117                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE FERRALSTS_ ID]"
  5118                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REF ERRALSTS_I D]" />
  5119                                 <i nputColumn
  5120                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Pat ient_ID]"
  5121                                    cachedData Type="i4"
  5122                                    cachedName ="Patient_ ID"
  5123                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PATIEN T_ID]"
  5124                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Patient _ID]" />
  5125                                 <i nputColumn
  5126                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Cre atedBy]"
  5127                                    cachedCode page="1252 "
  5128                                    cachedData Type="str"
  5129                                    cachedLeng th="11"
  5130                                    cachedName ="CreatedB y"
  5131                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE DBY]"
  5132                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created By]" />
  5133                                 <i nputColumn
  5134                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Upd atedBy]"
  5135                                    cachedCode page="1252 "
  5136                                    cachedData Type="str"
  5137                                    cachedLeng th="11"
  5138                                    cachedName ="UpdatedB y"
  5139                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE DBY]"
  5140                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated By]" />
  5141                                 <i nputColumn
  5142                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Cre ated]"
  5143                                    cachedData Type="dbTi meStamp"
  5144                                    cachedName ="Created"
  5145                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE D]"
  5146                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created ]" />
  5147                                 <i nputColumn
  5148                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Upd ated]"
  5149                                    cachedData Type="dbTi meStamp"
  5150                                    cachedName ="Updated"
  5151                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE D]"
  5152                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated ]" />
  5153                                 <i nputColumn
  5154                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Cre atedSource ]"
  5155                                    cachedData Type="dbTi meStamp"
  5156                                    cachedName ="CreatedS ource"
  5157                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[CREATE DSOURCE]"
  5158                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created Source]" / >
  5159                                 <i nputColumn
  5160                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Upd atedSource ]"
  5161                                    cachedData Type="dbTi meStamp"
  5162                                    cachedName ="UpdatedS ource"
  5163                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[UPDATE DSOURCE]"
  5164                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated Source]" / >
  5165                                 <i nputColumn
  5166                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Ref erral_Clas s_text]"
  5167                                    cachedData Type="i4"
  5168                                    cachedName ="Referral _Class_tex t"
  5169                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REFERR AL_CLASS_T EXT]"
  5170                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Referra l_Class_te xt]" />
  5171                                 <i nputColumn
  5172                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Pro vider_ID]"
  5173                                    cachedData Type="i4"
  5174                                    cachedName ="Provider _ID"
  5175                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[PROVID ER_ID]"
  5176                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Provide r_ID]" />
  5177                                 <i nputColumn
  5178                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Com ment_Text] "
  5179                                    cachedData Type="i4"
  5180                                    cachedName ="Comment_ Text"
  5181                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[COMMEN T_TEXT]"
  5182                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Comment _Text]" />
  5183                                 <i nputColumn
  5184                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Rev iew_By]"
  5185                                    cachedData Type="i4"
  5186                                    cachedName ="Review_B y"
  5187                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REVIEW _BY]"
  5188                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Review_ By]" />
  5189                                 <i nputColumn
  5190                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Rev iew_Date]"
  5191                                    cachedData Type="i4"
  5192                                    cachedName ="Review_D ate"
  5193                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REVIEW _DATE]"
  5194                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Review_ Date]" />
  5195                                 <i nputColumn
  5196                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Dup licate_Fla g]"
  5197                                    cachedData Type="i4"
  5198                                    cachedName ="Duplicat e_Flag"
  5199                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[DUPLIC ATE_FLAG]"
  5200                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Duplica te_Flag]"  />
  5201                                 <i nputColumn
  5202                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Std RegistryId ]"
  5203                                    cachedData Type="i4"
  5204                                    cachedName ="StdRegis tryId"
  5205                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE GISTRY_ID] "
  5206                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[StdRegi stryId]" / >
  5207                                 <i nputColumn
  5208                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[STD _Reminderc lass]"
  5209                                    cachedData Type="i4"
  5210                                    cachedName ="STD_Remi nderclass"
  5211                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[STD_RE MINDERCLAS S_ID]"
  5212                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_Rem inderclass ]" />
  5213                                 <i nputColumn
  5214                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].C olumns[Ref errale_Dat e]"
  5215                                    cachedData Type="dbTi meStamp"
  5216                                    cachedName ="Referral e_Date"
  5217                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input].Ex ternalColu mns[REFERR AL_DATE]"
  5218                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Referra le_Date]"  />
  5219                               </in putColumns >
  5220                               <ext ernalMetad ataColumns
  5221                                 is Used="True ">
  5222                                 <e xternalMet adataColum n
  5223                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EFERRALSTS _ID]"
  5224                                    dataType=" i4"
  5225                                    name="STD_ REFERRALST S_ID" />
  5226                                 <e xternalMet adataColum n
  5227                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EGISTRY_ID ]"
  5228                                    dataType=" i4"
  5229                                    name="STD_ REGISTRY_I D" />
  5230                                 <e xternalMet adataColum n
  5231                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PATIE NT_ID]"
  5232                                    dataType=" i4"
  5233                                    name="PATI ENT_ID" />
  5234                                 <e xternalMet adataColum n
  5235                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REFER RAL_DATE]"
  5236                                    dataType=" dbTimeStam p"
  5237                                    name="REFE RRAL_DATE"  />
  5238                                 <e xternalMet adataColum n
  5239                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REFER RAL_CLASS_ TEXT]"
  5240                                    codePage=" 1252"
  5241                                    dataType=" str"
  5242                                    length="40 00"
  5243                                    name="REFE RRAL_CLASS _TEXT" />
  5244                                 <e xternalMet adataColum n
  5245                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[PROVI DER_ID]"
  5246                                    dataType=" i4"
  5247                                    name="PROV IDER_ID" / >
  5248                                 <e xternalMet adataColum n
  5249                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDBY]"
  5250                                    codePage=" 1252"
  5251                                    dataType=" str"
  5252                                    length="30 "
  5253                                    name="CREA TEDBY" />
  5254                                 <e xternalMet adataColum n
  5255                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT ED]"
  5256                                    dataType=" dbTimeStam p"
  5257                                    name="CREA TED" />
  5258                                 <e xternalMet adataColum n
  5259                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDBY]"
  5260                                    codePage=" 1252"
  5261                                    dataType=" str"
  5262                                    length="30 "
  5263                                    name="UPDA TEDBY" />
  5264                                 <e xternalMet adataColum n
  5265                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT ED]"
  5266                                    dataType=" dbTimeStam p"
  5267                                    name="UPDA TED" />
  5268                                 <e xternalMet adataColum n
  5269                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[COMME NT_TEXT]"
  5270                                    codePage=" 1252"
  5271                                    dataType=" str"
  5272                                    length="40 00"
  5273                                    name="COMM ENT_TEXT"  />
  5274                                 <e xternalMet adataColum n
  5275                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[STD_R EMINDERCLA SS_ID]"
  5276                                    dataType=" i4"
  5277                                    name="STD_ REMINDERCL ASS_ID" />
  5278                                 <e xternalMet adataColum n
  5279                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REVIE W_BY]"
  5280                                    codePage=" 1252"
  5281                                    dataType=" str"
  5282                                    length="30 "
  5283                                    name="REVI EW_BY" />
  5284                                 <e xternalMet adataColum n
  5285                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[REVIE W_DATE]"
  5286                                    dataType=" dbTimeStam p"
  5287                                    name="REVI EW_DATE" / >
  5288                                 <e xternalMet adataColum n
  5289                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[DUPLI CATE_FLAG] "
  5290                                    dataType=" bool"
  5291                                    name="DUPL ICATE_FLAG " />
  5292                                 <e xternalMet adataColum n
  5293                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[CREAT EDSOURCE]"
  5294                                    codePage=" 1252"
  5295                                    dataType=" str"
  5296                                    length="30 "
  5297                                    name="CREA TEDSOURCE"  />
  5298                                 <e xternalMet adataColum n
  5299                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Inpu ts[OLE DB  Destinatio n Input].E xternalCol umns[UPDAT EDSOURCE]"
  5300                                    codePage=" 1252"
  5301                                    dataType=" str"
  5302                                    length="30 "
  5303                                    name="UPDA TEDSOURCE"  />
  5304                               </ex ternalMeta dataColumn s>
  5305                             </inpu t>
  5306                           </inputs >
  5307                           <outputs >
  5308                             <outpu t
  5309                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Destinatio n.Outputs[ OLE DB Des tination E rror Outpu t]"
  5310                               excl usionGroup ="1"
  5311                               isEr rorOut="tr ue"
  5312                               name ="OLE DB D estination  Error Out put"
  5313                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Destina tion.Input s[OLE DB D estination  Input]">
  5314                               <out putColumns >
  5315                                 <o utputColum n
  5316                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Code]"
  5317                                    dataType=" i4"
  5318                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorCode]"
  5319                                    name="Erro rCode"
  5320                                    specialFla gs="1" />
  5321                                 <o utputColum n
  5322                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Destin ation.Outp uts[OLE DB  Destinati on Error O utput].Col umns[Error Column]"
  5323                                    dataType=" i4"
  5324                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB De stination. Outputs[OL E DB Desti nation Err or Output] .Columns[E rrorColumn ]"
  5325                                    name="Erro rColumn"
  5326                                    specialFla gs="2" />
  5327                               </ou tputColumn s>
  5328                               <ext ernalMetad ataColumns  />
  5329                             </outp ut>
  5330                           </output s>
  5331                         </componen t>
  5332                         <component
  5333                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Creare R eferral in  staging\O LE DB Sour ce"
  5334                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  5335                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  5336                           descript ion="OLE D B Source"
  5337                           name="OL E DB Sourc e"
  5338                           usesDisp ositions=" true"
  5339                           version= "7">
  5340                           <propert ies>
  5341                             <prope rty
  5342                               data Type="Syst em.Int32"
  5343                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  5344                               name ="CommandT imeout">0< /property>
  5345                             <prope rty
  5346                               data Type="Syst em.String"
  5347                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  5348                               name ="OpenRows et"></prop erty>
  5349                             <prope rty
  5350                               data Type="Syst em.String"
  5351                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  5352                               name ="OpenRows etVariable "></proper ty>
  5353                             <prope rty
  5354                               data Type="Syst em.String"
  5355                               desc ription="T he SQL com mand to be  executed. "
  5356                               name ="SqlComma nd"
  5357                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  5358                             <prope rty
  5359                               data Type="Syst em.String"
  5360                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  5361                               name ="SqlComma ndVariable ">User::ST RSQL_Inser tRef</prop erty>
  5362                             <prope rty
  5363                               data Type="Syst em.Int32"
  5364                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  5365                               name ="DefaultC odePage">1 252</prope rty>
  5366                             <prope rty
  5367                               data Type="Syst em.Boolean "
  5368                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  5369                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  5370                             <prope rty
  5371                               data Type="Syst em.Int32"
  5372                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  5373                               name ="AccessMo de"
  5374                               type Converter= "AccessMod e">3</prop erty>
  5375                             <prope rty
  5376                               data Type="Syst em.String"
  5377                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  5378                               name ="Paramete rMapping"> </property >
  5379                           </proper ties>
  5380                           <connect ions>
  5381                             <conne ction
  5382                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Source.Con nections[O leDbConnec tion]"
  5383                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  5384                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  5385                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  5386                               name ="OleDbCon nection" / >
  5387                           </connec tions>
  5388                           <outputs >
  5389                             <outpu t
  5390                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Source.Out puts[OLE D B Source O utput]"
  5391                               name ="OLE DB S ource Outp ut">
  5392                               <out putColumns >
  5393                                 <o utputColum n
  5394                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S TD_REFERRA LSTS_ID]"
  5395                                    dataType=" i4"
  5396                                    errorOrTru ncationOpe ration="Co nversion"
  5397                                    errorRowDi sposition= "FailCompo nent"
  5398                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[STD_ REFERRALST S_ID]"
  5399                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_REF ERRALSTS_I D]"
  5400                                    name="STD_ REFERRALST S_ID"
  5401                                    truncation RowDisposi tion="Fail Component"  />
  5402                                 <o utputColum n
  5403                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S tdRegistry Id]"
  5404                                    dataType=" i4"
  5405                                    errorOrTru ncationOpe ration="Co nversion"
  5406                                    errorRowDi sposition= "FailCompo nent"
  5407                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[StdR egistryId] "
  5408                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[StdRegi stryId]"
  5409                                    name="StdR egistryId"
  5410                                    truncation RowDisposi tion="Fail Component"  />
  5411                                 <o utputColum n
  5412                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P atient_ID] "
  5413                                    dataType=" i4"
  5414                                    errorOrTru ncationOpe ration="Co nversion"
  5415                                    errorRowDi sposition= "FailCompo nent"
  5416                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Pati ent_ID]"
  5417                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Patient _ID]"
  5418                                    name="Pati ent_ID"
  5419                                    truncation RowDisposi tion="Fail Component"  />
  5420                                 <o utputColum n
  5421                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C reatedBy]"
  5422                                    codePage=" 1252"
  5423                                    dataType=" str"
  5424                                    errorOrTru ncationOpe ration="Co nversion"
  5425                                    errorRowDi sposition= "FailCompo nent"
  5426                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Crea tedBy]"
  5427                                    length="11 "
  5428                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created By]"
  5429                                    name="Crea tedBy"
  5430                                    truncation RowDisposi tion="Fail Component"  />
  5431                                 <o utputColum n
  5432                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U pdatedBy]"
  5433                                    codePage=" 1252"
  5434                                    dataType=" str"
  5435                                    errorOrTru ncationOpe ration="Co nversion"
  5436                                    errorRowDi sposition= "FailCompo nent"
  5437                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Upda tedBy]"
  5438                                    length="11 "
  5439                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated By]"
  5440                                    name="Upda tedBy"
  5441                                    truncation RowDisposi tion="Fail Component"  />
  5442                                 <o utputColum n
  5443                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C reated]"
  5444                                    dataType=" dbTimeStam p"
  5445                                    errorOrTru ncationOpe ration="Co nversion"
  5446                                    errorRowDi sposition= "FailCompo nent"
  5447                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Crea ted]"
  5448                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created ]"
  5449                                    name="Crea ted"
  5450                                    truncation RowDisposi tion="Fail Component"  />
  5451                                 <o utputColum n
  5452                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U pdated]"
  5453                                    dataType=" dbTimeStam p"
  5454                                    errorOrTru ncationOpe ration="Co nversion"
  5455                                    errorRowDi sposition= "FailCompo nent"
  5456                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Upda ted]"
  5457                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated ]"
  5458                                    name="Upda ted"
  5459                                    truncation RowDisposi tion="Fail Component"  />
  5460                                 <o utputColum n
  5461                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C reatedSour ce]"
  5462                                    dataType=" dbTimeStam p"
  5463                                    errorOrTru ncationOpe ration="Co nversion"
  5464                                    errorRowDi sposition= "FailCompo nent"
  5465                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Crea tedSource] "
  5466                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Created Source]"
  5467                                    name="Crea tedSource"
  5468                                    truncation RowDisposi tion="Fail Component"  />
  5469                                 <o utputColum n
  5470                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[U pdatedSour ce]"
  5471                                    dataType=" dbTimeStam p"
  5472                                    errorOrTru ncationOpe ration="Co nversion"
  5473                                    errorRowDi sposition= "FailCompo nent"
  5474                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Upda tedSource] "
  5475                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Updated Source]"
  5476                                    name="Upda tedSource"
  5477                                    truncation RowDisposi tion="Fail Component"  />
  5478                                 <o utputColum n
  5479                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R eferrale_D ate]"
  5480                                    dataType=" dbTimeStam p"
  5481                                    errorOrTru ncationOpe ration="Co nversion"
  5482                                    errorRowDi sposition= "FailCompo nent"
  5483                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Refe rrale_Date ]"
  5484                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Referra le_Date]"
  5485                                    name="Refe rrale_Date "
  5486                                    truncation RowDisposi tion="Fail Component"  />
  5487                                 <o utputColum n
  5488                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R eferral_Cl ass_text]"
  5489                                    dataType=" i4"
  5490                                    errorOrTru ncationOpe ration="Co nversion"
  5491                                    errorRowDi sposition= "FailCompo nent"
  5492                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Refe rral_Class _text]"
  5493                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Referra l_Class_te xt]"
  5494                                    name="Refe rral_Class _text"
  5495                                    truncation RowDisposi tion="Fail Component"  />
  5496                                 <o utputColum n
  5497                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[P rovider_ID ]"
  5498                                    dataType=" i4"
  5499                                    errorOrTru ncationOpe ration="Co nversion"
  5500                                    errorRowDi sposition= "FailCompo nent"
  5501                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Prov ider_ID]"
  5502                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Provide r_ID]"
  5503                                    name="Prov ider_ID"
  5504                                    truncation RowDisposi tion="Fail Component"  />
  5505                                 <o utputColum n
  5506                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[C omment_Tex t]"
  5507                                    dataType=" i4"
  5508                                    errorOrTru ncationOpe ration="Co nversion"
  5509                                    errorRowDi sposition= "FailCompo nent"
  5510                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Comm ent_Text]"
  5511                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Comment _Text]"
  5512                                    name="Comm ent_Text"
  5513                                    truncation RowDisposi tion="Fail Component"  />
  5514                                 <o utputColum n
  5515                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[S TD_Reminde rclass]"
  5516                                    dataType=" i4"
  5517                                    errorOrTru ncationOpe ration="Co nversion"
  5518                                    errorRowDi sposition= "FailCompo nent"
  5519                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[STD_ Remindercl ass]"
  5520                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[STD_Rem inderclass ]"
  5521                                    name="STD_ Remindercl ass"
  5522                                    truncation RowDisposi tion="Fail Component"  />
  5523                                 <o utputColum n
  5524                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R eview_By]"
  5525                                    dataType=" i4"
  5526                                    errorOrTru ncationOpe ration="Co nversion"
  5527                                    errorRowDi sposition= "FailCompo nent"
  5528                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Revi ew_By]"
  5529                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Review_ By]"
  5530                                    name="Revi ew_By"
  5531                                    truncation RowDisposi tion="Fail Component"  />
  5532                                 <o utputColum n
  5533                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[R eview_Date ]"
  5534                                    dataType=" i4"
  5535                                    errorOrTru ncationOpe ration="Co nversion"
  5536                                    errorRowDi sposition= "FailCompo nent"
  5537                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Revi ew_Date]"
  5538                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Review_ Date]"
  5539                                    name="Revi ew_Date"
  5540                                    truncation RowDisposi tion="Fail Component"  />
  5541                                 <o utputColum n
  5542                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .Columns[D uplicate_F lag]"
  5543                                    dataType=" i4"
  5544                                    errorOrTru ncationOpe ration="Co nversion"
  5545                                    errorRowDi sposition= "FailCompo nent"
  5546                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\C reare Refe rral in st aging\OLE  DB Source. Outputs[OL E DB Sourc e Output]. ExternalCo lumns[Dupl icate_Flag ]"
  5547                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Colum ns[Duplica te_Flag]"
  5548                                    name="Dupl icate_Flag "
  5549                                    truncation RowDisposi tion="Fail Component"  />
  5550                               </ou tputColumn s>
  5551                               <ext ernalMetad ataColumns
  5552                                 is Used="True ">
  5553                                 <e xternalMet adataColum n
  5554                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _REFERRALS TS_ID]"
  5555                                    dataType=" i4"
  5556                                    name="STD_ REFERRALST S_ID" />
  5557                                 <e xternalMet adataColum n
  5558                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Std RegistryId ]"
  5559                                    dataType=" i4"
  5560                                    name="StdR egistryId"  />
  5561                                 <e xternalMet adataColum n
  5562                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Pat ient_ID]"
  5563                                    dataType=" i4"
  5564                                    name="Pati ent_ID" />
  5565                                 <e xternalMet adataColum n
  5566                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Cre atedBy]"
  5567                                    codePage=" 1252"
  5568                                    dataType=" str"
  5569                                    length="11 "
  5570                                    name="Crea tedBy" />
  5571                                 <e xternalMet adataColum n
  5572                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Upd atedBy]"
  5573                                    codePage=" 1252"
  5574                                    dataType=" str"
  5575                                    length="11 "
  5576                                    name="Upda tedBy" />
  5577                                 <e xternalMet adataColum n
  5578                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Cre ated]"
  5579                                    dataType=" dbTimeStam p"
  5580                                    name="Crea ted" />
  5581                                 <e xternalMet adataColum n
  5582                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Upd ated]"
  5583                                    dataType=" dbTimeStam p"
  5584                                    name="Upda ted" />
  5585                                 <e xternalMet adataColum n
  5586                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Cre atedSource ]"
  5587                                    dataType=" dbTimeStam p"
  5588                                    name="Crea tedSource"  />
  5589                                 <e xternalMet adataColum n
  5590                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Upd atedSource ]"
  5591                                    dataType=" dbTimeStam p"
  5592                                    name="Upda tedSource"  />
  5593                                 <e xternalMet adataColum n
  5594                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Ref errale_Dat e]"
  5595                                    dataType=" dbTimeStam p"
  5596                                    name="Refe rrale_Date " />
  5597                                 <e xternalMet adataColum n
  5598                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Ref erral_Clas s_text]"
  5599                                    dataType=" i4"
  5600                                    name="Refe rral_Class _text" />
  5601                                 <e xternalMet adataColum n
  5602                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Pro vider_ID]"
  5603                                    dataType=" i4"
  5604                                    name="Prov ider_ID" / >
  5605                                 <e xternalMet adataColum n
  5606                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Com ment_Text] "
  5607                                    dataType=" i4"
  5608                                    name="Comm ent_Text"  />
  5609                                 <e xternalMet adataColum n
  5610                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[STD _Reminderc lass]"
  5611                                    dataType=" i4"
  5612                                    name="STD_ Remindercl ass" />
  5613                                 <e xternalMet adataColum n
  5614                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Rev iew_By]"
  5615                                    dataType=" i4"
  5616                                    name="Revi ew_By" />
  5617                                 <e xternalMet adataColum n
  5618                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Rev iew_Date]"
  5619                                    dataType=" i4"
  5620                                    name="Revi ew_Date" / >
  5621                                 <e xternalMet adataColum n
  5622                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Output] .ExternalC olumns[Dup licate_Fla g]"
  5623                                    dataType=" i4"
  5624                                    name="Dupl icate_Flag " />
  5625                               </ex ternalMeta dataColumn s>
  5626                             </outp ut>
  5627                             <outpu t
  5628                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Crea re Referra l in stagi ng\OLE DB  Source.Out puts[OLE D B Source E rror Outpu t]"
  5629                               isEr rorOut="tr ue"
  5630                               name ="OLE DB S ource Erro r Output">
  5631                               <out putColumns >
  5632                                 <o utputColum n
  5633                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[STD_R EFERRALSTS _ID]"
  5634                                    dataType=" i4"
  5635                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S TD_REFERRA LSTS_ID]"
  5636                                    name="STD_ REFERRALST S_ID" />
  5637                                 <o utputColum n
  5638                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[StdRe gistryId]"
  5639                                    dataType=" i4"
  5640                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S tdRegistry Id]"
  5641                                    name="StdR egistryId"  />
  5642                                 <o utputColum n
  5643                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Patie nt_ID]"
  5644                                    dataType=" i4"
  5645                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P atient_ID] "
  5646                                    name="Pati ent_ID" />
  5647                                 <o utputColum n
  5648                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Creat edBy]"
  5649                                    codePage=" 1252"
  5650                                    dataType=" str"
  5651                                    length="11 "
  5652                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C reatedBy]"
  5653                                    name="Crea tedBy" />
  5654                                 <o utputColum n
  5655                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Updat edBy]"
  5656                                    codePage=" 1252"
  5657                                    dataType=" str"
  5658                                    length="11 "
  5659                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U pdatedBy]"
  5660                                    name="Upda tedBy" />
  5661                                 <o utputColum n
  5662                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Creat ed]"
  5663                                    dataType=" dbTimeStam p"
  5664                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C reated]"
  5665                                    name="Crea ted" />
  5666                                 <o utputColum n
  5667                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Updat ed]"
  5668                                    dataType=" dbTimeStam p"
  5669                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U pdated]"
  5670                                    name="Upda ted" />
  5671                                 <o utputColum n
  5672                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Creat edSource]"
  5673                                    dataType=" dbTimeStam p"
  5674                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C reatedSour ce]"
  5675                                    name="Crea tedSource"  />
  5676                                 <o utputColum n
  5677                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Updat edSource]"
  5678                                    dataType=" dbTimeStam p"
  5679                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[U pdatedSour ce]"
  5680                                    name="Upda tedSource"  />
  5681                                 <o utputColum n
  5682                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Refer rale_Date] "
  5683                                    dataType=" dbTimeStam p"
  5684                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R eferrale_D ate]"
  5685                                    name="Refe rrale_Date " />
  5686                                 <o utputColum n
  5687                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Refer ral_Class_ text]"
  5688                                    dataType=" i4"
  5689                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R eferral_Cl ass_text]"
  5690                                    name="Refe rral_Class _text" />
  5691                                 <o utputColum n
  5692                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Provi der_ID]"
  5693                                    dataType=" i4"
  5694                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[P rovider_ID ]"
  5695                                    name="Prov ider_ID" / >
  5696                                 <o utputColum n
  5697                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Comme nt_Text]"
  5698                                    dataType=" i4"
  5699                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[C omment_Tex t]"
  5700                                    name="Comm ent_Text"  />
  5701                                 <o utputColum n
  5702                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[STD_R emindercla ss]"
  5703                                    dataType=" i4"
  5704                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[S TD_Reminde rclass]"
  5705                                    name="STD_ Remindercl ass" />
  5706                                 <o utputColum n
  5707                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Revie w_By]"
  5708                                    dataType=" i4"
  5709                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R eview_By]"
  5710                                    name="Revi ew_By" />
  5711                                 <o utputColum n
  5712                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Revie w_Date]"
  5713                                    dataType=" i4"
  5714                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[R eview_Date ]"
  5715                                    name="Revi ew_Date" / >
  5716                                 <o utputColum n
  5717                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Dupli cate_Flag] "
  5718                                    dataType=" i4"
  5719                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[D uplicate_F lag]"
  5720                                    name="Dupl icate_Flag " />
  5721                                 <o utputColum n
  5722                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Code]"
  5723                                    dataType=" i4"
  5724                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorCode]"
  5725                                    name="Erro rCode"
  5726                                    specialFla gs="1" />
  5727                                 <o utputColum n
  5728                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Creare Ref erral in s taging\OLE  DB Source .Outputs[O LE DB Sour ce Error O utput].Col umns[Error Column]"
  5729                                    dataType=" i4"
  5730                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Err or Output] .Columns[E rrorColumn ]"
  5731                                    name="Erro rColumn"
  5732                                    specialFla gs="2" />
  5733                               </ou tputColumn s>
  5734                               <ext ernalMetad ataColumns  />
  5735                             </outp ut>
  5736                           </output s>
  5737                         </componen t>
  5738                      </ components >
  5739                      <p aths>
  5740                         <path
  5741                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Creare R eferral in  staging.P aths[OLE D B Source O utput]"
  5742                           endId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Creare R eferral in  staging\O LE DB Dest ination.In puts[OLE D B Destinat ion Input] "
  5743                           name="OL E DB Sourc e Output"
  5744                           startId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Creare  Referral  in staging \OLE DB So urce.Outpu ts[OLE DB  Source Out put]" />
  5745                      </ paths>
  5746                    </pi peline>
  5747                  </DTS: ObjectData >
  5748                </DTS:Ex ecutable>
  5749                <DTS:Exe cutable
  5750                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Ge t the Refe rralst ID"
  5751                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  5752                  DTS:De scription= "Execute S QL Task"
  5753                  DTS:DT SID="{136E 0F51-ED6E- 4BBD-8CE7- 11EF62CAEA 7A}"
  5754                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  5755                  DTS:Lo caleID="-1 "
  5756                  DTS:Ob jectName=" Get the Re ferralst I D"
  5757                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  5758                  DTS:Th readHint=" 0">
  5759                  <DTS:V ariables / >
  5760                  <DTS:O bjectData>
  5761                    <SQL Task:SqlTa skData
  5762                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  5763                      SQ LTask:Bypa ssPrepare= "False"
  5764                      SQ LTask:SqlS tatementSo urce="  SE LECT DISTI NCT id &#x A;  FROM [ CRS].[STD_ REFERRALST S]&#xA;  W HERE CODE  = 'New'&#x A;  AND ST D_REGISTRY _ID = ?"
  5765                      SQ LTask:Resu ltType="Re sultSetTyp e_SingleRo w" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask">
  5766                      <S QLTask:Res ultBinding
  5767                         SQLTask:Re sultName=" 0"
  5768                         SQLTask:Dt sVariableN ame="User: :Refferral STS_ID" />
  5769                      <S QLTask:Par ameterBind ing
  5770                         SQLTask:Pa rameterNam e="0"
  5771                         SQLTask:Dt sVariableN ame="User: :STDRegist ryID"
  5772                         SQLTask:Pa rameterDir ection="In put"
  5773                         SQLTask:Da taType="3"
  5774                         SQLTask:Pa rameterSiz e="-1" />
  5775                    </SQ LTask:SqlT askData>
  5776                  </DTS: ObjectData >
  5777                </DTS:Ex ecutable>
  5778                <DTS:Exe cutable
  5779                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\In sert into  staging pa tient tabl e"
  5780                  DTS:Cr eationName ="SSIS.Pip eline.3"
  5781                  DTS:De layValidat ion="True"
  5782                  DTS:De scription= "Data Flow  Task"
  5783                  DTS:DT SID="{6931 8DA8-083D- 42FB-98CD- B94B6773DB 4A}"
  5784                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  5785                  DTS:Lo caleID="-1 "
  5786                  DTS:Ob jectName=" Insert int o staging  patient ta ble"
  5787                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  5788                  <DTS:V ariables / >
  5789                  <DTS:O bjectData>
  5790                    <pip eline
  5791                      ve rsion="1">
  5792                      <c omponents>
  5793                         <component
  5794                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Insert i nto stagin g patient  table\OLE  DB Destina tion"
  5795                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  5796                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  5797                           descript ion="OLE D B Destinat ion"
  5798                           name="OL E DB Desti nation"
  5799                           usesDisp ositions=" true"
  5800                           version= "4">
  5801                           <propert ies>
  5802                             <prope rty
  5803                               data Type="Syst em.Int32"
  5804                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  5805                               name ="CommandT imeout">0< /property>
  5806                             <prope rty
  5807                               data Type="Syst em.String"
  5808                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  5809                               name ="OpenRows et">[STAGI NG].[PATIE NT]</prope rty>
  5810                             <prope rty
  5811                               data Type="Syst em.String"
  5812                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  5813                               name ="OpenRows etVariable "></proper ty>
  5814                             <prope rty
  5815                               data Type="Syst em.String"
  5816                               desc ription="T he SQL com mand to be  executed. "
  5817                               name ="SqlComma nd"
  5818                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  5819                             <prope rty
  5820                               data Type="Syst em.Int32"
  5821                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  5822                               name ="DefaultC odePage">1 252</prope rty>
  5823                             <prope rty
  5824                               data Type="Syst em.Boolean "
  5825                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  5826                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  5827                             <prope rty
  5828                               data Type="Syst em.Int32"
  5829                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  5830                               name ="AccessMo de"
  5831                               type Converter= "AccessMod e">3</prop erty>
  5832                             <prope rty
  5833                               data Type="Syst em.Boolean "
  5834                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  5835                               name ="FastLoad KeepIdenti ty">false< /property>
  5836                             <prope rty
  5837                               data Type="Syst em.Boolean "
  5838                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  5839                               name ="FastLoad KeepNulls" >false</pr operty>
  5840                             <prope rty
  5841                               data Type="Syst em.String"
  5842                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  5843                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  5844                             <prope rty
  5845                               data Type="Syst em.Int32"
  5846                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  5847                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  5848                           </proper ties>
  5849                           <connect ions>
  5850                             <conne ction
  5851                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Des tination.C onnections [OleDbConn ection]"
  5852                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  5853                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  5854                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  5855                               name ="OleDbCon nection" / >
  5856                           </connec tions>
  5857                           <inputs>
  5858                             <input
  5859                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Des tination.I nputs[OLE  DB Destina tion Input ]"
  5860                               erro rOrTruncat ionOperati on="Insert "
  5861                               erro rRowDispos ition="Fai lComponent "
  5862                               hasS ideEffects ="true"
  5863                               name ="OLE DB D estination  Input">
  5864                               <inp utColumns>
  5865                                 <i nputColumn
  5866                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Create dBy]"
  5867                                    cachedCode page="1252 "
  5868                                    cachedData Type="str"
  5869                                    cachedLeng th="30"
  5870                                    cachedName ="CreatedB y"
  5871                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CREATEDBY ]"
  5872                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CreatedBy] " />
  5873                                 <i nputColumn
  5874                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Update dBy]"
  5875                                    cachedCode page="1252 "
  5876                                    cachedData Type="str"
  5877                                    cachedLeng th="30"
  5878                                    cachedName ="UpdatedB y"
  5879                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [UPDATEDBY ]"
  5880                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UpdatedBy] " />
  5881                                 <i nputColumn
  5882                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Create d]"
  5883                                    cachedData Type="dbTi meStamp"
  5884                                    cachedName ="Created"
  5885                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CREATED]"
  5886                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ Created]"  />
  5887                                 <i nputColumn
  5888                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Patien tICN]"
  5889                                    cachedCode page="1252 "
  5890                                    cachedData Type="str"
  5891                                    cachedLeng th="50"
  5892                                    cachedName ="PatientI CN"
  5893                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [PatientIC N]"
  5894                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientICN ]" />
  5895                                 <i nputColumn
  5896                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Update date]"
  5897                                    cachedData Type="dbTi meStamp"
  5898                                    cachedName ="Updateda te"
  5899                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [UPDATED]"
  5900                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ Updatedate ]" />
  5901                                 <i nputColumn
  5902                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[OEF_OI F_IND]"
  5903                                    cachedData Type="bool "
  5904                                    cachedName ="OEF_OIF_ IND"
  5905                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [OEFOIF_IN D]"
  5906                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ OEF_OIF_IN D]" />
  5907                                 <i nputColumn
  5908                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[PhoneC ellular]"
  5909                                    cachedCode page="1252 "
  5910                                    cachedData Type="str"
  5911                                    cachedLeng th="50"
  5912                                    cachedName ="PhoneCel lular"
  5913                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [CELL_PHON E]"
  5914                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PhoneCellu lar]" />
  5915                                 <i nputColumn
  5916                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[DateOf Death]"
  5917                                    cachedData Type="dbDa te"
  5918                                    cachedName ="DateOfDe ath"
  5919                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [DEATH_DAT E]"
  5920                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DateOfDeat h]" />
  5921                                 <i nputColumn
  5922                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[DateOf Birth]"
  5923                                    cachedData Type="dbDa te"
  5924                                    cachedName ="DateOfBi rth"
  5925                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [BIRTH_DAT E]"
  5926                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DateOfBirt h]" />
  5927                                 <i nputColumn
  5928                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[EmailA ddress]"
  5929                                    cachedCode page="1252 "
  5930                                    cachedData Type="str"
  5931                                    cachedLeng th="50"
  5932                                    cachedName ="EmailAdd ress"
  5933                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [EMAIL_ADD RESS]"
  5934                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ EmailAddre ss]" />
  5935                                 <i nputColumn
  5936                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Patien tLastName] "
  5937                                    cachedCode page="1252 "
  5938                                    cachedData Type="str"
  5939                                    cachedLeng th="50"
  5940                                    cachedName ="PatientL astName"
  5941                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [LAST_NAME ]"
  5942                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientLas tName]" />
  5943                                 <i nputColumn
  5944                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Colu mns[Patien tFirstName ]"
  5945                                    cachedCode page="1252 "
  5946                                    cachedData Type="str"
  5947                                    cachedLeng th="50"
  5948                                    cachedName ="PatientF irstName"
  5949                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put].Exter nalColumns [FIRST_NAM E]"
  5950                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientFir stName]" / >
  5951                               </in putColumns >
  5952                               <ext ernalMetad ataColumns
  5953                                 is Used="True ">
  5954                                 <e xternalMet adataColum n
  5955                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[PATIENT_ ID]"
  5956                                    dataType=" i4"
  5957                                    name="PATI ENT_ID" />
  5958                                 <e xternalMet adataColum n
  5959                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[FIRST_NA ME]"
  5960                                    codePage=" 1252"
  5961                                    dataType=" str"
  5962                                    length="50 "
  5963                                    name="FIRS T_NAME" />
  5964                                 <e xternalMet adataColum n
  5965                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[MIDDLE_N AME]"
  5966                                    codePage=" 1252"
  5967                                    dataType=" str"
  5968                                    length="50 "
  5969                                    name="MIDD LE_NAME" / >
  5970                                 <e xternalMet adataColum n
  5971                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[LAST_NAM E]"
  5972                                    codePage=" 1252"
  5973                                    dataType=" str"
  5974                                    length="50 "
  5975                                    name="LAST _NAME" />
  5976                                 <e xternalMet adataColum n
  5977                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[EMAIL_AD DRESS]"
  5978                                    codePage=" 1252"
  5979                                    dataType=" str"
  5980                                    length="12 8"
  5981                                    name="EMAI L_ADDRESS"  />
  5982                                 <e xternalMet adataColum n
  5983                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[BIRTH_DA TE]"
  5984                                    dataType=" dbDate"
  5985                                    name="BIRT H_DATE" />
  5986                                 <e xternalMet adataColum n
  5987                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[DEATH_DA TE]"
  5988                                    dataType=" dbDate"
  5989                                    name="DEAT H_DATE" />
  5990                                 <e xternalMet adataColum n
  5991                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CELL_PHO NE]"
  5992                                    codePage=" 1252"
  5993                                    dataType=" str"
  5994                                    length="50 "
  5995                                    name="CELL _PHONE" />
  5996                                 <e xternalMet adataColum n
  5997                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[PERFERRE D_ADDRESS_ TYPE]"
  5998                                    codePage=" 1252"
  5999                                    dataType=" str"
  6000                                    length="50 "
  6001                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  6002                                 <e xternalMet adataColum n
  6003                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CREATEDB Y]"
  6004                                    codePage=" 1252"
  6005                                    dataType=" str"
  6006                                    length="30 "
  6007                                    name="CREA TEDBY" />
  6008                                 <e xternalMet adataColum n
  6009                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[CREATED] "
  6010                                    dataType=" dbTimeStam p"
  6011                                    name="CREA TED" />
  6012                                 <e xternalMet adataColum n
  6013                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[UPDATEDB Y]"
  6014                                    codePage=" 1252"
  6015                                    dataType=" str"
  6016                                    length="30 "
  6017                                    name="UPDA TEDBY" />
  6018                                 <e xternalMet adataColum n
  6019                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[UPDATED] "
  6020                                    dataType=" dbTimeStam p"
  6021                                    name="UPDA TED" />
  6022                                 <e xternalMet adataColum n
  6023                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[OEFOIF_I ND]"
  6024                                    dataType=" bool"
  6025                                    name="OEFO IF_IND" />
  6026                                 <e xternalMet adataColum n
  6027                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[PatientI CN]"
  6028                                    codePage=" 1252"
  6029                                    dataType=" str"
  6030                                    length="50 "
  6031                                    name="Pati entICN" />
  6032                                 <e xternalMet adataColum n
  6033                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput].Exte rnalColumn s[PATIENTS ID]"
  6034                                    dataType=" i4"
  6035                                    name="PATI ENTSID" />
  6036                               </ex ternalMeta dataColumn s>
  6037                             </inpu t>
  6038                           </inputs >
  6039                           <outputs >
  6040                             <outpu t
  6041                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Des tination.O utputs[OLE  DB Destin ation Erro r Output]"
  6042                               excl usionGroup ="1"
  6043                               isEr rorOut="tr ue"
  6044                               name ="OLE DB D estination  Error Out put"
  6045                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Destinatio n.Inputs[O LE DB Dest ination In put]">
  6046                               <out putColumns >
  6047                                 <o utputColum n
  6048                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Outputs [OLE DB De stination  Error Outp ut].Column s[ErrorCod e]"
  6049                                    dataType=" i4"
  6050                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rCode]"
  6051                                    name="Erro rCode"
  6052                                    specialFla gs="1" />
  6053                                 <o utputColum n
  6054                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on.Outputs [OLE DB De stination  Error Outp ut].Column s[ErrorCol umn]"
  6055                                    dataType=" i4"
  6056                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output].Co lumns[Erro rColumn]"
  6057                                    name="Erro rColumn"
  6058                                    specialFla gs="2" />
  6059                               </ou tputColumn s>
  6060                               <ext ernalMetad ataColumns  />
  6061                             </outp ut>
  6062                           </output s>
  6063                         </componen t>
  6064                         <component
  6065                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Insert i nto stagin g patient  table\OLE  DB Source"
  6066                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  6067                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  6068                           descript ion="OLE D B Source"
  6069                           name="OL E DB Sourc e"
  6070                           usesDisp ositions=" true"
  6071                           version= "7">
  6072                           <propert ies>
  6073                             <prope rty
  6074                               data Type="Syst em.Int32"
  6075                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  6076                               name ="CommandT imeout">0< /property>
  6077                             <prope rty
  6078                               data Type="Syst em.String"
  6079                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  6080                               name ="OpenRows et"></prop erty>
  6081                             <prope rty
  6082                               data Type="Syst em.String"
  6083                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  6084                               name ="OpenRows etVariable "></proper ty>
  6085                             <prope rty
  6086                               data Type="Syst em.String"
  6087                               desc ription="T he SQL com mand to be  executed. "
  6088                               name ="SqlComma nd"
  6089                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">I F (SELECT  COUNT(*) F ROM TmpPAT IENTSID WH ERE PATIEN TSID IS NU LL) = 0
  6090   BEGIN
  6091   SELECT top  10
  6092                    --sp .Patient_I D, 
  6093                    sp.P atientFirs tName, 
  6094                    sp.P atientLast Name, 
  6095                    sp.E mailAddres s, 
  6096                    sp.D ateOfBirth
  6097                    sp.D ateOfDeath
  6098                    sp.P honeCellul ar,
  6099                    sp.C reatedBy, 
  6100                    sp.U pdatedBy, 
  6101                    GETD ATE() AS C reated, 
  6102                    GETD ATE() AS U pdatedate,
  6103                    sp.O EF_OIF_IND ,
  6104                    sp.P atientICN
  6105                    --sp .PatientSI D
  6106   FROM
  6107    TmpPATIEN TSID t
  6108    JOIN CRS. SPATIENT S P ON t.PAT IENTSID =  sp.PATIENT SID AND
  6109                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  6110                                                                sp.S TDREGISTRY ID = ?                            
  6111   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  6112   WHERE --sp .STDREGIST RYID = 7 A ND
  6113        p.Pat ientICN IS  NULL AND
  6114        sp.Pa tientICN I S NOT NULL
  6115   END
  6116   ELSE
  6117   BEGIN
  6118   SELECT top  10
  6119                    --sp .Patient_I D, 
  6120                    sp.P atientFirs tName, 
  6121                    sp.P atientLast Name, 
  6122                    sp.E mailAddres s, 
  6123                    sp.D ateOfBirth
  6124                    sp.D ateOfDeath
  6125                    sp.P honeCellul ar,
  6126                    sp.C reatedBy, 
  6127                    sp.U pdatedBy, 
  6128                    GETD ATE() AS C reated, 
  6129                    GETD ATE() AS U pdatedate,
  6130                    sp.O EF_OIF_IND ,
  6131                    sp.P atientICN
  6132                    --sp .PatientSI D
  6133   FROM
  6134    TmpPATIEN TSID t
  6135    JOIN CRS. SPATIENT S P ON --t.P ATIENTSID  = sp.PATIE NTSID AND
  6136                                                                t.PA TIENTICN =  sp.PATIEN TICN AND
  6137                                                                sp.S TDREGISTRY ID = ?                            
  6138   LEFT JOIN   CRS.PATIE NT P on t. PatientICN  = p.Patie ntICN
  6139   WHERE --sp .STDREGIST RYID = 7 A ND
  6140        p.Pat ientICN IS  NULL AND
  6141        sp.Pa tientICN I S NOT NULL
  6142   END</prope rty>
  6143                             <prope rty
  6144                               data Type="Syst em.String"
  6145                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  6146                               name ="SqlComma ndVariable ">User::ST RSQL_Inser tPatients< /property>
  6147                             <prope rty
  6148                               data Type="Syst em.Int32"
  6149                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  6150                               name ="DefaultC odePage">1 252</prope rty>
  6151                             <prope rty
  6152                               data Type="Syst em.Boolean "
  6153                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  6154                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  6155                             <prope rty
  6156                               data Type="Syst em.Int32"
  6157                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  6158                               name ="AccessMo de"
  6159                               type Converter= "AccessMod e">3</prop erty>
  6160                             <prope rty
  6161                               data Type="Syst em.String"
  6162                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  6163                               name ="Paramete rMapping"> "Parameter 0:Input",{ F829B2DD-C 804-41FF-B 5F2-C325C6 2869E1};</ property>
  6164                           </proper ties>
  6165                           <connect ions>
  6166                             <conne ction
  6167                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Sou rce.Connec tions[OleD bConnectio n]"
  6168                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  6169                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  6170                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  6171                               name ="OleDbCon nection" / >
  6172                           </connec tions>
  6173                           <outputs >
  6174                             <outpu t
  6175                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Sou rce.Output s[OLE DB S ource Outp ut]"
  6176                               name ="OLE DB S ource Outp ut">
  6177                               <out putColumns >
  6178                                 <o utputColum n
  6179                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Pati entFirstNa me]"
  6180                                    codePage=" 1252"
  6181                                    dataType=" str"
  6182                                    errorOrTru ncationOpe ration="Co nversion"
  6183                                    errorRowDi sposition= "FailCompo nent"
  6184                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Patient FirstName] "
  6185                                    length="50 "
  6186                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientFir stName]"
  6187                                    name="Pati entFirstNa me"
  6188                                    truncation RowDisposi tion="Fail Component"  />
  6189                                 <o utputColum n
  6190                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Pati entLastNam e]"
  6191                                    codePage=" 1252"
  6192                                    dataType=" str"
  6193                                    errorOrTru ncationOpe ration="Co nversion"
  6194                                    errorRowDi sposition= "FailCompo nent"
  6195                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Patient LastName]"
  6196                                    length="50 "
  6197                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientLas tName]"
  6198                                    name="Pati entLastNam e"
  6199                                    truncation RowDisposi tion="Fail Component"  />
  6200                                 <o utputColum n
  6201                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Emai lAddress]"
  6202                                    codePage=" 1252"
  6203                                    dataType=" str"
  6204                                    errorOrTru ncationOpe ration="Co nversion"
  6205                                    errorRowDi sposition= "FailCompo nent"
  6206                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[EmailAd dress]"
  6207                                    length="50 "
  6208                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ EmailAddre ss]"
  6209                                    name="Emai lAddress"
  6210                                    truncation RowDisposi tion="Fail Component"  />
  6211                                 <o utputColum n
  6212                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Date OfBirth]"
  6213                                    dataType=" dbDate"
  6214                                    errorOrTru ncationOpe ration="Co nversion"
  6215                                    errorRowDi sposition= "FailCompo nent"
  6216                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[DateOfB irth]"
  6217                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DateOfBirt h]"
  6218                                    name="Date OfBirth"
  6219                                    truncation RowDisposi tion="Fail Component"  />
  6220                                 <o utputColum n
  6221                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Date OfDeath]"
  6222                                    dataType=" dbDate"
  6223                                    errorOrTru ncationOpe ration="Co nversion"
  6224                                    errorRowDi sposition= "FailCompo nent"
  6225                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[DateOfD eath]"
  6226                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ DateOfDeat h]"
  6227                                    name="Date OfDeath"
  6228                                    truncation RowDisposi tion="Fail Component"  />
  6229                                 <o utputColum n
  6230                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Phon eCellular] "
  6231                                    codePage=" 1252"
  6232                                    dataType=" str"
  6233                                    errorOrTru ncationOpe ration="Co nversion"
  6234                                    errorRowDi sposition= "FailCompo nent"
  6235                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[PhoneCe llular]"
  6236                                    length="50 "
  6237                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PhoneCellu lar]"
  6238                                    name="Phon eCellular"
  6239                                    truncation RowDisposi tion="Fail Component"  />
  6240                                 <o utputColum n
  6241                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Crea tedBy]"
  6242                                    codePage=" 1252"
  6243                                    dataType=" str"
  6244                                    errorOrTru ncationOpe ration="Co nversion"
  6245                                    errorRowDi sposition= "FailCompo nent"
  6246                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Created By]"
  6247                                    length="30 "
  6248                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ CreatedBy] "
  6249                                    name="Crea tedBy"
  6250                                    truncation RowDisposi tion="Fail Component"  />
  6251                                 <o utputColum n
  6252                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Upda tedBy]"
  6253                                    codePage=" 1252"
  6254                                    dataType=" str"
  6255                                    errorOrTru ncationOpe ration="Co nversion"
  6256                                    errorRowDi sposition= "FailCompo nent"
  6257                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Updated By]"
  6258                                    length="30 "
  6259                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ UpdatedBy] "
  6260                                    name="Upda tedBy"
  6261                                    truncation RowDisposi tion="Fail Component"  />
  6262                                 <o utputColum n
  6263                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Crea ted]"
  6264                                    dataType=" dbTimeStam p"
  6265                                    errorOrTru ncationOpe ration="Co nversion"
  6266                                    errorRowDi sposition= "FailCompo nent"
  6267                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Created ]"
  6268                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ Created]"
  6269                                    name="Crea ted"
  6270                                    truncation RowDisposi tion="Fail Component"  />
  6271                                 <o utputColum n
  6272                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Upda tedate]"
  6273                                    dataType=" dbTimeStam p"
  6274                                    errorOrTru ncationOpe ration="Co nversion"
  6275                                    errorRowDi sposition= "FailCompo nent"
  6276                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Updated ate]"
  6277                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ Updatedate ]"
  6278                                    name="Upda tedate"
  6279                                    truncation RowDisposi tion="Fail Component"  />
  6280                                 <o utputColum n
  6281                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[OEF_ OIF_IND]"
  6282                                    dataType=" bool"
  6283                                    errorOrTru ncationOpe ration="Co nversion"
  6284                                    errorRowDi sposition= "FailCompo nent"
  6285                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[OEF_OIF _IND]"
  6286                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ OEF_OIF_IN D]"
  6287                                    name="OEF_ OIF_IND"
  6288                                    truncation RowDisposi tion="Fail Component"  />
  6289                                 <o utputColum n
  6290                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Co lumns[Pati entICN]"
  6291                                    codePage=" 1252"
  6292                                    dataType=" str"
  6293                                    errorOrTru ncationOpe ration="Co nversion"
  6294                                    errorRowDi sposition= "FailCompo nent"
  6295                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\I nsert into  staging p atient tab le\OLE DB  Source.Out puts[OLE D B Source O utput].Ext ernalColum ns[Patient ICN]"
  6296                                    length="50 "
  6297                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ].Columns[ PatientICN ]"
  6298                                    name="Pati entICN"
  6299                                    truncation RowDisposi tion="Fail Component"  />
  6300                               </ou tputColumn s>
  6301                               <ext ernalMetad ataColumns
  6302                                 is Used="True ">
  6303                                 <e xternalMet adataColum n
  6304                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Patien tFirstName ]"
  6305                                    codePage=" 1252"
  6306                                    dataType=" str"
  6307                                    length="50 "
  6308                                    name="Pati entFirstNa me" />
  6309                                 <e xternalMet adataColum n
  6310                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Patien tLastName] "
  6311                                    codePage=" 1252"
  6312                                    dataType=" str"
  6313                                    length="50 "
  6314                                    name="Pati entLastNam e" />
  6315                                 <e xternalMet adataColum n
  6316                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[EmailA ddress]"
  6317                                    codePage=" 1252"
  6318                                    dataType=" str"
  6319                                    length="50 "
  6320                                    name="Emai lAddress"  />
  6321                                 <e xternalMet adataColum n
  6322                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[DateOf Birth]"
  6323                                    dataType=" dbDate"
  6324                                    name="Date OfBirth" / >
  6325                                 <e xternalMet adataColum n
  6326                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[DateOf Death]"
  6327                                    dataType=" dbDate"
  6328                                    name="Date OfDeath" / >
  6329                                 <e xternalMet adataColum n
  6330                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[PhoneC ellular]"
  6331                                    codePage=" 1252"
  6332                                    dataType=" str"
  6333                                    length="50 "
  6334                                    name="Phon eCellular"  />
  6335                                 <e xternalMet adataColum n
  6336                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Create dBy]"
  6337                                    codePage=" 1252"
  6338                                    dataType=" str"
  6339                                    length="30 "
  6340                                    name="Crea tedBy" />
  6341                                 <e xternalMet adataColum n
  6342                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Update dBy]"
  6343                                    codePage=" 1252"
  6344                                    dataType=" str"
  6345                                    length="30 "
  6346                                    name="Upda tedBy" />
  6347                                 <e xternalMet adataColum n
  6348                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Create d]"
  6349                                    dataType=" dbTimeStam p"
  6350                                    name="Crea ted" />
  6351                                 <e xternalMet adataColum n
  6352                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Update date]"
  6353                                    dataType=" dbTimeStam p"
  6354                                    name="Upda tedate" />
  6355                                 <e xternalMet adataColum n
  6356                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[OEF_OI F_IND]"
  6357                                    dataType=" bool"
  6358                                    name="OEF_ OIF_IND" / >
  6359                                 <e xternalMet adataColum n
  6360                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Output].Ex ternalColu mns[Patien tICN]"
  6361                                    codePage=" 1252"
  6362                                    dataType=" str"
  6363                                    length="50 "
  6364                                    name="Pati entICN" />
  6365                               </ex ternalMeta dataColumn s>
  6366                             </outp ut>
  6367                             <outpu t
  6368                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Inse rt into st aging pati ent table\ OLE DB Sou rce.Output s[OLE DB S ource Erro r Output]"
  6369                               isEr rorOut="tr ue"
  6370                               name ="OLE DB S ource Erro r Output">
  6371                               <out putColumns >
  6372                                 <o utputColum n
  6373                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[PatientF irstName]"
  6374                                    codePage=" 1252"
  6375                                    dataType=" str"
  6376                                    length="50 "
  6377                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Pati entFirstNa me]"
  6378                                    name="Pati entFirstNa me" />
  6379                                 <o utputColum n
  6380                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[PatientL astName]"
  6381                                    codePage=" 1252"
  6382                                    dataType=" str"
  6383                                    length="50 "
  6384                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Pati entLastNam e]"
  6385                                    name="Pati entLastNam e" />
  6386                                 <o utputColum n
  6387                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[EmailAdd ress]"
  6388                                    codePage=" 1252"
  6389                                    dataType=" str"
  6390                                    length="50 "
  6391                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Emai lAddress]"
  6392                                    name="Emai lAddress"  />
  6393                                 <o utputColum n
  6394                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[DateOfBi rth]"
  6395                                    dataType=" dbDate"
  6396                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Date OfBirth]"
  6397                                    name="Date OfBirth" / >
  6398                                 <o utputColum n
  6399                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[DateOfDe ath]"
  6400                                    dataType=" dbDate"
  6401                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Date OfDeath]"
  6402                                    name="Date OfDeath" / >
  6403                                 <o utputColum n
  6404                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[PhoneCel lular]"
  6405                                    codePage=" 1252"
  6406                                    dataType=" str"
  6407                                    length="50 "
  6408                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Phon eCellular] "
  6409                                    name="Phon eCellular"  />
  6410                                 <o utputColum n
  6411                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[CreatedB y]"
  6412                                    codePage=" 1252"
  6413                                    dataType=" str"
  6414                                    length="30 "
  6415                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Crea tedBy]"
  6416                                    name="Crea tedBy" />
  6417                                 <o utputColum n
  6418                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[UpdatedB y]"
  6419                                    codePage=" 1252"
  6420                                    dataType=" str"
  6421                                    length="30 "
  6422                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Upda tedBy]"
  6423                                    name="Upda tedBy" />
  6424                                 <o utputColum n
  6425                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[Created] "
  6426                                    dataType=" dbTimeStam p"
  6427                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Crea ted]"
  6428                                    name="Crea ted" />
  6429                                 <o utputColum n
  6430                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[Updateda te]"
  6431                                    dataType=" dbTimeStam p"
  6432                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Upda tedate]"
  6433                                    name="Upda tedate" />
  6434                                 <o utputColum n
  6435                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[OEF_OIF_ IND]"
  6436                                    dataType=" bool"
  6437                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[OEF_ OIF_IND]"
  6438                                    name="OEF_ OIF_IND" / >
  6439                                 <o utputColum n
  6440                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[PatientI CN]"
  6441                                    codePage=" 1252"
  6442                                    dataType=" str"
  6443                                    length="50 "
  6444                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Pati entICN]"
  6445                                    name="Pati entICN" />
  6446                                 <o utputColum n
  6447                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[ErrorCod e]"
  6448                                    dataType=" i4"
  6449                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rCode]"
  6450                                    name="Erro rCode"
  6451                                    specialFla gs="1" />
  6452                                 <o utputColum n
  6453                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Insert int o staging  patient ta ble\OLE DB  Source.Ou tputs[OLE  DB Source  Error Outp ut].Column s[ErrorCol umn]"
  6454                                    dataType=" i4"
  6455                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output].Co lumns[Erro rColumn]"
  6456                                    name="Erro rColumn"
  6457                                    specialFla gs="2" />
  6458                               </ou tputColumn s>
  6459                               <ext ernalMetad ataColumns  />
  6460                             </outp ut>
  6461                           </output s>
  6462                         </componen t>
  6463                      </ components >
  6464                      <p aths>
  6465                         <path
  6466                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Insert i nto stagin g patient  table.Path s[OLE DB S ource Outp ut]"
  6467                           endId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Insert i nto stagin g patient  table\OLE  DB Destina tion.Input s[OLE DB D estination  Input]"
  6468                           name="OL E DB Sourc e Output"
  6469                           startId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Insert  into stag ing patien t table\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]" />
  6470                      </ paths>
  6471                    </pi peline>
  6472                  </DTS: ObjectData >
  6473                </DTS:Ex ecutable>
  6474                <DTS:Exe cutable
  6475                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Mo ve Patient s to CRSe"
  6476                  DTS:Cr eationName ="SSIS.Pip eline.3"
  6477                  DTS:De layValidat ion="True"
  6478                  DTS:De scription= "Data Flow  Task"
  6479                  DTS:DT SID="{EDE4 01BF-5870- 4D51-873F- 730204D06B 26}"
  6480                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  6481                  DTS:Lo caleID="-1 "
  6482                  DTS:Ob jectName=" Move Patie nts to CRS e"
  6483                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  6484                  <DTS:V ariables / >
  6485                  <DTS:O bjectData>
  6486                    <pip eline
  6487                      ve rsion="1">
  6488                      <c omponents>
  6489                         <component
  6490                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move Pat ients to C RSe\OLE DB  Destinati on"
  6491                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  6492                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  6493                           descript ion="OLE D B Destinat ion"
  6494                           name="OL E DB Desti nation"
  6495                           usesDisp ositions=" true"
  6496                           version= "4">
  6497                           <propert ies>
  6498                             <prope rty
  6499                               data Type="Syst em.Int32"
  6500                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  6501                               name ="CommandT imeout">0< /property>
  6502                             <prope rty
  6503                               data Type="Syst em.String"
  6504                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  6505                               name ="OpenRows et">[CRS]. [PATIENT]< /property>
  6506                             <prope rty
  6507                               data Type="Syst em.String"
  6508                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  6509                               name ="OpenRows etVariable "></proper ty>
  6510                             <prope rty
  6511                               data Type="Syst em.String"
  6512                               desc ription="T he SQL com mand to be  executed. "
  6513                               name ="SqlComma nd"
  6514                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  6515                             <prope rty
  6516                               data Type="Syst em.Int32"
  6517                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  6518                               name ="DefaultC odePage">1 252</prope rty>
  6519                             <prope rty
  6520                               data Type="Syst em.Boolean "
  6521                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  6522                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  6523                             <prope rty
  6524                               data Type="Syst em.Int32"
  6525                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  6526                               name ="AccessMo de"
  6527                               type Converter= "AccessMod e">3</prop erty>
  6528                             <prope rty
  6529                               data Type="Syst em.Boolean "
  6530                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  6531                               name ="FastLoad KeepIdenti ty">false< /property>
  6532                             <prope rty
  6533                               data Type="Syst em.Boolean "
  6534                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  6535                               name ="FastLoad KeepNulls" >false</pr operty>
  6536                             <prope rty
  6537                               data Type="Syst em.String"
  6538                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  6539                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  6540                             <prope rty
  6541                               data Type="Syst em.Int32"
  6542                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  6543                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  6544                           </proper ties>
  6545                           <connect ions>
  6546                             <conne ction
  6547                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Desti nation.Con nections[O leDbConnec tion]"
  6548                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  6549                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  6550                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  6551                               name ="OleDbCon nection" / >
  6552                           </connec tions>
  6553                           <inputs>
  6554                             <input
  6555                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]"
  6556                               erro rOrTruncat ionOperati on="Insert "
  6557                               erro rRowDispos ition="Fai lComponent "
  6558                               hasS ideEffects ="true"
  6559                               name ="OLE DB D estination  Input">
  6560                               <inp utColumns>
  6561                                 <i nputColumn
  6562                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[FIRST_NA ME]"
  6563                                    cachedCode page="1252 "
  6564                                    cachedData Type="str"
  6565                                    cachedLeng th="50"
  6566                                    cachedName ="FIRST_NA ME"
  6567                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[F IRST_NAME] "
  6568                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[FI RST_NAME]"  />
  6569                                 <i nputColumn
  6570                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[MIDDLE_N AME]"
  6571                                    cachedCode page="1252 "
  6572                                    cachedData Type="str"
  6573                                    cachedLeng th="50"
  6574                                    cachedName ="MIDDLE_N AME"
  6575                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[M IDDLE_NAME ]"
  6576                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[MI DDLE_NAME] " />
  6577                                 <i nputColumn
  6578                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[LAST_NAM E]"
  6579                                    cachedCode page="1252 "
  6580                                    cachedData Type="str"
  6581                                    cachedLeng th="50"
  6582                                    cachedName ="LAST_NAM E"
  6583                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[L AST_NAME]"
  6584                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[LA ST_NAME]"  />
  6585                                 <i nputColumn
  6586                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[EMAIL_AD DRESS]"
  6587                                    cachedCode page="1252 "
  6588                                    cachedData Type="str"
  6589                                    cachedLeng th="128"
  6590                                    cachedName ="EMAIL_AD DRESS"
  6591                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[E MAIL_ADDRE SS]"
  6592                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[EM AIL_ADDRES S]" />
  6593                                 <i nputColumn
  6594                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[BIRTH_DA TE]"
  6595                                    cachedData Type="dbDa te"
  6596                                    cachedName ="BIRTH_DA TE"
  6597                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[B IRTH_DATE] "
  6598                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[BI RTH_DATE]"  />
  6599                                 <i nputColumn
  6600                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[DEATH_DA TE]"
  6601                                    cachedData Type="dbDa te"
  6602                                    cachedName ="DEATH_DA TE"
  6603                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[D EATH_DATE] "
  6604                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DE ATH_DATE]"  />
  6605                                 <i nputColumn
  6606                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CELL_PHO NE]"
  6607                                    cachedCode page="1252 "
  6608                                    cachedData Type="str"
  6609                                    cachedLeng th="50"
  6610                                    cachedName ="CELL_PHO NE"
  6611                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C ELL_PHONE] "
  6612                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CE LL_PHONE]"  />
  6613                                 <i nputColumn
  6614                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[PERFERRE D_ADDRESS_ TYPE]"
  6615                                    cachedCode page="1252 "
  6616                                    cachedData Type="str"
  6617                                    cachedLeng th="50"
  6618                                    cachedName ="PERFERRE D_ADDRESS_ TYPE"
  6619                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ERFERRED_A DDRESS_TYP E]"
  6620                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PE RFERRED_AD DRESS_TYPE ]" />
  6621                                 <i nputColumn
  6622                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CREATEDB Y]"
  6623                                    cachedCode page="1252 "
  6624                                    cachedData Type="str"
  6625                                    cachedLeng th="30"
  6626                                    cachedName ="CREATEDB Y"
  6627                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATEDBY]"
  6628                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDBY]"  />
  6629                                 <i nputColumn
  6630                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CREATED] "
  6631                                    cachedData Type="dbTi meStamp"
  6632                                    cachedName ="CREATED"
  6633                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATED]"
  6634                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATED]" />
  6635                                 <i nputColumn
  6636                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UPDATEDB Y]"
  6637                                    cachedCode page="1252 "
  6638                                    cachedData Type="str"
  6639                                    cachedLeng th="30"
  6640                                    cachedName ="UPDATEDB Y"
  6641                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATEDBY]"
  6642                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDBY]"  />
  6643                                 <i nputColumn
  6644                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UPDATED] "
  6645                                    cachedData Type="dbTi meStamp"
  6646                                    cachedName ="UPDATED"
  6647                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATED]"
  6648                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATED]" />
  6649                                 <i nputColumn
  6650                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[OEFOIF_I ND]"
  6651                                    cachedData Type="bool "
  6652                                    cachedName ="OEFOIF_I ND"
  6653                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[O EFOIF_IND] "
  6654                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[OE FOIF_IND]"  />
  6655                                 <i nputColumn
  6656                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[PatientI CN]"
  6657                                    cachedCode page="1252 "
  6658                                    cachedData Type="str"
  6659                                    cachedLeng th="50"
  6660                                    cachedName ="PatientI CN"
  6661                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P atientICN] "
  6662                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pa tientICN]"  />
  6663                                 <i nputColumn
  6664                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[PATIENTS ID]"
  6665                                    cachedData Type="i4"
  6666                                    cachedName ="PATIENTS ID"
  6667                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ATIENTSID] "
  6668                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PA TIENTSID]"  />
  6669                               </in putColumns >
  6670                               <ext ernalMetad ataColumns
  6671                                 is Used="True ">
  6672                                 <e xternalMet adataColum n
  6673                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PATIENT_ID ]"
  6674                                    dataType=" i4"
  6675                                    name="PATI ENT_ID" />
  6676                                 <e xternalMet adataColum n
  6677                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ FIRST_NAME ]"
  6678                                    codePage=" 1252"
  6679                                    dataType=" str"
  6680                                    length="50 "
  6681                                    name="FIRS T_NAME" />
  6682                                 <e xternalMet adataColum n
  6683                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ MIDDLE_NAM E]"
  6684                                    codePage=" 1252"
  6685                                    dataType=" str"
  6686                                    length="50 "
  6687                                    name="MIDD LE_NAME" / >
  6688                                 <e xternalMet adataColum n
  6689                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ LAST_NAME] "
  6690                                    codePage=" 1252"
  6691                                    dataType=" str"
  6692                                    length="50 "
  6693                                    name="LAST _NAME" />
  6694                                 <e xternalMet adataColum n
  6695                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ EMAIL_ADDR ESS]"
  6696                                    codePage=" 1252"
  6697                                    dataType=" str"
  6698                                    length="12 8"
  6699                                    name="EMAI L_ADDRESS"  />
  6700                                 <e xternalMet adataColum n
  6701                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ BIRTH_DATE ]"
  6702                                    dataType=" dbDate"
  6703                                    name="BIRT H_DATE" />
  6704                                 <e xternalMet adataColum n
  6705                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ DEATH_DATE ]"
  6706                                    dataType=" dbDate"
  6707                                    name="DEAT H_DATE" />
  6708                                 <e xternalMet adataColum n
  6709                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CELL_PHONE ]"
  6710                                    codePage=" 1252"
  6711                                    dataType=" str"
  6712                                    length="50 "
  6713                                    name="CELL _PHONE" />
  6714                                 <e xternalMet adataColum n
  6715                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PERFERRED_ ADDRESS_TY PE]"
  6716                                    codePage=" 1252"
  6717                                    dataType=" str"
  6718                                    length="50 "
  6719                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  6720                                 <e xternalMet adataColum n
  6721                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATEDBY] "
  6722                                    codePage=" 1252"
  6723                                    dataType=" str"
  6724                                    length="30 "
  6725                                    name="CREA TEDBY" />
  6726                                 <e xternalMet adataColum n
  6727                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATED]"
  6728                                    dataType=" dbTimeStam p"
  6729                                    name="CREA TED" />
  6730                                 <e xternalMet adataColum n
  6731                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATEDBY] "
  6732                                    codePage=" 1252"
  6733                                    dataType=" str"
  6734                                    length="30 "
  6735                                    name="UPDA TEDBY" />
  6736                                 <e xternalMet adataColum n
  6737                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATED]"
  6738                                    dataType=" dbTimeStam p"
  6739                                    name="UPDA TED" />
  6740                                 <e xternalMet adataColum n
  6741                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ OEFOIF_IND ]"
  6742                                    dataType=" bool"
  6743                                    name="OEFO IF_IND" />
  6744                                 <e xternalMet adataColum n
  6745                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PatientICN ]"
  6746                                    codePage=" 1252"
  6747                                    dataType=" str"
  6748                                    length="50 "
  6749                                    name="Pati entICN" />
  6750                                 <e xternalMet adataColum n
  6751                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PATIENTSID ]"
  6752                                    dataType=" i4"
  6753                                    name="PATI ENTSID" />
  6754                               </ex ternalMeta dataColumn s>
  6755                             </inpu t>
  6756                           </inputs >
  6757                           <outputs >
  6758                             <outpu t
  6759                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output]"
  6760                               excl usionGroup ="1"
  6761                               isEr rorOut="tr ue"
  6762                               name ="OLE DB D estination  Error Out put"
  6763                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t]">
  6764                               <out putColumns >
  6765                                 <o utputColum n
  6766                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorCode] "
  6767                                    dataType=" i4"
  6768                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC ode]"
  6769                                    name="Erro rCode"
  6770                                    specialFla gs="1" />
  6771                                 <o utputColum n
  6772                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorColum n]"
  6773                                    dataType=" i4"
  6774                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC olumn]"
  6775                                    name="Erro rColumn"
  6776                                    specialFla gs="2" />
  6777                               </ou tputColumn s>
  6778                               <ext ernalMetad ataColumns  />
  6779                             </outp ut>
  6780                           </output s>
  6781                         </componen t>
  6782                         <component
  6783                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move Pat ients to C RSe\OLE DB  Source"
  6784                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  6785                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  6786                           descript ion="OLE D B Source"
  6787                           name="OL E DB Sourc e"
  6788                           usesDisp ositions=" true"
  6789                           version= "7">
  6790                           <propert ies>
  6791                             <prope rty
  6792                               data Type="Syst em.Int32"
  6793                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  6794                               name ="CommandT imeout">0< /property>
  6795                             <prope rty
  6796                               data Type="Syst em.String"
  6797                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  6798                               name ="OpenRows et">[STAGI NG].[PATIE NT]</prope rty>
  6799                             <prope rty
  6800                               data Type="Syst em.String"
  6801                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  6802                               name ="OpenRows etVariable "></proper ty>
  6803                             <prope rty
  6804                               data Type="Syst em.String"
  6805                               desc ription="T he SQL com mand to be  executed. "
  6806                               name ="SqlComma nd"
  6807                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  6808                             <prope rty
  6809                               data Type="Syst em.String"
  6810                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  6811                               name ="SqlComma ndVariable "></proper ty>
  6812                             <prope rty
  6813                               data Type="Syst em.Int32"
  6814                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  6815                               name ="DefaultC odePage">1 252</prope rty>
  6816                             <prope rty
  6817                               data Type="Syst em.Boolean "
  6818                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  6819                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  6820                             <prope rty
  6821                               data Type="Syst em.Int32"
  6822                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  6823                               name ="AccessMo de"
  6824                               type Converter= "AccessMod e">0</prop erty>
  6825                             <prope rty
  6826                               data Type="Syst em.String"
  6827                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  6828                               name ="Paramete rMapping"> </property >
  6829                           </proper ties>
  6830                           <connect ions>
  6831                             <conne ction
  6832                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Sourc e.Connecti ons[OleDbC onnection] "
  6833                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  6834                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  6835                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  6836                               name ="OleDbCon nection" / >
  6837                           </connec tions>
  6838                           <outputs >
  6839                             <outpu t
  6840                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]"
  6841                               name ="OLE DB S ource Outp ut">
  6842                               <out putColumns >
  6843                                 <o utputColum n
  6844                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[PATIEN T_ID]"
  6845                                    dataType=" i4"
  6846                                    errorOrTru ncationOpe ration="Co nversion"
  6847                                    errorRowDi sposition= "FailCompo nent"
  6848                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PATIENT_I D]"
  6849                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PA TIENT_ID]"
  6850                                    name="PATI ENT_ID"
  6851                                    truncation RowDisposi tion="Fail Component"  />
  6852                                 <o utputColum n
  6853                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[FIRST_ NAME]"
  6854                                    codePage=" 1252"
  6855                                    dataType=" str"
  6856                                    errorOrTru ncationOpe ration="Co nversion"
  6857                                    errorRowDi sposition= "FailCompo nent"
  6858                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [FIRST_NAM E]"
  6859                                    length="50 "
  6860                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[FI RST_NAME]"
  6861                                    name="FIRS T_NAME"
  6862                                    truncation RowDisposi tion="Fail Component"  />
  6863                                 <o utputColum n
  6864                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[MIDDLE _NAME]"
  6865                                    codePage=" 1252"
  6866                                    dataType=" str"
  6867                                    errorOrTru ncationOpe ration="Co nversion"
  6868                                    errorRowDi sposition= "FailCompo nent"
  6869                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [MIDDLE_NA ME]"
  6870                                    length="50 "
  6871                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[MI DDLE_NAME] "
  6872                                    name="MIDD LE_NAME"
  6873                                    truncation RowDisposi tion="Fail Component"  />
  6874                                 <o utputColum n
  6875                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[LAST_N AME]"
  6876                                    codePage=" 1252"
  6877                                    dataType=" str"
  6878                                    errorOrTru ncationOpe ration="Co nversion"
  6879                                    errorRowDi sposition= "FailCompo nent"
  6880                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [LAST_NAME ]"
  6881                                    length="50 "
  6882                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[LA ST_NAME]"
  6883                                    name="LAST _NAME"
  6884                                    truncation RowDisposi tion="Fail Component"  />
  6885                                 <o utputColum n
  6886                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[EMAIL_ ADDRESS]"
  6887                                    codePage=" 1252"
  6888                                    dataType=" str"
  6889                                    errorOrTru ncationOpe ration="Co nversion"
  6890                                    errorRowDi sposition= "FailCompo nent"
  6891                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [EMAIL_ADD RESS]"
  6892                                    length="12 8"
  6893                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[EM AIL_ADDRES S]"
  6894                                    name="EMAI L_ADDRESS"
  6895                                    truncation RowDisposi tion="Fail Component"  />
  6896                                 <o utputColum n
  6897                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[BIRTH_ DATE]"
  6898                                    dataType=" dbDate"
  6899                                    errorOrTru ncationOpe ration="Co nversion"
  6900                                    errorRowDi sposition= "FailCompo nent"
  6901                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [BIRTH_DAT E]"
  6902                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[BI RTH_DATE]"
  6903                                    name="BIRT H_DATE"
  6904                                    truncation RowDisposi tion="Fail Component"  />
  6905                                 <o utputColum n
  6906                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DEATH_ DATE]"
  6907                                    dataType=" dbDate"
  6908                                    errorOrTru ncationOpe ration="Co nversion"
  6909                                    errorRowDi sposition= "FailCompo nent"
  6910                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [DEATH_DAT E]"
  6911                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DE ATH_DATE]"
  6912                                    name="DEAT H_DATE"
  6913                                    truncation RowDisposi tion="Fail Component"  />
  6914                                 <o utputColum n
  6915                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CELL_P HONE]"
  6916                                    codePage=" 1252"
  6917                                    dataType=" str"
  6918                                    errorOrTru ncationOpe ration="Co nversion"
  6919                                    errorRowDi sposition= "FailCompo nent"
  6920                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CELL_PHON E]"
  6921                                    length="50 "
  6922                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CE LL_PHONE]"
  6923                                    name="CELL _PHONE"
  6924                                    truncation RowDisposi tion="Fail Component"  />
  6925                                 <o utputColum n
  6926                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[PERFER RED_ADDRES S_TYPE]"
  6927                                    codePage=" 1252"
  6928                                    dataType=" str"
  6929                                    errorOrTru ncationOpe ration="Co nversion"
  6930                                    errorRowDi sposition= "FailCompo nent"
  6931                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PERFERRED _ADDRESS_T YPE]"
  6932                                    length="50 "
  6933                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PE RFERRED_AD DRESS_TYPE ]"
  6934                                    name="PERF ERRED_ADDR ESS_TYPE"
  6935                                    truncation RowDisposi tion="Fail Component"  />
  6936                                 <o utputColum n
  6937                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE DBY]"
  6938                                    codePage=" 1252"
  6939                                    dataType=" str"
  6940                                    errorOrTru ncationOpe ration="Co nversion"
  6941                                    errorRowDi sposition= "FailCompo nent"
  6942                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CREATEDBY ]"
  6943                                    length="30 "
  6944                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDBY]"
  6945                                    name="CREA TEDBY"
  6946                                    truncation RowDisposi tion="Fail Component"  />
  6947                                 <o utputColum n
  6948                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE D]"
  6949                                    dataType=" dbTimeStam p"
  6950                                    errorOrTru ncationOpe ration="Co nversion"
  6951                                    errorRowDi sposition= "FailCompo nent"
  6952                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CREATED]"
  6953                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATED]"
  6954                                    name="CREA TED"
  6955                                    truncation RowDisposi tion="Fail Component"  />
  6956                                 <o utputColum n
  6957                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE DBY]"
  6958                                    codePage=" 1252"
  6959                                    dataType=" str"
  6960                                    errorOrTru ncationOpe ration="Co nversion"
  6961                                    errorRowDi sposition= "FailCompo nent"
  6962                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UPDATEDBY ]"
  6963                                    length="30 "
  6964                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDBY]"
  6965                                    name="UPDA TEDBY"
  6966                                    truncation RowDisposi tion="Fail Component"  />
  6967                                 <o utputColum n
  6968                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE D]"
  6969                                    dataType=" dbTimeStam p"
  6970                                    errorOrTru ncationOpe ration="Co nversion"
  6971                                    errorRowDi sposition= "FailCompo nent"
  6972                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UPDATED]"
  6973                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATED]"
  6974                                    name="UPDA TED"
  6975                                    truncation RowDisposi tion="Fail Component"  />
  6976                                 <o utputColum n
  6977                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[OEFOIF _IND]"
  6978                                    dataType=" bool"
  6979                                    errorOrTru ncationOpe ration="Co nversion"
  6980                                    errorRowDi sposition= "FailCompo nent"
  6981                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [OEFOIF_IN D]"
  6982                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[OE FOIF_IND]"
  6983                                    name="OEFO IF_IND"
  6984                                    truncation RowDisposi tion="Fail Component"  />
  6985                                 <o utputColum n
  6986                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[Patien tICN]"
  6987                                    codePage=" 1252"
  6988                                    dataType=" str"
  6989                                    errorOrTru ncationOpe ration="Co nversion"
  6990                                    errorRowDi sposition= "FailCompo nent"
  6991                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PatientIC N]"
  6992                                    length="50 "
  6993                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[Pa tientICN]"
  6994                                    name="Pati entICN"
  6995                                    truncation RowDisposi tion="Fail Component"  />
  6996                                 <o utputColum n
  6997                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[PATIEN TSID]"
  6998                                    dataType=" i4"
  6999                                    errorOrTru ncationOpe ration="Co nversion"
  7000                                    errorRowDi sposition= "FailCompo nent"
  7001                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove Patien ts to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PATIENTSI D]"
  7002                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PA TIENTSID]"
  7003                                    name="PATI ENTSID"
  7004                                    truncation RowDisposi tion="Fail Component"  />
  7005                               </ou tputColumn s>
  7006                               <ext ernalMetad ataColumns
  7007                                 is Used="True ">
  7008                                 <e xternalMet adataColum n
  7009                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PATIENT_ ID]"
  7010                                    dataType=" i4"
  7011                                    name="PATI ENT_ID" />
  7012                                 <e xternalMet adataColum n
  7013                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[FIRST_NA ME]"
  7014                                    codePage=" 1252"
  7015                                    dataType=" str"
  7016                                    length="50 "
  7017                                    name="FIRS T_NAME" />
  7018                                 <e xternalMet adataColum n
  7019                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[MIDDLE_N AME]"
  7020                                    codePage=" 1252"
  7021                                    dataType=" str"
  7022                                    length="50 "
  7023                                    name="MIDD LE_NAME" / >
  7024                                 <e xternalMet adataColum n
  7025                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[LAST_NAM E]"
  7026                                    codePage=" 1252"
  7027                                    dataType=" str"
  7028                                    length="50 "
  7029                                    name="LAST _NAME" />
  7030                                 <e xternalMet adataColum n
  7031                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[EMAIL_AD DRESS]"
  7032                                    codePage=" 1252"
  7033                                    dataType=" str"
  7034                                    length="12 8"
  7035                                    name="EMAI L_ADDRESS"  />
  7036                                 <e xternalMet adataColum n
  7037                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[BIRTH_DA TE]"
  7038                                    dataType=" dbDate"
  7039                                    name="BIRT H_DATE" />
  7040                                 <e xternalMet adataColum n
  7041                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[DEATH_DA TE]"
  7042                                    dataType=" dbDate"
  7043                                    name="DEAT H_DATE" />
  7044                                 <e xternalMet adataColum n
  7045                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CELL_PHO NE]"
  7046                                    codePage=" 1252"
  7047                                    dataType=" str"
  7048                                    length="50 "
  7049                                    name="CELL _PHONE" />
  7050                                 <e xternalMet adataColum n
  7051                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PERFERRE D_ADDRESS_ TYPE]"
  7052                                    codePage=" 1252"
  7053                                    dataType=" str"
  7054                                    length="50 "
  7055                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  7056                                 <e xternalMet adataColum n
  7057                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CREATEDB Y]"
  7058                                    codePage=" 1252"
  7059                                    dataType=" str"
  7060                                    length="30 "
  7061                                    name="CREA TEDBY" />
  7062                                 <e xternalMet adataColum n
  7063                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CREATED] "
  7064                                    dataType=" dbTimeStam p"
  7065                                    name="CREA TED" />
  7066                                 <e xternalMet adataColum n
  7067                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UPDATEDB Y]"
  7068                                    codePage=" 1252"
  7069                                    dataType=" str"
  7070                                    length="30 "
  7071                                    name="UPDA TEDBY" />
  7072                                 <e xternalMet adataColum n
  7073                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UPDATED] "
  7074                                    dataType=" dbTimeStam p"
  7075                                    name="UPDA TED" />
  7076                                 <e xternalMet adataColum n
  7077                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[OEFOIF_I ND]"
  7078                                    dataType=" bool"
  7079                                    name="OEFO IF_IND" />
  7080                                 <e xternalMet adataColum n
  7081                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PatientI CN]"
  7082                                    codePage=" 1252"
  7083                                    dataType=" str"
  7084                                    length="50 "
  7085                                    name="Pati entICN" />
  7086                                 <e xternalMet adataColum n
  7087                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PATIENTS ID]"
  7088                                    dataType=" i4"
  7089                                    name="PATI ENTSID" />
  7090                               </ex ternalMeta dataColumn s>
  7091                             </outp ut>
  7092                             <outpu t
  7093                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  Patients  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output]"
  7094                               isEr rorOut="tr ue"
  7095                               name ="OLE DB S ource Erro r Output">
  7096                               <out putColumns >
  7097                                 <o utputColum n
  7098                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PATIENT_ID ]"
  7099                                    dataType=" i4"
  7100                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[PATIEN T_ID]"
  7101                                    name="PATI ENT_ID" />
  7102                                 <o utputColum n
  7103                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ FIRST_NAME ]"
  7104                                    codePage=" 1252"
  7105                                    dataType=" str"
  7106                                    length="50 "
  7107                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[FIRST_ NAME]"
  7108                                    name="FIRS T_NAME" />
  7109                                 <o utputColum n
  7110                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ MIDDLE_NAM E]"
  7111                                    codePage=" 1252"
  7112                                    dataType=" str"
  7113                                    length="50 "
  7114                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[MIDDLE _NAME]"
  7115                                    name="MIDD LE_NAME" / >
  7116                                 <o utputColum n
  7117                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ LAST_NAME] "
  7118                                    codePage=" 1252"
  7119                                    dataType=" str"
  7120                                    length="50 "
  7121                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[LAST_N AME]"
  7122                                    name="LAST _NAME" />
  7123                                 <o utputColum n
  7124                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ EMAIL_ADDR ESS]"
  7125                                    codePage=" 1252"
  7126                                    dataType=" str"
  7127                                    length="12 8"
  7128                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[EMAIL_ ADDRESS]"
  7129                                    name="EMAI L_ADDRESS"  />
  7130                                 <o utputColum n
  7131                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ BIRTH_DATE ]"
  7132                                    dataType=" dbDate"
  7133                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[BIRTH_ DATE]"
  7134                                    name="BIRT H_DATE" />
  7135                                 <o utputColum n
  7136                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ DEATH_DATE ]"
  7137                                    dataType=" dbDate"
  7138                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[DEATH_ DATE]"
  7139                                    name="DEAT H_DATE" />
  7140                                 <o utputColum n
  7141                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CELL_PHONE ]"
  7142                                    codePage=" 1252"
  7143                                    dataType=" str"
  7144                                    length="50 "
  7145                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CELL_P HONE]"
  7146                                    name="CELL _PHONE" />
  7147                                 <o utputColum n
  7148                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PERFERRED_ ADDRESS_TY PE]"
  7149                                    codePage=" 1252"
  7150                                    dataType=" str"
  7151                                    length="50 "
  7152                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[PERFER RED_ADDRES S_TYPE]"
  7153                                    name="PERF ERRED_ADDR ESS_TYPE"  />
  7154                                 <o utputColum n
  7155                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATEDBY] "
  7156                                    codePage=" 1252"
  7157                                    dataType=" str"
  7158                                    length="30 "
  7159                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CREATE DBY]"
  7160                                    name="CREA TEDBY" />
  7161                                 <o utputColum n
  7162                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATED]"
  7163                                    dataType=" dbTimeStam p"
  7164                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CREATE D]"
  7165                                    name="CREA TED" />
  7166                                 <o utputColum n
  7167                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATEDBY] "
  7168                                    codePage=" 1252"
  7169                                    dataType=" str"
  7170                                    length="30 "
  7171                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[UPDATE DBY]"
  7172                                    name="UPDA TEDBY" />
  7173                                 <o utputColum n
  7174                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATED]"
  7175                                    dataType=" dbTimeStam p"
  7176                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[UPDATE D]"
  7177                                    name="UPDA TED" />
  7178                                 <o utputColum n
  7179                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ OEFOIF_IND ]"
  7180                                    dataType=" bool"
  7181                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[OEFOIF _IND]"
  7182                                    name="OEFO IF_IND" />
  7183                                 <o utputColum n
  7184                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PatientICN ]"
  7185                                    codePage=" 1252"
  7186                                    dataType=" str"
  7187                                    length="50 "
  7188                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[Patien tICN]"
  7189                                    name="Pati entICN" />
  7190                                 <o utputColum n
  7191                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PATIENTSID ]"
  7192                                    dataType=" i4"
  7193                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[PATIEN TSID]"
  7194                                    name="PATI ENTSID" />
  7195                                 <o utputColum n
  7196                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorCode] "
  7197                                    dataType=" i4"
  7198                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC ode]"
  7199                                    name="Erro rCode"
  7200                                    specialFla gs="1" />
  7201                                 <o utputColum n
  7202                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move Patie nts to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorColum n]"
  7203                                    dataType=" i4"
  7204                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC olumn]"
  7205                                    name="Erro rColumn"
  7206                                    specialFla gs="2" />
  7207                               </ou tputColumn s>
  7208                               <ext ernalMetad ataColumns  />
  7209                             </outp ut>
  7210                           </output s>
  7211                         </componen t>
  7212                      </ components >
  7213                      <p aths>
  7214                         <path
  7215                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move Pat ients to C RSe.Paths[ OLE DB Sou rce Output ]"
  7216                           endId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move Pat ients to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput]"
  7217                           name="OL E DB Sourc e Output"
  7218                           startId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move P atients to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]"  />
  7219                      </ paths>
  7220                    </pi peline>
  7221                  </DTS: ObjectData >
  7222                </DTS:Ex ecutable>
  7223                <DTS:Exe cutable
  7224                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Mo ve referra l to CRSe"
  7225                  DTS:Cr eationName ="SSIS.Pip eline.3"
  7226                  DTS:De layValidat ion="True"
  7227                  DTS:De scription= "Data Flow  Task"
  7228                  DTS:DT SID="{9EC0 8D51-5E91- 43F4-ACE3- 5E4E375B32 7B}"
  7229                  DTS:Ex ecutableTy pe="SSIS.P ipeline.3"
  7230                  DTS:Lo caleID="-1 "
  7231                  DTS:Ob jectName=" Move refer ral to CRS e"
  7232                  DTS:Ta skContact= "Performs  high-perfo rmance dat a extracti on, transf ormation a nd loading ;Microsoft  Corporati on; Micros oft SQL Se rver; (C)  2007 Micro soft Corpo ration; Al l Rights R eserved;ht tp://www.m icrosoft.c om/sql/sup port/defau lt.asp;1">
  7233                  <DTS:V ariables / >
  7234                  <DTS:O bjectData>
  7235                    <pip eline
  7236                      ve rsion="1">
  7237                      <c omponents>
  7238                         <component
  7239                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move ref erral to C RSe\OLE DB  Destinati on"
  7240                           componen tClassID=" {4ADA7EAA- 136C-4215- 8098-D7A7C 27FC0D1}"
  7241                           contactI nfo="OLE D B Destinat ion;Micros oft Corpor ation; Mic rosoft SQL  Server; ( C) Microso ft Corpora tion; All  Rights Res erved; htt p://www.mi crosoft.co m/sql/supp ort;4"
  7242                           descript ion="OLE D B Destinat ion"
  7243                           name="OL E DB Desti nation"
  7244                           usesDisp ositions=" true"
  7245                           version= "4">
  7246                           <propert ies>
  7247                             <prope rty
  7248                               data Type="Syst em.Int32"
  7249                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  7250                               name ="CommandT imeout">0< /property>
  7251                             <prope rty
  7252                               data Type="Syst em.String"
  7253                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  7254                               name ="OpenRows et">[CRS]. [REFERRAL] </property >
  7255                             <prope rty
  7256                               data Type="Syst em.String"
  7257                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  7258                               name ="OpenRows etVariable "></proper ty>
  7259                             <prope rty
  7260                               data Type="Syst em.String"
  7261                               desc ription="T he SQL com mand to be  executed. "
  7262                               name ="SqlComma nd"
  7263                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  7264                             <prope rty
  7265                               data Type="Syst em.Int32"
  7266                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  7267                               name ="DefaultC odePage">1 252</prope rty>
  7268                             <prope rty
  7269                               data Type="Syst em.Boolean "
  7270                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  7271                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  7272                             <prope rty
  7273                               data Type="Syst em.Int32"
  7274                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  7275                               name ="AccessMo de"
  7276                               type Converter= "AccessMod e">3</prop erty>
  7277                             <prope rty
  7278                               data Type="Syst em.Boolean "
  7279                               desc ription="I ndicates w hether the  values su pplied for  identity  columns wi ll be copi ed to the  destinatio n. If fals e, values  for identi ty columns  will be a uto-genera ted at the  destinati on. Applie s only if  fast load  is turned  on."
  7280                               name ="FastLoad KeepIdenti ty">false< /property>
  7281                             <prope rty
  7282                               data Type="Syst em.Boolean "
  7283                               desc ription="I ndicates w hether the  columns c ontaining  null will  have null  inserted i n the dest ination. I f false, c olumns con taining nu ll will ha ve their d efault val ues insert ed at the  destinatio n. Applies  only if f ast load i s turned o n."
  7284                               name ="FastLoad KeepNulls" >false</pr operty>
  7285                             <prope rty
  7286                               data Type="Syst em.String"
  7287                               desc ription="S pecifies o ptions to  be used wi th fast lo ad.  Appli es only if  fast load  is turned  on."
  7288                               name ="FastLoad Options">T ABLOCK,CHE CK_CONSTRA INTS</prop erty>
  7289                             <prope rty
  7290                               data Type="Syst em.Int32"
  7291                               desc ription="S pecifies w hen commit s are issu ed during  data inser tion.  A v alue of 0  specifies  that one c ommit will  be issued  at the en d of data  insertion.   Applies  only if fa st load is  turned on ."
  7292                               name ="FastLoad MaxInsertC ommitSize" >214748364 7</propert y>
  7293                           </proper ties>
  7294                           <connect ions>
  7295                             <conne ction
  7296                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Desti nation.Con nections[O leDbConnec tion]"
  7297                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[CRSReg istry]"
  7298                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[CRS Registry]"
  7299                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  7300                               name ="OleDbCon nection" / >
  7301                           </connec tions>
  7302                           <inputs>
  7303                             <input
  7304                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Desti nation.Inp uts[OLE DB  Destinati on Input]"
  7305                               erro rOrTruncat ionOperati on="Insert "
  7306                               erro rRowDispos ition="Fai lComponent "
  7307                               hasS ideEffects ="true"
  7308                               name ="OLE DB D estination  Input">
  7309                               <inp utColumns>
  7310                                 <i nputColumn
  7311                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[STD_REFE RRALSTS_ID ]"
  7312                                    cachedData Type="i4"
  7313                                    cachedName ="STD_REFE RRALSTS_ID "
  7314                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REFERRA LSTS_ID]"
  7315                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REFERRAL STS_ID]" / >
  7316                                 <i nputColumn
  7317                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[STD_REGI STRY_ID]"
  7318                                    cachedData Type="i4"
  7319                                    cachedName ="STD_REGI STRY_ID"
  7320                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REGISTR Y_ID]"
  7321                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REGISTRY _ID]" />
  7322                                 <i nputColumn
  7323                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[PATIENT_ ID]"
  7324                                    cachedData Type="i4"
  7325                                    cachedName ="PATIENT_ ID"
  7326                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ATIENT_ID] "
  7327                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PA TIENT_ID]"  />
  7328                                 <i nputColumn
  7329                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[REFERRAL _DATE]"
  7330                                    cachedData Type="dbTi meStamp"
  7331                                    cachedName ="REFERRAL _DATE"
  7332                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EFERRAL_DA TE]"
  7333                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE FERRAL_DAT E]" />
  7334                                 <i nputColumn
  7335                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[REFERRAL _CLASS_TEX T]"
  7336                                    cachedCode page="1252 "
  7337                                    cachedData Type="str"
  7338                                    cachedLeng th="4000"
  7339                                    cachedName ="REFERRAL _CLASS_TEX T"
  7340                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EFERRAL_CL ASS_TEXT]"
  7341                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE FERRAL_CLA SS_TEXT]"  />
  7342                                 <i nputColumn
  7343                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[PROVIDER _ID]"
  7344                                    cachedData Type="i4"
  7345                                    cachedName ="PROVIDER _ID"
  7346                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[P ROVIDER_ID ]"
  7347                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PR OVIDER_ID] " />
  7348                                 <i nputColumn
  7349                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CREATEDB Y]"
  7350                                    cachedCode page="1252 "
  7351                                    cachedData Type="str"
  7352                                    cachedLeng th="30"
  7353                                    cachedName ="CREATEDB Y"
  7354                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATEDBY]"
  7355                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDBY]"  />
  7356                                 <i nputColumn
  7357                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CREATED] "
  7358                                    cachedData Type="dbTi meStamp"
  7359                                    cachedName ="CREATED"
  7360                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATED]"
  7361                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATED]" />
  7362                                 <i nputColumn
  7363                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UPDATEDB Y]"
  7364                                    cachedCode page="1252 "
  7365                                    cachedData Type="str"
  7366                                    cachedLeng th="30"
  7367                                    cachedName ="UPDATEDB Y"
  7368                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATEDBY]"
  7369                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDBY]"  />
  7370                                 <i nputColumn
  7371                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UPDATED] "
  7372                                    cachedData Type="dbTi meStamp"
  7373                                    cachedName ="UPDATED"
  7374                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATED]"
  7375                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATED]" />
  7376                                 <i nputColumn
  7377                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[COMMENT_ TEXT]"
  7378                                    cachedCode page="1252 "
  7379                                    cachedData Type="str"
  7380                                    cachedLeng th="4000"
  7381                                    cachedName ="COMMENT_ TEXT"
  7382                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C OMMENT_TEX T]"
  7383                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CO MMENT_TEXT ]" />
  7384                                 <i nputColumn
  7385                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[STD_REMI NDERCLASS_ ID]"
  7386                                    cachedData Type="i4"
  7387                                    cachedName ="STD_REMI NDERCLASS_ ID"
  7388                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[S TD_REMINDE RCLASS_ID] "
  7389                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REMINDER CLASS_ID]"  />
  7390                                 <i nputColumn
  7391                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[REVIEW_B Y]"
  7392                                    cachedCode page="1252 "
  7393                                    cachedData Type="str"
  7394                                    cachedLeng th="30"
  7395                                    cachedName ="REVIEW_B Y"
  7396                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EVIEW_BY]"
  7397                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE VIEW_BY]"  />
  7398                                 <i nputColumn
  7399                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[REVIEW_D ATE]"
  7400                                    cachedData Type="dbTi meStamp"
  7401                                    cachedName ="REVIEW_D ATE"
  7402                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[R EVIEW_DATE ]"
  7403                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE VIEW_DATE] " />
  7404                                 <i nputColumn
  7405                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[DUPLICAT E_FLAG]"
  7406                                    cachedData Type="bool "
  7407                                    cachedName ="DUPLICAT E_FLAG"
  7408                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[D UPLICATE_F LAG]"
  7409                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DU PLICATE_FL AG]" />
  7410                                 <i nputColumn
  7411                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[CREATEDS OURCE]"
  7412                                    cachedCode page="1252 "
  7413                                    cachedData Type="str"
  7414                                    cachedLeng th="30"
  7415                                    cachedName ="CREATEDS OURCE"
  7416                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[C REATEDSOUR CE]"
  7417                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDSOURC E]" />
  7418                                 <i nputColumn
  7419                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Column s[UPDATEDS OURCE]"
  7420                                    cachedCode page="1252 "
  7421                                    cachedData Type="str"
  7422                                    cachedLeng th="30"
  7423                                    cachedName ="UPDATEDS OURCE"
  7424                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t].Externa lColumns[U PDATEDSOUR CE]"
  7425                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDSOURC E]" />
  7426                               </in putColumns >
  7427                               <ext ernalMetad ataColumns
  7428                                 is Used="True ">
  7429                                 <e xternalMet adataColum n
  7430                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REFERRAL_I D]"
  7431                                    dataType=" i4"
  7432                                    name="REFE RRAL_ID" / >
  7433                                 <e xternalMet adataColum n
  7434                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REFERR ALSTS_ID]"
  7435                                    dataType=" i4"
  7436                                    name="STD_ REFERRALST S_ID" />
  7437                                 <e xternalMet adataColum n
  7438                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REGIST RY_ID]"
  7439                                    dataType=" i4"
  7440                                    name="STD_ REGISTRY_I D" />
  7441                                 <e xternalMet adataColum n
  7442                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PATIENT_ID ]"
  7443                                    dataType=" i4"
  7444                                    name="PATI ENT_ID" />
  7445                                 <e xternalMet adataColum n
  7446                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REFERRAL_D ATE]"
  7447                                    dataType=" dbTimeStam p"
  7448                                    name="REFE RRAL_DATE"  />
  7449                                 <e xternalMet adataColum n
  7450                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REFERRAL_C LASS_TEXT] "
  7451                                    codePage=" 1252"
  7452                                    dataType=" str"
  7453                                    length="40 00"
  7454                                    name="REFE RRAL_CLASS _TEXT" />
  7455                                 <e xternalMet adataColum n
  7456                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ PROVIDER_I D]"
  7457                                    dataType=" i4"
  7458                                    name="PROV IDER_ID" / >
  7459                                 <e xternalMet adataColum n
  7460                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATEDBY] "
  7461                                    codePage=" 1252"
  7462                                    dataType=" str"
  7463                                    length="30 "
  7464                                    name="CREA TEDBY" />
  7465                                 <e xternalMet adataColum n
  7466                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATED]"
  7467                                    dataType=" dbTimeStam p"
  7468                                    name="CREA TED" />
  7469                                 <e xternalMet adataColum n
  7470                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATEDBY] "
  7471                                    codePage=" 1252"
  7472                                    dataType=" str"
  7473                                    length="30 "
  7474                                    name="UPDA TEDBY" />
  7475                                 <e xternalMet adataColum n
  7476                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATED]"
  7477                                    dataType=" dbTimeStam p"
  7478                                    name="UPDA TED" />
  7479                                 <e xternalMet adataColum n
  7480                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ COMMENT_TE XT]"
  7481                                    codePage=" 1252"
  7482                                    dataType=" str"
  7483                                    length="40 00"
  7484                                    name="COMM ENT_TEXT"  />
  7485                                 <e xternalMet adataColum n
  7486                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_REMIND ERCLASS_ID ]"
  7487                                    dataType=" i4"
  7488                                    name="STD_ REMINDERCL ASS_ID" />
  7489                                 <e xternalMet adataColum n
  7490                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REVIEW_BY] "
  7491                                    codePage=" 1252"
  7492                                    dataType=" str"
  7493                                    length="30 "
  7494                                    name="REVI EW_BY" />
  7495                                 <e xternalMet adataColum n
  7496                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ REVIEW_DAT E]"
  7497                                    dataType=" dbTimeStam p"
  7498                                    name="REVI EW_DATE" / >
  7499                                 <e xternalMet adataColum n
  7500                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ DUPLICATE_ FLAG]"
  7501                                    dataType=" bool"
  7502                                    name="DUPL ICATE_FLAG " />
  7503                                 <e xternalMet adataColum n
  7504                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ CREATEDSOU RCE]"
  7505                                    codePage=" 1252"
  7506                                    dataType=" str"
  7507                                    length="30 "
  7508                                    name="CREA TEDSOURCE"  />
  7509                                 <e xternalMet adataColum n
  7510                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ UPDATEDSOU RCE]"
  7511                                    codePage=" 1252"
  7512                                    dataType=" str"
  7513                                    length="30 "
  7514                                    name="UPDA TEDSOURCE"  />
  7515                                 <e xternalMet adataColum n
  7516                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Inputs[OL E DB Desti nation Inp ut].Extern alColumns[ STD_INSTIT UTION_ID]"
  7517                                    dataType=" i4"
  7518                                    name="STD_ INSTITUTIO N_ID" />
  7519                               </ex ternalMeta dataColumn s>
  7520                             </inpu t>
  7521                           </inputs >
  7522                           <outputs >
  7523                             <outpu t
  7524                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Desti nation.Out puts[OLE D B Destinat ion Error  Output]"
  7525                               excl usionGroup ="1"
  7526                               isEr rorOut="tr ue"
  7527                               name ="OLE DB D estination  Error Out put"
  7528                               sync hronousInp utId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB De stination. Inputs[OLE  DB Destin ation Inpu t]">
  7529                               <out putColumns >
  7530                                 <o utputColum n
  7531                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorCode] "
  7532                                    dataType=" i4"
  7533                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC ode]"
  7534                                    name="Erro rCode"
  7535                                    specialFla gs="1" />
  7536                                 <o utputColum n
  7537                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB D estination .Outputs[O LE DB Dest ination Er ror Output ].Columns[ ErrorColum n]"
  7538                                    dataType=" i4"
  7539                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Destina tion.Outpu ts[OLE DB  Destinatio n Error Ou tput].Colu mns[ErrorC olumn]"
  7540                                    name="Erro rColumn"
  7541                                    specialFla gs="2" />
  7542                               </ou tputColumn s>
  7543                               <ext ernalMetad ataColumns  />
  7544                             </outp ut>
  7545                           </output s>
  7546                         </componen t>
  7547                         <component
  7548                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move ref erral to C RSe\OLE DB  Source"
  7549                           componen tClassID=" {165A526D- D5DE-47FF- 96A6-F8274 C19826B}"
  7550                           contactI nfo="OLE D B Source;M icrosoft C orporation ; Microsof t SQL Serv er; (C) Mi crosoft Co rporation;  All Right s Reserved ; http://w ww.microso ft.com/sql /support;7 "
  7551                           descript ion="OLE D B Source"
  7552                           name="OL E DB Sourc e"
  7553                           usesDisp ositions=" true"
  7554                           version= "7">
  7555                           <propert ies>
  7556                             <prope rty
  7557                               data Type="Syst em.Int32"
  7558                               desc ription="T he number  of seconds  before a  command ti mes out.   A value of  0 indicat es an infi nite time- out."
  7559                               name ="CommandT imeout">0< /property>
  7560                             <prope rty
  7561                               data Type="Syst em.String"
  7562                               desc ription="S pecifies t he name of  the datab ase object  used to o pen a rows et."
  7563                               name ="OpenRows et">[STAGI NG].[REFER RAL]</prop erty>
  7564                             <prope rty
  7565                               data Type="Syst em.String"
  7566                               desc ription="S pecifies t he variabl e that con tains the  name of th e database  object us ed to open  a rowset. "
  7567                               name ="OpenRows etVariable "></proper ty>
  7568                             <prope rty
  7569                               data Type="Syst em.String"
  7570                               desc ription="T he SQL com mand to be  executed. "
  7571                               name ="SqlComma nd"
  7572                               UITy peEditor=" Microsoft. DataTransf ormationSe rvices.Con trols.Moda lMultiline StringEdit or, Micros oft.DataTr ansformati onServices .Controls,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91">< /property>
  7573                             <prope rty
  7574                               data Type="Syst em.String"
  7575                               desc ription="T he variabl e that con tains the  SQL comman d to be ex ecuted."
  7576                               name ="SqlComma ndVariable "></proper ty>
  7577                             <prope rty
  7578                               data Type="Syst em.Int32"
  7579                               desc ription="S pecifies t he column  code page  to use whe n code pag e informat ion is una vailable f rom the da ta source. "
  7580                               name ="DefaultC odePage">1 252</prope rty>
  7581                             <prope rty
  7582                               data Type="Syst em.Boolean "
  7583                               desc ription="F orces the  use of the  DefaultCo dePage pro perty valu e when des cribing ch aracter da ta."
  7584                               name ="AlwaysUs eDefaultCo dePage">fa lse</prope rty>
  7585                             <prope rty
  7586                               data Type="Syst em.Int32"
  7587                               desc ription="S pecifies t he mode us ed to acce ss the dat abase."
  7588                               name ="AccessMo de"
  7589                               type Converter= "AccessMod e">0</prop erty>
  7590                             <prope rty
  7591                               data Type="Syst em.String"
  7592                               desc ription="T he mapping s between  the parame ters in th e SQL comm and and va riables."
  7593                               name ="Paramete rMapping"> </property >
  7594                           </proper ties>
  7595                           <connect ions>
  7596                             <conne ction
  7597                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Sourc e.Connecti ons[OleDbC onnection] "
  7598                               conn ectionMana gerID="Pac kage.Conne ctionManag ers[Stagin gRegistry] "
  7599                               conn ectionMana gerRefId=" Package.Co nnectionMa nagers[Sta gingRegist ry]"
  7600                               desc ription="T he OLE DB  runtime co nnection u sed to acc ess the da tabase."
  7601                               name ="OleDbCon nection" / >
  7602                           </connec tions>
  7603                           <outputs >
  7604                             <outpu t
  7605                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Output ]"
  7606                               name ="OLE DB S ource Outp ut">
  7607                               <out putColumns >
  7608                                 <o utputColum n
  7609                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE FERRALSTS_ ID]"
  7610                                    dataType=" i4"
  7611                                    errorOrTru ncationOpe ration="Co nversion"
  7612                                    errorRowDi sposition= "FailCompo nent"
  7613                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [STD_REFER RALSTS_ID] "
  7614                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REFERRAL STS_ID]"
  7615                                    name="STD_ REFERRALST S_ID"
  7616                                    truncation RowDisposi tion="Fail Component"  />
  7617                                 <o utputColum n
  7618                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE GISTRY_ID] "
  7619                                    dataType=" i4"
  7620                                    errorOrTru ncationOpe ration="Co nversion"
  7621                                    errorRowDi sposition= "FailCompo nent"
  7622                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [STD_REGIS TRY_ID]"
  7623                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REGISTRY _ID]"
  7624                                    name="STD_ REGISTRY_I D"
  7625                                    truncation RowDisposi tion="Fail Component"  />
  7626                                 <o utputColum n
  7627                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[PATIEN T_ID]"
  7628                                    dataType=" i4"
  7629                                    errorOrTru ncationOpe ration="Co nversion"
  7630                                    errorRowDi sposition= "FailCompo nent"
  7631                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PATIENT_I D]"
  7632                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PA TIENT_ID]"
  7633                                    name="PATI ENT_ID"
  7634                                    truncation RowDisposi tion="Fail Component"  />
  7635                                 <o utputColum n
  7636                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[REFERR AL_DATE]"
  7637                                    dataType=" dbTimeStam p"
  7638                                    errorOrTru ncationOpe ration="Co nversion"
  7639                                    errorRowDi sposition= "FailCompo nent"
  7640                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [REFERRAL_ DATE]"
  7641                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE FERRAL_DAT E]"
  7642                                    name="REFE RRAL_DATE"
  7643                                    truncation RowDisposi tion="Fail Component"  />
  7644                                 <o utputColum n
  7645                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[REFERR AL_CLASS_T EXT]"
  7646                                    codePage=" 1252"
  7647                                    dataType=" str"
  7648                                    errorOrTru ncationOpe ration="Co nversion"
  7649                                    errorRowDi sposition= "FailCompo nent"
  7650                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [REFERRAL_ CLASS_TEXT ]"
  7651                                    length="40 00"
  7652                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE FERRAL_CLA SS_TEXT]"
  7653                                    name="REFE RRAL_CLASS _TEXT"
  7654                                    truncation RowDisposi tion="Fail Component"  />
  7655                                 <o utputColum n
  7656                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[PROVID ER_ID]"
  7657                                    dataType=" i4"
  7658                                    errorOrTru ncationOpe ration="Co nversion"
  7659                                    errorRowDi sposition= "FailCompo nent"
  7660                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [PROVIDER_ ID]"
  7661                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[PR OVIDER_ID] "
  7662                                    name="PROV IDER_ID"
  7663                                    truncation RowDisposi tion="Fail Component"  />
  7664                                 <o utputColum n
  7665                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE DBY]"
  7666                                    codePage=" 1252"
  7667                                    dataType=" str"
  7668                                    errorOrTru ncationOpe ration="Co nversion"
  7669                                    errorRowDi sposition= "FailCompo nent"
  7670                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CREATEDBY ]"
  7671                                    length="30 "
  7672                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDBY]"
  7673                                    name="CREA TEDBY"
  7674                                    truncation RowDisposi tion="Fail Component"  />
  7675                                 <o utputColum n
  7676                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE D]"
  7677                                    dataType=" dbTimeStam p"
  7678                                    errorOrTru ncationOpe ration="Co nversion"
  7679                                    errorRowDi sposition= "FailCompo nent"
  7680                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CREATED]"
  7681                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATED]"
  7682                                    name="CREA TED"
  7683                                    truncation RowDisposi tion="Fail Component"  />
  7684                                 <o utputColum n
  7685                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE DBY]"
  7686                                    codePage=" 1252"
  7687                                    dataType=" str"
  7688                                    errorOrTru ncationOpe ration="Co nversion"
  7689                                    errorRowDi sposition= "FailCompo nent"
  7690                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UPDATEDBY ]"
  7691                                    length="30 "
  7692                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDBY]"
  7693                                    name="UPDA TEDBY"
  7694                                    truncation RowDisposi tion="Fail Component"  />
  7695                                 <o utputColum n
  7696                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE D]"
  7697                                    dataType=" dbTimeStam p"
  7698                                    errorOrTru ncationOpe ration="Co nversion"
  7699                                    errorRowDi sposition= "FailCompo nent"
  7700                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UPDATED]"
  7701                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATED]"
  7702                                    name="UPDA TED"
  7703                                    truncation RowDisposi tion="Fail Component"  />
  7704                                 <o utputColum n
  7705                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[COMMEN T_TEXT]"
  7706                                    codePage=" 1252"
  7707                                    dataType=" str"
  7708                                    errorOrTru ncationOpe ration="Co nversion"
  7709                                    errorRowDi sposition= "FailCompo nent"
  7710                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [COMMENT_T EXT]"
  7711                                    length="40 00"
  7712                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CO MMENT_TEXT ]"
  7713                                    name="COMM ENT_TEXT"
  7714                                    truncation RowDisposi tion="Fail Component"  />
  7715                                 <o utputColum n
  7716                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[STD_RE MINDERCLAS S_ID]"
  7717                                    dataType=" i4"
  7718                                    errorOrTru ncationOpe ration="Co nversion"
  7719                                    errorRowDi sposition= "FailCompo nent"
  7720                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [STD_REMIN DERCLASS_I D]"
  7721                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[ST D_REMINDER CLASS_ID]"
  7722                                    name="STD_ REMINDERCL ASS_ID"
  7723                                    truncation RowDisposi tion="Fail Component"  />
  7724                                 <o utputColum n
  7725                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[REVIEW _BY]"
  7726                                    codePage=" 1252"
  7727                                    dataType=" str"
  7728                                    errorOrTru ncationOpe ration="Co nversion"
  7729                                    errorRowDi sposition= "FailCompo nent"
  7730                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [REVIEW_BY ]"
  7731                                    length="30 "
  7732                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE VIEW_BY]"
  7733                                    name="REVI EW_BY"
  7734                                    truncation RowDisposi tion="Fail Component"  />
  7735                                 <o utputColum n
  7736                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[REVIEW _DATE]"
  7737                                    dataType=" dbTimeStam p"
  7738                                    errorOrTru ncationOpe ration="Co nversion"
  7739                                    errorRowDi sposition= "FailCompo nent"
  7740                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [REVIEW_DA TE]"
  7741                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[RE VIEW_DATE] "
  7742                                    name="REVI EW_DATE"
  7743                                    truncation RowDisposi tion="Fail Component"  />
  7744                                 <o utputColum n
  7745                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[DUPLIC ATE_FLAG]"
  7746                                    dataType=" bool"
  7747                                    errorOrTru ncationOpe ration="Co nversion"
  7748                                    errorRowDi sposition= "FailCompo nent"
  7749                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [DUPLICATE _FLAG]"
  7750                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[DU PLICATE_FL AG]"
  7751                                    name="DUPL ICATE_FLAG "
  7752                                    truncation RowDisposi tion="Fail Component"  />
  7753                                 <o utputColum n
  7754                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[CREATE DSOURCE]"
  7755                                    codePage=" 1252"
  7756                                    dataType=" str"
  7757                                    errorOrTru ncationOpe ration="Co nversion"
  7758                                    errorRowDi sposition= "FailCompo nent"
  7759                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [CREATEDSO URCE]"
  7760                                    length="30 "
  7761                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[CR EATEDSOURC E]"
  7762                                    name="CREA TEDSOURCE"
  7763                                    truncation RowDisposi tion="Fail Component"  />
  7764                                 <o utputColum n
  7765                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Colu mns[UPDATE DSOURCE]"
  7766                                    codePage=" 1252"
  7767                                    dataType=" str"
  7768                                    errorOrTru ncationOpe ration="Co nversion"
  7769                                    errorRowDi sposition= "FailCompo nent"
  7770                                    externalMe tadataColu mnId="Pack age\Foreac h Loop Con tainer\Get  the Exist ing Referr alsts ID\M ove referr al to CRSe \OLE DB So urce.Outpu ts[OLE DB  Source Out put].Exter nalColumns [UPDATEDSO URCE]"
  7771                                    length="30 "
  7772                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]. Columns[UP DATEDSOURC E]"
  7773                                    name="UPDA TEDSOURCE"
  7774                                    truncation RowDisposi tion="Fail Component"  />
  7775                               </ou tputColumn s>
  7776                               <ext ernalMetad ataColumns
  7777                                 is Used="True ">
  7778                                 <e xternalMet adataColum n
  7779                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[STD_REFE RRALSTS_ID ]"
  7780                                    dataType=" i4"
  7781                                    name="STD_ REFERRALST S_ID" />
  7782                                 <e xternalMet adataColum n
  7783                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[STD_REGI STRY_ID]"
  7784                                    dataType=" i4"
  7785                                    name="STD_ REGISTRY_I D" />
  7786                                 <e xternalMet adataColum n
  7787                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PATIENT_ ID]"
  7788                                    dataType=" i4"
  7789                                    name="PATI ENT_ID" />
  7790                                 <e xternalMet adataColum n
  7791                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[REFERRAL _DATE]"
  7792                                    dataType=" dbTimeStam p"
  7793                                    name="REFE RRAL_DATE"  />
  7794                                 <e xternalMet adataColum n
  7795                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[REFERRAL _CLASS_TEX T]"
  7796                                    codePage=" 1252"
  7797                                    dataType=" str"
  7798                                    length="40 00"
  7799                                    name="REFE RRAL_CLASS _TEXT" />
  7800                                 <e xternalMet adataColum n
  7801                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[PROVIDER _ID]"
  7802                                    dataType=" i4"
  7803                                    name="PROV IDER_ID" / >
  7804                                 <e xternalMet adataColum n
  7805                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CREATEDB Y]"
  7806                                    codePage=" 1252"
  7807                                    dataType=" str"
  7808                                    length="30 "
  7809                                    name="CREA TEDBY" />
  7810                                 <e xternalMet adataColum n
  7811                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CREATED] "
  7812                                    dataType=" dbTimeStam p"
  7813                                    name="CREA TED" />
  7814                                 <e xternalMet adataColum n
  7815                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UPDATEDB Y]"
  7816                                    codePage=" 1252"
  7817                                    dataType=" str"
  7818                                    length="30 "
  7819                                    name="UPDA TEDBY" />
  7820                                 <e xternalMet adataColum n
  7821                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UPDATED] "
  7822                                    dataType=" dbTimeStam p"
  7823                                    name="UPDA TED" />
  7824                                 <e xternalMet adataColum n
  7825                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[COMMENT_ TEXT]"
  7826                                    codePage=" 1252"
  7827                                    dataType=" str"
  7828                                    length="40 00"
  7829                                    name="COMM ENT_TEXT"  />
  7830                                 <e xternalMet adataColum n
  7831                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[STD_REMI NDERCLASS_ ID]"
  7832                                    dataType=" i4"
  7833                                    name="STD_ REMINDERCL ASS_ID" />
  7834                                 <e xternalMet adataColum n
  7835                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[REVIEW_B Y]"
  7836                                    codePage=" 1252"
  7837                                    dataType=" str"
  7838                                    length="30 "
  7839                                    name="REVI EW_BY" />
  7840                                 <e xternalMet adataColum n
  7841                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[REVIEW_D ATE]"
  7842                                    dataType=" dbTimeStam p"
  7843                                    name="REVI EW_DATE" / >
  7844                                 <e xternalMet adataColum n
  7845                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[DUPLICAT E_FLAG]"
  7846                                    dataType=" bool"
  7847                                    name="DUPL ICATE_FLAG " />
  7848                                 <e xternalMet adataColum n
  7849                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[CREATEDS OURCE]"
  7850                                    codePage=" 1252"
  7851                                    dataType=" str"
  7852                                    length="30 "
  7853                                    name="CREA TEDSOURCE"  />
  7854                                 <e xternalMet adataColum n
  7855                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Ou tput].Exte rnalColumn s[UPDATEDS OURCE]"
  7856                                    codePage=" 1252"
  7857                                    dataType=" str"
  7858                                    length="30 "
  7859                                    name="UPDA TEDSOURCE"  />
  7860                               </ex ternalMeta dataColumn s>
  7861                             </outp ut>
  7862                             <outpu t
  7863                               refI d="Package \Foreach L oop Contai ner\Get th e Existing  Referrals ts ID\Move  referral  to CRSe\OL E DB Sourc e.Outputs[ OLE DB Sou rce Error  Output]"
  7864                               isEr rorOut="tr ue"
  7865                               name ="OLE DB S ource Erro r Output">
  7866                               <out putColumns >
  7867                                 <o utputColum n
  7868                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_REFERR ALSTS_ID]"
  7869                                    dataType=" i4"
  7870                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[STD_RE FERRALSTS_ ID]"
  7871                                    name="STD_ REFERRALST S_ID" />
  7872                                 <o utputColum n
  7873                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_REGIST RY_ID]"
  7874                                    dataType=" i4"
  7875                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[STD_RE GISTRY_ID] "
  7876                                    name="STD_ REGISTRY_I D" />
  7877                                 <o utputColum n
  7878                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PATIENT_ID ]"
  7879                                    dataType=" i4"
  7880                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[PATIEN T_ID]"
  7881                                    name="PATI ENT_ID" />
  7882                                 <o utputColum n
  7883                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ REFERRAL_D ATE]"
  7884                                    dataType=" dbTimeStam p"
  7885                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[REFERR AL_DATE]"
  7886                                    name="REFE RRAL_DATE"  />
  7887                                 <o utputColum n
  7888                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ REFERRAL_C LASS_TEXT] "
  7889                                    codePage=" 1252"
  7890                                    dataType=" str"
  7891                                    length="40 00"
  7892                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[REFERR AL_CLASS_T EXT]"
  7893                                    name="REFE RRAL_CLASS _TEXT" />
  7894                                 <o utputColum n
  7895                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ PROVIDER_I D]"
  7896                                    dataType=" i4"
  7897                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[PROVID ER_ID]"
  7898                                    name="PROV IDER_ID" / >
  7899                                 <o utputColum n
  7900                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATEDBY] "
  7901                                    codePage=" 1252"
  7902                                    dataType=" str"
  7903                                    length="30 "
  7904                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CREATE DBY]"
  7905                                    name="CREA TEDBY" />
  7906                                 <o utputColum n
  7907                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATED]"
  7908                                    dataType=" dbTimeStam p"
  7909                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CREATE D]"
  7910                                    name="CREA TED" />
  7911                                 <o utputColum n
  7912                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATEDBY] "
  7913                                    codePage=" 1252"
  7914                                    dataType=" str"
  7915                                    length="30 "
  7916                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[UPDATE DBY]"
  7917                                    name="UPDA TEDBY" />
  7918                                 <o utputColum n
  7919                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATED]"
  7920                                    dataType=" dbTimeStam p"
  7921                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[UPDATE D]"
  7922                                    name="UPDA TED" />
  7923                                 <o utputColum n
  7924                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ COMMENT_TE XT]"
  7925                                    codePage=" 1252"
  7926                                    dataType=" str"
  7927                                    length="40 00"
  7928                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[COMMEN T_TEXT]"
  7929                                    name="COMM ENT_TEXT"  />
  7930                                 <o utputColum n
  7931                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ STD_REMIND ERCLASS_ID ]"
  7932                                    dataType=" i4"
  7933                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[STD_RE MINDERCLAS S_ID]"
  7934                                    name="STD_ REMINDERCL ASS_ID" />
  7935                                 <o utputColum n
  7936                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ REVIEW_BY] "
  7937                                    codePage=" 1252"
  7938                                    dataType=" str"
  7939                                    length="30 "
  7940                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[REVIEW _BY]"
  7941                                    name="REVI EW_BY" />
  7942                                 <o utputColum n
  7943                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ REVIEW_DAT E]"
  7944                                    dataType=" dbTimeStam p"
  7945                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[REVIEW _DATE]"
  7946                                    name="REVI EW_DATE" / >
  7947                                 <o utputColum n
  7948                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ DUPLICATE_ FLAG]"
  7949                                    dataType=" bool"
  7950                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[DUPLIC ATE_FLAG]"
  7951                                    name="DUPL ICATE_FLAG " />
  7952                                 <o utputColum n
  7953                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ CREATEDSOU RCE]"
  7954                                    codePage=" 1252"
  7955                                    dataType=" str"
  7956                                    length="30 "
  7957                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[CREATE DSOURCE]"
  7958                                    name="CREA TEDSOURCE"  />
  7959                                 <o utputColum n
  7960                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ UPDATEDSOU RCE]"
  7961                                    codePage=" 1252"
  7962                                    dataType=" str"
  7963                                    length="30 "
  7964                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[UPDATE DSOURCE]"
  7965                                    name="UPDA TEDSOURCE"  />
  7966                                 <o utputColum n
  7967                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorCode] "
  7968                                    dataType=" i4"
  7969                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC ode]"
  7970                                    name="Erro rCode"
  7971                                    specialFla gs="1" />
  7972                                 <o utputColum n
  7973                                    refId="Pac kage\Forea ch Loop Co ntainer\Ge t the Exis ting Refer ralsts ID\ Move refer ral to CRS e\OLE DB S ource.Outp uts[OLE DB  Source Er ror Output ].Columns[ ErrorColum n]"
  7974                                    dataType=" i4"
  7975                                    lineageId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Error Ou tput].Colu mns[ErrorC olumn]"
  7976                                    name="Erro rColumn"
  7977                                    specialFla gs="2" />
  7978                               </ou tputColumn s>
  7979                               <ext ernalMetad ataColumns  />
  7980                             </outp ut>
  7981                           </output s>
  7982                         </componen t>
  7983                      </ components >
  7984                      <p aths>
  7985                         <path
  7986                           refId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move ref erral to C RSe.Paths[ OLE DB Sou rce Output ]"
  7987                           endId="P ackage\For each Loop  Container\ Get the Ex isting Ref erralsts I D\Move ref erral to C RSe\OLE DB  Destinati on.Inputs[ OLE DB Des tination I nput]"
  7988                           name="OL E DB Sourc e Output"
  7989                           startId= "Package\F oreach Loo p Containe r\Get the  Existing R eferralsts  ID\Move r eferral to  CRSe\OLE  DB Source. Outputs[OL E DB Sourc e Output]"  />
  7990                      </ paths>
  7991                    </pi peline>
  7992                  </DTS: ObjectData >
  7993                </DTS:Ex ecutable>
  7994                <DTS:Exe cutable
  7995                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Po pulate Tmp PATIENTSID  table"
  7996                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  7997                  DTS:De scription= "Execute S QL Task"
  7998                  DTS:DT SID="{9D74 EC5B-73B7- 4ECF-A3C5- E82FD2FFF2 44}"
  7999                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8000                  DTS:Lo caleID="-1 "
  8001                  DTS:Ob jectName=" Populate T mpPATIENTS ID table"
  8002                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  8003                  DTS:Th readHint=" 0">
  8004                  <DTS:V ariables / >
  8005                  <DTS:O bjectData>
  8006                    <SQL Task:SqlTa skData
  8007                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  8008                      SQ LTask:SqlS tatementSo urce="&#xA ;INSERT Tm pPATIENTSI D&#xA;&#x9 ;(PATIENTI CN,&#xA;&# x9; PATIEN TSID)&#xA; SELECT PAT IENTICN, & #xA;                  MAX(Patien tSID) PATI ENTSID&#xA ;FROM CRS. SPATIENT & #xA;WHERE  STDREGISTR YID = ? AN D&#xA;       PATIENTI CN IS NOT  NULL&#xA;G ROUP BY PA TIENTICN&# xA;ORDER B Y PATIENTS ID&#xA;&#x A;&#xA;&#x A;DELETE f rom [TmpPA TIENTSID]& #xA;WHERE  PATIENTICN  IN (SELEC T DISTINCT  PATIENTIC N FROM CRS .patient)& #xA;GO" xm lns:SQLTas k="www.mic rosoft.com /sqlserver /dts/tasks /sqltask">
  8009                      <S QLTask:Par ameterBind ing
  8010                         SQLTask:Pa rameterNam e="0"
  8011                         SQLTask:Dt sVariableN ame="User: :STDRegist ryID"
  8012                         SQLTask:Pa rameterDir ection="In put"
  8013                         SQLTask:Da taType="3"
  8014                         SQLTask:Pa rameterSiz e="-1" />
  8015                    </SQ LTask:SqlT askData>
  8016                  </DTS: ObjectData >
  8017                </DTS:Ex ecutable>
  8018                <DTS:Exe cutable
  8019                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Tr uncate tab e TmpPATIE NTSID"
  8020                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  8021                  DTS:De scription= "Execute S QL Task"
  8022                  DTS:DT SID="{9B99 EC65-CC51- 4E17-854E- 013264A620 0C}"
  8023                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8024                  DTS:Lo caleID="-1 "
  8025                  DTS:Ob jectName=" Truncate t abe TmpPAT IENTSID"
  8026                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  8027                  DTS:Th readHint=" 0">
  8028                  <DTS:V ariables / >
  8029                  <DTS:O bjectData>
  8030                    <SQL Task:SqlTa skData
  8031                      SQ LTask:Conn ection="{3 96F51F3-B5 3D-4546-B8 9B-A0E2463 3BFEF}"
  8032                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[dbo]. [TmpPATIEN TSID]') AN D type in  (N'U'))&#x A;TRUNCATE  TABLE [db o].[TmpPAT IENTSID]&# xA;GO" xml ns:SQLTask ="www.micr osoft.com/ sqlserver/ dts/tasks/ sqltask" / >
  8033                  </DTS: ObjectData >
  8034                </DTS:Ex ecutable>
  8035                <DTS:Exe cutable
  8036                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Tr uncate tab le STAGING  PATIENT"
  8037                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  8038                  DTS:De scription= "Execute S QL Task"
  8039                  DTS:DT SID="{D586 32C6-3DED- 43AA-A5DD- DFB62371C6 42}"
  8040                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8041                  DTS:Lo caleID="-1 "
  8042                  DTS:Ob jectName=" Truncate t able STAGI NG PATIENT "
  8043                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  8044                  DTS:Th readHint=" 0">
  8045                  <DTS:V ariables / >
  8046                  <DTS:O bjectData>
  8047                    <SQL Task:SqlTa skData
  8048                      SQ LTask:Conn ection="{F 8EF5CE6-B4 B0-4369-AB BA-E985CFC 33711}"
  8049                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[STAGI NG].[PATIE NT]') AND  type in (N 'U'))&#xA; TRUNCATE T ABLE [STAG ING].[PATI ENT]&#xA;G O" xmlns:S QLTask="ww w.microsof t.com/sqls erver/dts/ tasks/sqlt ask" />
  8050                  </DTS: ObjectData >
  8051                </DTS:Ex ecutable>
  8052                <DTS:Exe cutable
  8053                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID\Tr uncate tab le STAGING  REFERRAL"
  8054                  DTS:Cr eationName ="Microsof t.SqlServe r.Dts.Task s.ExecuteS QLTask.Exe cuteSQLTas k, Microso ft.SqlServ er.SQLTask , Version= 11.0.0.0,  Culture=ne utral, Pub licKeyToke n=89845dcd 8080cc91"
  8055                  DTS:De scription= "Execute S QL Task"
  8056                  DTS:DT SID="{E3CD 6218-B904- 4F3B-B458- 52A5CE800B E9}"
  8057                  DTS:Ex ecutableTy pe="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8058                  DTS:Lo caleID="-1 "
  8059                  DTS:Ob jectName=" Truncate t able STAGI NG REFERRA L"
  8060                  DTS:Ta skContact= "Execute S QL Task; M icrosoft C orporation ; SQL Serv er 2012; Â © 2007 Mic rosoft Cor poration;  All Rights  Reserved; http://www .microsoft .com/sql/s upport/def ault.asp;1 "
  8061                  DTS:Th readHint=" 0">
  8062                  <DTS:V ariables / >
  8063                  <DTS:O bjectData>
  8064                    <SQL Task:SqlTa skData
  8065                      SQ LTask:Conn ection="{F 8EF5CE6-B4 B0-4369-AB BA-E985CFC 33711}"
  8066                      SQ LTask:SqlS tatementSo urce="IF   EXISTS (SE LECT * FRO M sys.obje cts WHERE  object_id  = OBJECT_I D(N'[STAGI NG].[REFER RAL]') AND  type in ( N'U'))&#xA ;TRUNCATE  TABLE [STA GING].[REF ERRAL]&#xA ;GO" xmlns :SQLTask=" www.micros oft.com/sq lserver/dt s/tasks/sq ltask" />
  8067                  </DTS: ObjectData >
  8068                </DTS:Ex ecutable>
  8069              </DTS:Exec utables>
  8070              <DTS:Prece denceConst raints>
  8071                <DTS:Pre cedenceCon straint
  8072                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint ]"
  8073                  DTS:Cr eationName =""
  8074                  DTS:DT SID="{9708 53E4-8851- 4E9C-A80A- 4F73BE2E96 F2}"
  8075                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Pop ulate TmpP ATIENTSID  table"
  8076                  DTS:Lo gicalAnd=" True"
  8077                  DTS:Ob jectName=" Constraint "
  8078                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Trunc ate table  STAGING PA TIENT" />
  8079                <DTS:Pre cedenceCon straint
  8080                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  1]"
  8081                  DTS:Cr eationName =""
  8082                  DTS:DT SID="{2E69 C050-9BE3- 4171-BB4B- 4321425D59 91}"
  8083                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Get  the Refer ralst ID"
  8084                  DTS:Lo gicalAnd=" True"
  8085                  DTS:Ob jectName=" Constraint  1"
  8086                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Trunc ate table  STAGING RE FERRAL" />
  8087                <DTS:Pre cedenceCon straint
  8088                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  2]"
  8089                  DTS:Cr eationName =""
  8090                  DTS:DT SID="{F5D7 E5EC-1FF0- 48E8-B7C4- 936A56C7E2 1D}"
  8091                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Cre are Referr al in stag ing"
  8092                  DTS:Lo gicalAnd=" True"
  8093                  DTS:Ob jectName=" Constraint  2"
  8094                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  referral t o CRSe" />
  8095                <DTS:Pre cedenceCon straint
  8096                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  3]"
  8097                  DTS:Cr eationName =""
  8098                  DTS:DT SID="{95C1 E52F-E7FA- 4B99-AB99- 37221D381B B5}"
  8099                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabl e STAGING  PATIENT"
  8100                  DTS:Lo gicalAnd=" True"
  8101                  DTS:Ob jectName=" Constraint  3"
  8102                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Inser t into sta ging patie nt table"  />
  8103                <DTS:Pre cedenceCon straint
  8104                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  4]"
  8105                  DTS:Cr eationName =""
  8106                  DTS:DT SID="{2A6C 03FF-2C86- 42CC-9CA0- 5EB22F768B 5B}"
  8107                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabl e STAGING  REFERRAL"
  8108                  DTS:Lo gicalAnd=" True"
  8109                  DTS:Ob jectName=" Constraint  4"
  8110                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Crear e Referral  in stagin g" />
  8111                <DTS:Pre cedenceCon straint
  8112                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  5]"
  8113                  DTS:Cr eationName =""
  8114                  DTS:DT SID="{43AC 65AE-F24D- 42A3-B24F- 573A7483EF 33}"
  8115                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabe  TmpPATIEN TSID"
  8116                  DTS:Lo gicalAnd=" True"
  8117                  DTS:Ob jectName=" Constraint  5"
  8118                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Popul ate TmpPAT IENTSID ta ble" />
  8119                <DTS:Pre cedenceCon straint
  8120                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  6]"
  8121                  DTS:Cr eationName =""
  8122                  DTS:DT SID="{613E 0B8A-064A- 4E2D-A5A3- 227432E7BD 83}"
  8123                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Ins ert into s taging pat ient table "
  8124                  DTS:Lo gicalAnd=" True"
  8125                  DTS:Ob jectName=" Constraint  6"
  8126                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  Patients t o CRSe" />
  8127                <DTS:Pre cedenceCon straint
  8128                  DTS:re fId="Packa ge\Foreach  Loop Cont ainer\Get  the Existi ng Referra lsts ID.Pr ecedenceCo nstraints[ Constraint  7]"
  8129                  DTS:Cr eationName =""
  8130                  DTS:DT SID="{58FF FF20-153B- 4947-9EFA- 1DAA729BF7 46}"
  8131                  DTS:Fr om="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e Patients  to CRSe"
  8132                  DTS:Lo gicalAnd=" True"
  8133                  DTS:Ob jectName=" Constraint  7"
  8134                  DTS:To ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Get t he Referra lst ID" />
  8135              </DTS:Prec edenceCons traints>
  8136           </ DTS:Execut able>
  8137         </DT S:Executab les>
  8138         <DTS :Precedenc eConstrain ts>
  8139           <D TS:Precede nceConstra int
  8140              DTS:refId= "Package\F oreach Loo p Containe r.Preceden ceConstrai nts[Constr aint]"
  8141              DTS:Creati onName=""
  8142              DTS:DTSID= "{51CC9170 -7C50-4C5C -8192-19E0 B2C7B39A}"
  8143              DTS:EvalOp ="1"
  8144              DTS:Expres sion="@[Us er::ETLTyp e] == &quo t;incremen tal&quot;"
  8145              DTS:From=" Package\Fo reach Loop  Container \Get ETL_T ype Value"
  8146              DTS:Logica lAnd="True "
  8147              DTS:Object Name="Cons traint"
  8148              DTS:To="Pa ckage\Fore ach Loop C ontainer\G et the Exi sting Refe rralsts ID " />
  8149           <D TS:Precede nceConstra int
  8150              DTS:refId= "Package\F oreach Loo p Containe r.Preceden ceConstrai nts[Constr aint 1]"
  8151              DTS:Creati onName=""
  8152              DTS:DTSID= "{5F7375B9 -E6C4-43AB -90FB-5202 7F9D3EBA}"
  8153              DTS:EvalOp ="1"
  8154              DTS:Expres sion="@[Us er::ETLTyp e]==&quot; initial&qu ot;"
  8155              DTS:From=" Package\Fo reach Loop  Container \Get ETL_T ype Value"
  8156              DTS:Logica lAnd="True "
  8157              DTS:Object Name="Cons traint 1"
  8158              DTS:To="Pa ckage\Fore ach Loop C ontainer\C reate a ne w Referral st ID" />
  8159         </DT S:Preceden ceConstrai nts>
  8160         <DTS :ForEachVa riableMapp ings>
  8161           <D TS:ForEach VariableMa pping
  8162              DTS:Creati onName=""
  8163              DTS:DTSID= "{E11B6B07 -130E-4024 -9933-A82E EF49E0DC}"
  8164              DTS:Object Name="{E11 B6B07-130E -4024-9933 -A82EEF49E 0DC}"
  8165              DTS:ValueI ndex="0"
  8166              DTS:Variab leName="Us er::STDReg istryID" / >
  8167         </DT S:ForEachV ariableMap pings>
  8168       </DTS: Executable >
  8169       <DTS:E xecutable
  8170         DTS: refId="Pac kage\Get S TD Registr yID"
  8171         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8172         DTS: Descriptio n="Execute  SQL Task"
  8173         DTS: DTSID="{C8 E48AEB-6BE 3-476F-A37 6-8CA24ED9 DB93}"
  8174         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  8175         DTS: LocaleID=" -1"
  8176         DTS: ObjectName ="Get STD  RegistryID "
  8177         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  8178         DTS: ThreadHint ="0">
  8179         <DTS :Variables  />
  8180         <DTS :ObjectDat a>
  8181           <S QLTask:Sql TaskData
  8182              SQLTask:Co nnection=" {396F51F3- B53D-4546- B89B-A0E24 633BFEF}"
  8183              SQLTask:Sq lStatement Source="Se lect disti nct &#xA;S TDRegistry ID&#xA;FRO M &#xA;[CR S].[sPATIE NT]&#xA;WH ERE len(ST DRegistryI D) &lt;&gt ; 0 &#xA;O RDER BY 1"
  8184              SQLTask:Re sultType=" ResultSetT ype_Rowset " xmlns:SQ LTask="www .microsoft .com/sqlse rver/dts/t asks/sqlta sk">
  8185              <SQLTask:R esultBindi ng
  8186                SQLTask: ResultName ="0"
  8187                SQLTask: DtsVariabl eName="Use r::STD_Reg istry" />
  8188           </ SQLTask:Sq lTaskData>
  8189         </DT S:ObjectDa ta>
  8190       </DTS: Executable >
  8191       <DTS:E xecutable
  8192         DTS: refId="Pac kage\Log P ackage End "
  8193         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8194         DTS: Descriptio n="Execute  SQL Task"
  8195         DTS: DTSID="{EC E27BEB-DE4 F-4DC9-80D 7-E92D80AA A511}"
  8196         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  8197         DTS: LocaleID=" -1"
  8198         DTS: ObjectName ="Log Pack age End"
  8199         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  8200         DTS: ThreadHint ="0">
  8201         <DTS :Variables  />
  8202         <DTS :PropertyE xpression
  8203           DT S:Name="Sq lStatement Source">"D eclare @Da te datetim e=getdate(
  8204   Exec CRSe. usp_ETL_Pa ckageEnd "  + (DT_STR , 20,1252)  @[User::i PackageID]   + ",@Dat e,'Succeed ed'"</DTS: PropertyEx pression>
  8205         <DTS :ObjectDat a>
  8206           <S QLTask:Sql TaskData
  8207              SQLTask:Co nnection=" {869EF169- A7C4-4182- 8335-F892A 5373122}"
  8208              SQLTask:By passPrepar e="False"
  8209              SQLTask:Sq lStatement Source="De clare @Dat e datetime =getdate()  &#xA;Exec  CRSe.usp_ ETL_Packag eEnd 0,@Da te,'Succee ded'" xmln s:SQLTask= "www.micro soft.com/s qlserver/d ts/tasks/s qltask" />
  8210         </DT S:ObjectDa ta>
  8211       </DTS: Executable >
  8212       <DTS:E xecutable
  8213         DTS: refId="Pac kage\Log P ackage Sta rt"
  8214         DTS: CreationNa me="Micros oft.SqlSer ver.Dts.Ta sks.Execut eSQLTask.E xecuteSQLT ask, Micro soft.SqlSe rver.SQLTa sk, Versio n=11.0.0.0 , Culture= neutral, P ublicKeyTo ken=89845d cd8080cc91 "
  8215         DTS: Descriptio n="Execute  SQL Task"
  8216         DTS: DTSID="{09 610B40-89B 7-4EDA-B09 F-0FF535E4 963C}"
  8217         DTS: Executable Type="Micr osoft.SqlS erver.Dts. Tasks.Exec uteSQLTask .ExecuteSQ LTask, Mic rosoft.Sql Server.SQL Task, Vers ion=11.0.0 .0, Cultur e=neutral,  PublicKey Token=8984 5dcd8080cc 91"
  8218         DTS: LocaleID=" -1"
  8219         DTS: ObjectName ="Log Pack age Start"
  8220         DTS: TaskContac t="Execute  SQL Task;  Microsoft  Corporati on; SQL Se rver 2012;  Â© 2007 M icrosoft C orporation ; All Righ ts Reserve d;http://w ww.microso ft.com/sql /support/d efault.asp ;1"
  8221         DTS: ThreadHint ="0">
  8222         <DTS :Variables  />
  8223         <DTS :PropertyE xpression
  8224           DT S:Name="Sq lStatement Source">"E xec CRSe.u sp_ETL_Pac kageStart  0, '"  + @ [System::P ackageName ] + "','"  + (DT_STR,  25, 1252)  @[System: :StartTime ] + "','St arted', '" +(DT_STR,  10, 1252)  @[System:: VersionMaj or]+"."+(D T_STR, 10,  1252) @[S ystem::Ver sionMinor] +"."+(DT_S TR, 10, 12 52) @[Syst em::Versio nBuild]+"' "</DTS:Pro pertyExpre ssion>
  8225         <DTS :ObjectDat a>
  8226           <S QLTask:Sql TaskData
  8227              SQLTask:Co nnection=" {869EF169- A7C4-4182- 8335-F892A 5373122}"
  8228              SQLTask:By passPrepar e="False"
  8229              SQLTask:Sq lStatement Source="Ex ec CRSe.us p_ETL_Pack ageStart 0 , 'Referra ls','11/2/ 2017 8:29: 20 AM','St arted', '1 .0.366'"
  8230              SQLTask:Re sultType=" ResultSetT ype_Single Row" xmlns :SQLTask=" www.micros oft.com/sq lserver/dt s/tasks/sq ltask">
  8231              <SQLTask:R esultBindi ng
  8232                SQLTask: ResultName ="0"
  8233                SQLTask: DtsVariabl eName="Use r::iPackag eID" />
  8234           </ SQLTask:Sq lTaskData>
  8235         </DT S:ObjectDa ta>
  8236       </DTS: Executable >
  8237       <DTS:E xecutable
  8238         DTS: refId="Pac kage\Refer ral Detail "
  8239         DTS: CreationNa me="STOCK: SEQUENCE"
  8240         DTS: Descriptio n="Sequenc e Containe r"
  8241         DTS: DTSID="{1B F27AAF-E41 2-46AA-AC6 1-EEE099BA 6518}"
  8242         DTS: Executable Type="STOC K:SEQUENCE "
  8243         DTS: LocaleID=" -1"
  8244         DTS: ObjectName ="Referral  Detail">
  8245         <DTS :Variables  />
  8246         <DTS :Executabl es>
  8247           <D TS:Executa ble
  8248              DTS:refId= "Package\R eferral De tail\Inser t Referral  detail"
  8249              DTS:Creati onName="Mi crosoft.Sq lServer.Dt s.Tasks.Ex ecuteSQLTa sk.Execute SQLTask, M icrosoft.S qlServer.S QLTask, Ve rsion=11.0 .0.0, Cult ure=neutra l, PublicK eyToken=89 845dcd8080 cc91"
  8250              DTS:Descri ption="Exe cute SQL T ask"
  8251              DTS:DTSID= "{DC579E60 -65E5-4A05 -A9F5-3417 95556399}"
  8252              DTS:Execut ableType=" Microsoft. SqlServer. Dts.Tasks. ExecuteSQL Task.Execu teSQLTask,  Microsoft .SqlServer .SQLTask,  Version=11 .0.0.0, Cu lture=neut ral, Publi cKeyToken= 89845dcd80 80cc91"
  8253              DTS:Locale ID="-1"
  8254              DTS:Object Name="Inse rt Referra l detail"
  8255              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 012; Â© 20 07 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1"
  8256              DTS:Thread Hint="0">
  8257              <DTS:Varia bles />
  8258              <DTS:Objec tData>
  8259                <SQLTask :SqlTaskDa ta
  8260                  SQLTas k:Connecti on="{396F5 1F3-B53D-4 546-B89B-A 0E24633BFE F}"
  8261                  SQLTas k:SqlState mentSource ="INSERT I NTO [CRS]. [REFERRAL_ DETAIL]&#x A;            ([REFER RAL_ID]&#x A;            ,[CREAT EDBY]&#xA;             ,[CREATED ]&#xA;            ,[U PDATEDBY]& #xA;            ,[UPD ATED]&#xA;             ,[COMMENT _TEXT]&#xA ;            ,[HF_VIS ITID]&#xA;             ,[VISIT_I EN]&#xA;            , [ICN]&#xA;             ,[Clinic] &#xA;            ,[Cu rSta3n]&#x A;            ,[AdmPa rent_Key]) &#xA;      SELECT &#x A;     &#x 9;  a.REFE RRAL_ID,&# xA;     &# x9;  a.Cre atedBy,&#x A;     &#x 9;  a.Crea ted,&#xA;      &#x9;   a.Updated by,&#xA;      &#x9;   a.Updated, &#xA;      &#x9;  a.C omment_tex t,&#xA;      &#x9;  b .VisitSid  AS VistiID ,&#xA;      &#x9;  b. VisitIEN A S VISIT_IE N,&#xA;      &#x9;  c .PatientIC N AS ICN,& #xA;     & #x9;  NULL  AS Clinic ,&#xA;      &#x9;  c. sta3n AS C urSta3n,&# xA;     &# x9;  NULL  AS AdmPare nt_Key&#xA ;     FROM  [CRS].[RE FERRAL] AS  a &#xA;           IN NER  JOIN  [CRS].[OUT PAT_VISIT]  AS b ON a .STD_REGIS TRY_ID = b .StdRegist ryId&#xA;           I nner JOIN  crs.SPATIE NT AS c ON  c.Patient SID = b.Pa tientSID & #xA;           &#x9;& #x9;  AND  c.Sta3n =  b.Sta3n&#x A;           &#x9;&#x 9;  AND c. StdRegistr yId = b.St dRegistryI d&#xA;     WHERE a.ST D_REGISTRY _ID = ?" x mlns:SQLTa sk="www.mi crosoft.co m/sqlserve r/dts/task s/sqltask" >
  8262                  <SQLTa sk:Paramet erBinding
  8263                    SQLT ask:Parame terName="0 "
  8264                    SQLT ask:DtsVar iableName= "User::STD RegistryID "
  8265                    SQLT ask:Parame terDirecti on="Input"
  8266                    SQLT ask:DataTy pe="3"
  8267                    SQLT ask:Parame terSize="- 1" />
  8268                </SQLTas k:SqlTaskD ata>
  8269              </DTS:Obje ctData>
  8270           </ DTS:Execut able>
  8271         </DT S:Executab les>
  8272       </DTS: Executable >
  8273     </DTS:Ex ecutables>
  8274     <DTS:Pre cedenceCon straints>
  8275       <DTS:P recedenceC onstraint
  8276         DTS: refId="Pac kage.Prece denceConst raints[Con straint]"
  8277         DTS: CreationNa me=""
  8278         DTS: DTSID="{29 F9007B-6A0 B-4D0B-983 D-219D197E 013E}"
  8279         DTS: From="Pack age\Create  Temp Tabl e in STG D B"
  8280         DTS: LogicalAnd ="True"
  8281         DTS: ObjectName ="Constrai nt"
  8282         DTS: To="Packag e\Create T emp Table  in CRS DB"  />
  8283       <DTS:P recedenceC onstraint
  8284         DTS: refId="Pac kage.Prece denceConst raints[Con straint 1] "
  8285         DTS: CreationNa me=""
  8286         DTS: DTSID="{EE EF0243-566 8-43CE-A97 1-669BA55C EC99}"
  8287         DTS: From="Pack age\Log Pa ckage Star t"
  8288         DTS: LogicalAnd ="True"
  8289         DTS: ObjectName ="Constrai nt 1"
  8290         DTS: To="Packag e\Create T emp Table  in STG DB"  />
  8291       <DTS:P recedenceC onstraint
  8292         DTS: refId="Pac kage.Prece denceConst raints[Con straint 2] "
  8293         DTS: CreationNa me=""
  8294         DTS: DTSID="{FE 89052B-334 1-42A7-BAA B-FACA4C49 3A5A}"
  8295         DTS: From="Pack age\Referr al Detail"
  8296         DTS: LogicalAnd ="True"
  8297         DTS: ObjectName ="Constrai nt 2"
  8298         DTS: To="Packag e\Cleanup  CRS stagin g tables"  />
  8299       <DTS:P recedenceC onstraint
  8300         DTS: refId="Pac kage.Prece denceConst raints[Con straint 3] "
  8301         DTS: CreationNa me=""
  8302         DTS: DTSID="{4F F80C73-E19 8-430C-9EA 5-440AE427 0FBD}"
  8303         DTS: From="Pack age\Get ST D Registry ID"
  8304         DTS: LogicalAnd ="True"
  8305         DTS: ObjectName ="Constrai nt 3"
  8306         DTS: To="Packag e\Foreach  Loop Conta iner" />
  8307       <DTS:P recedenceC onstraint
  8308         DTS: refId="Pac kage.Prece denceConst raints[Con straint 4] "
  8309         DTS: CreationNa me=""
  8310         DTS: DTSID="{88 FCF774-669 6-455A-9D3 B-33EFABF4 1364}"
  8311         DTS: From="Pack age\Foreac h Loop Con tainer"
  8312         DTS: LogicalAnd ="True"
  8313         DTS: ObjectName ="Constrai nt 4"
  8314         DTS: To="Packag e\Flag the  duplicate s" />
  8315       <DTS:P recedenceC onstraint
  8316         DTS: refId="Pac kage.Prece denceConst raints[Con straint 5] "
  8317         DTS: CreationNa me=""
  8318         DTS: DTSID="{63 4130D7-EE6 7-4EA4-9CF 2-EAE64214 64F4}"
  8319         DTS: From="Pack age\Flag t he duplica tes"
  8320         DTS: LogicalAnd ="True"
  8321         DTS: ObjectName ="Constrai nt 5"
  8322         DTS: To="Packag e\Referral  Detail" / >
  8323       <DTS:P recedenceC onstraint
  8324         DTS: refId="Pac kage.Prece denceConst raints[Con straint 6] "
  8325         DTS: CreationNa me=""
  8326         DTS: DTSID="{E2 43DB24-60F E-42C0-941 D-80537710 EBF0}"
  8327         DTS: From="Pack age\Cleanu p CRS stag ing tables "
  8328         DTS: LogicalAnd ="True"
  8329         DTS: ObjectName ="Constrai nt 6"
  8330         DTS: To="Packag e\Cleanup  STG stagin g tables"  />
  8331       <DTS:P recedenceC onstraint
  8332         DTS: refId="Pac kage.Prece denceConst raints[Con straint 7] "
  8333         DTS: CreationNa me=""
  8334         DTS: DTSID="{4E 9283A8-67E B-4608-806 8-13B20766 5B70}"
  8335         DTS: From="Pack age\Cleanu p STG stag ing tables "
  8336         DTS: LogicalAnd ="True"
  8337         DTS: ObjectName ="Constrai nt 7"
  8338         DTS: To="Packag e\Log Pack age End" / >
  8339       <DTS:P recedenceC onstraint
  8340         DTS: refId="Pac kage.Prece denceConst raints[Con straint 8] "
  8341         DTS: CreationNa me=""
  8342         DTS: DTSID="{26 C24B8F-71F 3-41BB-99D 3-9FABF3F8 E5EC}"
  8343         DTS: From="Pack age\Create  Temp Tabl e in CRS D B"
  8344         DTS: LogicalAnd ="True"
  8345         DTS: ObjectName ="Constrai nt 8"
  8346         DTS: To="Packag e\Get STD  RegistryID " />
  8347     </DTS:Pr ecedenceCo nstraints>
  8348     <DTS:Eve ntHandlers >
  8349       <DTS:E ventHandle r
  8350         DTS: refId="Pac kage.Event Handlers[O nError]"
  8351         DTS: CreationNa me="OnErro r"
  8352         DTS: DTSID="{62 AFAFC1-42E 6-421E-9C1 D-434AC3C9 A57F}"
  8353         DTS: EventID="2 46238124"
  8354         DTS: EventName= "OnError"
  8355         DTS: LocaleID=" -1">
  8356         <DTS :Variables >
  8357           <D TS:Variabl e
  8358              DTS:Creati onName=""
  8359              DTS:Descri ption="The  propagate  property  of the eve nt"
  8360              DTS:DTSID= "{895A90E5 -7B1C-4ED4 -BE35-A6DA B3035DD1}"
  8361              DTS:Includ eInDebugDu mp="6789"
  8362              DTS:Namesp ace="Syste m"
  8363              DTS:Object Name="Prop agate">
  8364              <DTS:Varia bleValue
  8365                DTS:Data Type="11"> -1</DTS:Va riableValu e>
  8366           </ DTS:Variab le>
  8367         </DT S:Variable s>
  8368         <DTS :Executabl es>
  8369           <D TS:Executa ble
  8370              DTS:refId= "Package.E ventHandle rs[OnError ]\Log Erro r"
  8371              DTS:Creati onName="Mi crosoft.Sq lServer.Dt s.Tasks.Ex ecuteSQLTa sk.Execute SQLTask, M icrosoft.S qlServer.S QLTask, Ve rsion=11.0 .0.0, Cult ure=neutra l, PublicK eyToken=89 845dcd8080 cc91"
  8372              DTS:Descri ption="Exe cute SQL T ask"
  8373              DTS:DTSID= "{936E8F84 -A976-46F4 -B31B-822D 7B0C91FC}"
  8374              DTS:Execut ableType=" Microsoft. SqlServer. Dts.Tasks. ExecuteSQL Task.Execu teSQLTask,  Microsoft .SqlServer .SQLTask,  Version=11 .0.0.0, Cu lture=neut ral, Publi cKeyToken= 89845dcd80 80cc91"
  8375              DTS:Locale ID="-1"
  8376              DTS:Object Name="Log  Error"
  8377              DTS:TaskCo ntact="Exe cute SQL T ask; Micro soft Corpo ration; SQ L Server 2 012; Â© 20 07 Microso ft Corpora tion; All  Rights Res erved;http ://www.mic rosoft.com /sql/suppo rt/default .asp;1">
  8378              <DTS:Varia bles />
  8379              <DTS:Prope rtyExpress ion
  8380                DTS:Name ="SqlState mentSource ">"exec cr se.usp_ETL _PackageEr ror " +  ( DT_STR, 20 ,1252) @[U ser::iPack ageID] + " ,'"  + @[S ystem::Pac kageName]  + "','" +  @[System:: SourceName ] + "'," +  (DT_WSTR,  50) @[Sys tem::Error Code] + ", '" +REPLAC E(@[System ::ErrorDes cription], "'","")  + "','"+Repl ace(Replac e((DT_STR,  50,1252)  @[System:: PackageID] , "{",""), "}","")+"'
  8381   GO
  8382   Declare @D ate dateti me=getdate ()
  8383   Exec crse. usp_ETL_Pa ckageEnd "  +  (DT_ST R, 20,1252 ) @[User:: iPackageID ] + ",@Dat e,'Failed'
  8384   go
  8385   "</DTS:Pro pertyExpre ssion>
  8386              <DTS:Objec tData>
  8387                <SQLTask :SqlTaskDa ta
  8388                  SQLTas k:Connecti on="{869EF 169-A7C4-4 182-8335-F 892A537312 2}"
  8389                  SQLTas k:SqlState mentSource ="exec crs e.usp_ETL_ PackageErr or 0,'Refe rrals','', 0,'','04FF F00A-37DF- 4D6A-B6B8- FC7A241B17 CA'&#xA;GO &#xA;Decla re @Date d atetime=ge tdate()&#x A;Exec crs e.usp_ETL_ PackageEnd  0,@Date,' Failed'&#x A;go&#xA;"  xmlns:SQL Task="www. microsoft. com/sqlser ver/dts/ta sks/sqltas k" />
  8390              </DTS:Obje ctData>
  8391           </ DTS:Execut able>
  8392           <D TS:Executa ble
  8393              DTS:refId= "Package.E ventHandle rs[OnError ]\Send Mai l Task"
  8394              DTS:Creati onName="Mi crosoft.Sq lServer.Dt s.Tasks.Se ndMailTask .SendMailT ask, Micro soft.SqlSe rver.SendM ailTask, V ersion=11. 0.0.0, Cul ture=neutr al, Public KeyToken=8 9845dcd808 0cc91"
  8395              DTS:Descri ption="Sen d Mail Tas k"
  8396              DTS:DTSID= "{92E705AF -A61D-4589 -9564-7FE8 4CF053EE}"
  8397              DTS:Execut ableType=" Microsoft. SqlServer. Dts.Tasks. SendMailTa sk.SendMai lTask, Mic rosoft.Sql Server.Sen dMailTask,  Version=1 1.0.0.0, C ulture=neu tral, Publ icKeyToken =89845dcd8 080cc91"
  8398              DTS:Locale ID="-1"
  8399              DTS:Object Name="Send  Mail Task "
  8400              DTS:TaskCo ntact="Sen d Mail Tas k; Microso ft Corpora tion; SQL  Server 201 2; Â© 2007  Microsoft  Corporati on; All Ri ghts Reser ved;http:/ /www.micro soft.com/s ql/support /default.a sp;1">
  8401              <DTS:Varia bles />
  8402              <DTS:Prope rtyExpress ion
  8403                DTS:Name ="FromLine ">@[System ::PackageN ame] + "_E rrors@VA.g ov"</DTS:P ropertyExp ression>
  8404              <DTS:Prope rtyExpress ion
  8405                DTS:Name ="MessageS ource">@[S ystem::Pac kageName]  + " versio n: " + (DT _STR, 10,  1252) @[Sy stem::Vers ionMajor]+ "."+(DT_ST R, 10, 125 2) @[Syste m::Version Minor]+"." +(DT_STR,  10, 1252)  @[System:: VersionBui ld]  + " h as Encount ered the f ollowing E rror
  8406   ErrorNumbe r: " + (DT _STR, 100,  1252) @[S ystem::Err orCode] +  "
  8407   ErrorDescr iption: '"  +  @[Syst em::ErrorD escription ] + "'"</D TS:Propert yExpressio n>
  8408              <DTS:Prope rtyExpress ion
  8409                DTS:Name ="Subject" >@[System: :PackageNa me] + " ve rsion: " +  (DT_STR,  10, 1252)  @[System:: VersionMaj or]+"."+(D T_STR, 10,  1252) @[S ystem::Ver sionMinor] +"."+(DT_S TR, 10, 12 52) @[Syst em::Versio nBuild]  +  " has Enc ountered a n Error"</ DTS:Proper tyExpressi on>
  8410              <DTS:Prope rtyExpress ion
  8411                DTS:Name ="ToLine"> @[User::No tification Group]</DT S:Property Expression >
  8412              <DTS:Objec tData>
  8413                <SendMai lTask:Send MailTaskDa ta
  8414                  SendMa ilTask:SMT PServer="{ 79831383-2 23B-461C-8 A14-353FEB D3FCA6}"
  8415                    SendMailTa sk:From=" PII                       "
  8416                  SendMa ilTask:To= " PII                   ;PII                    "
  8417                  SendMa ilTask:Sub ject="Refe rrals vers ion: 1.0.3 66 has Enc ountered a n Error"
  8418                  SendMa ilTask:Mes sageSource ="Referral s version:  1.0.366 h as Encount ered the f ollowing E rror&#xA;E rrorNumber : 0&#xA;Er rorDescrip tion: ''"  xmlns:Send MailTask=" www.micros oft.com/sq lserver/dt s/tasks/se ndmailtask " />
  8419              </DTS:Obje ctData>
  8420           </ DTS:Execut able>
  8421         </DT S:Executab les>
  8422         <DTS :Precedenc eConstrain ts>
  8423           <D TS:Precede nceConstra int
  8424              DTS:refId= "Package.E ventHandle rs[OnError ].Preceden ceConstrai nts[Constr aint]"
  8425              DTS:Creati onName=""
  8426              DTS:DTSID= "{2CFF306E -6EF8-4000 -9D3F-1074 D8B72E8C}"
  8427              DTS:From=" Package.Ev entHandler s[OnError] \Log Error "
  8428              DTS:Logica lAnd="True "
  8429              DTS:Object Name="Cons traint"
  8430              DTS:To="Pa ckage.Even tHandlers[ OnError]\S end Mail T ask" />
  8431         </DT S:Preceden ceConstrai nts>
  8432       </DTS: EventHandl er>
  8433     </DTS:Ev entHandler s>
  8434     <DTS:Des ignTimePro perties><! [CDATA[<?x ml version ="1.0"?>
  8435   <!--This C DATA secti on contain s the layo ut informa tion of th e package.  The secti on include s informat ion such a s (x,y) co ordinates,  width, an d height.- ->
  8436   <!--If you  manually  edit this  section an d make a m istake, yo u can dele te it. -->
  8437   <!--The pa ckage will  still be  able to lo ad normall y but the  previous l ayout info rmation wi ll be lost  and the d esigner wi ll automat ically re- arrange th e elements  on the de sign surfa ce.-->
  8438   <Objects
  8439     Version= "sql11">
  8440     <!--Each  node belo w will con tain prope rties that  do not af fect runti me behavio r.-->
  8441     <Package
  8442       design -time-name ="Package" >
  8443       <Layou tInfo>
  8444         <Gra phLayout
  8445           Ca pacity="12 8" xmlns=" clr-namesp ace:Micros oft.SqlSer ver.Integr ationServi ces.Design er.Model.S erializati on;assembl y=Microsof t.SqlServe r.Integrat ionService s.Graph" x mlns:mssgl e="clr-nam espace:Mic rosoft.Sql Server.Gra ph.LayoutE ngine;asse mbly=Micro soft.SqlSe rver.Graph " xmlns:as sembly="ht tp://schem as.microso ft.com/win fx/2006/xa ml" xmlns: mssgm="clr -namespace :Microsoft .SqlServer .Graph.Mod el;assembl y=Microsof t.SqlServe r.Graph">
  8446           <N odeLayout
  8447              Size="209. 6,41.6"
  8448              Id="Packag e\Cleanup  CRS stagin g tables"
  8449              TopLeft="2 84.5,928.5 " />
  8450           <N odeLayout
  8451              Size="209. 6,41.6"
  8452              Id="Packag e\Cleanup  STG stagin g tables"
  8453              TopLeft="2 84.5,1030. 5" />
  8454           <N odeLayout
  8455              Size="222. 4,41.6"
  8456              Id="Packag e\Create T emp Table  in CRS DB"
  8457              TopLeft="2 78.5,209.5 " />
  8458           <N odeLayout
  8459              Size="222. 4,41.6"
  8460              Id="Packag e\Create T emp Table  in STG DB"
  8461              TopLeft="2 78.5,107.5 " />
  8462           <N odeLayout
  8463              Size="204, 41.6"
  8464              Id="Packag e\Flag the  duplicate s\Update D uplicate r eferrals"
  8465              TopLeft="5 .5,5.5" />
  8466           <C ontainerLa yout
  8467              HeaderHeig ht="43.2"
  8468              IsExpanded ="True"
  8469              PanelSize= "215.2,102 .4"
  8470              Size="215. 2,145.6"
  8471              Id="Packag e\Flag the  duplicate s"
  8472              TopLeft="2 82,516.5"  />
  8473           <N odeLayout
  8474              Size="201, 42"
  8475              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Creare R eferral in  staging"
  8476              TopLeft="2 7.00000000 00002,911. 5" />
  8477           <N odeLayout
  8478              Size="220, 42"
  8479              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Create a  STD REFER RALSTS rec ord STG fo r new reff eral"
  8480              TopLeft="3 2.5,257.5"  />
  8481           <N odeLayout
  8482              Size="177, 42"
  8483              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Get Max_ Sort_Order "
  8484              TopLeft="3 8,107.5" / >
  8485           <N odeLayout
  8486              Size="176, 42"
  8487              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Get Regi stry Name"
  8488              TopLeft="3 8.5,5.5" / >
  8489           <N odeLayout
  8490              Size="230, 42"
  8491              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Insert i nto stagin g patient  table"
  8492              TopLeft="1 5.50000000 00001,661. 5" />
  8493           <N odeLayout
  8494              Size="187, 42"
  8495              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move Pat ients to C RSe"
  8496              TopLeft="3 4.00000000 00001,743. 5" />
  8497           <N odeLayout
  8498              Size="184, 42"
  8499              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move ref erral to C RSe"
  8500              TopLeft="3 2.50000000 00002,989. 5" />
  8501           <N odeLayout
  8502              Size="242, 42"
  8503              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move STD _REFERRALS TS to CRSe "
  8504              TopLeft="2 6.50000000 00001,335. 5" />
  8505           <N odeLayout
  8506              Size="232, 42"
  8507              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Populate  TmpPATIEN TSID table "
  8508              TopLeft="1 4.50000000 00001,496. 5" />
  8509           <N odeLayout
  8510              Size="195, 42"
  8511              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Truncate  tabe TmpP ATIENTSID"
  8512              TopLeft="3 8.00000000 00001,416. 5" />
  8513           <N odeLayout
  8514              Size="242, 42"
  8515              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Truncate  table STA GING PATIE NT"
  8516              TopLeft="1 5.50000000 00001,580. 5" />
  8517           <N odeLayout
  8518              Size="193, 42"
  8519              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\truncate  table STA GING REFER RAL"
  8520              TopLeft="2 9.00000000 00001,830. 5" />
  8521           <N odeLayout
  8522              Size="193, 42"
  8523              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\truncate  table STA GING STD_R EFERRALSTS "
  8524              TopLeft="3 0,180.5" / >
  8525           <E dgeLayout
  8526              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint]"
  8527              TopLeft="1 26.5,47.5" >
  8528              <EdgeLayou t.Curve>
  8529                <mssgle: Curve
  8530                  StartC onnector=" {assembly: Null}"
  8531                  EndCon nector="0, 60"
  8532                  Start= "0,0"
  8533                  End="0 ,52.5">
  8534                  <mssgl e:Curve.Se gments>
  8535                    <mss gle:Segmen tCollectio n
  8536                      Ca pacity="5" >
  8537                      <m ssgle:Line Segment
  8538                         End="0,52. 5" />
  8539                    </ms sgle:Segme ntCollecti on>
  8540                  </mssg le:Curve.S egments>
  8541                </mssgle :Curve>
  8542              </EdgeLayo ut.Curve>
  8543              <EdgeLayou t.Labels>
  8544                <mssgm:E dgeLabel
  8545                  Boundi ngBox="0,0 ,0,0"
  8546                  Relati vePosition ="Any" />
  8547              </EdgeLayo ut.Labels>
  8548           </ EdgeLayout >
  8549           <E dgeLayout
  8550              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 1]"
  8551              TopLeft="1 47.5,377.5 ">
  8552              <EdgeLayou t.Curve>
  8553                <mssgle: Curve
  8554                  StartC onnector=" {assembly: Null}"
  8555                  EndCon nector="-1 1.99999999 99999,39"
  8556                  Start= "0,0"
  8557                  End="- 11.9999999 999999,31. 5">
  8558                  <mssgl e:Curve.Se gments>
  8559                    <mss gle:Segmen tCollectio n
  8560                      Ca pacity="5" >
  8561                      <m ssgle:Line Segment
  8562                         End="0,15. 5" />
  8563                      <m ssgle:Cubi cBezierSeg ment
  8564                         Point1="0, 15.5"
  8565                         Point2="0, 19.5"
  8566                         Point3="-4 ,19.5" />
  8567                      <m ssgle:Line Segment
  8568                         End="-7.99 9999999999 94,19.5" / >
  8569                      <m ssgle:Cubi cBezierSeg ment
  8570                         Point1="-7 .999999999 99994,19.5 "
  8571                         Point2="-1 1.99999999 99999,19.5 "
  8572                         Point3="-1 1.99999999 99999,23.5 " />
  8573                      <m ssgle:Line Segment
  8574                         End="-11.9 9999999999 99,31.5" / >
  8575                    </ms sgle:Segme ntCollecti on>
  8576                  </mssg le:Curve.S egments>
  8577                </mssgle :Curve>
  8578              </EdgeLayo ut.Curve>
  8579              <EdgeLayou t.Labels>
  8580                <mssgm:E dgeLabel
  8581                  Boundi ngBox="0,0 ,0,0"
  8582                  Relati vePosition ="Any" />
  8583              </EdgeLayo ut.Labels>
  8584           </ EdgeLayout >
  8585           <E dgeLayout
  8586              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 10]"
  8587              TopLeft="1 33,458.5">
  8588              <EdgeLayou t.Curve>
  8589                <mssgle: Curve
  8590                  StartC onnector=" {assembly: Null}"
  8591                  EndCon nector="0, 38"
  8592                  Start= "0,0"
  8593                  End="0 ,30.5">
  8594                  <mssgl e:Curve.Se gments>
  8595                    <mss gle:Segmen tCollectio n
  8596                      Ca pacity="5" >
  8597                      <m ssgle:Line Segment
  8598                         End="0,30. 5" />
  8599                    </ms sgle:Segme ntCollecti on>
  8600                  </mssg le:Curve.S egments>
  8601                </mssgle :Curve>
  8602              </EdgeLayo ut.Curve>
  8603              <EdgeLayou t.Labels>
  8604                <mssgm:E dgeLabel
  8605                  Boundi ngBox="0,0 ,0,0"
  8606                  Relati vePosition ="Any" />
  8607              </EdgeLayo ut.Labels>
  8608           </ EdgeLayout >
  8609           <E dgeLayout
  8610              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 11]"
  8611              TopLeft="1 33.5,622.5 ">
  8612              <EdgeLayou t.Curve>
  8613                <mssgle: Curve
  8614                  StartC onnector=" {assembly: Null}"
  8615                  EndCon nector="0, 39"
  8616                  Start= "0,0"
  8617                  End="0 ,31.5">
  8618                  <mssgl e:Curve.Se gments>
  8619                    <mss gle:Segmen tCollectio n
  8620                      Ca pacity="5" >
  8621                      <m ssgle:Line Segment
  8622                         End="0,31. 5" />
  8623                    </ms sgle:Segme ntCollecti on>
  8624                  </mssg le:Curve.S egments>
  8625                </mssgle :Curve>
  8626              </EdgeLayo ut.Curve>
  8627              <EdgeLayou t.Labels>
  8628                <mssgm:E dgeLabel
  8629                  Boundi ngBox="0,0 ,0,0"
  8630                  Relati vePosition ="Any" />
  8631              </EdgeLayo ut.Labels>
  8632           </ EdgeLayout >
  8633           <E dgeLayout
  8634              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 12]"
  8635              TopLeft="1 26.5,785.5 ">
  8636              <EdgeLayou t.Curve>
  8637                <mssgle: Curve
  8638                  StartC onnector=" {assembly: Null}"
  8639                  EndCon nector="0, 45"
  8640                  Start= "0,0"
  8641                  End="0 ,37.5">
  8642                  <mssgl e:Curve.Se gments>
  8643                    <mss gle:Segmen tCollectio n
  8644                      Ca pacity="5" >
  8645                      <m ssgle:Line Segment
  8646                         End="0,37. 5" />
  8647                    </ms sgle:Segme ntCollecti on>
  8648                  </mssg le:Curve.S egments>
  8649                </mssgle :Curve>
  8650              </EdgeLayo ut.Curve>
  8651              <EdgeLayou t.Labels>
  8652                <mssgm:E dgeLabel
  8653                  Boundi ngBox="0,0 ,0,0"
  8654                  Relati vePosition ="Any" />
  8655              </EdgeLayo ut.Labels>
  8656           </ EdgeLayout >
  8657           <E dgeLayout
  8658              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 2]"
  8659              TopLeft="1 26.5,872.5 ">
  8660              <EdgeLayou t.Curve>
  8661                <mssgle: Curve
  8662                  StartC onnector=" {assembly: Null}"
  8663                  EndCon nector="0, 39"
  8664                  Start= "0,0"
  8665                  End="0 ,31.5">
  8666                  <mssgl e:Curve.Se gments>
  8667                    <mss gle:Segmen tCollectio n
  8668                      Ca pacity="5" >
  8669                      <m ssgle:Line Segment
  8670                         End="0,31. 5" />
  8671                    </ms sgle:Segme ntCollecti on>
  8672                  </mssg le:Curve.S egments>
  8673                </mssgle :Curve>
  8674              </EdgeLayo ut.Curve>
  8675              <EdgeLayou t.Labels>
  8676                <mssgm:E dgeLabel
  8677                  Boundi ngBox="0,0 ,0,0"
  8678                  Relati vePosition ="Any" />
  8679              </EdgeLayo ut.Labels>
  8680           </ EdgeLayout >
  8681           <E dgeLayout
  8682              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 3]"
  8683              TopLeft="1 26,953.5">
  8684              <EdgeLayou t.Curve>
  8685                <mssgle: Curve
  8686                  StartC onnector=" {assembly: Null}"
  8687                  EndCon nector="0, 36"
  8688                  Start= "0,0"
  8689                  End="0 ,28.5">
  8690                  <mssgl e:Curve.Se gments>
  8691                    <mss gle:Segmen tCollectio n
  8692                      Ca pacity="5" >
  8693                      <m ssgle:Line Segment
  8694                         End="0,28. 5" />
  8695                    </ms sgle:Segme ntCollecti on>
  8696                  </mssg le:Curve.S egments>
  8697                </mssgle :Curve>
  8698              </EdgeLayo ut.Curve>
  8699              <EdgeLayou t.Labels>
  8700                <mssgm:E dgeLabel
  8701                  Boundi ngBox="0,0 ,0,0"
  8702                  Relati vePosition ="Any" />
  8703              </EdgeLayo ut.Labels>
  8704           </ EdgeLayout >
  8705           <E dgeLayout
  8706              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 4]"
  8707              TopLeft="1 26.5,149.5 ">
  8708              <EdgeLayou t.Curve>
  8709                <mssgle: Curve
  8710                  StartC onnector=" {assembly: Null}"
  8711                  EndCon nector="0, 31"
  8712                  Start= "0,0"
  8713                  End="0 ,23.5">
  8714                  <mssgl e:Curve.Se gments>
  8715                    <mss gle:Segmen tCollectio n
  8716                      Ca pacity="5" >
  8717                      <m ssgle:Line Segment
  8718                         End="0,23. 5" />
  8719                    </ms sgle:Segme ntCollecti on>
  8720                  </mssg le:Curve.S egments>
  8721                </mssgle :Curve>
  8722              </EdgeLayo ut.Curve>
  8723              <EdgeLayou t.Labels>
  8724                <mssgm:E dgeLabel
  8725                  Boundi ngBox="0,0 ,0,0"
  8726                  Relati vePosition ="Any" />
  8727              </EdgeLayo ut.Labels>
  8728           </ EdgeLayout >
  8729           <E dgeLayout
  8730              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 5]"
  8731              TopLeft="1 45,299.5">
  8732              <EdgeLayou t.Curve>
  8733                <mssgle: Curve
  8734                  StartC onnector=" {assembly: Null}"
  8735                  EndCon nector="0, 36"
  8736                  Start= "0,0"
  8737                  End="0 ,28.5">
  8738                  <mssgl e:Curve.Se gments>
  8739                    <mss gle:Segmen tCollectio n
  8740                      Ca pacity="5" >
  8741                      <m ssgle:Line Segment
  8742                         End="0,28. 5" />
  8743                    </ms sgle:Segme ntCollecti on>
  8744                  </mssg le:Curve.S egments>
  8745                </mssgle :Curve>
  8746              </EdgeLayo ut.Curve>
  8747              <EdgeLayou t.Labels>
  8748                <mssgm:E dgeLabel
  8749                  Boundi ngBox="0,0 ,0,0"
  8750                  Relati vePosition ="Any" />
  8751              </EdgeLayo ut.Labels>
  8752           </ EdgeLayout >
  8753           <E dgeLayout
  8754              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 6]"
  8755              TopLeft="1 29,703.5">
  8756              <EdgeLayou t.Curve>
  8757                <mssgle: Curve
  8758                  StartC onnector=" {assembly: Null}"
  8759                  EndCon nector="0, 40"
  8760                  Start= "0,0"
  8761                  End="0 ,32.5">
  8762                  <mssgl e:Curve.Se gments>
  8763                    <mss gle:Segmen tCollectio n
  8764                      Ca pacity="5" >
  8765                      <m ssgle:Line Segment
  8766                         End="0,32. 5" />
  8767                    </ms sgle:Segme ntCollecti on>
  8768                  </mssg le:Curve.S egments>
  8769                </mssgle :Curve>
  8770              </EdgeLayo ut.Curve>
  8771              <EdgeLayou t.Labels>
  8772                <mssgm:E dgeLabel
  8773                  Boundi ngBox="0,0 ,0,0"
  8774                  Relati vePosition ="Any" />
  8775              </EdgeLayo ut.Labels>
  8776           </ EdgeLayout >
  8777           <E dgeLayout
  8778              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 7]"
  8779              TopLeft="1 26.5,222.5 ">
  8780              <EdgeLayou t.Curve>
  8781                <mssgle: Curve
  8782                  StartC onnector=" {assembly: Null}"
  8783                  EndCon nector="16 ,35"
  8784                  Start= "0,0"
  8785                  End="1 6,27.5">
  8786                  <mssgl e:Curve.Se gments>
  8787                    <mss gle:Segmen tCollectio n
  8788                      Ca pacity="5" >
  8789                      <m ssgle:Line Segment
  8790                         End="0,13. 5" />
  8791                      <m ssgle:Cubi cBezierSeg ment
  8792                         Point1="0, 13.5"
  8793                         Point2="0, 17.5"
  8794                         Point3="4, 17.5" />
  8795                      <m ssgle:Line Segment
  8796                         End="12,17 .5" />
  8797                      <m ssgle:Cubi cBezierSeg ment
  8798                         Point1="12 ,17.5"
  8799                         Point2="16 ,17.5"
  8800                         Point3="16 ,21.5" />
  8801                      <m ssgle:Line Segment
  8802                         End="16,27 .5" />
  8803                    </ms sgle:Segme ntCollecti on>
  8804                  </mssg le:Curve.S egments>
  8805                </mssgle :Curve>
  8806              </EdgeLayo ut.Curve>
  8807              <EdgeLayou t.Labels>
  8808                <mssgm:E dgeLabel
  8809                  Boundi ngBox="0,0 ,0,0"
  8810                  Relati vePosition ="Any" />
  8811              </EdgeLayo ut.Labels>
  8812           </ EdgeLayout >
  8813           <E dgeLayout
  8814              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D.Preceden ceConstrai nts[Constr aint 9]"
  8815              TopLeft="1 33.5,538.5 ">
  8816              <EdgeLayou t.Curve>
  8817                <mssgle: Curve
  8818                  StartC onnector=" {assembly: Null}"
  8819                  EndCon nector="0, 42"
  8820                  Start= "0,0"
  8821                  End="0 ,34.5">
  8822                  <mssgl e:Curve.Se gments>
  8823                    <mss gle:Segmen tCollectio n
  8824                      Ca pacity="5" >
  8825                      <m ssgle:Line Segment
  8826                         End="0,34. 5" />
  8827                    </ms sgle:Segme ntCollecti on>
  8828                  </mssg le:Curve.S egments>
  8829                </mssgle :Curve>
  8830              </EdgeLayo ut.Curve>
  8831              <EdgeLayou t.Labels>
  8832                <mssgm:E dgeLabel
  8833                  Boundi ngBox="0,0 ,0,0"
  8834                  Relati vePosition ="Any" />
  8835              </EdgeLayo ut.Labels>
  8836           </ EdgeLayout >
  8837           <C ontainerLa yout
  8838              HeaderHeig ht="43"
  8839              IsExpanded ="True"
  8840              PanelSize= "417,1087"
  8841              Size="417, 1130"
  8842              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D"
  8843              TopLeft="3 23,216.5"  />
  8844           <N odeLayout
  8845              Size="176, 42"
  8846              Id="Packag e\Foreach  Loop Conta iner\Get E TL_Type Va lue"
  8847              TopLeft="3 64.5,5.5"  />
  8848           <N odeLayout
  8849              Size="201, 42"
  8850              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Cre are Referr al in stag ing"
  8851              TopLeft="2 9.50000000 00001,719. 5" />
  8852           <N odeLayout
  8853              Size="207, 42"
  8854              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Get  the Refer ralst ID"
  8855              TopLeft="2 6.50000000 00001,515. 5" />
  8856           <N odeLayout
  8857              Size="230, 42"
  8858              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Ins ert into s taging pat ient table "
  8859              TopLeft="1 5.00000000 00001,311. 5" />
  8860           <N odeLayout
  8861              Size="187, 42"
  8862              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e Patients  to CRSe"
  8863              TopLeft="3 6.50000000 00001,413. 5" />
  8864           <N odeLayout
  8865              Size="184, 42"
  8866              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e referral  to CRSe"
  8867              TopLeft="3 8.00000000 00001,821. 5" />
  8868           <N odeLayout
  8869              Size="232, 42"
  8870              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Pop ulate TmpP ATIENTSID  table"
  8871              TopLeft="1 4,107.5" / >
  8872           <N odeLayout
  8873              Size="195, 42"
  8874              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabe  TmpPATIEN TSID"
  8875              TopLeft="3 2.5,5.5" / >
  8876           <N odeLayout
  8877              Size="242, 42"
  8878              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabl e STAGING  PATIENT"
  8879              TopLeft="9 .000000000 00003,209. 5" />
  8880           <N odeLayout
  8881              Size="249, 42"
  8882              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Tru ncate tabl e STAGING  REFERRAL"
  8883              TopLeft="5 .500000000 00009,617. 5" />
  8884           <E dgeLayout
  8885              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint] "
  8886              TopLeft="1 30,149.5">
  8887              <EdgeLayou t.Curve>
  8888                <mssgle: Curve
  8889                  StartC onnector=" {assembly: Null}"
  8890                  EndCon nector="0, 60"
  8891                  Start= "0,0"
  8892                  End="0 ,52.5">
  8893                  <mssgl e:Curve.Se gments>
  8894                    <mss gle:Segmen tCollectio n
  8895                      Ca pacity="5" >
  8896                      <m ssgle:Line Segment
  8897                         End="0,52. 5" />
  8898                    </ms sgle:Segme ntCollecti on>
  8899                  </mssg le:Curve.S egments>
  8900                </mssgle :Curve>
  8901              </EdgeLayo ut.Curve>
  8902              <EdgeLayou t.Labels>
  8903                <mssgm:E dgeLabel
  8904                  Boundi ngBox="0,0 ,0,0"
  8905                  Relati vePosition ="Any" />
  8906              </EdgeLayo ut.Labels>
  8907           </ EdgeLayout >
  8908           <E dgeLayout
  8909              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  1]"
  8910              TopLeft="1 30,557.5">
  8911              <EdgeLayou t.Curve>
  8912                <mssgle: Curve
  8913                  StartC onnector=" {assembly: Null}"
  8914                  EndCon nector="0, 60"
  8915                  Start= "0,0"
  8916                  End="0 ,52.5">
  8917                  <mssgl e:Curve.Se gments>
  8918                    <mss gle:Segmen tCollectio n
  8919                      Ca pacity="5" >
  8920                      <m ssgle:Line Segment
  8921                         End="0,52. 5" />
  8922                    </ms sgle:Segme ntCollecti on>
  8923                  </mssg le:Curve.S egments>
  8924                </mssgle :Curve>
  8925              </EdgeLayo ut.Curve>
  8926              <EdgeLayou t.Labels>
  8927                <mssgm:E dgeLabel
  8928                  Boundi ngBox="0,0 ,0,0"
  8929                  Relati vePosition ="Any" />
  8930              </EdgeLayo ut.Labels>
  8931           </ EdgeLayout >
  8932           <E dgeLayout
  8933              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  2]"
  8934              TopLeft="1 30,761.5">
  8935              <EdgeLayou t.Curve>
  8936                <mssgle: Curve
  8937                  StartC onnector=" {assembly: Null}"
  8938                  EndCon nector="0, 60"
  8939                  Start= "0,0"
  8940                  End="0 ,52.5">
  8941                  <mssgl e:Curve.Se gments>
  8942                    <mss gle:Segmen tCollectio n
  8943                      Ca pacity="5" >
  8944                      <m ssgle:Line Segment
  8945                         End="0,52. 5" />
  8946                    </ms sgle:Segme ntCollecti on>
  8947                  </mssg le:Curve.S egments>
  8948                </mssgle :Curve>
  8949              </EdgeLayo ut.Curve>
  8950              <EdgeLayou t.Labels>
  8951                <mssgm:E dgeLabel
  8952                  Boundi ngBox="0,0 ,0,0"
  8953                  Relati vePosition ="Any" />
  8954              </EdgeLayo ut.Labels>
  8955           </ EdgeLayout >
  8956           <E dgeLayout
  8957              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  3]"
  8958              TopLeft="1 30,251.5">
  8959              <EdgeLayou t.Curve>
  8960                <mssgle: Curve
  8961                  StartC onnector=" {assembly: Null}"
  8962                  EndCon nector="0, 60"
  8963                  Start= "0,0"
  8964                  End="0 ,52.5">
  8965                  <mssgl e:Curve.Se gments>
  8966                    <mss gle:Segmen tCollectio n
  8967                      Ca pacity="5" >
  8968                      <m ssgle:Line Segment
  8969                         End="0,52. 5" />
  8970                    </ms sgle:Segme ntCollecti on>
  8971                  </mssg le:Curve.S egments>
  8972                </mssgle :Curve>
  8973              </EdgeLayo ut.Curve>
  8974              <EdgeLayou t.Labels>
  8975                <mssgm:E dgeLabel
  8976                  Boundi ngBox="0,0 ,0,0"
  8977                  Relati vePosition ="Any" />
  8978              </EdgeLayo ut.Labels>
  8979           </ EdgeLayout >
  8980           <E dgeLayout
  8981              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  4]"
  8982              TopLeft="1 30,659.5">
  8983              <EdgeLayou t.Curve>
  8984                <mssgle: Curve
  8985                  StartC onnector=" {assembly: Null}"
  8986                  EndCon nector="0, 60"
  8987                  Start= "0,0"
  8988                  End="0 ,52.5">
  8989                  <mssgl e:Curve.Se gments>
  8990                    <mss gle:Segmen tCollectio n
  8991                      Ca pacity="5" >
  8992                      <m ssgle:Line Segment
  8993                         End="0,52. 5" />
  8994                    </ms sgle:Segme ntCollecti on>
  8995                  </mssg le:Curve.S egments>
  8996                </mssgle :Curve>
  8997              </EdgeLayo ut.Curve>
  8998              <EdgeLayou t.Labels>
  8999                <mssgm:E dgeLabel
  9000                  Boundi ngBox="0,0 ,0,0"
  9001                  Relati vePosition ="Any" />
  9002              </EdgeLayo ut.Labels>
  9003           </ EdgeLayout >
  9004           <E dgeLayout
  9005              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  5]"
  9006              TopLeft="1 30,47.5">
  9007              <EdgeLayou t.Curve>
  9008                <mssgle: Curve
  9009                  StartC onnector=" {assembly: Null}"
  9010                  EndCon nector="0, 60"
  9011                  Start= "0,0"
  9012                  End="0 ,52.5">
  9013                  <mssgl e:Curve.Se gments>
  9014                    <mss gle:Segmen tCollectio n
  9015                      Ca pacity="5" >
  9016                      <m ssgle:Line Segment
  9017                         End="0,52. 5" />
  9018                    </ms sgle:Segme ntCollecti on>
  9019                  </mssg le:Curve.S egments>
  9020                </mssgle :Curve>
  9021              </EdgeLayo ut.Curve>
  9022              <EdgeLayou t.Labels>
  9023                <mssgm:E dgeLabel
  9024                  Boundi ngBox="0,0 ,0,0"
  9025                  Relati vePosition ="Any" />
  9026              </EdgeLayo ut.Labels>
  9027           </ EdgeLayout >
  9028           <E dgeLayout
  9029              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  6]"
  9030              TopLeft="1 30,353.5">
  9031              <EdgeLayou t.Curve>
  9032                <mssgle: Curve
  9033                  StartC onnector=" {assembly: Null}"
  9034                  EndCon nector="0, 60"
  9035                  Start= "0,0"
  9036                  End="0 ,52.5">
  9037                  <mssgl e:Curve.Se gments>
  9038                    <mss gle:Segmen tCollectio n
  9039                      Ca pacity="5" >
  9040                      <m ssgle:Line Segment
  9041                         End="0,52. 5" />
  9042                    </ms sgle:Segme ntCollecti on>
  9043                  </mssg le:Curve.S egments>
  9044                </mssgle :Curve>
  9045              </EdgeLayo ut.Curve>
  9046              <EdgeLayou t.Labels>
  9047                <mssgm:E dgeLabel
  9048                  Boundi ngBox="0,0 ,0,0"
  9049                  Relati vePosition ="Any" />
  9050              </EdgeLayo ut.Labels>
  9051           </ EdgeLayout >
  9052           <E dgeLayout
  9053              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID.Pre cedenceCon straints[C onstraint  7]"
  9054              TopLeft="1 30,455.5">
  9055              <EdgeLayou t.Curve>
  9056                <mssgle: Curve
  9057                  StartC onnector=" {assembly: Null}"
  9058                  EndCon nector="0, 60"
  9059                  Start= "0,0"
  9060                  End="0 ,52.5">
  9061                  <mssgl e:Curve.Se gments>
  9062                    <mss gle:Segmen tCollectio n
  9063                      Ca pacity="5" >
  9064                      <m ssgle:Line Segment
  9065                         End="0,52. 5" />
  9066                    </ms sgle:Segme ntCollecti on>
  9067                  </mssg le:Curve.S egments>
  9068                </mssgle :Curve>
  9069              </EdgeLayo ut.Curve>
  9070              <EdgeLayou t.Labels>
  9071                <mssgm:E dgeLabel
  9072                  Boundi ngBox="0,0 ,0,0"
  9073                  Relati vePosition ="Any" />
  9074              </EdgeLayo ut.Labels>
  9075           </ EdgeLayout >
  9076           <C ontainerLa yout
  9077              HeaderHeig ht="43"
  9078              IsExpanded ="True"
  9079              PanelSize= "260,919"
  9080              Size="260, 962"
  9081              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID"
  9082              TopLeft="6 .500000000 00011,200. 5" />
  9083           <E dgeLayout
  9084              Id="Packag e\Foreach  Loop Conta iner.Prece denceConst raints[Con straint]"
  9085              TopLeft="4 24.5,47.5" >
  9086              <EdgeLayou t.Curve>
  9087                <mssgle: Curve
  9088                  StartC onnector=" {assembly: Null}"
  9089                  EndCon nector="-2 88,153"
  9090                  Start= "0,0"
  9091                  End="- 288,145.5" >
  9092                  <mssgl e:Curve.Se gments>
  9093                    <mss gle:Segmen tCollectio n
  9094                      Ca pacity="5" >
  9095                      <m ssgle:Line Segment
  9096                         End="0,58. 0270270270 27" />
  9097                      <m ssgle:Cubi cBezierSeg ment
  9098                         Point1="0, 58.0270270 27027"
  9099                         Point2="0, 62.0270270 27027"
  9100                         Point3="-4 ,62.027027 027027" />
  9101                      <m ssgle:Line Segment
  9102                         End="-284, 62.0270270 27027" />
  9103                      <m ssgle:Cubi cBezierSeg ment
  9104                         Point1="-2 84,62.0270 27027027"
  9105                         Point2="-2 88,62.0270 27027027"
  9106                         Point3="-2 88,66.0270 27027027"  />
  9107                      <m ssgle:Line Segment
  9108                         End="-288, 145.5" />
  9109                    </ms sgle:Segme ntCollecti on>
  9110                  </mssg le:Curve.S egments>
  9111                </mssgle :Curve>
  9112              </EdgeLayo ut.Curve>
  9113              <EdgeLayou t.Labels>
  9114                <mssgm:E dgeLabel
  9115                  Boundi ngBox="-15 2,87.29729 72972973,1 6,16"
  9116                  Relati vePosition ="Any" />
  9117              </EdgeLayo ut.Labels>
  9118           </ EdgeLayout >
  9119           <E dgeLayout
  9120              Id="Packag e\Foreach  Loop Conta iner.Prece denceConst raints[Con straint 1] "
  9121              TopLeft="4 80.5,47.5" >
  9122              <EdgeLayou t.Curve>
  9123                <mssgle: Curve
  9124                  StartC onnector=" {assembly: Null}"
  9125                  EndCon nector="51 ,169"
  9126                  Start= "0,0"
  9127                  End="5 1,161.5">
  9128                  <mssgl e:Curve.Se gments>
  9129                    <mss gle:Segmen tCollectio n
  9130                      Ca pacity="5" >
  9131                      <m ssgle:Line Segment
  9132                         End="0,64. 5135135135 135" />
  9133                      <m ssgle:Cubi cBezierSeg ment
  9134                         Point1="0, 64.5135135 135135"
  9135                         Point2="0, 68.5135135 135135"
  9136                         Point3="4, 68.5135135 135135" />
  9137                      <m ssgle:Line Segment
  9138                         End="47,68 .513513513 5135" />
  9139                      <m ssgle:Cubi cBezierSeg ment
  9140                         Point1="47 ,68.513513 5135135"
  9141                         Point2="51 ,68.513513 5135135"
  9142                         Point3="51 ,72.513513 5135135" / >
  9143                      <m ssgle:Line Segment
  9144                         End="51,16 1.5" />
  9145                    </ms sgle:Segme ntCollecti on>
  9146                  </mssg le:Curve.S egments>
  9147                </mssgle :Curve>
  9148              </EdgeLayo ut.Curve>
  9149              <EdgeLayou t.Labels>
  9150                <mssgm:E dgeLabel
  9151                  Boundi ngBox="17. 5,73.51351 35135135,1 6,16"
  9152                  Relati vePosition ="Any" />
  9153              </EdgeLayo ut.Labels>
  9154           </ EdgeLayout >
  9155           <C ontainerLa yout
  9156              HeaderHeig ht="43"
  9157              IsExpanded ="False"
  9158              PanelSize= "768,1402"
  9159              Size="768, 43.2"
  9160              Id="Packag e\Foreach  Loop Conta iner"
  9161              TopLeft="5 .500000000 00006,413. 5" />
  9162           <N odeLayout
  9163              Size="172. 8,41.6"
  9164              Id="Packag e\Get STD  RegistryID "
  9165              TopLeft="3 03,311.5"  />
  9166           <N odeLayout
  9167              Size="160. 8,41.6"
  9168              Id="Packag e\Log Pack age End"
  9169              TopLeft="3 09,1132.5"  />
  9170           <N odeLayout
  9171              Size="166. 4,41.6"
  9172              Id="Packag e\Log Pack age Start"
  9173              TopLeft="3 06.5,5.5"  />
  9174           <N odeLayout
  9175              Size="177. 6,41.6"
  9176              Id="Packag e\Referral  Detail\In sert Refer ral detail "
  9177              TopLeft="5 .5,5.5" />
  9178           <C ontainerLa yout
  9179              HeaderHeig ht="43.2"
  9180              IsExpanded ="True"
  9181              PanelSize= "188.8,102 .4"
  9182              Size="188. 8,145.6"
  9183              Id="Packag e\Referral  Detail"
  9184              TopLeft="2 95,722.5"  />
  9185           <E dgeLayout
  9186              Id="Packag e.Preceden ceConstrai nts[Constr aint]"
  9187              TopLeft="3 89.5,149.5 ">
  9188              <EdgeLayou t.Curve>
  9189                <mssgle: Curve
  9190                  StartC onnector=" {assembly: Null}"
  9191                  EndCon nector="0, 60"
  9192                  Start= "0,0"
  9193                  End="0 ,52.5">
  9194                  <mssgl e:Curve.Se gments>
  9195                    <mss gle:Segmen tCollectio n
  9196                      Ca pacity="5" >
  9197                      <m ssgle:Line Segment
  9198                         End="0,52. 5" />
  9199                    </ms sgle:Segme ntCollecti on>
  9200                  </mssg le:Curve.S egments>
  9201                </mssgle :Curve>
  9202              </EdgeLayo ut.Curve>
  9203              <EdgeLayou t.Labels>
  9204                <EdgeLab elCollecti on />
  9205              </EdgeLayo ut.Labels>
  9206           </ EdgeLayout >
  9207           <E dgeLayout
  9208              Id="Packag e.Preceden ceConstrai nts[Constr aint 1]"
  9209              TopLeft="3 89.5,47.5" >
  9210              <EdgeLayou t.Curve>
  9211                <mssgle: Curve
  9212                  StartC onnector=" {assembly: Null}"
  9213                  EndCon nector="0, 60"
  9214                  Start= "0,0"
  9215                  End="0 ,52.5">
  9216                  <mssgl e:Curve.Se gments>
  9217                    <mss gle:Segmen tCollectio n
  9218                      Ca pacity="5" >
  9219                      <m ssgle:Line Segment
  9220                         End="0,52. 5" />
  9221                    </ms sgle:Segme ntCollecti on>
  9222                  </mssg le:Curve.S egments>
  9223                </mssgle :Curve>
  9224              </EdgeLayo ut.Curve>
  9225              <EdgeLayou t.Labels>
  9226                <EdgeLab elCollecti on />
  9227              </EdgeLayo ut.Labels>
  9228           </ EdgeLayout >
  9229           <E dgeLayout
  9230              Id="Packag e.Preceden ceConstrai nts[Constr aint 2]"
  9231              TopLeft="3 89.5,868.5 ">
  9232              <EdgeLayou t.Curve>
  9233                <mssgle: Curve
  9234                  StartC onnector=" {assembly: Null}"
  9235                  EndCon nector="0, 60"
  9236                  Start= "0,0"
  9237                  End="0 ,52.5">
  9238                  <mssgl e:Curve.Se gments>
  9239                    <mss gle:Segmen tCollectio n
  9240                      Ca pacity="5" >
  9241                      <m ssgle:Line Segment
  9242                         End="0,52. 5" />
  9243                    </ms sgle:Segme ntCollecti on>
  9244                  </mssg le:Curve.S egments>
  9245                </mssgle :Curve>
  9246              </EdgeLayo ut.Curve>
  9247              <EdgeLayou t.Labels>
  9248                <EdgeLab elCollecti on />
  9249              </EdgeLayo ut.Labels>
  9250           </ EdgeLayout >
  9251           <E dgeLayout
  9252              Id="Packag e.Preceden ceConstrai nts[Constr aint 3]"
  9253              TopLeft="3 89.5,353.5 ">
  9254              <EdgeLayou t.Curve>
  9255                <mssgle: Curve
  9256                  StartC onnector=" {assembly: Null}"
  9257                  EndCon nector="0, 60"
  9258                  Start= "0,0"
  9259                  End="0 ,52.5">
  9260                  <mssgl e:Curve.Se gments>
  9261                    <mss gle:Segmen tCollectio n
  9262                      Ca pacity="5" >
  9263                      <m ssgle:Line Segment
  9264                         End="0,52. 5" />
  9265                    </ms sgle:Segme ntCollecti on>
  9266                  </mssg le:Curve.S egments>
  9267                </mssgle :Curve>
  9268              </EdgeLayo ut.Curve>
  9269              <EdgeLayou t.Labels>
  9270                <EdgeLab elCollecti on />
  9271              </EdgeLayo ut.Labels>
  9272           </ EdgeLayout >
  9273           <E dgeLayout
  9274              Id="Packag e.Preceden ceConstrai nts[Constr aint 4]"
  9275              TopLeft="3 89.5,456.5 ">
  9276              <EdgeLayou t.Curve>
  9277                <mssgle: Curve
  9278                  StartC onnector=" {assembly: Null}"
  9279                  EndCon nector="0, 60"
  9280                  Start= "0,0"
  9281                  End="0 ,52.5">
  9282                  <mssgl e:Curve.Se gments>
  9283                    <mss gle:Segmen tCollectio n
  9284                      Ca pacity="5" >
  9285                      <m ssgle:Line Segment
  9286                         End="0,52. 5" />
  9287                    </ms sgle:Segme ntCollecti on>
  9288                  </mssg le:Curve.S egments>
  9289                </mssgle :Curve>
  9290              </EdgeLayo ut.Curve>
  9291              <EdgeLayou t.Labels>
  9292                <EdgeLab elCollecti on />
  9293              </EdgeLayo ut.Labels>
  9294           </ EdgeLayout >
  9295           <E dgeLayout
  9296              Id="Packag e.Preceden ceConstrai nts[Constr aint 5]"
  9297              TopLeft="3 89.5,662.5 ">
  9298              <EdgeLayou t.Curve>
  9299                <mssgle: Curve
  9300                  StartC onnector=" {assembly: Null}"
  9301                  EndCon nector="0, 60"
  9302                  Start= "0,0"
  9303                  End="0 ,52.5">
  9304                  <mssgl e:Curve.Se gments>
  9305                    <mss gle:Segmen tCollectio n
  9306                      Ca pacity="5" >
  9307                      <m ssgle:Line Segment
  9308                         End="0,52. 5" />
  9309                    </ms sgle:Segme ntCollecti on>
  9310                  </mssg le:Curve.S egments>
  9311                </mssgle :Curve>
  9312              </EdgeLayo ut.Curve>
  9313              <EdgeLayou t.Labels>
  9314                <EdgeLab elCollecti on />
  9315              </EdgeLayo ut.Labels>
  9316           </ EdgeLayout >
  9317           <E dgeLayout
  9318              Id="Packag e.Preceden ceConstrai nts[Constr aint 6]"
  9319              TopLeft="3 89.5,970.5 ">
  9320              <EdgeLayou t.Curve>
  9321                <mssgle: Curve
  9322                  StartC onnector=" {assembly: Null}"
  9323                  EndCon nector="0, 60"
  9324                  Start= "0,0"
  9325                  End="0 ,52.5">
  9326                  <mssgl e:Curve.Se gments>
  9327                    <mss gle:Segmen tCollectio n
  9328                      Ca pacity="5" >
  9329                      <m ssgle:Line Segment
  9330                         End="0,52. 5" />
  9331                    </ms sgle:Segme ntCollecti on>
  9332                  </mssg le:Curve.S egments>
  9333                </mssgle :Curve>
  9334              </EdgeLayo ut.Curve>
  9335              <EdgeLayou t.Labels>
  9336                <EdgeLab elCollecti on />
  9337              </EdgeLayo ut.Labels>
  9338           </ EdgeLayout >
  9339           <E dgeLayout
  9340              Id="Packag e.Preceden ceConstrai nts[Constr aint 7]"
  9341              TopLeft="3 89.5,1072. 5">
  9342              <EdgeLayou t.Curve>
  9343                <mssgle: Curve
  9344                  StartC onnector=" {assembly: Null}"
  9345                  EndCon nector="0, 60"
  9346                  Start= "0,0"
  9347                  End="0 ,52.5">
  9348                  <mssgl e:Curve.Se gments>
  9349                    <mss gle:Segmen tCollectio n
  9350                      Ca pacity="5" >
  9351                      <m ssgle:Line Segment
  9352                         End="0,52. 5" />
  9353                    </ms sgle:Segme ntCollecti on>
  9354                  </mssg le:Curve.S egments>
  9355                </mssgle :Curve>
  9356              </EdgeLayo ut.Curve>
  9357              <EdgeLayou t.Labels>
  9358                <EdgeLab elCollecti on />
  9359              </EdgeLayo ut.Labels>
  9360           </ EdgeLayout >
  9361           <E dgeLayout
  9362              Id="Packag e.Preceden ceConstrai nts[Constr aint 8]"
  9363              TopLeft="3 89.5,251.5 ">
  9364              <EdgeLayou t.Curve>
  9365                <mssgle: Curve
  9366                  StartC onnector=" {assembly: Null}"
  9367                  EndCon nector="0, 60"
  9368                  Start= "0,0"
  9369                  End="0 ,52.5">
  9370                  <mssgl e:Curve.Se gments>
  9371                    <mss gle:Segmen tCollectio n
  9372                      Ca pacity="5" >
  9373                      <m ssgle:Line Segment
  9374                         End="0,52. 5" />
  9375                    </ms sgle:Segme ntCollecti on>
  9376                  </mssg le:Curve.S egments>
  9377                </mssgle :Curve>
  9378              </EdgeLayo ut.Curve>
  9379              <EdgeLayou t.Labels>
  9380                <EdgeLab elCollecti on />
  9381              </EdgeLayo ut.Labels>
  9382           </ EdgeLayout >
  9383         </Gr aphLayout>
  9384       </Layo utInfo>
  9385     </Packag e>
  9386     <DtsEven tHandler
  9387       design -time-name ="Package. EventHandl ers[OnErro r]">
  9388       <Layou tInfo>
  9389         <Gra phLayout
  9390           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  9391           <N odeLayout
  9392              Size="125, 42"
  9393              Id="Packag e.EventHan dlers[OnEr ror]\Log E rror"
  9394              TopLeft="1 60,41" />
  9395           <N odeLayout
  9396              Size="152, 42"
  9397              Id="Packag e.EventHan dlers[OnEr ror]\Send  Mail Task"
  9398              TopLeft="1 69,133" />
  9399           <E dgeLayout
  9400              Id="Packag e.EventHan dlers[OnEr ror].Prece denceConst raints[Con straint]"
  9401              TopLeft="2 22.5,83">
  9402              <EdgeLayou t.Curve>
  9403                <mssgle: Curve
  9404                  StartC onnector=" {assembly: Null}"
  9405                  EndCon nector="22 .5,50"
  9406                  Start= "0,0"
  9407                  End="2 2.5,42.5">
  9408                  <mssgl e:Curve.Se gments>
  9409                    <mss gle:Segmen tCollectio n
  9410                      Ca pacity="5" >
  9411                      <m ssgle:Line Segment
  9412                         End="0,21"  />
  9413                      <m ssgle:Cubi cBezierSeg ment
  9414                         Point1="0, 21"
  9415                         Point2="0, 25"
  9416                         Point3="4, 25" />
  9417                      <m ssgle:Line Segment
  9418                         End="18.5, 25" />
  9419                      <m ssgle:Cubi cBezierSeg ment
  9420                         Point1="18 .5,25"
  9421                         Point2="22 .5,25"
  9422                         Point3="22 .5,29" />
  9423                      <m ssgle:Line Segment
  9424                         End="22.5, 42.5" />
  9425                    </ms sgle:Segme ntCollecti on>
  9426                  </mssg le:Curve.S egments>
  9427                </mssgle :Curve>
  9428              </EdgeLayo ut.Curve>
  9429              <EdgeLayou t.Labels>
  9430                <mssgm:E dgeLabel
  9431                  Boundi ngBox="0,0 ,0,0"
  9432                  Relati vePosition ="Any" />
  9433              </EdgeLayo ut.Labels>
  9434           </ EdgeLayout >
  9435         </Gr aphLayout>
  9436       </Layo utInfo>
  9437     </DtsEve ntHandler>
  9438     <TaskHos t
  9439       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Creare Ref erral in s taging">
  9440       <Layou tInfo>
  9441         <Gra phLayout
  9442           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml ">
  9443           <N odeLayout
  9444              Size="152, 42"
  9445              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Creare R eferral in  staging\O LE DB Sour ce"
  9446              TopLeft="1 24.0000021 11707,79.5 2941288007 59" />
  9447           <N odeLayout
  9448              Size="173, 42"
  9449              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Creare R eferral in  staging\O LE DB Dest ination"
  9450              TopLeft="1 20.0000020 43588,209. 2235323460 46" />
  9451           <E dgeLayout
  9452              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Creare R eferral in  staging.P aths[OLE D B Source O utput]"
  9453              TopLeft="2 03.2000020 77648,121. 1294128800 76">
  9454              <EdgeLayou t.Curve>
  9455                <mssgle: Curve
  9456                  StartC onnector=" {assembly: Null}"
  9457                  EndCon nector="0, 88.0941194 659701"
  9458                  Start= "0,0"
  9459                  End="0 ,80.594119 4659701">
  9460                  <mssgl e:Curve.Se gments>
  9461                    <mss gle:Segmen tCollectio n
  9462                      Ca pacity="5" >
  9463                      <m ssgle:Line Segment
  9464                         End="0,80. 5941194659 701" />
  9465                    </ms sgle:Segme ntCollecti on>
  9466                  </mssg le:Curve.S egments>
  9467                </mssgle :Curve>
  9468              </EdgeLayo ut.Curve>
  9469              <EdgeLayou t.Labels>
  9470                <EdgeLab elCollecti on />
  9471              </EdgeLayo ut.Labels>
  9472           </ EdgeLayout >
  9473         </Gr aphLayout>
  9474       </Layo utInfo>
  9475     </TaskHo st>
  9476     <Pipelin eComponent Metadata
  9477       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Creare Ref erral in s taging\OLE  DB Destin ation">
  9478       <Prope rties>
  9479         <Pro perty>
  9480           <N ame>DataSo urceViewID </Name>
  9481         </Pr operty>
  9482         <Pro perty>
  9483           <N ame>TableI nfoObjectT ype</Name>
  9484           <V alue
  9485              type="q2:s tring">Tab le</Value>
  9486         </Pr operty>
  9487       </Prop erties>
  9488     </Pipeli neComponen tMetadata>
  9489     <Pipelin eComponent Metadata
  9490       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Creare Ref erral in s taging\OLE  DB Source ">
  9491       <Prope rties>
  9492         <Pro perty>
  9493           <N ame>DataSo urceViewID </Name>
  9494         </Pr operty>
  9495       </Prop erties>
  9496     </Pipeli neComponen tMetadata>
  9497     <TaskHos t
  9498       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Create a S TD REFERRA LSTS recor d STG for  new reffer al">
  9499       <Layou tInfo>
  9500         <Gra phLayout
  9501           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml ">
  9502           <N odeLayout
  9503              Size="173, 42"
  9504              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Create a  STD REFER RALSTS rec ord STG fo r new reff eral\OLE D B Destinat ion"
  9505              TopLeft="1 12.7714302 1603,214.2 3529691465 2" />
  9506           <N odeLayout
  9507              Size="152, 42"
  9508              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Create a  STD REFER RALSTS rec ord STG fo r new reff eral\OLE D B Source"
  9509              TopLeft="1 15.8571442 68192,7.80 0000291712 1" />
  9510           <E dgeLayout
  9511              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Create a  STD REFER RALSTS rec ord STG fo r new reff eral.Paths [OLE DB So urce Outpu t]"
  9512              TopLeft="1 95.5642872 42111,49.8 0000029171 21">
  9513              <EdgeLayou t.Curve>
  9514                <mssgle: Curve
  9515                  StartC onnector=" {assembly: Null}"
  9516                  EndCon nector="0, 164.435296 62294"
  9517                  Start= "0,0"
  9518                  End="0 ,156.93529 662294">
  9519                  <mssgl e:Curve.Se gments>
  9520                    <mss gle:Segmen tCollectio n
  9521                      Ca pacity="5" >
  9522                      <m ssgle:Line Segment
  9523                         End="0,156 .935296622 94" />
  9524                    </ms sgle:Segme ntCollecti on>
  9525                  </mssg le:Curve.S egments>
  9526                </mssgle :Curve>
  9527              </EdgeLayo ut.Curve>
  9528              <EdgeLayou t.Labels>
  9529                <EdgeLab elCollecti on />
  9530              </EdgeLayo ut.Labels>
  9531           </ EdgeLayout >
  9532         </Gr aphLayout>
  9533       </Layo utInfo>
  9534     </TaskHo st>
  9535     <Pipelin eComponent Metadata
  9536       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Create a S TD REFERRA LSTS recor d STG for  new reffer al\OLE DB  Destinatio n">
  9537       <Prope rties>
  9538         <Pro perty>
  9539           <N ame>DataSo urceViewID </Name>
  9540         </Pr operty>
  9541         <Pro perty>
  9542           <N ame>TableI nfoObjectT ype</Name>
  9543           <V alue
  9544              type="q2:s tring">Tab le</Value>
  9545         </Pr operty>
  9546       </Prop erties>
  9547     </Pipeli neComponen tMetadata>
  9548     <Pipelin eComponent Metadata
  9549       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Create a S TD REFERRA LSTS recor d STG for  new reffer al\OLE DB  Source">
  9550       <Prope rties>
  9551         <Pro perty>
  9552           <N ame>DataSo urceViewID </Name>
  9553         </Pr operty>
  9554         <Pro perty>
  9555           <N ame>TableI nfoObjectT ype</Name>
  9556           <V alue
  9557              type="q2:s tring">Tab le</Value>
  9558         </Pr operty>
  9559       </Prop erties>
  9560     </Pipeli neComponen tMetadata>
  9561     <TaskHos t
  9562       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Insert int o staging  patient ta ble">
  9563       <Layou tInfo>
  9564         <Gra phLayout
  9565           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml ">
  9566           <N odeLayout
  9567              Size="152, 42"
  9568              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Insert i nto stagin g patient  table\OLE  DB Source"
  9569              TopLeft="1 39,56" />
  9570           <N odeLayout
  9571              Size="173, 42"
  9572              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Insert i nto stagin g patient  table\OLE  DB Destina tion"
  9573              TopLeft="1 72,156" />
  9574           <E dgeLayout
  9575              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Insert i nto stagin g patient  table.Path s[OLE DB S ource Outp ut]"
  9576              TopLeft="2 15,98">
  9577              <EdgeLayou t.Curve>
  9578                <mssgle: Curve
  9579                  StartC onnector=" {assembly: Null}"
  9580                  EndCon nector="43 .5,58"
  9581                  Start= "0,0"
  9582                  End="4 3.5,50.5">
  9583                  <mssgl e:Curve.Se gments>
  9584                    <mss gle:Segmen tCollectio n
  9585                      Ca pacity="5" >
  9586                      <m ssgle:Line Segment
  9587                         End="0,25"  />
  9588                      <m ssgle:Cubi cBezierSeg ment
  9589                         Point1="0, 25"
  9590                         Point2="0, 29"
  9591                         Point3="4, 29" />
  9592                      <m ssgle:Line Segment
  9593                         End="39.5, 29" />
  9594                      <m ssgle:Cubi cBezierSeg ment
  9595                         Point1="39 .5,29"
  9596                         Point2="43 .5,29"
  9597                         Point3="43 .5,33" />
  9598                      <m ssgle:Line Segment
  9599                         End="43.5, 50.5" />
  9600                    </ms sgle:Segme ntCollecti on>
  9601                  </mssg le:Curve.S egments>
  9602                </mssgle :Curve>
  9603              </EdgeLayo ut.Curve>
  9604              <EdgeLayou t.Labels>
  9605                <EdgeLab elCollecti on />
  9606              </EdgeLayo ut.Labels>
  9607           </ EdgeLayout >
  9608         </Gr aphLayout>
  9609       </Layo utInfo>
  9610     </TaskHo st>
  9611     <Pipelin eComponent Metadata
  9612       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Insert int o staging  patient ta ble\OLE DB  Destinati on">
  9613       <Prope rties>
  9614         <Pro perty>
  9615           <N ame>DataSo urceViewID </Name>
  9616         </Pr operty>
  9617         <Pro perty>
  9618           <N ame>TableI nfoObjectT ype</Name>
  9619           <V alue
  9620              type="q2:s tring">Tab le</Value>
  9621         </Pr operty>
  9622       </Prop erties>
  9623     </Pipeli neComponen tMetadata>
  9624     <Pipelin eComponent Metadata
  9625       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Insert int o staging  patient ta ble\OLE DB  Source">
  9626       <Prope rties>
  9627         <Pro perty>
  9628           <N ame>DataSo urceViewID </Name>
  9629         </Pr operty>
  9630       </Prop erties>
  9631     </Pipeli neComponen tMetadata>
  9632     <TaskHos t
  9633       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move Patie nts to CRS e">
  9634       <Layou tInfo>
  9635         <Gra phLayout
  9636           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  9637           <N odeLayout
  9638              Size="173, 42"
  9639              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move Pat ients to C RSe\OLE DB  Destinati on"
  9640              TopLeft="2 91,160" />
  9641           <N odeLayout
  9642              Size="152, 42"
  9643              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move Pat ients to C RSe\OLE DB  Source"
  9644              TopLeft="2 86,28" />
  9645           <E dgeLayout
  9646              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move Pat ients to C RSe.Paths[ OLE DB Sou rce Output ]"
  9647              TopLeft="3 62,70">
  9648              <EdgeLayou t.Curve>
  9649                <mssgle: Curve
  9650                  StartC onnector=" {assembly: Null}"
  9651                  EndCon nector="15 .5,90"
  9652                  Start= "0,0"
  9653                  End="1 5.5,82.5">
  9654                  <mssgl e:Curve.Se gments>
  9655                    <mss gle:Segmen tCollectio n
  9656                      Ca pacity="5" >
  9657                      <m ssgle:Line Segment
  9658                         End="0,41"  />
  9659                      <m ssgle:Cubi cBezierSeg ment
  9660                         Point1="0, 41"
  9661                         Point2="0, 45"
  9662                         Point3="4, 45" />
  9663                      <m ssgle:Line Segment
  9664                         End="11.5, 45" />
  9665                      <m ssgle:Cubi cBezierSeg ment
  9666                         Point1="11 .5,45"
  9667                         Point2="15 .5,45"
  9668                         Point3="15 .5,49" />
  9669                      <m ssgle:Line Segment
  9670                         End="15.5, 82.5" />
  9671                    </ms sgle:Segme ntCollecti on>
  9672                  </mssg le:Curve.S egments>
  9673                </mssgle :Curve>
  9674              </EdgeLayo ut.Curve>
  9675              <EdgeLayou t.Labels>
  9676                <mssgm:E dgeLabel
  9677                  Boundi ngBox="0,0 ,0,0"
  9678                  Relati vePosition ="Any" />
  9679              </EdgeLayo ut.Labels>
  9680           </ EdgeLayout >
  9681         </Gr aphLayout>
  9682       </Layo utInfo>
  9683     </TaskHo st>
  9684     <Pipelin eComponent Metadata
  9685       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move Patie nts to CRS e\OLE DB D estination ">
  9686       <Prope rties>
  9687         <Pro perty>
  9688           <N ame>DataSo urceViewID </Name>
  9689         </Pr operty>
  9690         <Pro perty>
  9691           <N ame>TableI nfoObjectT ype</Name>
  9692           <V alue
  9693              type="q2:s tring">Tab le</Value>
  9694         </Pr operty>
  9695       </Prop erties>
  9696     </Pipeli neComponen tMetadata>
  9697     <Pipelin eComponent Metadata
  9698       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move Patie nts to CRS e\OLE DB S ource">
  9699       <Prope rties>
  9700         <Pro perty>
  9701           <N ame>DataSo urceViewID </Name>
  9702         </Pr operty>
  9703         <Pro perty>
  9704           <N ame>TableI nfoObjectT ype</Name>
  9705           <V alue
  9706              type="q2:s tring">Tab le</Value>
  9707         </Pr operty>
  9708       </Prop erties>
  9709     </Pipeli neComponen tMetadata>
  9710     <TaskHos t
  9711       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move refer ral to CRS e">
  9712       <Layou tInfo>
  9713         <Gra phLayout
  9714           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  9715           <N odeLayout
  9716              Size="152, 42"
  9717              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move ref erral to C RSe\OLE DB  Source"
  9718              TopLeft="1 52.8,70.4"  />
  9719           <N odeLayout
  9720              Size="173, 42"
  9721              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move ref erral to C RSe\OLE DB  Destinati on"
  9722              TopLeft="1 36.8,188"  />
  9723           <E dgeLayout
  9724              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move ref erral to C RSe.Paths[ OLE DB Sou rce Output ]"
  9725              TopLeft="2 26,112">
  9726              <EdgeLayou t.Curve>
  9727                <mssgle: Curve
  9728                  StartC onnector=" {assembly: Null}"
  9729                  EndCon nector="0, 76"
  9730                  Start= "0,0"
  9731                  End="0 ,68.5">
  9732                  <mssgl e:Curve.Se gments>
  9733                    <mss gle:Segmen tCollectio n
  9734                      Ca pacity="5" >
  9735                      <m ssgle:Line Segment
  9736                         End="0,68. 5" />
  9737                    </ms sgle:Segme ntCollecti on>
  9738                  </mssg le:Curve.S egments>
  9739                </mssgle :Curve>
  9740              </EdgeLayo ut.Curve>
  9741              <EdgeLayou t.Labels>
  9742                <mssgm:E dgeLabel
  9743                  Boundi ngBox="0,0 ,0,0"
  9744                  Relati vePosition ="Any" />
  9745              </EdgeLayo ut.Labels>
  9746           </ EdgeLayout >
  9747         </Gr aphLayout>
  9748       </Layo utInfo>
  9749     </TaskHo st>
  9750     <Pipelin eComponent Metadata
  9751       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move refer ral to CRS e\OLE DB D estination ">
  9752       <Prope rties>
  9753         <Pro perty>
  9754           <N ame>DataSo urceViewID </Name>
  9755         </Pr operty>
  9756         <Pro perty>
  9757           <N ame>TableI nfoObjectT ype</Name>
  9758           <V alue
  9759              type="q2:s tring">Tab le</Value>
  9760         </Pr operty>
  9761       </Prop erties>
  9762     </Pipeli neComponen tMetadata>
  9763     <Pipelin eComponent Metadata
  9764       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move refer ral to CRS e\OLE DB S ource">
  9765       <Prope rties>
  9766         <Pro perty>
  9767           <N ame>DataSo urceViewID </Name>
  9768         </Pr operty>
  9769         <Pro perty>
  9770           <N ame>TableI nfoObjectT ype</Name>
  9771           <V alue
  9772              type="q2:s tring">Tab le</Value>
  9773         </Pr operty>
  9774       </Prop erties>
  9775     </Pipeli neComponen tMetadata>
  9776     <TaskHos t
  9777       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move STD_R EFERRALSTS  to CRSe">
  9778       <Layou tInfo>
  9779         <Gra phLayout
  9780           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml ">
  9781           <N odeLayout
  9782              Size="173, 42"
  9783              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move STD _REFERRALS TS to CRSe \OLE DB De stination"
  9784              TopLeft="9 4.4,136" / >
  9785           <N odeLayout
  9786              Size="152, 42"
  9787              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move STD _REFERRALS TS to CRSe \OLE DB So urce"
  9788              TopLeft="9 6,36.8" />
  9789           <E dgeLayout
  9790              Id="Packag e\Foreach  Loop Conta iner\Creat e a new Re ferralst I D\Move STD _REFERRALS TS to CRSe .Paths[OLE  DB Source  Output]"
  9791              TopLeft="1 72,78.4">
  9792              <EdgeLayou t.Curve>
  9793                <mssgle: Curve
  9794                  StartC onnector=" {assembly: Null}"
  9795                  EndCon nector="8. 7999999999 9998,57.6"
  9796                  Start= "0,0"
  9797                  End="8 .799999999 99998,50.1 ">
  9798                  <mssgl e:Curve.Se gments>
  9799                    <mss gle:Segmen tCollectio n
  9800                      Ca pacity="5" >
  9801                      <m ssgle:Line Segment
  9802                         End="0,24. 8" />
  9803                      <m ssgle:Cubi cBezierSeg ment
  9804                         Point1="0, 24.8"
  9805                         Point2="0, 28.8"
  9806                         Point3="4, 28.8" />
  9807                      <m ssgle:Line Segment
  9808                         End="4.799 9999999999 8,28.8" />
  9809                      <m ssgle:Cubi cBezierSeg ment
  9810                         Point1="4. 7999999999 9998,28.8"
  9811                         Point2="8. 7999999999 9998,28.8"
  9812                         Point3="8. 7999999999 9998,32.8"  />
  9813                      <m ssgle:Line Segment
  9814                         End="8.799 9999999999 8,50.1" />
  9815                    </ms sgle:Segme ntCollecti on>
  9816                  </mssg le:Curve.S egments>
  9817                </mssgle :Curve>
  9818              </EdgeLayo ut.Curve>
  9819              <EdgeLayou t.Labels>
  9820                <EdgeLab elCollecti on />
  9821              </EdgeLayo ut.Labels>
  9822           </ EdgeLayout >
  9823         </Gr aphLayout>
  9824       </Layo utInfo>
  9825     </TaskHo st>
  9826     <Pipelin eComponent Metadata
  9827       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move STD_R EFERRALSTS  to CRSe\O LE DB Dest ination">
  9828       <Prope rties>
  9829         <Pro perty>
  9830           <N ame>DataSo urceViewID </Name>
  9831         </Pr operty>
  9832         <Pro perty>
  9833           <N ame>TableI nfoObjectT ype</Name>
  9834           <V alue
  9835              type="q2:s tring">Tab le</Value>
  9836         </Pr operty>
  9837       </Prop erties>
  9838     </Pipeli neComponen tMetadata>
  9839     <Pipelin eComponent Metadata
  9840       design -time-name ="Package\ Foreach Lo op Contain er\Create  a new Refe rralst ID\ Move STD_R EFERRALSTS  to CRSe\O LE DB Sour ce">
  9841       <Prope rties>
  9842         <Pro perty>
  9843           <N ame>DataSo urceViewID </Name>
  9844         </Pr operty>
  9845         <Pro perty>
  9846           <N ame>TableI nfoObjectT ype</Name>
  9847           <V alue
  9848              type="q2:s tring">Tab le</Value>
  9849         </Pr operty>
  9850       </Prop erties>
  9851     </Pipeli neComponen tMetadata>
  9852     <TaskHos t
  9853       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Crear e Referral  in stagin g">
  9854       <Layou tInfo>
  9855         <Gra phLayout
  9856           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  9857           <N odeLayout
  9858              Size="152, 53"
  9859              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Cre are Referr al in stag ing\OLE DB  Source"
  9860              TopLeft="1 28.5714296 02954,73.5 0588257601 52" />
  9861           <N odeLayout
  9862              Size="173, 42"
  9863              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Cre are Referr al in stag ing\OLE DB  Destinati on"
  9864              TopLeft="1 04.8,222.4 " />
  9865           <E dgeLayout
  9866              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Cre are Referr al in stag ing.Paths[ OLE DB Sou rce Output ]"
  9867              TopLeft="2 04.5714296 02954,126. 3058825760 15">
  9868              <EdgeLayou t.Curve>
  9869                <mssgle: Curve
  9870                  StartC onnector=" {assembly: Null}"
  9871                  EndCon nector="-1 3.37142960 2954,96.09 4117423984 8"
  9872                  Start= "0,0"
  9873                  End="- 13.3714296 02954,88.5 9411742398 48">
  9874                  <mssgl e:Curve.Se gments>
  9875                    <mss gle:Segmen tCollectio n
  9876                      Ca pacity="5" >
  9877                      <m ssgle:Line Segment
  9878                         End="0,44. 0470587119 924" />
  9879                      <m ssgle:Cubi cBezierSeg ment
  9880                         Point1="0, 44.0470587 119924"
  9881                         Point2="0, 48.0470587 119924"
  9882                         Point3="-4 ,48.047058 7119924" / >
  9883                      <m ssgle:Line Segment
  9884                         End="-9.37 1429602954 01,48.0470 587119924"  />
  9885                      <m ssgle:Cubi cBezierSeg ment
  9886                         Point1="-9 .371429602 95401,48.0 4705871199 24"
  9887                         Point2="-1 3.37142960 2954,48.04 7058711992 4"
  9888                         Point3="-1 3.37142960 2954,52.04 7058711992 4" />
  9889                      <m ssgle:Line Segment
  9890                         End="-13.3 7142960295 4,88.59411 74239848"  />
  9891                    </ms sgle:Segme ntCollecti on>
  9892                  </mssg le:Curve.S egments>
  9893                </mssgle :Curve>
  9894              </EdgeLayo ut.Curve>
  9895              <EdgeLayou t.Labels>
  9896                <mssgm:E dgeLabel
  9897                  Boundi ngBox="0,0 ,0,0"
  9898                  Relati vePosition ="Any" />
  9899              </EdgeLayo ut.Labels>
  9900           </ EdgeLayout >
  9901         </Gr aphLayout>
  9902       </Layo utInfo>
  9903     </TaskHo st>
  9904     <Pipelin eComponent Metadata
  9905       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Crear e Referral  in stagin g\OLE DB D estination ">
  9906       <Prope rties>
  9907         <Pro perty>
  9908           <N ame>DataSo urceViewID </Name>
  9909         </Pr operty>
  9910         <Pro perty>
  9911           <N ame>TableI nfoObjectT ype</Name>
  9912           <V alue
  9913              type="q2:s tring">Tab le</Value>
  9914         </Pr operty>
  9915       </Prop erties>
  9916     </Pipeli neComponen tMetadata>
  9917     <Pipelin eComponent Metadata
  9918       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Crear e Referral  in stagin g\OLE DB S ource">
  9919       <Prope rties>
  9920         <Pro perty>
  9921           <N ame>DataSo urceViewID </Name>
  9922         </Pr operty>
  9923       </Prop erties>
  9924     </Pipeli neComponen tMetadata>
  9925     <TaskHos t
  9926       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Inser t into sta ging patie nt table">
  9927       <Layou tInfo>
  9928         <Gra phLayout
  9929           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  9930           <N odeLayout
  9931              Size="152, 42"
  9932              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Ins ert into s taging pat ient table \OLE DB So urce"
  9933              TopLeft="1 39,56" />
  9934           <N odeLayout
  9935              Size="173, 42"
  9936              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Ins ert into s taging pat ient table \OLE DB De stination"
  9937              TopLeft="1 72,156" />
  9938           <E dgeLayout
  9939              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Ins ert into s taging pat ient table .Paths[OLE  DB Source  Output]"
  9940              TopLeft="2 15,98">
  9941              <EdgeLayou t.Curve>
  9942                <mssgle: Curve
  9943                  StartC onnector=" {assembly: Null}"
  9944                  EndCon nector="43 .5,58"
  9945                  Start= "0,0"
  9946                  End="4 3.5,50.5">
  9947                  <mssgl e:Curve.Se gments>
  9948                    <mss gle:Segmen tCollectio n
  9949                      Ca pacity="5" >
  9950                      <m ssgle:Line Segment
  9951                         End="0,25"  />
  9952                      <m ssgle:Cubi cBezierSeg ment
  9953                         Point1="0, 25"
  9954                         Point2="0, 29"
  9955                         Point3="4, 29" />
  9956                      <m ssgle:Line Segment
  9957                         End="39.5, 29" />
  9958                      <m ssgle:Cubi cBezierSeg ment
  9959                         Point1="39 .5,29"
  9960                         Point2="43 .5,29"
  9961                         Point3="43 .5,33" />
  9962                      <m ssgle:Line Segment
  9963                         End="43.5, 50.5" />
  9964                    </ms sgle:Segme ntCollecti on>
  9965                  </mssg le:Curve.S egments>
  9966                </mssgle :Curve>
  9967              </EdgeLayo ut.Curve>
  9968              <EdgeLayou t.Labels>
  9969                <mssgm:E dgeLabel
  9970                  Boundi ngBox="0,0 ,0,0"
  9971                  Relati vePosition ="Any" />
  9972              </EdgeLayo ut.Labels>
  9973           </ EdgeLayout >
  9974         </Gr aphLayout>
  9975       </Layo utInfo>
  9976     </TaskHo st>
  9977     <Pipelin eComponent Metadata
  9978       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Inser t into sta ging patie nt table\O LE DB Dest ination">
  9979       <Prope rties>
  9980         <Pro perty>
  9981           <N ame>DataSo urceViewID </Name>
  9982         </Pr operty>
  9983         <Pro perty>
  9984           <N ame>TableI nfoObjectT ype</Name>
  9985           <V alue
  9986              type="q2:s tring">Tab le</Value>
  9987         </Pr operty>
  9988       </Prop erties>
  9989     </Pipeli neComponen tMetadata>
  9990     <Pipelin eComponent Metadata
  9991       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Inser t into sta ging patie nt table\O LE DB Sour ce">
  9992       <Prope rties>
  9993         <Pro perty>
  9994           <N ame>DataSo urceViewID </Name>
  9995         </Pr operty>
  9996       </Prop erties>
  9997     </Pipeli neComponen tMetadata>
  9998     <TaskHos t
  9999       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  Patients t o CRSe">
  10000       <Layou tInfo>
  10001         <Gra phLayout
  10002           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  10003           <N odeLayout
  10004              Size="173, 42"
  10005              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e Patients  to CRSe\O LE DB Dest ination"
  10006              TopLeft="2 91,160" />
  10007           <N odeLayout
  10008              Size="152, 42"
  10009              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e Patients  to CRSe\O LE DB Sour ce"
  10010              TopLeft="2 86,28" />
  10011           <E dgeLayout
  10012              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e Patients  to CRSe.P aths[OLE D B Source O utput]"
  10013              TopLeft="3 62,70">
  10014              <EdgeLayou t.Curve>
  10015                <mssgle: Curve
  10016                  StartC onnector=" {assembly: Null}"
  10017                  EndCon nector="15 .5,90"
  10018                  Start= "0,0"
  10019                  End="1 5.5,82.5">
  10020                  <mssgl e:Curve.Se gments>
  10021                    <mss gle:Segmen tCollectio n
  10022                      Ca pacity="5" >
  10023                      <m ssgle:Line Segment
  10024                         End="0,41"  />
  10025                      <m ssgle:Cubi cBezierSeg ment
  10026                         Point1="0, 41"
  10027                         Point2="0, 45"
  10028                         Point3="4, 45" />
  10029                      <m ssgle:Line Segment
  10030                         End="11.5, 45" />
  10031                      <m ssgle:Cubi cBezierSeg ment
  10032                         Point1="11 .5,45"
  10033                         Point2="15 .5,45"
  10034                         Point3="15 .5,49" />
  10035                      <m ssgle:Line Segment
  10036                         End="15.5, 82.5" />
  10037                    </ms sgle:Segme ntCollecti on>
  10038                  </mssg le:Curve.S egments>
  10039                </mssgle :Curve>
  10040              </EdgeLayo ut.Curve>
  10041              <EdgeLayou t.Labels>
  10042                <mssgm:E dgeLabel
  10043                  Boundi ngBox="0,0 ,0,0"
  10044                  Relati vePosition ="Any" />
  10045              </EdgeLayo ut.Labels>
  10046           </ EdgeLayout >
  10047         </Gr aphLayout>
  10048       </Layo utInfo>
  10049     </TaskHo st>
  10050     <Pipelin eComponent Metadata
  10051       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  Patients t o CRSe\OLE  DB Destin ation">
  10052       <Prope rties>
  10053         <Pro perty>
  10054           <N ame>DataSo urceViewID </Name>
  10055         </Pr operty>
  10056         <Pro perty>
  10057           <N ame>TableI nfoObjectT ype</Name>
  10058           <V alue
  10059              type="q2:s tring">Tab le</Value>
  10060         </Pr operty>
  10061       </Prop erties>
  10062     </Pipeli neComponen tMetadata>
  10063     <Pipelin eComponent Metadata
  10064       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  Patients t o CRSe\OLE  DB Source ">
  10065       <Prope rties>
  10066         <Pro perty>
  10067           <N ame>DataSo urceViewID </Name>
  10068         </Pr operty>
  10069         <Pro perty>
  10070           <N ame>TableI nfoObjectT ype</Name>
  10071           <V alue
  10072              type="q2:s tring">Tab le</Value>
  10073         </Pr operty>
  10074       </Prop erties>
  10075     </Pipeli neComponen tMetadata>
  10076     <TaskHos t
  10077       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  referral t o CRSe">
  10078       <Layou tInfo>
  10079         <Gra phLayout
  10080           Ca pacity="4"  xmlns="cl r-namespac e:Microsof t.SqlServe r.Integrat ionService s.Designer .Model.Ser ialization ;assembly= Microsoft. SqlServer. Integratio nServices. Graph" xml ns:mssgle= "clr-names pace:Micro soft.SqlSe rver.Graph .LayoutEng ine;assemb ly=Microso ft.SqlServ er.Graph"  xmlns:asse mbly="http ://schemas .microsoft .com/winfx /2006/xaml " xmlns:ms sgm="clr-n amespace:M icrosoft.S qlServer.G raph.Model ;assembly= Microsoft. SqlServer. Graph">
  10081           <N odeLayout
  10082              Size="152, 42"
  10083              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e referral  to CRSe\O LE DB Sour ce"
  10084              TopLeft="1 52.8,70.4"  />
  10085           <N odeLayout
  10086              Size="173, 42"
  10087              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e referral  to CRSe\O LE DB Dest ination"
  10088              TopLeft="1 36.8,188"  />
  10089           <E dgeLayout
  10090              Id="Packag e\Foreach  Loop Conta iner\Get t he Existin g Referral sts ID\Mov e referral  to CRSe.P aths[OLE D B Source O utput]"
  10091              TopLeft="2 26,112">
  10092              <EdgeLayou t.Curve>
  10093                <mssgle: Curve
  10094                  StartC onnector=" {assembly: Null}"
  10095                  EndCon nector="0, 76"
  10096                  Start= "0,0"
  10097                  End="0 ,68.5">
  10098                  <mssgl e:Curve.Se gments>
  10099                    <mss gle:Segmen tCollectio n
  10100                      Ca pacity="5" >
  10101                      <m ssgle:Line Segment
  10102                         End="0,68. 5" />
  10103                    </ms sgle:Segme ntCollecti on>
  10104                  </mssg le:Curve.S egments>
  10105                </mssgle :Curve>
  10106              </EdgeLayo ut.Curve>
  10107              <EdgeLayou t.Labels>
  10108                <mssgm:E dgeLabel
  10109                  Boundi ngBox="0,0 ,0,0"
  10110                  Relati vePosition ="Any" />
  10111              </EdgeLayo ut.Labels>
  10112           </ EdgeLayout >
  10113         </Gr aphLayout>
  10114       </Layo utInfo>
  10115     </TaskHo st>
  10116     <Pipelin eComponent Metadata
  10117       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  referral t o CRSe\OLE  DB Destin ation">
  10118       <Prope rties>
  10119         <Pro perty>
  10120           <N ame>DataSo urceViewID </Name>
  10121         </Pr operty>
  10122         <Pro perty>
  10123           <N ame>TableI nfoObjectT ype</Name>
  10124           <V alue
  10125              type="q2:s tring">Tab le</Value>
  10126         </Pr operty>
  10127       </Prop erties>
  10128     </Pipeli neComponen tMetadata>
  10129     <Pipelin eComponent Metadata
  10130       design -time-name ="Package\ Foreach Lo op Contain er\Get the  Existing  Referralst s ID\Move  referral t o CRSe\OLE  DB Source ">
  10131       <Prope rties>
  10132         <Pro perty>
  10133           <N ame>DataSo urceViewID </Name>
  10134         </Pr operty>
  10135         <Pro perty>
  10136           <N ame>TableI nfoObjectT ype</Name>
  10137           <V alue
  10138              type="q2:s tring">Tab le</Value>
  10139         </Pr operty>
  10140       </Prop erties>
  10141     </Pipeli neComponen tMetadata>
  10142   </Objects> ]]></DTS:D esignTimeP roperties>
  10143   </DTS:Exec utable>