change_health 5.1.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: 17ef9182c0bbc6cb41bc008db75f77faf18d53ba88e79171efd8a677c0c8c2d3
4
- data.tar.gz: 8cb95edc95cf11df39b00f4673344164d64c463e699b625b265e0f93c10b8340
3
+ metadata.gz: bb458a6ffe5a778f34a9d6fb34c197d6d9334587040359c0273b4fed872c3d54
4
+ data.tar.gz: e6002ab3aeaabbd78f261fd337e6244488d913e52bff59d01b88df8ec846f8fe
5
5
  SHA512:
6
- metadata.gz: 428399294a14f285bb21271350a336646a7d6e56adf4b6db56850b04414951502be25f7b26530458df447a72e9300ab9095bbcea6ad84d98e16ec8b7d9cbc9aa
7
- data.tar.gz: c644718797d8598ea2623737f6b4b713bb0de62cb8ca82d72709bceb0eec8ddd60c253c413cb11e928e02f770adee3b67d50e9accaf2e89a3c908b35a66e4d3f
6
+ metadata.gz: 5cb8fa5bbcb329092bb5ba1a73e43aeb5fab67e3a67cbe25aa77feca21e3cc481e3dae63dd90a41fae369bcdfde1c706a3d8f7d0107167aba438b988de78ab0a
7
+ data.tar.gz: fc59ba45358307b37f36b2db8c5f49c4da471af7d6e61330be867b657a2ef20c9ebed1b1748dadd754c3203857a76b467f27cf97ebcf03f7fadab70d5a7767dc
data/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ 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
+
16
+ # [5.2.0] - 2023-09-05
17
+
18
+ ### Added
19
+
20
+ * claimOfficeNumber to ChangeHealth::Models::Claim::Provider
21
+
8
22
  # [5.1.0] - 2023-08-31
9
23
 
10
24
  ### Added
@@ -28,7 +42,6 @@ Endpoint for trading_partner request has changed.
28
42
  * updated mapping on trading_partner_data for new response from endpoint
29
43
  * updated tests
30
44
 
31
-
32
45
  # [4.14.0] - 2023-08-24
33
46
 
34
47
  ### Added
@@ -52,19 +65,19 @@ Added institional claim submission specific headers so that institutional claims
52
65
  #### Ability to submit an institutional claim
53
66
 
54
67
  * Added the following classes
55
- * ChangeHealth::Models::Claim::ClaimCodeInformation
56
- * ChangeHealth::Models::Claim::InstitutionalService
68
+ * ChangeHealth::Models::Claim::ClaimCodeInformation
69
+ * ChangeHealth::Models::Claim::InstitutionalService
57
70
  * Added fields to existing submission classes
58
- * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
59
- * ServiceLine - assignedNumber, institutionalService
71
+ * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
72
+ * ServiceLine - assignedNumber, institutionalService
60
73
  * ChangeHealth::Request::Claim::Submission#submission now takes `is_professional` argument which defaults to `true`
61
- * `true` for professional claim submission
62
- * `false` for institutional claim submission
63
-
74
+ * `true` for professional claim submission
75
+ * `false` for institutional claim submission
64
76
 
65
77
  #### Added other submission classes
66
78
 
67
79
  These are used by professional claims and sometimes institutional
80
+
68
81
  * ChangeHealth::Models::Claim::ClaimSupplementalInformation
69
82
  * ChangeHealth::Models::Claim::ContactInformation
70
83
  * ChangeHealth::Models::Claim::Diagnosis
@@ -77,16 +90,17 @@ These are used by professional claims and sometimes institutional
77
90
  * ChangeHealth::Models::Claim::ReportInformation
78
91
  * ChangeHealth::Models::Claim::ServiceFacilityLocation
79
92
 
80
-
81
93
  ### Deprecated
82
94
 
83
95
  Some endpoint constants in Submission:
96
+
84
97
  * ChangeHealth::Request::Claim::Submission::ENDPOINT
85
98
  * ChangeHealth::Request::Claim::Submission::HEALTH_CHECK_ENDPOINT
86
99
  * ChangeHealth::Request::Claim::Submission::VALIDATION_ENDPOINT
87
100
  * ChangeHealth::Request::Claim::Submission::SUBMISSION_ENDPOINT
88
101
 
89
102
  Replace with:
103
+
90
104
  * ENDPOINT -> PROFESSIONAL_ENDPOINT
91
105
  * HEALTH_CHECK_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + HEALTH_CHECK_SUFFIX
92
106
  * VALIDATION_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + SUBMISSION_SUFFIX
@@ -161,6 +175,7 @@ Replace with:
161
175
  # [4.2.5] - 2022-07-29
162
176
 
163
177
  ### Fixed
178
+
164
179
  * Report835Data can now handle when a service line doesn't have a service date
165
180
 
166
181
  # [4.2.4] - 2022-07-28
@@ -559,6 +574,7 @@ Added the ability to hit professional claim submission API. For more details, se
559
574
  * Authentication
560
575
  * Configuration
561
576
 
577
+ [5.2.0]: https://github.com/WeInfuse/change_health/compare/v5.1.0...v5.2.0
562
578
  [5.1.0]: https://github.com/WeInfuse/change_health/compare/v5.0.0...v5.1.0
563
579
  [5.0.0]: https://github.com/WeInfuse/change_health/compare/v4.14.0...v5.0.0
564
580
  [4.14.0]: https://github.com/WeInfuse/change_health/compare/v4.13.1...v4.14.0
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
@@ -3,6 +3,7 @@ module ChangeHealth
3
3
  module Claim
4
4
  class Provider < Model
5
5
  property :address
6
+ property :claimOfficeNumber, from: :claim_office_number
6
7
  property :contactInformation, from: :contact_information
7
8
  property :employerId, from: :employer_id # or ssn
8
9
  property :firstName, from: :first_name
@@ -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.1.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.1.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Crockett
8
- autorequire:
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
@@ -128,7 +128,7 @@ dependencies:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0.9'
131
- description:
131
+ description:
132
132
  email:
133
133
  - mike.crockett@weinfuse.com
134
134
  executables: []
@@ -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
@@ -205,7 +206,7 @@ licenses:
205
206
  - MIT
206
207
  metadata:
207
208
  allowed_push_host: https://rubygems.org
208
- post_install_message:
209
+ post_install_message:
209
210
  rdoc_options: []
210
211
  require_paths:
211
212
  - lib
@@ -220,8 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
221
  - !ruby/object:Gem::Version
221
222
  version: '0'
222
223
  requirements: []
223
- rubygems_version: 3.4.10
224
- signing_key:
224
+ rubygems_version: 3.1.6
225
+ signing_key:
225
226
  specification_version: 4
226
227
  summary: Ruby wrapper for the ChangeHealth API
227
228
  test_files: []