change_health 5.2.0 → 5.3.0

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: e4c263cd6687997c48e2be324b327f6f8bff9959effb3178ab79cbcfe1e086da
4
- data.tar.gz: edd0adb611f299cac28ff68f2c333b86176f4810a9da28c8750c918bb8e5e2a1
3
+ metadata.gz: bb458a6ffe5a778f34a9d6fb34c197d6d9334587040359c0273b4fed872c3d54
4
+ data.tar.gz: e6002ab3aeaabbd78f261fd337e6244488d913e52bff59d01b88df8ec846f8fe
5
5
  SHA512:
6
- metadata.gz: 36ce617999d0c64a7bac08173feb719f9e669f2dcca0e730354205bc53c4f234a31f7ea455c50c5c0f74d393a4a83a2f02a73b02d802e0908c79639d6536da02
7
- data.tar.gz: d1cbc13d5e216e4df495959e4f73f9e7f405cab2f18cf3e160e49129d37dd48a17e4130e1652bbebfafc9a7fe7336c162954123ad937bb04fb5c300635dc16fd
6
+ metadata.gz: 5cb8fa5bbcb329092bb5ba1a73e43aeb5fab67e3a67cbe25aa77feca21e3cc481e3dae63dd90a41fae369bcdfde1c706a3d8f7d0107167aba438b988de78ab0a
7
+ data.tar.gz: fc59ba45358307b37f36b2db8c5f49c4da471af7d6e61330be867b657a2ef20c9ebed1b1748dadd754c3203857a76b467f27cf97ebcf03f7fadab70d5a7767dc
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ 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
+ # [5.3.0] - 2023-09-18
9
+
10
+ ### Added
11
+
12
+ * Added new model ChangeHealth::Models::Claim::BillingPayToAddressName
13
+ * serviceDate, serviceDateEnd attributes to ChangeHealth::Models::Claim::InstitutionalService
14
+ * billingPayToAddressName, tradingPartnerName attributes to ChangeHealth::Request::Claim::Submission
15
+
8
16
  # [5.2.0] - 2023-09-05
9
17
 
10
18
  ### Added
@@ -34,7 +42,6 @@ Endpoint for trading_partner request has changed.
34
42
  * updated mapping on trading_partner_data for new response from endpoint
35
43
  * updated tests
36
44
 
37
-
38
45
  # [4.14.0] - 2023-08-24
39
46
 
40
47
  ### Added
@@ -58,19 +65,19 @@ Added institional claim submission specific headers so that institutional claims
58
65
  #### Ability to submit an institutional claim
59
66
 
60
67
  * Added the following classes
61
- * ChangeHealth::Models::Claim::ClaimCodeInformation
62
- * ChangeHealth::Models::Claim::InstitutionalService
68
+ * ChangeHealth::Models::Claim::ClaimCodeInformation
69
+ * ChangeHealth::Models::Claim::InstitutionalService
63
70
  * Added fields to existing submission classes
64
- * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
65
- * ServiceLine - assignedNumber, institutionalService
71
+ * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
72
+ * ServiceLine - assignedNumber, institutionalService
66
73
  * ChangeHealth::Request::Claim::Submission#submission now takes `is_professional` argument which defaults to `true`
67
- * `true` for professional claim submission
68
- * `false` for institutional claim submission
69
-
74
+ * `true` for professional claim submission
75
+ * `false` for institutional claim submission
70
76
 
71
77
  #### Added other submission classes
72
78
 
73
79
  These are used by professional claims and sometimes institutional
80
+
74
81
  * ChangeHealth::Models::Claim::ClaimSupplementalInformation
75
82
  * ChangeHealth::Models::Claim::ContactInformation
76
83
  * ChangeHealth::Models::Claim::Diagnosis
@@ -83,16 +90,17 @@ These are used by professional claims and sometimes institutional
83
90
  * ChangeHealth::Models::Claim::ReportInformation
84
91
  * ChangeHealth::Models::Claim::ServiceFacilityLocation
85
92
 
86
-
87
93
  ### Deprecated
88
94
 
89
95
  Some endpoint constants in Submission:
96
+
90
97
  * ChangeHealth::Request::Claim::Submission::ENDPOINT
91
98
  * ChangeHealth::Request::Claim::Submission::HEALTH_CHECK_ENDPOINT
92
99
  * ChangeHealth::Request::Claim::Submission::VALIDATION_ENDPOINT
93
100
  * ChangeHealth::Request::Claim::Submission::SUBMISSION_ENDPOINT
94
101
 
95
102
  Replace with:
103
+
96
104
  * ENDPOINT -> PROFESSIONAL_ENDPOINT
97
105
  * HEALTH_CHECK_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + HEALTH_CHECK_SUFFIX
98
106
  * VALIDATION_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + SUBMISSION_SUFFIX
