change_health 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a4c04d63b5d1b40ebcd57353e31098ca6b27ae453f371e9b67c09e4f0c6033a
|
|
4
|
+
data.tar.gz: cbe7ac2226e15502a5816a3fc87eb57fd498fcb4c8c379024affdda1a2d96f89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15e4aa4b661a142eab4877e175e245393a40c2d12ec56f6287c6d62992e538e01bf402ca383168fe54bc084856d41eb6c0b3ce2ef9761d8485edb267a0464bf2
|
|
7
|
+
data.tar.gz: 73360d910bde419b9afad65415c7fa0731ce470c117f7525215289aebb9a4404ef7e4f3866ad178c67938c0e322e7b7542ff7a844deb3da8fdbb6e3716f4932b
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
# [4.2.4] - 2022-07-28
|
|
9
|
+
|
|
10
|
+
* Removed all RARC Codes (HealthCareCheckRemarkCodes) from JSON
|
|
11
|
+
|
|
8
12
|
# [4.2.3] - 2022-07-28
|
|
9
13
|
|
|
10
14
|
* Adjusted `adjustmentAmount` in object returned from create_adjustment_detail_array to a `0` value instead of an empty string
|
|
@@ -397,7 +401,8 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
|
397
401
|
* Authentication
|
|
398
402
|
* Configuration
|
|
399
403
|
|
|
400
|
-
[4.2.
|
|
404
|
+
[4.2.4]: https://github.com/WeInfuse/change_health/compare/v4.2.3...v4.2.4
|
|
405
|
+
[4.2.3]: https://github.com/WeInfuse/change_health/compare/v4.2.2...v4.2.3
|
|
401
406
|
[4.2.2]: https://github.com/WeInfuse/change_health/compare/v4.2.1...v4.2.2
|
|
402
407
|
[4.2.1]: https://github.com/WeInfuse/change_health/compare/v4.2.0...v4.2.1
|
|
403
408
|
[4.2.0]: https://github.com/WeInfuse/change_health/compare/v4.1.0...v4.2.0
|
|
@@ -22,29 +22,11 @@ module ChangeHealth
|
|
|
22
22
|
}
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
def create_remark_code_adjustments(remark_codes_array)
|
|
26
|
-
adjustment_array = remark_codes_array.map do |_key, value|
|
|
27
|
-
{
|
|
28
|
-
adjustmentReasonCode: value,
|
|
29
|
-
adjustmentAmount: "0"
|
|
30
|
-
}
|
|
31
|
-
end
|
|
32
|
-
{
|
|
33
|
-
adjustmentDetails: adjustment_array,
|
|
34
|
-
adjustmentGroupCode: ""
|
|
35
|
-
}
|
|
36
|
-
end
|
|
37
|
-
|
|
38
25
|
def create_adjustment_detail_array
|
|
39
26
|
all_service_adjustments = self.service_adjustments
|
|
40
27
|
adjustment_details = all_service_adjustments.map do |service_adjustments|
|
|
41
28
|
create_group_adjustments(service_adjustments)
|
|
42
29
|
end
|
|
43
|
-
|
|
44
|
-
health_care_check_remark_codes = self[:health_care_check_remark_codes]
|
|
45
|
-
health_care_check_remark_codes&.each do |remark_codes|
|
|
46
|
-
adjustment_details << create_remark_code_adjustments(remark_codes)
|
|
47
|
-
end
|
|
48
30
|
adjustment_details
|
|
49
31
|
end
|
|
50
32
|
end
|