Professional Documents
Culture Documents
A Few Parser
Enhancement
Parser Enhancement
Jegadhesan Murugesan
9/21/2013
Table of Contents
DMV2 ........................................................................................................................................................ 2
HCFA: File similar to HCFA..................................................................................................................... 2
CSV: File similar to CSV. ......................................................................................................................... 2
NSF: File Similar to NSF. ........................................................................................................................ 2
ERROR MSG: Log table must have claimid instead of error message. .................................................. 2
Drop Visitid Logic. ................................................................................................................................. 2
CLAIM ........................................................................................................................................................ 3
Claim File ID: Temp table should have claimfileid................................................................................. 3
Account number Validation: ................................................................................................................. 3
Service Date Validation: ........................................................................................................................ 3
Delete: NPI character. ........................................................................................................................... 3
DMV2
HCFA: File similar to HCFA.
The parser is identifying the 837, NSF, CSV format files. All the unidentified claim files
are instinctively marked as File similar to HCFA but in fact 80% files are not HCFA. We need to
mark them as Unidentified Files format.
CSV: File similar to CSV.
The parser is validating the claim file and it has been marked as File similar to CSV but
really 80% files are not CSV.
Best Way: First Line should contain at least 5/7 delimiter (comma ,, Pipe |, cap ^, tilde ~).
Only then we should mark that as File similar to CSV. Rest of all need to marked as
Unidentified Files format.
NSF: File Similar to NSF.
Yes, Parser is validating the NSF files with the element code AAO and just marking as
File similar to NSF. So during this validation, we need to fetch the NSF version number from
the segment Prod and provide the version number for each file.
ERROR MSG: Log table must have claimid instead of error message.
The table cirunlogfilecstat contains historical claim data. In case of invalid/Missing vital
the claimid will append the text Invalid/Missing vital. Instead of the text, we need to have the
original visit/claimid in the column of table cirunlogfilecstat.
Drop Visitid Logic.
Visit-id generation could be in the form of fileid+claimid. This visit id is nowhere used in
the parser or Ambulatory.
Earlier it has been used for de-duplication logic. Now the de-duplication is totally
different and not based on this visit-id.
CLAIM
Claim File ID: Temp table should have claimfileid.
Temp table should contail we need to add the file claimid in the temp table.
Ease to verify the claim data and compare with the claim files.
Reduced Dmv2 traffic.
It helps out with more analysis case.
Joining the raw table to retrieve the claim file id is costly.