era_835_parser 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +59 -44
- data/lib/era_835_parser/parser.rb +930 -178
- data/lib/era_835_parser/version.rb +1 -1
- data/spec/era_835_parser_spec.rb +1125 -548
- data/spec/example_1.835 +1 -0
- data/spec/example_2.835 +1 -0
- data/spec/example_3.835 +32 -0
- data/spec/test_era.txt +2 -2
- metadata +8 -2
data/spec/example_1.835
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ST*835*1234~BPR*I*15096.46*C*CHK************20100923~TRN*1*70408535*15714001~REF*F2*slca435w~DTM*405*20100923~N1*PR*NC TEACHERS & STATE EMPLOYEES HEALTH PLAN & HEALTH CHOICE~N3*P O BOX 30025~N4*DURHAM*NC*27702~PER*CX**TE*8002144844~N1*PE*ACME UNIV HLTH SYS INC*XX*1234567890~N3*P O BOX AAA1~N4*DURHAM*NC*27701~REF*TJ*123456789~CLP*474623UB001CW0321*1*3740.6*5451.04**15*80209000000*11*1**397*0.7309~CAS*CO*94*-1710.44~NM1*QC*1*Rabbit*Roger*B***MI* RUN123456789~MIA*0~REF*EA*CW0321~DTM*232*20100307~DTM*233*20100310~DTM*50*20100918~AMT*AU*5451.04~SE*21*1234~
|
data/spec/example_2.835
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ST*835*1234~BPR*I*1922.86*C*CHK************20110108~TRN*1*02790758*560894904~REF*F2*LCLA438D~DTM*405*20110104~N1*PR*BLUE CROSS AND BLUE SHIELD OF NORTH CAROLINA~N3*P O BOX 2291~N4*DURHAM*NC*27702~PER*CX*TE*8005554844~N1*PE*XYZ HEALTHCARE CORPORATION*XX*0987654321~N3*P O BOX XYZ~N4*CHARLOTTE*NC*28234~REF*TJ*123456789~LX*1~CLP*200200964A52*1*2100*1922.86*142.54*15*94151100100~NM1*QC*1*Dough*Mary****MI* YPB123456789001~DTM*050*20110103~SVC*HC:59430*1210*1057.86**1*HC:59410~DTM*472*20101231~CAS*CO*42*34.6~CAS*PR*2*117.54~REF*6R*0001~AMT*B6*1175.4~SVC*HC:59440*890*865**1*HC:59410~DTM*472*20101231~CAS*PR*3*25~REF*6R*0002~SVC*HC:59426*742*742**1~DTM*472*20101231~REF*6R*0003~AMT*B6*742~SE*33*1234~
|
data/spec/example_3.835
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
ST*835*1234~
|
2
|
+
BPR*I*1922.86*C*CHK************20110108~
|
3
|
+
TRN*1*02790758*560894904~
|
4
|
+
REF*F2*LCLA438D~
|
5
|
+
DTM*405*20110104~
|
6
|
+
N1*PR*BLUE CROSS AND BLUE SHIELD OF NORTH CAROLINA~
|
7
|
+
N3*P O BOX 2291~
|
8
|
+
N4*DURHAM*NC*27702~
|
9
|
+
PER*CX*TE*8005554844~
|
10
|
+
N1*PE*XYZ HEALTHCARE CORPORATION*XX*0987654321~
|
11
|
+
N3*P O BOX XYZ~
|
12
|
+
N4*CHARLOTTE*NC*28234~
|
13
|
+
REF*TJ*123456789~
|
14
|
+
LX*1~
|
15
|
+
CLP*200200964A52*1*2100*1922.86*142.54*15*94151100100~
|
16
|
+
NM1*QC*1*Dough*Mary****MI* YPB123456789001~
|
17
|
+
DTM*050*20110103~
|
18
|
+
SVC*HC:59430*1210*1057.86**1*HC:59410~
|
19
|
+
DTM*472*20101231~
|
20
|
+
CAS*CO*42*34.6~
|
21
|
+
CAS*PR*2*117.54~
|
22
|
+
REF*6R*0001~
|
23
|
+
AMT*B6*1175.4~
|
24
|
+
SVC*HC:59440*890*865**1*HC:59410~
|
25
|
+
DTM*472*20101231~
|
26
|
+
CAS*PR*3*25~
|
27
|
+
REF*6R*0002~
|
28
|
+
SVC*HC:59426*742*742**1~
|
29
|
+
DTM*472*20101231~
|
30
|
+
REF*6R*0003~
|
31
|
+
AMT*B6*742~
|
32
|
+
SE*33*1234~
|
data/spec/test_era.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Dear: Jane Doe
|
2
2
|
|
3
3
|
|
4
|
-
Your Claims have been adjudicated by the Payer. Electronic Payment / Advise information has been received by
|
4
|
+
Your Claims have been adjudicated by the Payer. Electronic Payment / Advise information has been received by Company and summarized as follows.
|
5
5
|
|
6
6
|
==================================================
|
7
7
|
------- HEALTH CARE CLAIM PAYMENT/ADVICE -------
|
@@ -60,7 +60,7 @@ Check# Patient ID Last,First Charge Amt
|
|
60
60
|
Check# Patient ID Last,First Charge Amt Payment Amt Accnt# Status Payer
|
61
61
|
201812215555555556 ZECM11111112 SMITH,JOSEPH 100.00 100.00 M111 PROCESSED AS SECONDARY ABC HEALTHCARE WEST
|
62
62
|
50 EAST RD
|
63
|
-
ANYWHERE,TN 00002
|
63
|
+
ANYWHERE,TN 00002-1111
|
64
64
|
Tax ID: 11-1111111
|
65
65
|
Payer Claim Control Number: BT1111111141
|
66
66
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: era_835_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin S. Dias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,6 +75,9 @@ files:
|
|
75
75
|
- lib/era_835_parser/parser.rb
|
76
76
|
- lib/era_835_parser/version.rb
|
77
77
|
- spec/era_835_parser_spec.rb
|
78
|
+
- spec/example_1.835
|
79
|
+
- spec/example_2.835
|
80
|
+
- spec/example_3.835
|
78
81
|
- spec/spec_helper.rb
|
79
82
|
- spec/test_era.txt
|
80
83
|
homepage: https://github.com/diasks2/era_835_parser
|
@@ -103,5 +106,8 @@ specification_version: 4
|
|
103
106
|
summary: Electronic Remittance Advice (ERA) 835 parser
|
104
107
|
test_files:
|
105
108
|
- spec/era_835_parser_spec.rb
|
109
|
+
- spec/example_1.835
|
110
|
+
- spec/example_2.835
|
111
|
+
- spec/example_3.835
|
106
112
|
- spec/spec_helper.rb
|
107
113
|
- spec/test_era.txt
|