edi-835-parser icon indicating copy to clipboard operation
edi-835-parser copied to clipboard

Issue with LX Handler

Open mhshaaban opened this issue 1 year ago • 0 comments

Trying to parse some reconstructed era files from a clearinghouse. I get this error: /Users/x/opt/anaconda3/lib/python3.9/site-packages/edi_835_parser/loops/service.py:109: UserWarning: Identifier: LX not handled in service loop. warn(message) Traceback (most recent call last): File "/Users/x/eraParseTest.py", line 53, in data = transaction_sets.to_dataframe() File "/Users/x/opt/anaconda3/lib/python3.9/site-packages/edi_835_parser/transaction_set/transaction_sets.py", line 25, in to_dataframe data = pd.concat([data, transaction_set.to_dataframe()]) File "/Usersx/opt/anaconda3/lib/python3.9/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 53, in to_dataframe self.payer, File "/Users/x/opt/anaconda3/lib/python3.9/site-packages/edi_835_parser/transaction_set/transaction_set.py", line 36, in payer assert len(payer) == 1 AssertionError

I noticed that the payer/payee is listed multiple time in the era 835 file and not only in the beginning like in the usual 835 files. The payer is the same but variation of the payer's name or section. For Example: Healthcare Insurance Company, Healthcare Insurance Company Medicare Solutions, Healthcare Insurance Company Medicaid Solutions, etc. Or it just lists the payer/payee for each claim. Is there a solution for this problem?

mhshaaban avatar Aug 17 '23 15:08 mhshaaban