LinuxForHealth / x12

ASC X12 Processing Models
Apache License 2.0
8 stars 3 forks source link

Support All Versions Within the Consolidated Specification Guide #110

Closed dixonwhitmire closed 2 years ago

dixonwhitmire commented 2 years ago

The X12 library determines which transaction library to load based on either the functional group or transaction set header (GS or ST segments). The current lookup process requires a "strict" match on this version identifier.

For example the snippet below will load the transaction model located within linuxforhealth.x12.v5010.x12_837_005010X222A2

837*0001*005010X222A2

This approach doesn't support the X12 specification's notion of a consolidated guide. For instance the 5010 837 Professional Claim Specification supports the following revisions:

We need to update the lookup process to map each supported revision identifier to the recent release.