@@ -167,6 +175,7 @@ Replace with:
167
175
  # [4.2.5] - 2022-07-29
168
176
 
169
177
  ### Fixed
178
+
170
179
  * Report835Data can now handle when a service line doesn't have a service date
171
180
 
172
181
  # [4.2.4] - 2022-07-28
data/README.md CHANGED
@@ -235,6 +235,11 @@ validation = claim_submission.validation
235
235
  ```ruby
236
236
  ChangeHealth::Request::Claim::Submission.ping(is_professional: false) # Test your connection
237
237
 
238
+ billing_pay_to_address_name = ChangeHealth::Models::Claim::BillingPayToAddressName.new(
239
+ entity_type_qualifier: "2",
240
+ address: address
241
+ )
242
+
238
243
  claim_code_information = ChangeHealth::Models::Claim::ClaimCodeInformation.new(
239
244
  admission_source_code: "7",
240
245
  admission_type_code: "1",
@@ -264,6 +269,8 @@ service_line1 = ChangeHealth::Models::Claim::ServiceLine.new(
264
269
  measurement_unit: "UN",
265
270
  procedure_code: "E0570",
266
271
  procedure_identifier: "HC",
272
+ service_date: "2018-05-14",
273
+ service_date_end: "2018-05-14",
267
274
  service_line_revenue_code: "X",
268
275
  service_unit_count: "1",
269
276
  )
@@ -352,7 +359,8 @@ claim_submission = ChangeHealth::Request::Claim::Submission.new(
352
359
  receiver: receiver,
353
360
  submitter: submitter,
354
361
  subscriber: subscriber,
355
- trading_partner_service_id: "9496"
362
+ trading_partner_service_id: "9496",
363
+ billing_pay_to_address_name: billing_pay_to_address_name
356
364
  )
357
365
 
358
366
  claim_submission_data = claim_submission.submission(is_professional: false)
@@ -0,0 +1,10 @@
1
+ module ChangeHealth
2
+ module Models
3
+ module Claim
4
+ class BillingPayToAddressName < Model
5
+ property :address
6
+ property :entityTypeQualifier, from: :entity_type_qualifier
7
+ end
8
+ end
9
+ end
10
+ end
@@ -8,6 +8,8 @@ module ChangeHealth
8
8
  property :procedureCode, from: :procedure_code
9
9
  property :procedureIdentifier, from: :procedure_identifier
10
10
  property :procedureModifiers, from: :procedure_modifiers
11
+ property :serviceDate, from: :service_date, required: false
12
+ property :serviceDateEnd, from: :service_date_end, required: false
11
13
  property :serviceLineRevenueCode, from: :service_line_revenue_code
12
14
  property :serviceUnitCount, from: :service_unit_count
13
15
  end
@@ -15,6 +15,7 @@ module ChangeHealth
15
15
  VALIDATION_ENDPOINT = ENDPOINT + '/validation'.freeze
16
16
  # End Deprecated
17
17
 
18
+ property :billingPayToAddressName, from: :billing_pay_to_address_name, required: false
18
19
  property :claimInformation, from: :claim_information, required: false
19
20
  property :controlNumber, from: :control_number, required: true, default: ChangeHealth::Models::CONTROL_NUMBER
20
21
  property :dependent, required: false
@@ -26,6 +27,7 @@ module ChangeHealth
26
27
  property :subscriber, required: false
27
28
  # Need one or the other, trading partner id or trading partner service id
28
29
  property :tradingPartnerId, from: :trading_partner_id, required: false
30
+ property :tradingPartnerName, from: :trading_partner_name, required: false
29
31
  property :tradingPartnerServiceId, from: :trading_partner_service_id, required: false
30
32
 
31
33
  def add_provider(provider)
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.2.0'.freeze
2
+ VERSION = '5.3.0'.freeze
3
3
  end
data/lib/change_health.rb CHANGED
@@ -7,6 +7,7 @@ require 'change_health/connection'
7
7
  require 'change_health/extensions'
8
8
  require 'change_health/models/model'
9
9
  require 'change_health/models/claim/submission/address'
10
+ require 'change_health/models/claim/submission/billing_pay_to_address_name'
10
11
  require 'change_health/models/claim/submission/claim_code_information'
11
12
  require 'change_health/models/claim/submission/claim_date_information'
12
13
  require 'change_health/models/claim/submission/claim_information'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: change_health
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Crockett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-05 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -148,6 +148,7 @@ files:
148
148
  - lib/change_health/connection.rb
149
149
  - lib/change_health/extensions.rb
150
150
  - lib/change_health/models/claim/submission/address.rb
151
+ - lib/change_health/models/claim/submission/billing_pay_to_address_name.rb
151
152
  - lib/change_health/models/claim/submission/claim_code_information.rb
152
153
  - lib/change_health/models/claim/submission/claim_date_information.rb
153
154
  - lib/change_health/models/claim/submission/claim_information.rb