Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
59052f2
Updated code to C# 6.0 version. Cleaned dead code. Applied StyleCop s…
Aug 9, 2018
e4fe209
Update .gitignore
bvanfleet Aug 9, 2018
8229da8
Split out the Shared library to contain Extensions, Models, and Attri…
Aug 9, 2018
b6e292a
Made X12DelimiterSet constructor public for use in other libraries
Aug 9, 2018
d5363fe
Split out Specifications objects into separate library
Aug 9, 2018
ca13847
Removed code moved to other libraries
Aug 9, 2018
865e51d
Moving files to clean codebase
Aug 9, 2018
86f3fdb
Update and rename License.html to LICENSE.md
bvanfleet Aug 9, 2018
941f8c0
Updated structure, introduced new namespaces, cleaned various files t…
Aug 10, 2018
e426e43
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Aug 10, 2018
cc0dbfb
Update issue templates
bvanfleet Aug 10, 2018
ab66806
Update issue templates
bvanfleet Aug 10, 2018
8b67646
Rename LICENSE.md to LICENSE
bvanfleet Aug 10, 2018
f011764
Rename LICENSE to LICENSE.md
bvanfleet Aug 10, 2018
5107003
Made Shared namespace consistent across files. Refactored TypedLoop d…
Aug 10, 2018
750cb2e
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Aug 10, 2018
6e1afe2
Completed namespace restructuring. Continued code style updates follo…
Aug 11, 2018
fd2a62e
Migrated specifications resource files and fixed strings to get unit …
Aug 11, 2018
1b285d8
Removed obselete reference in program code and dead references in uni…
Aug 11, 2018
20fe6e0
Created factory to handle resource manifest stream creation issue. Re…
Aug 13, 2018
98da144
Code style refactor of X12.Hippa library.
Aug 21, 2018
212ef7c
Updated reference to no long user obselete X12.Repositories code
Aug 21, 2018
edcc051
Added documentation and minor refactoring of X12parser
Aug 21, 2018
d62d1b0
Added code documentation and minor style cleanup for Hippa.ClaimParse…
Aug 21, 2018
4afe8ba
Code cleanup and refactoring, some more.
Aug 22, 2018
dc23c5f
Additional cleanup and refactoring in the X12.Sql library
Aug 22, 2018
c268553
Additional refactoring and style corrections
Aug 23, 2018
73e3850
Added further documentation to Validaiton library
Aug 23, 2018
516c6a3
Fixed class header documentation
Aug 23, 2018
5156b7c
Additional cleanup and documentation
Sep 7, 2018
7e26d1c
Added negation to HL Loop parent ID check to fix bug with top level H…
Sep 7, 2018
87b836b
Inlined a cast check and modified a conditional to follow De Morgan's…
Sep 7, 2018
4e416c8
!!MAJOR CHANGE!! Obselete SQL Repositories code have been delete. Dev…
Sep 7, 2018
d20647e
Updated test code to remove obsolete references.
Sep 7, 2018
7d09ce4
Removed old Docs folder and migrated information to project Wiki
Sep 7, 2018
89531df
Changed Fonet reference to NuGet package and migrated the fop.xsd int…
Sep 7, 2018
45b1f04
Moved Transformations into /src folder to make repository more consis…
Sep 7, 2018
17a2fb7
Update OopFactory.X12.nuspec
bvanfleet Sep 7, 2018
57df057
Added FoNet reference in ClaimFormTester projects.
Sep 8, 2018
cc39e6d
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Sep 8, 2018
99d86da
Updated test to have the directory created during initialization. FoN…
Sep 8, 2018
5489d82
Fixed the image directory path and converted to a static readonly str…
Sep 8, 2018
3be7492
Final code cleanup and documentation for ClaimFormTester class
Sep 8, 2018
a92fac4
More documentation and minor code cleanup
Sep 11, 2018
9f109a1
Looks like the sample 856 documents have either elements that are not…
Sep 11, 2018
1b5aab2
Added documentation to SegmentSpecification
Sep 11, 2018
026e37b
Commented out resource path for 4010 837I sample files. Resolved 1 mo…
Sep 11, 2018
ac6244a
Update README.md
bvanfleet Sep 17, 2018
4f61c6a
Update README.md
bvanfleet Sep 17, 2018
a013898
Update README.md
bvanfleet Sep 17, 2018
115c5c8
Attempt to fix the database tests. Need to mark the ReadOnly test as …
Sep 18, 2018
7137a69
More documentation, and now I'm going through the messages and making…
Sep 18, 2018
3d154f9
Moved all message strings to a Resources file, which can be localized…
Sep 18, 2018
24fc943
Enabled two tests and applied minor corrections to get them passing
Sep 19, 2018
4d5f95e
Split functionality out of `DbCreation` into two additional classes, …
Sep 19, 2018
22419bd
Updated reference to shared library to make folder name consisten wit…
Sep 19, 2018
1ab395e
Migrated all embedded enumerations into separate namespace for ease o…
Sep 19, 2018
41d1317
Updated all references to point to new Shared namespace location.
Sep 19, 2018
3875b2b
'Nother round of refactoring for the Hipaa library. Went ahead with c…
Sep 20, 2018
8241c40
Second round of migrating XmlElement Attribute strings to 'Enum' clas…
Sep 20, 2018
c32d5a2
Moved dental element strings to `Enums.DentalElements` class. Update …
Sep 20, 2018
6bdba1f
Migrated majority of string literals to Resources file. Added documen…
Sep 21, 2018
1541fff
Refactored Shared models and created nuspec file.
Sep 23, 2018
ec04411
Added documentation to specifications library. Segregated out XML Ele…
Sep 23, 2018
2d57746
Renamed `AllowedIdentifier.ID` back to prevent test break.
Sep 23, 2018
39bc6d2
Added more nuspec files, and started filling in dependences. Added re…
Sep 24, 2018
1bfe258
Migrated namespace from OopFactory.X12 to X12
Sep 24, 2018
de783c9
Removed parsing test code with no bearing on test results, or outlook…
Sep 24, 2018
e7a99e7
Added Travis CI config
Sep 24, 2018
382b204
Update .travis.yml
bvanfleet Sep 24, 2018
b02234d
Updated Travis to include the package version and the desired mono bu…
Sep 24, 2018
10d1ed3
Taking local copy of travis.yml file
Sep 24, 2018
b0078cc
Added .NET core reference to System.Configuration.ConfigurationManager.
Sep 24, 2018
19a20ae
Updated .travis.yml mono versions.
bvanfleet Sep 24, 2018
770f855
Migrated from MSTest to NUnit
Sep 24, 2018
2c28ba2
Removed tests VSMDI file, as it was unneeded.
Sep 24, 2018
304a9c1
Fixed reference name in parsing unit tests.
Sep 24, 2018
56a14b9
Fixing more System.Xml references.
Sep 24, 2018
b40f470
Removed post-build scripts
Sep 25, 2018
7188e9e
Updated travis.yml to include test runner. Updated README to display …
Sep 25, 2018
a3accb1
Fixed travis CI config NUnit runner version to match latest version
Sep 25, 2018
7bba5da
Update README.md with Travis CI redirect
bvanfleet Sep 28, 2018
a5417a3
Update .travis.yml
bvanfleet Sep 28, 2018
a80ffdc
Update .travis.yml
bvanfleet Sep 28, 2018
a8a4c66
Update .travis.yml
bvanfleet Sep 28, 2018
9da4735
Changed line terminator to use `\n` instead of CRLF.
Oct 1, 2018
fbbe5ef
Removed extra whitespace from expected values to get tests working in…
Oct 1, 2018
f6e4d35
Updated serialization code to use newline and added test adapter to t…
Oct 5, 2018
7527b3f
Commented out test file in resource index due to conflicting line ending
Oct 9, 2018
477bd71
Added deployment script and updated travis CI yaml to allow deploymen…
Oct 10, 2018
8b16935
Override version and increase verbosity in deploy script. Updated tra…
Oct 10, 2018
6d3f7cb
Switched to the TRAVIS_BUILD_NUMBER for build versioning. Updated tra…
Oct 10, 2018
e31e372
[skip ci] Update README
bvanfleet Oct 10, 2018
be305d2
Manually filled in nuspec files, since Travis seems to be having issu…
Oct 10, 2018
0d752e3
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Oct 10, 2018
12ddbf4
Spliting out push command to individual packages due to Travis CI dep…
Oct 10, 2018
63d75e5
Updated nuspec to reference framework assemblies needed for Specifica…
Oct 10, 2018
db77252
Removed deployment, as it was causing issues with NuGet (package inco…
Oct 10, 2018
b9ad199
Updated exception documentation on X12 Parser. Added error handling i…
Oct 10, 2018
abf3bec
Migrated most strings to Resource file for logging messages in X12Par…
Oct 11, 2018
d79fa1e
[skip ci] Update README
bvanfleet Oct 11, 2018
113079b
Updated release build configuration to deliver artifacts to lib folder
Oct 11, 2018
5e8bdd9
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Oct 11, 2018
734180d
[skip ci] DELETE deploy.sh
bvanfleet Oct 12, 2018
e695a2d
Update X12StreamReader.ReadNextTransaction to return null if no trans…
Aug 29, 2019
d391252
Merge branch 'master' of https://github.com/bvanfleet/X12Parser
Aug 29, 2019
99b73aa
Test fixes for non-US locales
tridian-tn Jun 1, 2020
b40bead
Merge pull request #18 from pellenys/master
bvanfleet Jun 1, 2020
046cbef
Fix trailing transaction segment being ignored by the X12StreamReader.
Aug 21, 2020
e791321
Merge pull request #20 from bvanfleet/u/bvanfleet/se01.bugfix
bvanfleet Aug 21, 2020
62a8831
Fix edge cse in ReadNextTransaction where EOF may cause an invalid X1…
Jan 13, 2021
3444363
Merge pull request #22 from bvanfleet/u/bvanfleet/documentation
bvanfleet Jan 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
249 changes: 219 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,222 @@
--*
*.pdb
*.Cache
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.suo
*.FileListAbsolute.txt
#.gitignore
*.exe
*.manifest
*.cache
*.refresh
*/obj/Debug/*
*/obj/Release/*
*/bin/Release/*
*/bin/Debug/*
*/bin/*
*/Bin/*
*/obj/x86/*
*/bin/*
*/obj/*
*.user
+*
TestResults
#*.vsmdi
#Local.testsettings
#TraceAndTestImpact.testsettings
LastTrace.log
Bin/*
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ib/

# Visual Studio 2015/2017 cache/options directory
.vs/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
obj/*
bin/*
*/read.1.tlog
bin
obj
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# Visual Studio code coverage results
*.coverage
*.coveragexml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
*.ldf
*.ndf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser

# Microsoft Fakes
FakesAssemblies/

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# MSBuild Binary and Structured Log
*.binlog
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: csharp
solution: X12.sln
mono:
- latest
install:
- nuget restore X12.sln
- nuget install NUnit.Runners -Version 3.9.0 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release X12.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./tests/X12.Tests.Unit/bin/Release/X12.Tests.Unit.dll
118 changes: 118 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions License.html

This file was deleted.

4 changes: 2 additions & 2 deletions Local.testsettings
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<TestSettings name="Local" id="26abe35c-8a16-48bc-9471-6e9e1069b36c" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are default test settings for a local test run.</Description>
<Deployment>
<DeploymentItem filename="tests\OopFactory.X12.Tests.Unit\Parsing\_SampleEdiFiles\SampleEdiFileInventory.xml" />
<DeploymentItem filename="src\OopFactory.X12.Rendering\Images\HCFA1500_Red.gif" />
<DeploymentItem filename="tests\X12.Tests.Unit\Parsing\_SampleEdiFiles\SampleEdiFileInventory.xml" />
<DeploymentItem filename="src\X12.Rendering\Images\HCFA1500_Red.gif" />
</Deployment>
<Execution>
<TestTypeSpecific>
Expand Down
6 changes: 0 additions & 6 deletions OopFactory.X12.vsmdi

This file was deleted.

10 changes: 0 additions & 10 deletions OopFactory.X12.vssscc

This file was deleted.

15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# X12Parser
<div align="center">
<img src="https://raw.githubusercontent.com/wiki/bvanfleet/X12.NET/X12Icon.png" />
</div>

This is an open source .NET C# implementation of an X12 Parser.
--------

[![Build Status](https://travis-ci.org/bvanfleet/X12.NET.svg?branch=master)](https://travis-ci.org/bvanfleet/X12.NET) [![x12net MyGet Build Status](https://www.myget.org/BuildSource/Badge/x12net?identifier=3522e489-0d1b-4a7e-90ad-4f1a2c70811d)](https://www.myget.org/)

X12.NET
-------

This is an open source .NET C# implementation of an X12 Parser. Originally forked from [Inteligenz/X12Parser](https://github.com/Inteligenz/X12Parser).

The parser allows for a specification of any X12 transaction set to create a generic X12 xml representation of the hierarchical data contained within the X12 document.

No database integration is required by design, though you can use the ImportX12 app to parse into a SQL Server database and skip the XML.
While no SQL integration is required, there are interfaces to be able to interact with a SQL database. There are also integrations to parse the X12 to XML, HTML, and PDF documents.
2 changes: 1 addition & 1 deletion TraceAndTestImpact.testsettings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<TestSettings name="Trace and Test Impact" id="2a2938fc-a2c2-44fa-97d8-f9d5fc741b40" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are test settings for Trace and Test Impact.</Description>
<Deployment>
<DeploymentItem filename="tests\OopFactory.X12.Tests.Unit\Parsing\_SampleEdiFiles\SampleEdiFileInventory.xml" />
<DeploymentItem filename="tests\X12.Tests.Unit\Parsing\_SampleEdiFiles\SampleEdiFileInventory.xml" />
</Deployment>
<Execution>
<TestTypeSpecific>
Expand Down
Loading