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 +4 -4
- 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: e10f58131b0a443ca85df39da652555ec9eeb2e96539abf6c4ad10f39b0b1278
|
4
|
+
data.tar.gz: 165af59799241d0937d730aff63f6c40dc6f211c4c2996f79fba965d8e0952fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|