era_835_parser 0.1.1 → 0.1.2

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: af06bbbadfe71b458766a9bf326233902a468895022aeecbac02d38589b04f1f
4
- data.tar.gz: 7b021630cc3727a11080cc98eb60eea831be95a00efbebddae57e0729a3f2e06
3
+ metadata.gz: e10f58131b0a443ca85df39da652555ec9eeb2e96539abf6c4ad10f39b0b1278
4
+ data.tar.gz: 165af59799241d0937d730aff63f6c40dc6f211c4c2996f79fba965d8e0952fd
5
5
  SHA512:
6
- metadata.gz: 688ff5609844000ca36f8733528d8bceffed653eb294e40f86da47bc832ba6b329035138f62b83f500d37e083d4b2c89dfcc970610f35539dcd359c01821742a
7
- data.tar.gz: 6bccf7a704d0a6ee21e74d607ae81dcf6dfc68f3ece95dd3982846958e2bbf94f55fe7cd640f9df5345bbcf7d6474cf4e7c2c3e4044b4ee3216cc162a629e4c5
6
+ metadata.gz: 78bc438ba8a47cd023f2ab9082bc253d4071accad36697ff347bea19ea673455ff65ae19134b3d7c604e6ab3b5c29b99ea0cceb5120202ca4896b9116bd2e0a8
7
+ data.tar.gz: d7019dd9571bf23c9c60cd9c2d41479f81cd9d2113da6beec257848f7164ced3a4b4bdf67b358ba16149edfb2f0540133dda439bfd71bfcd2bbf6a5b93b14626
@@ -951,8 +951,8 @@ module Era835Parser
951
951
  era[:checks].each do |i, check|
952
952
  era[:checks][check[:check_number]][:number_of_claims] = check[:eras].size
953
953
  if !check[:eras].nil?
954
- line_items = ''
955
954
  check[:eras].each do |era_counter, individual_era|
955
+ line_items = ''
956
956
  if !individual_era[:line_items].nil?
957
957
  individual_era[:line_items].each do |line_item_counter, line_item|
958
958
  line_items += "#{" " * (22)}#{line_item[:service_date]} #{line_item[:cpt_code]}#{" " * (7 - get_length(line_item[:cpt_code]))}#{'%.2f' % (line_item[:charge_amount].to_f / 100)}#{" " * (13 - get_length('%.2f' % (line_item[:charge_amount].to_f / 100)))}#{'%.2f' % (line_item[:payment_amount].to_f / 100)}#{" " * (13 - get_length('%.2f' % (line_item[:payment_amount].to_f / 100)))}#{'%.2f' % (line_item[:total_adjustment_amount].to_f / 100)}#{" " * (15 - get_length('%.2f' % (line_item[:total_adjustment_amount].to_f / 100)))}#{truncate(line_item[:remarks], 82)}\n\n"
@@ -1,3 +1,3 @@
1
1
  module Era835Parser
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias