era_835_parser 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/era_835_parser/parser.rb +1 -1
- data/lib/era_835_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af06bbbadfe71b458766a9bf326233902a468895022aeecbac02d38589b04f1f
|
4
|
+
data.tar.gz: 7b021630cc3727a11080cc98eb60eea831be95a00efbebddae57e0729a3f2e06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 688ff5609844000ca36f8733528d8bceffed653eb294e40f86da47bc832ba6b329035138f62b83f500d37e083d4b2c89dfcc970610f35539dcd359c01821742a
|
7
|
+
data.tar.gz: 6bccf7a704d0a6ee21e74d607ae81dcf6dfc68f3ece95dd3982846958e2bbf94f55fe7cd640f9df5345bbcf7d6474cf4e7c2c3e4044b4ee3216cc162a629e4c5
|
data/README.md
CHANGED
@@ -49,7 +49,7 @@ if !era[:checks].nil?
|
|
49
49
|
puts individual_era[:charge_amount] # Total charge amount (integer)
|
50
50
|
puts individual_era[:payment_amount] # Total payment amount (integer)
|
51
51
|
puts individual_era[:account_number] # Account number
|
52
|
-
puts individual_era[:claim_status_code] #
|
52
|
+
puts individual_era[:claim_status_code] # Claim status code
|
53
53
|
puts individual_era[:status] # Claim status code description
|
54
54
|
puts individual_era[:payer_claim_control_number] # Payer claim control number
|
55
55
|
puts individual_era[:claim_statement_period_start] # Claim statement period start
|
@@ -757,7 +757,7 @@ module Era835Parser
|
|
757
757
|
# Provider Adjustment Amount
|
758
758
|
adjustment[:adjustment_amount] = (element.to_f * 100).round().to_i
|
759
759
|
end
|
760
|
-
adjustments[adjustment_counter_a] = adjustment if adjustment_counter_a > -1
|
760
|
+
adjustments[adjustment_counter_a] = adjustment if adjustment_counter_a > -1 && (adjustment != {} && !adjustment.nil?)
|
761
761
|
when "CAS"
|
762
762
|
case index
|
763
763
|
when 1
|