I had to make some changes to the existing 277 5010 x212 mapping to get it to work .
I also reformatted the file to make it easier to navigate .. this is the bulk of the change.
The changes to get the mapping working are
adding a footer
changing mapping type from incorrect 005010X218 to 005010X212
changing GS loop code RA -> HN ( this is according to the spec at https://x212.x12.org/ )
"The two-character Functional Identifier Code for the transaction set included in this implementation guide:
HR Health Care Claim Status Request (276)
HN Health Care Information Status Notification (277)"
I am not an expert on this particular standard but I didn't see anything suspicious and a unit test with an example file was added so I think this is good.
I had to make some changes to the existing 277 5010 x212 mapping to get it to work . I also reformatted the file to make it easier to navigate .. this is the bulk of the change.
The changes to get the mapping working are
"The two-character Functional Identifier Code for the transaction set included in this implementation guide: HR Health Care Claim Status Request (276) HN Health Care Information Status Notification (277)"