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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7f6cfcd45945cb3cff99c1036fdb99b5b731485874812727e5cfad7e2594540
4
- data.tar.gz: a353ab37454fbeb21304a7e74b4f42c5bd549d2e7ae3442b535310c7c90261f2
3
+ metadata.gz: af06bbbadfe71b458766a9bf326233902a468895022aeecbac02d38589b04f1f
4
+ data.tar.gz: 7b021630cc3727a11080cc98eb60eea831be95a00efbebddae57e0729a3f2e06
5
5
  SHA512:
6
- metadata.gz: ae79faae97bcf36b30135a09d0cb384e50995d244623a085b7eb8ace5b05a55e3b96aade5389f7f1b2fce75583698dd65a38da3b244f51ea3e334b86f8a6aa4a
7
- data.tar.gz: 98c1710fa1620329dba20d4728d986857224655d4998e8958a04abbee663861eb78ba0523628a827374ffe252fa7a7a60ba38a00b65b4bc0ea3406d32c316012
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] # Cliam 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
@@ -1,3 +1,3 @@
1
1
  module Era835Parser
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: era_835_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias