era_835_parser 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.rspec +1 -0
- data/.travis.yml +0 -0
- data/CODE_OF_CONDUCT.md +22 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +23 -0
- data/README.md +108 -0
- data/Rakefile +5 -0
- data/era_835_parser.gemspec +24 -0
- data/lib/era_835_parser.rb +3 -0
- data/lib/era_835_parser/parser.rb +237 -0
- data/lib/era_835_parser/version.rb +3 -0
- data/spec/era_835_parser_spec.rb +633 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/test_era.txt +95 -0
- metadata +108 -0
data/spec/spec_helper.rb
ADDED
data/spec/test_era.txt
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
Dear: Jane Doe
|
2
|
+
|
3
|
+
|
4
|
+
Your Claims have been adjudicated by the Payer. Electronic Payment / Advise information has been received by Comapny and summarized as follows.
|
5
|
+
|
6
|
+
==================================================
|
7
|
+
------- HEALTH CARE CLAIM PAYMENT/ADVICE -------
|
8
|
+
==================================================
|
9
|
+
|
10
|
+
|
11
|
+
========================================================================================================================================================
|
12
|
+
Adjustment Date Provider ID Reference ID Adjustment Amt Reason
|
13
|
+
========================================================================================================================================================
|
14
|
+
12/30/2018 1111111111 BBBBBBVP31M0 -42.81 Overpayment Recover
|
15
|
+
12/31/2018 1111111112 BBBBBBVP31M1 -33.44 Overpayment Recover
|
16
|
+
12/30/2018 1111111113 BBBBBBVP31M2 33.45 Overpayment Recover
|
17
|
+
========================================================================================================================================================
|
18
|
+
|
19
|
+
========================================================================================================================================================
|
20
|
+
Check# Amount # Claims NPI or Tax ID Payee Date
|
21
|
+
========================================================================================================================================================
|
22
|
+
201812215555555555 48.80 1 1212121212 ABC COMPANY LLC 12/21/2018
|
23
|
+
201812215555555556 51.20 2 1212121213 ABC COMPANY 12/22/2018
|
24
|
+
201812215555555557 5.00 2 1212121212 ABC COMPANY LLC 12/21/2018
|
25
|
+
|
26
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
27
|
+
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
28
|
+
201812215555555555 M11111110 DOE JR,DAVIS 65.00 48.80 1112 PROCESSED AS PRIMARY ABC HEALTHCARE EAST
|
29
|
+
ONE CIRCLE RD
|
30
|
+
SOMEWHERE,GA 11111
|
31
|
+
Tax ID: 11-1111110
|
32
|
+
Payer Claim Control Number: 111111111000
|
33
|
+
|
34
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
35
|
+
10/25/2018 92507 65.00 48.80 16.20 NO REMARKS
|
36
|
+
|
37
|
+
Adjustment Group Adj Amt Translated Reason Code
|
38
|
+
CONTRACTUAL OBLIGATIONS 16.20 CHARGES EXCEED YOUR CONTRACTED/LEGISLATED FEE ARRANGEMENT.
|
39
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
40
|
+
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
41
|
+
201812215555555556 ZECM11111111 DOE,JANE -65.00 -48.80 L111 OTHER ABC HEALTHCARE WEST
|
42
|
+
50 EAST RD
|
43
|
+
ANYWHERE,TN 00002-1111
|
44
|
+
Tax ID: 11-1111111
|
45
|
+
Payer Claim Control Number: BTBBB1111100
|
46
|
+
|
47
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
48
|
+
10/27/2017 92507 -65.00 -48.80 -16.20 NO REMARKS
|
49
|
+
|
50
|
+
Adjustment Group Adj Amt Translated Reason Code
|
51
|
+
OTHER ADJUSTMENTS -16.20 CHARGES EXCEED YOUR CONTRACTED/LEGISLATED FEE ARRANGEMENT.
|
52
|
+
|
53
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
54
|
+
11/09/2017 92507 -5.00 0.00 -5.00 NO REMARKS
|
55
|
+
|
56
|
+
Adjustment Group Adj Amt Translated Reason Code
|
57
|
+
OTHER ADJUSTMENTS -5.00 PAYMENT ADJUSTED BECAUSE CHARGES HAVE BEEN PAID BY ANOTHER PAYER.
|
58
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
59
|
+
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
60
|
+
201812215555555556 ZECM11111112 SMITH,JOSEPH 100.00 100.00 M111 PROCESSED AS SECONDARY ABC HEALTHCARE WEST
|
61
|
+
50 EAST RD
|
62
|
+
ANYWHERE,TN 00002
|
63
|
+
Tax ID: 11-1111111
|
64
|
+
Payer Claim Control Number: BT1111111141
|
65
|
+
|
66
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
67
|
+
10/25/2017 92507 100.00 100.00 0.00 NO REMARKS
|
68
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
69
|
+
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
70
|
+
201812215555555557 ZECM11111112 LASTNAME,FIRST 45.00 0.00 M111 DENIED ABC HEALTHCARE EAST
|
71
|
+
ONE CIRCLE RD
|
72
|
+
SOMEWHERE,GA 11111
|
73
|
+
Tax ID: 11-1111110
|
74
|
+
Payer Claim Control Number: BT1111111131
|
75
|
+
Claim Statement Period: 01/30/2019 - 01/30/2019
|
76
|
+
|
77
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
78
|
+
10/28/2017 92507 45.00 0.00 45.00 NO REMARKS
|
79
|
+
|
80
|
+
Adjustment Group Adj Amt Translated Reason Code
|
81
|
+
CONTRACTUAL OBLIGATIONS 45.00 CHARGES EXCEED YOUR CONTRACTED/LEGISLATED FEE ARRANGEMENT.
|
82
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
83
|
+
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
84
|
+
201812215555555557 ZECM11111112 WORLD,HELLO 65.00 5.00 M111 PROCESSED AS PRIMARY, FWDED ABC HEALTHCARE EAST
|
85
|
+
ONE CIRCLE RD
|
86
|
+
SOMEWHERE,GA 11111
|
87
|
+
Tax ID: 11-1111110
|
88
|
+
Payer Claim Control Number: BT1111111121
|
89
|
+
|
90
|
+
Line Item: Svc Date CPT Charge Amt Payment Amt Total Adj Amt Remarks
|
91
|
+
10/30/2017 92507 65.00 5.00 60.00 NO REMARKS
|
92
|
+
|
93
|
+
Adjustment Group Adj Amt Translated Reason Code
|
94
|
+
CONTRACTUAL OBLIGATIONS 16.20 CHARGES EXCEED YOUR CONTRACTED/LEGISLATED FEE ARRANGEMENT.
|
95
|
+
OTHER ADJUSTMENTS 43.80 PAYMENT ADJUSTED BECAUSE CHARGES HAVE BEEN PAID BY ANOTHER PAYER.
|
metadata
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: era_835_parser
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kevin S. Dias
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: This is a gem to parse ERAs, the electronic equivalent of a paper Explanation
|
56
|
+
of Benefits (EOB). An electronic remittance advice (ERA) is an electronic data interchange
|
57
|
+
(EDI) version of a medical insurance payment explanation. It provides details about
|
58
|
+
providers' claims payment, and if the claims are denied, it would then contain the
|
59
|
+
required explanations.
|
60
|
+
email:
|
61
|
+
- diasks2@gmail.com
|
62
|
+
executables: []
|
63
|
+
extensions: []
|
64
|
+
extra_rdoc_files: []
|
65
|
+
files:
|
66
|
+
- ".gitignore"
|
67
|
+
- ".rspec"
|
68
|
+
- ".travis.yml"
|
69
|
+
- CODE_OF_CONDUCT.md
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE.txt
|
72
|
+
- README.md
|
73
|
+
- Rakefile
|
74
|
+
- era_835_parser.gemspec
|
75
|
+
- lib/era_835_parser.rb
|
76
|
+
- lib/era_835_parser/parser.rb
|
77
|
+
- lib/era_835_parser/version.rb
|
78
|
+
- spec/era_835_parser_spec.rb
|
79
|
+
- spec/spec_helper.rb
|
80
|
+
- spec/test_era.txt
|
81
|
+
homepage: https://github.com/diasks2/era_835_parser
|
82
|
+
licenses:
|
83
|
+
- MIT
|
84
|
+
metadata: {}
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubyforge_project:
|
101
|
+
rubygems_version: 2.7.7
|
102
|
+
signing_key:
|
103
|
+
specification_version: 4
|
104
|
+
summary: Electronic Remittance Advice (ERA) 835 parser
|
105
|
+
test_files:
|
106
|
+
- spec/era_835_parser_spec.rb
|
107
|
+
- spec/spec_helper.rb
|
108
|
+
- spec/test_era.txt
|