candidhealth 0.43.1 → 0.45.0
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 +4 -4
- data/lib/candidhealth/charge_capture/v_1/client.rb +483 -479
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +184 -174
- data/lib/candidhealth/commons/types/street_address_optional_base.rb +99 -0
- data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +107 -0
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +160 -0
- data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +134 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounters/v_4/client.rb +243 -213
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +11 -1
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +12 -170
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +179 -0
- data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +113 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +9 -1
- metadata +11 -3
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb +0 -112
@@ -0,0 +1,113 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../../commons/types/street_address_short_zip_optional"
|
4
|
+
require "ostruct"
|
5
|
+
require "json"
|
6
|
+
|
7
|
+
module CandidApiClient
|
8
|
+
module ServiceFacility
|
9
|
+
module Types
|
10
|
+
class EncounterServiceFacilityUpdateWithOptionalAddress
|
11
|
+
# @return [String]
|
12
|
+
attr_reader :organization_name
|
13
|
+
# @return [String] An NPI specific to the service facility if applicable, i.e. if it has one and is
|
14
|
+
# not under the billing provider's NPI.
|
15
|
+
# Box 32 section (a) of the CMS-1500 claim form.
|
16
|
+
attr_reader :npi
|
17
|
+
# @return [CandidApiClient::Commons::Types::StreetAddressShortZipOptional] zip_plus_four_code is required for service facility address. When the
|
18
|
+
# zip_plus_four_code is not available use "9998" as per CMS documentation.
|
19
|
+
attr_reader :address
|
20
|
+
# @return [String] An additional identifier for the service facility other than the facility's NPI.
|
21
|
+
# Some payers may require this field.
|
22
|
+
# Potential examples: state license number, provider commercial number, or
|
23
|
+
# location number.
|
24
|
+
# Box 32 section (b) of the CMS-1500 claim form.
|
25
|
+
attr_reader :secondary_identification
|
26
|
+
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
27
|
+
attr_reader :additional_properties
|
28
|
+
# @return [Object]
|
29
|
+
attr_reader :_field_set
|
30
|
+
protected :_field_set
|
31
|
+
|
32
|
+
OMIT = Object.new
|
33
|
+
|
34
|
+
# @param organization_name [String]
|
35
|
+
# @param npi [String] An NPI specific to the service facility if applicable, i.e. if it has one and is
|
36
|
+
# not under the billing provider's NPI.
|
37
|
+
# Box 32 section (a) of the CMS-1500 claim form.
|
38
|
+
# @param address [CandidApiClient::Commons::Types::StreetAddressShortZipOptional] zip_plus_four_code is required for service facility address. When the
|
39
|
+
# zip_plus_four_code is not available use "9998" as per CMS documentation.
|
40
|
+
# @param secondary_identification [String] An additional identifier for the service facility other than the facility's NPI.
|
41
|
+
# Some payers may require this field.
|
42
|
+
# Potential examples: state license number, provider commercial number, or
|
43
|
+
# location number.
|
44
|
+
# Box 32 section (b) of the CMS-1500 claim form.
|
45
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
46
|
+
# @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacilityUpdateWithOptionalAddress]
|
47
|
+
def initialize(organization_name: OMIT, npi: OMIT, address: OMIT, secondary_identification: OMIT,
|
48
|
+
additional_properties: nil)
|
49
|
+
@organization_name = organization_name if organization_name != OMIT
|
50
|
+
@npi = npi if npi != OMIT
|
51
|
+
@address = address if address != OMIT
|
52
|
+
@secondary_identification = secondary_identification if secondary_identification != OMIT
|
53
|
+
@additional_properties = additional_properties
|
54
|
+
@_field_set = {
|
55
|
+
"organization_name": organization_name,
|
56
|
+
"npi": npi,
|
57
|
+
"address": address,
|
58
|
+
"secondary_identification": secondary_identification
|
59
|
+
}.reject do |_k, v|
|
60
|
+
v == OMIT
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Deserialize a JSON object to an instance of
|
65
|
+
# EncounterServiceFacilityUpdateWithOptionalAddress
|
66
|
+
#
|
67
|
+
# @param json_object [String]
|
68
|
+
# @return [CandidApiClient::ServiceFacility::Types::EncounterServiceFacilityUpdateWithOptionalAddress]
|
69
|
+
def self.from_json(json_object:)
|
70
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
71
|
+
parsed_json = JSON.parse(json_object)
|
72
|
+
organization_name = struct["organization_name"]
|
73
|
+
npi = struct["npi"]
|
74
|
+
if parsed_json["address"].nil?
|
75
|
+
address = nil
|
76
|
+
else
|
77
|
+
address = parsed_json["address"].to_json
|
78
|
+
address = CandidApiClient::Commons::Types::StreetAddressShortZipOptional.from_json(json_object: address)
|
79
|
+
end
|
80
|
+
secondary_identification = struct["secondary_identification"]
|
81
|
+
new(
|
82
|
+
organization_name: organization_name,
|
83
|
+
npi: npi,
|
84
|
+
address: address,
|
85
|
+
secondary_identification: secondary_identification,
|
86
|
+
additional_properties: struct
|
87
|
+
)
|
88
|
+
end
|
89
|
+
|
90
|
+
# Serialize an instance of EncounterServiceFacilityUpdateWithOptionalAddress to a
|
91
|
+
# JSON object
|
92
|
+
#
|
93
|
+
# @return [String]
|
94
|
+
def to_json(*_args)
|
95
|
+
@_field_set&.to_json
|
96
|
+
end
|
97
|
+
|
98
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
99
|
+
# hash and check each fields type against the current object's property
|
100
|
+
# definitions.
|
101
|
+
#
|
102
|
+
# @param obj [Object]
|
103
|
+
# @return [Void]
|
104
|
+
def self.validate_raw(obj:)
|
105
|
+
obj.organization_name&.is_a?(String) != false || raise("Passed value for field obj.organization_name is not the expected type, validation failed.")
|
106
|
+
obj.npi&.is_a?(String) != false || raise("Passed value for field obj.npi is not the expected type, validation failed.")
|
107
|
+
obj.address.nil? || CandidApiClient::Commons::Types::StreetAddressShortZipOptional.validate_raw(obj: obj.address)
|
108
|
+
obj.secondary_identification&.is_a?(String) != false || raise("Passed value for field obj.secondary_identification is not the expected type, validation failed.")
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
data/lib/requests.rb
CHANGED
@@ -45,7 +45,7 @@ module CandidApiClient
|
|
45
45
|
|
46
46
|
# @return [Hash{String => String}]
|
47
47
|
def get_headers
|
48
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
48
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0" }
|
49
49
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
50
50
|
headers
|
51
51
|
end
|
@@ -90,7 +90,7 @@ module CandidApiClient
|
|
90
90
|
|
91
91
|
# @return [Hash{String => String}]
|
92
92
|
def get_headers
|
93
|
-
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
93
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.45.0" }
|
94
94
|
headers["Authorization"] = ((@token.is_a? Method) ? @token.call : @token) unless token.nil?
|
95
95
|
headers
|
96
96
|
end
|
data/lib/types_export.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
require_relative "candidhealth/auth/v_2/types/auth_get_token_response"
|
4
4
|
require_relative "candidhealth/auth/v_2/types/too_many_requests_error_type"
|
5
5
|
require_relative "candidhealth/billing_notes/v_2/types/billing_note_base"
|
6
|
-
require_relative "candidhealth/billing_notes/v_2/types/billing_note_optional"
|
7
6
|
require_relative "candidhealth/billing_notes/v_2/types/billing_note"
|
8
7
|
require_relative "candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_page"
|
9
8
|
require_relative "candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation"
|
@@ -63,6 +62,11 @@ require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider"
|
|
63
62
|
require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider_update"
|
64
63
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider"
|
65
64
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update"
|
65
|
+
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address"
|
66
|
+
require_relative "candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address"
|
67
|
+
require_relative "candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address"
|
68
|
+
require_relative "candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address"
|
69
|
+
require_relative "candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address"
|
66
70
|
require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider"
|
67
71
|
require_relative "candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter"
|
68
72
|
require_relative "candidhealth/encounters/v_4/types/encounter_base"
|
@@ -393,6 +397,8 @@ require_relative "candidhealth/commons/types/date_range_optional_end"
|
|
393
397
|
require_relative "candidhealth/commons/types/removable_date_range_optional_end"
|
394
398
|
require_relative "candidhealth/commons/types/resource_page"
|
395
399
|
require_relative "candidhealth/commons/types/street_address_base"
|
400
|
+
require_relative "candidhealth/commons/types/street_address_optional_base"
|
401
|
+
require_relative "candidhealth/commons/types/street_address_short_zip_optional"
|
396
402
|
require_relative "candidhealth/commons/types/street_address_short_zip"
|
397
403
|
require_relative "candidhealth/commons/types/street_address_long_zip"
|
398
404
|
require_relative "candidhealth/commons/types/regions"
|
@@ -467,12 +473,14 @@ require_relative "candidhealth/individual/types/patient_non_insurance_payer_info
|
|
467
473
|
require_relative "candidhealth/individual/types/patient_create"
|
468
474
|
require_relative "candidhealth/individual/types/patient_update"
|
469
475
|
require_relative "candidhealth/individual/types/patient_base"
|
476
|
+
require_relative "candidhealth/individual/types/patient_update_with_optional_address"
|
470
477
|
require_relative "candidhealth/individual/types/patient"
|
471
478
|
require_relative "candidhealth/individual/types/gender"
|
472
479
|
require_relative "candidhealth/invoices/types/invoice"
|
473
480
|
require_relative "candidhealth/invoices/types/invoice_item"
|
474
481
|
require_relative "candidhealth/invoices/types/invoice_status"
|
475
482
|
require_relative "candidhealth/service_facility/types/encounter_service_facility_base"
|
483
|
+
require_relative "candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address"
|
476
484
|
require_relative "candidhealth/service_facility/types/encounter_service_facility"
|
477
485
|
require_relative "candidhealth/service_facility/types/encounter_service_facility_update"
|
478
486
|
require_relative "candidhealth/tags/types/tag_create"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -139,7 +139,6 @@ files:
|
|
139
139
|
- lib/candidhealth/billing_notes/v_2/client.rb
|
140
140
|
- lib/candidhealth/billing_notes/v_2/types/billing_note.rb
|
141
141
|
- lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb
|
142
|
-
- lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb
|
143
142
|
- lib/candidhealth/charge_capture/client.rb
|
144
143
|
- lib/candidhealth/charge_capture/v_1/client.rb
|
145
144
|
- lib/candidhealth/charge_capture/v_1/types/charge_capture.rb
|
@@ -198,7 +197,9 @@ files:
|
|
198
197
|
- lib/candidhealth/commons/types/state.rb
|
199
198
|
- lib/candidhealth/commons/types/street_address_base.rb
|
200
199
|
- lib/candidhealth/commons/types/street_address_long_zip.rb
|
200
|
+
- lib/candidhealth/commons/types/street_address_optional_base.rb
|
201
201
|
- lib/candidhealth/commons/types/street_address_short_zip.rb
|
202
|
+
- lib/candidhealth/commons/types/street_address_short_zip_optional.rb
|
202
203
|
- lib/candidhealth/commons/types/unauthorized_error_message.rb
|
203
204
|
- lib/candidhealth/commons/types/unprocessable_entity_error_message.rb
|
204
205
|
- lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb
|
@@ -248,18 +249,23 @@ files:
|
|
248
249
|
- lib/candidhealth/encounter_providers/v_2/client.rb
|
249
250
|
- lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb
|
250
251
|
- lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb
|
252
|
+
- lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb
|
251
253
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb
|
252
254
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb
|
253
255
|
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider.rb
|
254
256
|
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb
|
257
|
+
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb
|
255
258
|
- lib/candidhealth/encounter_providers/v_2/types/ordering_provider.rb
|
256
259
|
- lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb
|
257
260
|
- lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb
|
258
261
|
- lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb
|
262
|
+
- lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb
|
259
263
|
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb
|
260
264
|
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update.rb
|
265
|
+
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb
|
261
266
|
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider.rb
|
262
267
|
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb
|
268
|
+
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb
|
263
269
|
- lib/candidhealth/encounters/client.rb
|
264
270
|
- lib/candidhealth/encounters/v_4/client.rb
|
265
271
|
- lib/candidhealth/encounters/v_4/types/billable_status_type.rb
|
@@ -422,6 +428,7 @@ files:
|
|
422
428
|
- lib/candidhealth/individual/types/patient_non_insurance_payer_info.rb
|
423
429
|
- lib/candidhealth/individual/types/patient_non_insurance_payer_info_create.rb
|
424
430
|
- lib/candidhealth/individual/types/patient_update.rb
|
431
|
+
- lib/candidhealth/individual/types/patient_update_with_optional_address.rb
|
425
432
|
- lib/candidhealth/individual/types/subscriber.rb
|
426
433
|
- lib/candidhealth/individual/types/subscriber_base.rb
|
427
434
|
- lib/candidhealth/individual/types/subscriber_create.rb
|
@@ -666,6 +673,7 @@ files:
|
|
666
673
|
- lib/candidhealth/service_facility/types/encounter_service_facility.rb
|
667
674
|
- lib/candidhealth/service_facility/types/encounter_service_facility_base.rb
|
668
675
|
- lib/candidhealth/service_facility/types/encounter_service_facility_update.rb
|
676
|
+
- lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb
|
669
677
|
- lib/candidhealth/service_lines/client.rb
|
670
678
|
- lib/candidhealth/service_lines/v_2/client.rb
|
671
679
|
- lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb
|
@@ -1,112 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "date"
|
4
|
-
require "ostruct"
|
5
|
-
require "json"
|
6
|
-
|
7
|
-
module CandidApiClient
|
8
|
-
module BillingNotes
|
9
|
-
module V2
|
10
|
-
module Types
|
11
|
-
class BillingNoteOptional
|
12
|
-
# @return [String]
|
13
|
-
attr_reader :billing_note_id
|
14
|
-
# @return [String]
|
15
|
-
attr_reader :encounter_id
|
16
|
-
# @return [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
17
|
-
# For example, 2017-07-21T17:32:28Z.
|
18
|
-
attr_reader :created_at
|
19
|
-
# @return [String]
|
20
|
-
attr_reader :author_auth_0_id
|
21
|
-
# @return [String]
|
22
|
-
attr_reader :author_name
|
23
|
-
# @return [String] Empty string not allowed.
|
24
|
-
attr_reader :text
|
25
|
-
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
26
|
-
attr_reader :additional_properties
|
27
|
-
# @return [Object]
|
28
|
-
attr_reader :_field_set
|
29
|
-
protected :_field_set
|
30
|
-
|
31
|
-
OMIT = Object.new
|
32
|
-
|
33
|
-
# @param billing_note_id [String]
|
34
|
-
# @param encounter_id [String]
|
35
|
-
# @param created_at [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
36
|
-
# For example, 2017-07-21T17:32:28Z.
|
37
|
-
# @param author_auth_0_id [String]
|
38
|
-
# @param author_name [String]
|
39
|
-
# @param text [String] Empty string not allowed.
|
40
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
41
|
-
# @return [CandidApiClient::BillingNotes::V2::Types::BillingNoteOptional]
|
42
|
-
def initialize(billing_note_id:, created_at:, text:, encounter_id: OMIT, author_auth_0_id: OMIT,
|
43
|
-
author_name: OMIT, additional_properties: nil)
|
44
|
-
@billing_note_id = billing_note_id
|
45
|
-
@encounter_id = encounter_id if encounter_id != OMIT
|
46
|
-
@created_at = created_at
|
47
|
-
@author_auth_0_id = author_auth_0_id if author_auth_0_id != OMIT
|
48
|
-
@author_name = author_name if author_name != OMIT
|
49
|
-
@text = text
|
50
|
-
@additional_properties = additional_properties
|
51
|
-
@_field_set = {
|
52
|
-
"billing_note_id": billing_note_id,
|
53
|
-
"encounter_id": encounter_id,
|
54
|
-
"created_at": created_at,
|
55
|
-
"author_auth0_id": author_auth_0_id,
|
56
|
-
"author_name": author_name,
|
57
|
-
"text": text
|
58
|
-
}.reject do |_k, v|
|
59
|
-
v == OMIT
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
# Deserialize a JSON object to an instance of BillingNoteOptional
|
64
|
-
#
|
65
|
-
# @param json_object [String]
|
66
|
-
# @return [CandidApiClient::BillingNotes::V2::Types::BillingNoteOptional]
|
67
|
-
def self.from_json(json_object:)
|
68
|
-
struct = JSON.parse(json_object, object_class: OpenStruct)
|
69
|
-
parsed_json = JSON.parse(json_object)
|
70
|
-
billing_note_id = struct["billing_note_id"]
|
71
|
-
encounter_id = struct["encounter_id"]
|
72
|
-
created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
|
73
|
-
author_auth_0_id = struct["author_auth0_id"]
|
74
|
-
author_name = struct["author_name"]
|
75
|
-
text = struct["text"]
|
76
|
-
new(
|
77
|
-
billing_note_id: billing_note_id,
|
78
|
-
encounter_id: encounter_id,
|
79
|
-
created_at: created_at,
|
80
|
-
author_auth_0_id: author_auth_0_id,
|
81
|
-
author_name: author_name,
|
82
|
-
text: text,
|
83
|
-
additional_properties: struct
|
84
|
-
)
|
85
|
-
end
|
86
|
-
|
87
|
-
# Serialize an instance of BillingNoteOptional to a JSON object
|
88
|
-
#
|
89
|
-
# @return [String]
|
90
|
-
def to_json(*_args)
|
91
|
-
@_field_set&.to_json
|
92
|
-
end
|
93
|
-
|
94
|
-
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
95
|
-
# hash and check each fields type against the current object's property
|
96
|
-
# definitions.
|
97
|
-
#
|
98
|
-
# @param obj [Object]
|
99
|
-
# @return [Void]
|
100
|
-
def self.validate_raw(obj:)
|
101
|
-
obj.billing_note_id.is_a?(String) != false || raise("Passed value for field obj.billing_note_id is not the expected type, validation failed.")
|
102
|
-
obj.encounter_id&.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
103
|
-
obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
|
104
|
-
obj.author_auth_0_id&.is_a?(String) != false || raise("Passed value for field obj.author_auth_0_id is not the expected type, validation failed.")
|
105
|
-
obj.author_name&.is_a?(String) != false || raise("Passed value for field obj.author_name is not the expected type, validation failed.")
|
106
|
-
obj.text.is_a?(String) != false || raise("Passed value for field obj.text is not the expected type, validation failed.")
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
112
|
-
end
|