Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 456 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# OopFactory.X12
## Latest News
Since no one seems to be maintaining this project anymore and I have need for a .NET Standard version of this library, I have taken the liberty of upgrading it to .NET 6.0. It should build on any environment that supports .NET 6.0 (Windows, Linux, MacOS).
## Known Issues
* Note that some of the unit tests will fail wnen run on operating systems other than Windows due to Windows-style file paths. I will fix these when I get around to it.
* There is a bunch of deprecated code that I will probably take a knife to at some point.

## Original Readme
This is a copy of the project originally posted at https://x12parser.codeplex.com/

Their original readme at the time this copy was made:
Expand Down
161 changes: 63 additions & 98 deletions trunk/OopFactory.X12.sln

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions trunk/src/OopFactory.X12.AcknowledgeX12/App.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="AuthorInfoQualifier" value="00"/>
Expand All @@ -8,4 +8,4 @@
<add key="InterchangeSenderIdQualifier" value="ZZ"/>
<add key="InterchangeSenderId" value="MYIDHERE"/>
</appSettings>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
Original file line number Diff line number Diff line change
@@ -1,79 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<TargetFramework>net6.0</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{60D11F71-5197-4E36-A57F-B8DDCC108006}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OopFactory.X12.AcknowledgeX12</RootNamespace>
<AssemblyName>OopFactory.X12.AcknowledgeX12</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<ProjectReference Include="..\OopFactory.X12.Validation\OopFactory.X12.Validation.csproj" />
<ProjectReference Include="..\OopFactory.X12\OopFactory.X12.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OopFactory.X12.Validation\OopFactory.X12.Validation.csproj">
<Project>{65B52E5E-4105-4A4B-AB14-D16DFC3942A4}</Project>
<Name>OopFactory.X12.Validation</Name>
</ProjectReference>
<ProjectReference Include="..\OopFactory.X12\OopFactory.X12.csproj">
<Project>{AFE1BBBC-B957-461C-9022-B45D3DB117C9}</Project>
<Name>OopFactory.X12</Name>
</ProjectReference>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.310801">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<Content Include="appsettings.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy "$(TargetDir)*.dll" "$(SolutionDir)Release\"
copy "$(TargetDir)$(TargetName)$(TargetExt)*" "$(SolutionDir)Release\"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Target Name="CopyFiles" AfterTargets="PostBuildEvent">
<Message Text="Copying Output Files" Importance="High" />
<ItemGroup>
<DllFiles Include="$(TargetDir)*.dll"/>
<OutputFile Include="$(TargetDir)$(TargetName)$(TargetExt)*"/>
</ItemGroup>
<Copy
SourceFiles="@(DllFiles)"
DestinationFolder="$(SolutionDir)Release"
/>
<Copy
SourceFiles="@(OutputFile)"
DestinationFolder="$(SolutionDir)Release"
/>
</Target>
</Project>
8 changes: 8 additions & 0 deletions trunk/src/OopFactory.X12.AcknowledgeX12/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"AuthorInfoQualifier": 0,
"AuthorInfo": "",
"SecurityInfoQualifier": 0,
"SecurityInfo": "",
"InterchangeSenderIdQualifier": "ZZ",
"InterchangeSenderId": "MYIDHERE"
}
4 changes: 2 additions & 2 deletions trunk/src/OopFactory.X12.Hipaa.ClaimParser/App.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="LogFile" value="Log.txt"/>
<!-- indicates where to to stop execution the parser sees an orphanned parent HL id or when the parser encounters a segment not in the specification for the transaction set -->
<add key="ThrowExceptionOnSyntaxErrors" value="false"/>
</appSettings>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
Original file line number Diff line number Diff line change
@@ -1,74 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<TargetFramework>net6.0</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1E3BD8A3-21EA-4B71-8A55-31910211A316}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OopFactory.X12.Hipaa.ClaimParser</RootNamespace>
<AssemblyName>OopFactory.X12.Hipaa.ClaimParser</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<Reference Include="Fonet">
<HintPath>..\..\lib\Fonet.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ExecutionOptions.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OopFactory.X12.Hipaa\OopFactory.X12.Hipaa.csproj">
<Project>{203C0F4B-D1F0-4C20-8968-7DBD84F4A815}</Project>
<Name>OopFactory.X12.Hipaa</Name>
</ProjectReference>
<ProjectReference Include="..\OopFactory.X12\OopFactory.X12.csproj">
<Project>{AFE1BBBC-B957-461C-9022-B45D3DB117C9}</Project>
<Name>OopFactory.X12</Name>
</ProjectReference>
<ProjectReference Include="..\OopFactory.X12.Hipaa\OopFactory.X12.Hipaa.csproj" />
<ProjectReference Include="..\OopFactory.X12\OopFactory.X12.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="ADAJ400_Red.gif">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="appsettings.json" />
<Content Include="HCFA1500_Red.gif">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand All @@ -77,19 +31,31 @@
</Content>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.310801">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy "$(TargetDir)*.gif" "$(SolutionDir)Release\" /r /y /c /i
xcopy "$(TargetDir)*.dll" "$(SolutionDir)Release\" /r /y /c /i
xcopy "$(TargetDir)$(TargetName)$(TargetExt)*" "$(SolutionDir)Release\" /r /y /c /i</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Target Name="CopyFiles" AfterTargets="PostBuildEvent">
<Message Text="Copying Output Files" Importance="High" />
<ItemGroup>
<DllFiles Include="$(TargetDir)*.dll"/>
<GifFiles Include="$(TargetDir)*.gif"/>
<OutputFile Include="$(TargetDir)$(TargetName)$(TargetExt)*"/>
</ItemGroup>
<Copy
SourceFiles="@(DllFiles)"
DestinationFolder="$(SolutionDir)Release"
/>
<Copy
SourceFiles="@(GifFiles)"
DestinationFolder="$(SolutionDir)Release"
/>
<Copy
SourceFiles="@(OutputFile)"
DestinationFolder="$(SolutionDir)Release"
/>
</Target>
</Project>
4 changes: 4 additions & 0 deletions trunk/src/OopFactory.X12.Hipaa.ClaimParser/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"LogFile": "Log.txt",
"ThrowExceptionOnSyntaxErrors": false
}
Loading