change_health 5.2.0 → 5.3.1

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: '0698ecf8b4fabbd1e1ceb2ec680bc141c39181f5928e16b8d3ea746e4f88b990'
4
+ data.tar.gz: e5a3d44c93694f57a1d40245a3390dfcc6ed23f85039606d120fd9793d9ac03f
5
5
  SHA512:
6
- metadata.gz: 36ce617999d0c64a7bac08173feb719f9e669f2dcca0e730354205bc53c4f234a31f7ea455c50c5c0f74d393a4a83a2f02a73b02d802e0908c79639d6536da02
7
- data.tar.gz: d1cbc13d5e216e4df495959e4f73f9e7f405cab2f18cf3e160e49129d37dd48a17e4130e1652bbebfafc9a7fe7336c162954123ad937bb04fb5c300635dc16fd
6
+ metadata.gz: 0ccee7b54c6d45058badfbdd0105e1f90c341a35a0d653360125bc6c9d1cf58ea90e5327061947c59df48f5df99490dc6351920ce344b22553a37b0664ba3d9d
7
+ data.tar.gz: 0fedb6d3fbd4629143015fa9c8777dd8e5a80cf72ecbe8555785e60aee3e32cd069b439fba4f39f28da53cd98f91d26cc6b7a4db7cff46062c740804aff24a99
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.1] - 2023-10-25
9
+
10
+ ### Added
11
+
12
+ * Added clearingHouse query param to trading_partner
13
+
14
+ # [5.3.0] - 2023-09-18
15
+
16
+ ### Added
17
+
18
+ * Added new model ChangeHealth::Models::Claim::BillingPayToAddressName
19
+ * serviceDate, serviceDateEnd attributes to ChangeHealth::Models::Claim::InstitutionalService
20
+ * billingPayToAddressName, tradingPartnerName attributes to ChangeHealth::Request::Claim::Submission
21
+
8
22
  # [5.2.0] - 2023-09-05
9
23
 
10
24
  ### Added
@@ -34,7 +48,6 @@ Endpoint for trading_partner request has changed.
34
48
  * updated mapping on trading_partner_data for new response from endpoint
35
49
  * updated tests
36
50
 
37
-
38
51
  # [4.14.0] - 2023-08-24
39
52
 
40
53
  ### Added
@@ -58,19 +71,19 @@ Added institional claim submission specific headers so that institutional claims
58
71
  #### Ability to submit an institutional claim
59
72
 
60
73
  * Added the following classes
61
- * ChangeHealth::Models::Claim::ClaimCodeInformation
62
- * ChangeHealth::Models::Claim::InstitutionalService
74
+ * ChangeHealth::Models::Claim::ClaimCodeInformation
75
+ * ChangeHealth::Models::Claim::InstitutionalService
63
76
  * Added fields to existing submission classes
64
- * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
65
- * ServiceLine - assignedNumber, institutionalService
77
+ * ClaimInformation - claimCodeInformation, claimNote, claimNotes, etc
78
+ * ServiceLine - assignedNumber, institutionalService
66
79
  * 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
-
80
+ * `true` for professional claim submission
81
+ * `false` for institutional claim submission
70
82
 
71
83
  #### Added other submission classes
72
84
 
73
85
  These are used by professional claims and sometimes institutional
86
+
74
87
  * ChangeHealth::Models::Claim::ClaimSupplementalInformation
75
88
  * ChangeHealth::Models::Claim::ContactInformation
76
89
  * ChangeHealth::Models::Claim::Diagnosis
@@ -83,16 +96,17 @@ These are used by professional claims and sometimes institutional
83
96
  * ChangeHealth::Models::Claim::ReportInformation
84
97
  * ChangeHealth::Models::Claim::ServiceFacilityLocation
85
98
 
86
-
87
99
  ### Deprecated
88
100
 
89
101
  Some endpoint constants in Submission:
102
+
90
103
  * ChangeHealth::Request::Claim::Submission::ENDPOINT
91
104
  * ChangeHealth::Request::Claim::Submission::HEALTH_CHECK_ENDPOINT
92
105
  * ChangeHealth::Request::Claim::Submission::VALIDATION_ENDPOINT
93
106
  * ChangeHealth::Request::Claim::Submission::SUBMISSION_ENDPOINT
94
107
 
95
108
  Replace with:
109
+
96
110
  * ENDPOINT -> PROFESSIONAL_ENDPOINT
97
111
  * HEALTH_CHECK_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + HEALTH_CHECK_SUFFIX
98
112
  * VALIDATION_ENDPOINT -> PROFESSIONAL_ENDPOINT || INSTITUTIONAL_ENDPOINT + SUBMISSION_SUFFIX
@@ -167,6 +181,7 @@ Replace with:
167
181
  # [4.2.5] - 2022-07-29
168
182
 
169
183
  ### Fixed
184
+
170
185
  * Report835Data can now handle when a service line doesn't have a service date
171
186
 
172
187
  # [4.2.4] - 2022-07-28
@@ -565,6 +580,8 @@ Added the ability to hit professional claim submission API. For more details, se
565
580
  * Authentication
566
581
  * Configuration
567
582
 
583
+ [5.3.1]: https://github.com/WeInfuse/change_health/compare/v5.3.0...v5.3.1
584
+ [5.3.0]: https://github.com/WeInfuse/change_health/compare/v5.2.0...v5.3.0
568
585
  [5.2.0]: https://github.com/WeInfuse/change_health/compare/v5.1.0...v5.2.0
569
586
  [5.1.0]: https://github.com/WeInfuse/change_health/compare/v5.0.0...v5.1.0
570
587
  [5.0.0]: https://github.com/WeInfuse/change_health/compare/v4.14.0...v5.0.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
@@ -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)
@@ -6,7 +6,8 @@ module ChangeHealth
6
6
  def self.query(term)
7
7
  params = {
8
8
  businessName: term,
9
- serviceName: 'Eligibility'
9
+ serviceName: 'Eligibility',
10
+ clearingHouse: 'dbq'
10
11
  }
11
12
 
12
13
  response = ChangeHealth::Connection.new.request(endpoint: ENDPOINT, verb: :get, query: params)
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.2.0'.freeze
2
+ VERSION = '5.3.1'.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.1
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-10-26 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.1.6
224
- signing_key:
224
+ rubygems_version: 3.4.10
225
+ signing_key:
225
226
  specification_version: 4
226
227
  summary: Ruby wrapper for the ChangeHealth API
227
228
  test_files: []