Transaction Set Code 837P-5010 isnt working

Segment 'LIN**N4*01234567891' in segment position 95 within transaction '000011' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1],2000B[2],2000C[3],2300.

Segment 'NM1772A-OK MOBILE CLINICXX1112233301' in segment position 52 within transaction '987654' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: . To change
this to a warning, pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

837DA_5010

Segment 'NM1ZD2ABC INSURANCE CO' in segment position 20 within transaction '987654' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1],2000B[2],2010BA. To change this to a warning,
pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

837I_4010

Segment 'LX1' in segment position 39 within transaction '54322' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: . To change this to a warning, pass throwExceptionOnSyntaxErrors = false to the
X12Parser constructor. Parameter name: 837

837IA_5010

Segment 'NM1ZD2Medicaid Agency' in segment position 19 within transaction '000000001' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1],2000B[2],2010BA. To change this to a warning,
pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

837P_5010

Segment 'LINN401234567891' in segment position 95 within transaction '000011' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1],2000B[2],2000C[3],2300. To change this to a warning,
pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

837PA_5010

Segment 'NM1ZD2Medical Agency' in segment position 23 within transaction '000011' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1],2000B[2],2010BA. To change this to a warning,
pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

837R_5010

Segment 'NM1SJ2ABC HOSPITAL*XX1234567890' in segment position 7 within transaction '987654' cannot be identified within the supplied specification for transaction set 837 in any of the expected loops: 2000A[1]. To change
this to a warning, pass throwExceptionOnSyntaxErrors = false to the X12Parser constructor. Parameter name: 837

I've read the article on how to add customized specfications, but still do not know where to start adjusting the XML to address these errors. If someone could show me the process to change one of them, I'd gladly do the rest and share.

I was not able to access your raw 837, but hopefully you have de-identified it.

Your NM1 segments aren't getting recognized because it is using a ZD entity code qualifier that is probably not in the specification.
You would need to add a section in the spec where you expect that loop to appear:
A sample is below. It would depend on where it is showing up in your X12, is it part of the claim or is it at a higher level than that?

It looks like you have EntityIds: ZD, SJ, 77 that are showing up where they aren't expected.

The LX1 should be recognized, but there is something preceeding it that is throwing it off so that it no longer thinks it's in the claim loop. If you could just show your sequence of segments Ids from the CLM to the LX1 I might be able to identify without the
full raw data.

LIN should show up within a service line so it might be the same issue if you show your sequence from LX1 to the LIN that should be enough to troubleshoot the issue.