diff --git a/SpravatoETL/SpravatoAuditImport.dtsx b/SpravatoETL/SpravatoAuditImport.dtsx
index 1dac16c..4384ea5 100644
--- a/SpravatoETL/SpravatoAuditImport.dtsx
+++ b/SpravatoETL/SpravatoAuditImport.dtsx
@@ -12,8 +12,8 @@
DTS:LocaleID="1033"
DTS:ObjectName="SpravatoAuditImport"
DTS:PackageType="5"
- DTS:VersionBuild="87"
- DTS:VersionGUID="{49DDC2F4-D6BC-46C0-909D-A5B0280868CB}">
+ DTS:VersionBuild="109"
+ DTS:VersionGUID="{5F87FC6D-9C4C-4820-8498-EE6381757922}">
8
@@ -40,7 +40,7 @@
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA3sg5/WnZgE6AXM2AQAN7vwAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAAAxyy0b1eA+OVyJWQd0iHtXcngSIsEnhtXn9lH+lr2TqQAAAAAOgAAAAAIAACAAAADUNU1/9VNrAzqjAeDdks4NnFweCw2VoUmRnhXPUb1Xd0AAAAA01lK1tqkT7WzdmW0X3BxyVpWIHdBqB6hGF4GSDl/YZhGz/ZO1SpVbXsKeWs1FUESZjfNOBIrTfmjkEIxkI0nQQAAAABhrp5gVSRXQMG6j95VGLYgG1JZulQoW69P/50jKZTgbxNG+5kPHkRzuPuMuuYbZiv2Mg4oSbYFtudQHfcpiJZk
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA3sg5/WnZgE6AXM2AQAN7vwAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAAB1dbVU8vLemeWfrjjWEe1eqVdWGpvrW1wCn1SnHf9NIwAAAAAOgAAAAAIAACAAAADFuGffLMThqULClBz6q32PSrZcoQPIioWQtY0Qp70lrkAAAACb4UCu7KG5gz3SC8n7mTylQuNWOJaS0H/zlsfBB7vqR6QvwEipEdG9yPXTH38c6GaMP+CdA2eRA/e2fUE67zROQAAAANtfSOYuYe/uEw8HZwxLPRGxyj8x7oGRx0WOSXWnHcb1nSx75wjjh47/k3j0lBmGNmb7+0vohQKzU2Ncw6P98LM
@@ -364,7 +364,7 @@
+ FileSpec="Admin Vs Dispensed SMC*.xls*" />
+
+
+
+
+
+
+
+
+
+
+
@@ -420,6 +462,34 @@
+
+
+
+
+
+
+
+
+
-
@@ -586,6 +626,35 @@ using System.Runtime.CompilerServices;
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
]]>
+
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+[assembly: global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="ST_26e779e5f0794098bd25498a1ddbf8d9.Properties.Settings.get_Default():ST_26e779e5f0794098bd25498a1ddbf8d9.Properties.Sett" +
+ "ings")]
+
+namespace ST_26e779e5f0794098bd25498a1ddbf8d9.Properties {
+
+
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ private static Settings defaultInstance = new Settings();
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}]]>
]]>
-// This code was generated by a tool.
+ Name="Properties\AssemblyInfo.cs"
+ Encoding="UTF8">
-//------------------------------------------------------------------------------
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle("ST_26e779e5f0794098bd25498a1ddbf8d9")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ST_26e779e5f0794098bd25498a1ddbf8d9")]
+[assembly: AssemblyCopyright("Copyright @ 2026")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
-[assembly: global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="ST_26e779e5f0794098bd25498a1ddbf8d9.Properties.Settings.get_Default():ST_26e779e5f0794098bd25498a1ddbf8d9.Properties.Sett" +
- "ings")]
-
-namespace ST_26e779e5f0794098bd25498a1ddbf8d9.Properties {
-
-
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- private static Settings defaultInstance = new Settings();
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}]]>
+[assembly: AssemblyVersion("1.0.*")]]]>
@@ -1047,7 +1117,6 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
DTS:CreationName="Microsoft.Pipeline"
DTS:DelayValidation="True"
DTS:Description="Data Flow Task"
- DTS:Disabled="True"
DTS:DTSID="{271F92CF-EE5A-4581-90A9-71FBD46B6C26}"
DTS:ExecutableType="Microsoft.Pipeline"
DTS:LocaleID="-1"
@@ -1187,7 +1256,9 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
spravato_audit_id,
file_load_id,
source_file_name,
+ source_file_path,
source_row_number,
+
location,
comments,
acct_num,
@@ -1203,15 +1274,19 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
schedule,
disp_unit,
admin_unit,
+
total_dispensed,
admin_dose,
+
label,
dose,
clinical_indication,
prn_reason,
+
start_date,
discontinue_date,
total_charges,
+
dea,
drug_class,
usage_type,
@@ -1220,6 +1295,7 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
order_user,
provider,
priority,
+
quantity,
row_hash_sha256,
created_at
@@ -1649,6 +1725,16 @@ WHERE file_load_id = ?;
name="created_at"
scale="3"
truncationRowDisposition="FailComponent" />
+
@@ -1846,6 +1932,11 @@ WHERE file_load_id = ?;
dataType="dbTimeStamp2"
name="created_at"
scale="3" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SQLTask:SqlStatementSource="THROW 51099, 'Intentional failure test for Spravato ETL.', 1;" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
+
+
+
+
+
+
+
+
+
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 1"
DTS:To="Package\ForEach Spravato File\Register File Load" />
+
+
+ DTS:To="Package\ForEach Spravato File\Get SQL Server Row Count" />
+
+
+
@@ -6227,36 +6534,6 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
Language="CSharp"
ReadOnlyVariables="System::ErrorDescription,System::SourceName"
ReadWriteVariables="User::ErrorMessage,User::ErrorTaskName">
-
@@ -6376,6 +6653,35 @@ using System.Runtime.CompilerServices;
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
]]>
+
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+[assembly: global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="ST_ccde3fbc55984542be29e65dd03de37b.Properties.Settings.get_Default():ST_ccde3fbc55984542be29e65dd03de37b.Properties.Sett" +
+ "ings")]
+
+namespace ST_ccde3fbc55984542be29e65dd03de37b.Properties {
+
+
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ private static Settings defaultInstance = new Settings();
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}]]>
]]>
-// This code was generated by a tool.
+ Name="Properties\AssemblyInfo.cs"
+ Encoding="UTF8">
-//------------------------------------------------------------------------------
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle("ST_ccde3fbc55984542be29e65dd03de37b")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ST_ccde3fbc55984542be29e65dd03de37b")]
+[assembly: AssemblyCopyright("Copyright @ 2026")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
-[assembly: global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="ST_ccde3fbc55984542be29e65dd03de37b.Properties.Settings.get_Default():ST_ccde3fbc55984542be29e65dd03de37b.Properties.Sett" +
- "ings")]
-
-namespace ST_ccde3fbc55984542be29e65dd03de37b.Properties {
-
-
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- private static Settings defaultInstance = new Settings();
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}]]>
+[assembly: AssemblyVersion("1.0.*")]]]>
@@ -6865,31 +7172,35 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
design-time-name="Package">
+ Capacity="64" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mssgm="clr-namespace:Microsoft.SqlServer.Graph.Model;assembly=Microsoft.SqlServer.Graph">
-
+
+
+ TopLeft="350.333333333334,971.166666666667" />
+ TopLeft="60.6666666666667,710.333333333333" />
Size="173,42"
Id="Package\ForEach Spravato File\Prepare Current File"
TopLeft="72,28" />
+
+
Size="174,42"
Id="Package\ForEach Spravato File\TEST - Force Failure"
TopLeft="284.666666666667,265.666666666667" />
+
@@ -6958,6 +7281,50 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
RelativePosition="Any" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7026,18 +7393,18 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ TopLeft="160.875,530.25">
+ End="0,24.0000000000005">
+ End="0,24.0000000000005" />
@@ -7048,18 +7415,18 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ TopLeft="166.458333333333,676.25">
+ End="0,26.583333333333">
+ End="0,26.583333333333" />
@@ -7068,17 +7435,93 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TopLeft="180.555555555556,168.777777777778" />
+
+
+ End="10.611111111111,50.2777777777781">
@@ -7110,13 +7553,13 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
Point2="0,28.888888888889"
Point3="4,28.888888888889" />
+ End="6.61111111111097,28.888888888889" />
+ Point1="6.61111111111097,28.888888888889"
+ Point2="10.611111111111,28.888888888889"
+ Point3="10.611111111111,32.888888888889" />
+ End="10.611111111111,50.2777777777781" />
@@ -7127,30 +7570,30 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ TopLeft="759.555555555556,540.444444444445">
+ End="78.75,67.8333333333334">
+ End="30.574420276829,0" />
+ Point1="30.574420276829,0"
+ Point2="34.574420276829,0"
+ Point3="34.574420276829,4" />
+ End="34.574420276829,63.8333333333334" />
+ Point1="34.574420276829,63.8333333333334"
+ Point2="34.574420276829,67.8333333333334"
+ Point3="38.574420276829,67.8333333333334" />
+ End="78.75,67.8333333333334" />
@@ -7219,6 +7662,42 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
RelativePosition="Any" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7241,46 +7720,6 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -7322,7 +7761,7 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
design-time-name="Package\ForEach Spravato File\Load PostgresQL Repository">
+ Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
-
+
@@ -7383,7 +7820,7 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
design-time-name="Package\ForEach Spravato File\Load Spravato Stage">
+ Capacity="8" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
-
+
-
+
-
+
diff --git a/SpravatoETL/SpravatoETL.dtproj b/SpravatoETL/SpravatoETL.dtproj
index 361c371..643b439 100644
--- a/SpravatoETL/SpravatoETL.dtproj
+++ b/SpravatoETL/SpravatoETL.dtproj
@@ -26,7 +26,7 @@
NB7014
- AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA3sg5/WnZgE6AXM2AQAN7vwAAAAACAAAAAAAQZgAAAAEAACAAAAD2n8v162jS4usYQHHgTQpKiRrTte/8ME/zYYKLxZUsEwAAAAAOgAAAAAIAACAAAAAm/Yj5ab39arKSQVVLwUSWXzP1QJjuIi7+HwxO6ZU7fJAAAACMTeNcKPb6Gi/JogRDslqyaCkD66WFeN1Cq9E6QSeooteLQt2PJDDg1zmnVU/wkZCf1a/bqq4uyweFvmuSpRW8JpcqJDcFSG0BiKUNmY8zmp70tOczxLG/16T2tOgDglvdrwJLTJDXxXWCLcTi+q/7FtrMkzmRjs/6xUboH6CztpldpvXBqhvjnDHU4PC8PWZAAAAAgXV+v+NkuKyQDpDve2Kxhqu6jWbSNJ2JJZcGQ/MKekU4Iycgra4AFLzBzrrkqFSH2ylNtd4u2fbTGYcBhJ/wsg==
+ AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA3sg5/WnZgE6AXM2AQAN7vwAAAAACAAAAAAAQZgAAAAEAACAAAABCqDAh6TJLVzp+cQKnelqKVFrnNI9YB+nV7YyI2B21KQAAAAAOgAAAAAIAACAAAADmOzCCOoiLXv6JklvQ2iWPQ5Yew650bEGC0OJJKI/nXJAAAACRbUgZQT00qwEyEOpdkXW7Te5D0LGa4gsUNAf1U73CY2fmOR6b0Muj7Dz9dz5zK2vymopCgIIVYkwPEldLPS+QEL89gQSoTs3+MmhOG41BiRHYCyEsn6UhKLTiNUnzcVzHG1jeTvcQz/+35r8lmuefALSi1PWRqPT64l3pUMDna1YqPVZb/KR4FPDYFVcqrbtAAAAAfrfuBlITh5jl6dDV5YrFTd2P8QSAj9Z/4YMt7DXZDBayiHq0+cAI5GiC3HpAiFKxGRr6beCqM2WCF8CwzCIuYQ==
1
@@ -42,10 +42,10 @@
SpravatoAuditImport
1
0
- 82
+ 95
- {14915F2A-D0D6-419E-A990-87951680C062}
+ {4D7F7092-C860-48FE-9531-53B753D32794}
8