File tree 1 file changed +3
-0
lines changed
src/main/java/com/imsweb/x12/reader
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ public class X12Reader {
53
53
private static final String _X214_ANSI_VERSION = "005010X214" ;
54
54
private static final String _X270_271_092_ANSI_VERSION = "004010X092A1" ;
55
55
private static final String _X212_ANSI_VERSION = "005010X212" ;
56
+ private static final String _X220_ANSI_VERSION = "005010X220A1" ;
56
57
private static final EnumMap <FileType , String > _TYPES = new EnumMap <>(FileType .class );
57
58
58
59
private List <String > _errors = new ArrayList <>();
@@ -68,6 +69,7 @@ public class X12Reader {
68
69
* All supported X12 file definitions
69
70
*/
70
71
public enum FileType {
72
+ ANSI834_5010_X220 ("mapping/834.5010.X220.A1.xml" ),
71
73
ANSI835_5010_X221 ("mapping/835.5010.X221.A1.xml" ),
72
74
ANSI835_4010_X091 ("mapping/835.4010.X091.A1.xml" ),
73
75
ANSI837_4010_X096 ("mapping/837.4010.X096.A1.xml" ),
@@ -109,6 +111,7 @@ public synchronized TransactionDefinition getDefinition() {
109
111
}
110
112
111
113
static {
114
+ _TYPES .put (FileType .ANSI834_5010_X220 , _X220_ANSI_VERSION );
112
115
_TYPES .put (FileType .ANSI835_4010_X091 , _X091_ANSI_VERSION );
113
116
_TYPES .put (FileType .ANSI837_4010_X096 , _X096_ANSI_VERSION );
114
117
_TYPES .put (FileType .ANSI837_4010_X097 , _X097_ANSI_VERSION );
You can’t perform that action at this time.
0 commit comments