candidhealth 1.9.1 → 1.11.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/encounters/v_4/types/report_transmission_code.rb +1 -0
- data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +4 -0
- data/lib/candidhealth/pre_encounter/common/types/external_provider.rb +14 -2
- data/lib/candidhealth/pre_encounter/common/types/patient_service_facility.rb +62 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +12 -6
- data/lib/candidhealth/pre_encounter/patients/v_1/types/do_not_invoice_reason.rb +3 -0
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +4 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +4 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +8 -8
- data/lib/candidhealth/pre_encounter/patients/v_1/types/referral.rb +50 -2
- data/lib/candidhealth/pre_encounter/patients/v_1/types/referral_unit.rb +16 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +2 -1
- metadata +4 -3
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient_service_facility.rb +0 -63
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31b6231c8e26367d488f3d2dbc1ce3487be71f182d84e6ab0d49276d778600ac
|
|
4
|
+
data.tar.gz: 805df1294c4ad24c4b518bd586cb22a8871983262781a55a30f2a0858966fe66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 646c4f460ef492472257e808538494fc269c46596b27d17859dcefd2a9018933e8ed68a41d1dd01ad7b050cb573b5efe8e2eec0305c527af7df9e20951085de8
|
|
7
|
+
data.tar.gz: 21410877da66286ea1b465d9b844ccb4304d506474b917ce81be389bb54c8db0cf73979bf0a1864fea9f180364c09a5b3d5b2a424a7d6f28df1110208e469484
|
|
@@ -51,6 +51,7 @@ module CandidApiClient
|
|
|
51
51
|
# * :end_ (Date)
|
|
52
52
|
# * :canonical_id (String)
|
|
53
53
|
# * :fax (String)
|
|
54
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
54
55
|
# * :estimated_copay_cents (Integer)
|
|
55
56
|
# * :estimated_patient_responsibility_cents (Integer)
|
|
56
57
|
# * :patient_deposit_cents (Integer)
|
|
@@ -201,6 +202,7 @@ module CandidApiClient
|
|
|
201
202
|
# * :end_ (Date)
|
|
202
203
|
# * :canonical_id (String)
|
|
203
204
|
# * :fax (String)
|
|
205
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
204
206
|
# * :estimated_copay_cents (Integer)
|
|
205
207
|
# * :estimated_patient_responsibility_cents (Integer)
|
|
206
208
|
# * :patient_deposit_cents (Integer)
|
|
@@ -329,6 +331,7 @@ module CandidApiClient
|
|
|
329
331
|
# * :end_ (Date)
|
|
330
332
|
# * :canonical_id (String)
|
|
331
333
|
# * :fax (String)
|
|
334
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
332
335
|
# * :estimated_copay_cents (Integer)
|
|
333
336
|
# * :estimated_patient_responsibility_cents (Integer)
|
|
334
337
|
# * :patient_deposit_cents (Integer)
|
|
@@ -487,6 +490,7 @@ module CandidApiClient
|
|
|
487
490
|
# * :end_ (Date)
|
|
488
491
|
# * :canonical_id (String)
|
|
489
492
|
# * :fax (String)
|
|
493
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
490
494
|
# * :estimated_copay_cents (Integer)
|
|
491
495
|
# * :estimated_patient_responsibility_cents (Integer)
|
|
492
496
|
# * :patient_deposit_cents (Integer)
|
|
@@ -5,6 +5,7 @@ require_relative "external_provider_type"
|
|
|
5
5
|
require_relative "contact_point"
|
|
6
6
|
require_relative "address"
|
|
7
7
|
require_relative "period"
|
|
8
|
+
require_relative "patient_service_facility"
|
|
8
9
|
require "ostruct"
|
|
9
10
|
require "json"
|
|
10
11
|
|
|
@@ -29,6 +30,8 @@ module CandidApiClient
|
|
|
29
30
|
attr_reader :canonical_id
|
|
30
31
|
# @return [String]
|
|
31
32
|
attr_reader :fax
|
|
33
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this provider.
|
|
34
|
+
attr_reader :service_facilities
|
|
32
35
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
33
36
|
attr_reader :additional_properties
|
|
34
37
|
# @return [Object]
|
|
@@ -45,10 +48,11 @@ module CandidApiClient
|
|
|
45
48
|
# @param period [CandidApiClient::PreEncounter::Common::Types::Period]
|
|
46
49
|
# @param canonical_id [String]
|
|
47
50
|
# @param fax [String]
|
|
51
|
+
# @param service_facilities [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this provider.
|
|
48
52
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
49
53
|
# @return [CandidApiClient::PreEncounter::Common::Types::ExternalProvider]
|
|
50
54
|
def initialize(name:, telecoms:, type: OMIT, npi: OMIT, addresses: OMIT, period: OMIT, canonical_id: OMIT,
|
|
51
|
-
fax: OMIT, additional_properties: nil)
|
|
55
|
+
fax: OMIT, service_facilities: OMIT, additional_properties: nil)
|
|
52
56
|
@name = name
|
|
53
57
|
@type = type if type != OMIT
|
|
54
58
|
@npi = npi if npi != OMIT
|
|
@@ -57,6 +61,7 @@ module CandidApiClient
|
|
|
57
61
|
@period = period if period != OMIT
|
|
58
62
|
@canonical_id = canonical_id if canonical_id != OMIT
|
|
59
63
|
@fax = fax if fax != OMIT
|
|
64
|
+
@service_facilities = service_facilities if service_facilities != OMIT
|
|
60
65
|
@additional_properties = additional_properties
|
|
61
66
|
@_field_set = {
|
|
62
67
|
"name": name,
|
|
@@ -66,7 +71,8 @@ module CandidApiClient
|
|
|
66
71
|
"addresses": addresses,
|
|
67
72
|
"period": period,
|
|
68
73
|
"canonical_id": canonical_id,
|
|
69
|
-
"fax": fax
|
|
74
|
+
"fax": fax,
|
|
75
|
+
"service_facilities": service_facilities
|
|
70
76
|
}.reject do |_k, v|
|
|
71
77
|
v == OMIT
|
|
72
78
|
end
|
|
@@ -103,6 +109,10 @@ module CandidApiClient
|
|
|
103
109
|
end
|
|
104
110
|
canonical_id = struct["canonical_id"]
|
|
105
111
|
fax = struct["fax"]
|
|
112
|
+
service_facilities = parsed_json["service_facilities"]&.map do |item|
|
|
113
|
+
item = item.to_json
|
|
114
|
+
CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.from_json(json_object: item)
|
|
115
|
+
end
|
|
106
116
|
new(
|
|
107
117
|
name: name,
|
|
108
118
|
type: type,
|
|
@@ -112,6 +122,7 @@ module CandidApiClient
|
|
|
112
122
|
period: period,
|
|
113
123
|
canonical_id: canonical_id,
|
|
114
124
|
fax: fax,
|
|
125
|
+
service_facilities: service_facilities,
|
|
115
126
|
additional_properties: struct
|
|
116
127
|
)
|
|
117
128
|
end
|
|
@@ -138,6 +149,7 @@ module CandidApiClient
|
|
|
138
149
|
obj.period.nil? || CandidApiClient::PreEncounter::Common::Types::Period.validate_raw(obj: obj.period)
|
|
139
150
|
obj.canonical_id&.is_a?(String) != false || raise("Passed value for field obj.canonical_id is not the expected type, validation failed.")
|
|
140
151
|
obj.fax&.is_a?(String) != false || raise("Passed value for field obj.fax is not the expected type, validation failed.")
|
|
152
|
+
obj.service_facilities&.is_a?(Array) != false || raise("Passed value for field obj.service_facilities is not the expected type, validation failed.")
|
|
141
153
|
end
|
|
142
154
|
end
|
|
143
155
|
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "ostruct"
|
|
4
|
+
require "json"
|
|
5
|
+
|
|
6
|
+
module CandidApiClient
|
|
7
|
+
module PreEncounter
|
|
8
|
+
module Common
|
|
9
|
+
module Types
|
|
10
|
+
# Represents a canonical service facility attached to a patient or patient
|
|
11
|
+
# dependent object
|
|
12
|
+
class PatientServiceFacility
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_reader :service_facility_id
|
|
15
|
+
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
16
|
+
attr_reader :additional_properties
|
|
17
|
+
# @return [Object]
|
|
18
|
+
attr_reader :_field_set
|
|
19
|
+
protected :_field_set
|
|
20
|
+
|
|
21
|
+
OMIT = Object.new
|
|
22
|
+
|
|
23
|
+
# @param service_facility_id [String]
|
|
24
|
+
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
25
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility]
|
|
26
|
+
def initialize(service_facility_id:, additional_properties: nil)
|
|
27
|
+
@service_facility_id = service_facility_id
|
|
28
|
+
@additional_properties = additional_properties
|
|
29
|
+
@_field_set = { "service_facility_id": service_facility_id }
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Deserialize a JSON object to an instance of PatientServiceFacility
|
|
33
|
+
#
|
|
34
|
+
# @param json_object [String]
|
|
35
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility]
|
|
36
|
+
def self.from_json(json_object:)
|
|
37
|
+
struct = JSON.parse(json_object, object_class: OpenStruct)
|
|
38
|
+
service_facility_id = struct["service_facility_id"]
|
|
39
|
+
new(service_facility_id: service_facility_id, additional_properties: struct)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Serialize an instance of PatientServiceFacility to a JSON object
|
|
43
|
+
#
|
|
44
|
+
# @return [String]
|
|
45
|
+
def to_json(*_args)
|
|
46
|
+
@_field_set&.to_json
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
|
50
|
+
# hash and check each fields type against the current object's property
|
|
51
|
+
# definitions.
|
|
52
|
+
#
|
|
53
|
+
# @param obj [Object]
|
|
54
|
+
# @return [Void]
|
|
55
|
+
def self.validate_raw(obj:)
|
|
56
|
+
obj.service_facility_id.is_a?(String) != false || raise("Passed value for field obj.service_facility_id is not the expected type, validation failed.")
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -114,7 +114,7 @@ module CandidApiClient
|
|
|
114
114
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
115
115
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
116
116
|
# * :primary_service_facility_id (String)
|
|
117
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
117
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
118
118
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
119
119
|
# * :note_ids (Array<String>)
|
|
120
120
|
# * :tag_ids (Array<String>)
|
|
@@ -138,6 +138,7 @@ module CandidApiClient
|
|
|
138
138
|
# * :end_ (Date)
|
|
139
139
|
# * :canonical_id (String)
|
|
140
140
|
# * :fax (String)
|
|
141
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
141
142
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
142
143
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
143
144
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -260,7 +261,7 @@ module CandidApiClient
|
|
|
260
261
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
261
262
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
262
263
|
# * :primary_service_facility_id (String)
|
|
263
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
264
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
264
265
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
265
266
|
# * :note_ids (Array<String>)
|
|
266
267
|
# * :tag_ids (Array<String>)
|
|
@@ -284,6 +285,7 @@ module CandidApiClient
|
|
|
284
285
|
# * :end_ (Date)
|
|
285
286
|
# * :canonical_id (String)
|
|
286
287
|
# * :fax (String)
|
|
288
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
287
289
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
288
290
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
289
291
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -550,7 +552,7 @@ module CandidApiClient
|
|
|
550
552
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
551
553
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
552
554
|
# * :primary_service_facility_id (String)
|
|
553
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
555
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
554
556
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
555
557
|
# * :note_ids (Array<String>)
|
|
556
558
|
# * :tag_ids (Array<String>)
|
|
@@ -574,6 +576,7 @@ module CandidApiClient
|
|
|
574
576
|
# * :end_ (Date)
|
|
575
577
|
# * :canonical_id (String)
|
|
576
578
|
# * :fax (String)
|
|
579
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
577
580
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
578
581
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
579
582
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -816,7 +819,7 @@ module CandidApiClient
|
|
|
816
819
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
817
820
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
818
821
|
# * :primary_service_facility_id (String)
|
|
819
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
822
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
820
823
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
821
824
|
# * :note_ids (Array<String>)
|
|
822
825
|
# * :tag_ids (Array<String>)
|
|
@@ -840,6 +843,7 @@ module CandidApiClient
|
|
|
840
843
|
# * :end_ (Date)
|
|
841
844
|
# * :canonical_id (String)
|
|
842
845
|
# * :fax (String)
|
|
846
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
843
847
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
844
848
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
845
849
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -964,7 +968,7 @@ module CandidApiClient
|
|
|
964
968
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
965
969
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
966
970
|
# * :primary_service_facility_id (String)
|
|
967
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
971
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
968
972
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
969
973
|
# * :note_ids (Array<String>)
|
|
970
974
|
# * :tag_ids (Array<String>)
|
|
@@ -988,6 +992,7 @@ module CandidApiClient
|
|
|
988
992
|
# * :end_ (Date)
|
|
989
993
|
# * :canonical_id (String)
|
|
990
994
|
# * :fax (String)
|
|
995
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
991
996
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
992
997
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
993
998
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -1266,7 +1271,7 @@ module CandidApiClient
|
|
|
1266
1271
|
# * :authorizations (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>)
|
|
1267
1272
|
# * :referrals (Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>)
|
|
1268
1273
|
# * :primary_service_facility_id (String)
|
|
1269
|
-
# * :service_facilities (Array<CandidApiClient::PreEncounter::
|
|
1274
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
1270
1275
|
# * :do_not_invoice_reason (CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason)
|
|
1271
1276
|
# * :note_ids (Array<String>)
|
|
1272
1277
|
# * :tag_ids (Array<String>)
|
|
@@ -1290,6 +1295,7 @@ module CandidApiClient
|
|
|
1290
1295
|
# * :end_ (Date)
|
|
1291
1296
|
# * :canonical_id (String)
|
|
1292
1297
|
# * :fax (String)
|
|
1298
|
+
# * :service_facilities (Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>)
|
|
1293
1299
|
# * :specialization_categories (Array<CandidApiClient::PreEncounter::Patients::V1::Types::SpecializationCategory>)
|
|
1294
1300
|
# * :referral_type (CandidApiClient::PreEncounter::Patients::V1::Types::ReferralType)
|
|
1295
1301
|
# * :inferred_patient_metadata (Hash)
|
|
@@ -20,7 +20,7 @@ require_relative "../../../common/types/canonical_non_insurance_payer_associatio
|
|
|
20
20
|
require_relative "guarantor"
|
|
21
21
|
require_relative "authorization"
|
|
22
22
|
require_relative "referral"
|
|
23
|
-
require_relative "patient_service_facility"
|
|
23
|
+
require_relative "../../../common/types/patient_service_facility"
|
|
24
24
|
require_relative "do_not_invoice_reason"
|
|
25
25
|
require_relative "origination_detail"
|
|
26
26
|
require_relative "inferred_patient_metadata"
|
|
@@ -106,7 +106,7 @@ module CandidApiClient
|
|
|
106
106
|
attr_reader :referrals
|
|
107
107
|
# @return [String]
|
|
108
108
|
attr_reader :primary_service_facility_id
|
|
109
|
-
# @return [Array<CandidApiClient::PreEncounter::
|
|
109
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
110
110
|
attr_reader :service_facilities
|
|
111
111
|
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
112
112
|
attr_reader :do_not_invoice_reason
|
|
@@ -164,7 +164,7 @@ module CandidApiClient
|
|
|
164
164
|
# @param authorizations [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>]
|
|
165
165
|
# @param referrals [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>]
|
|
166
166
|
# @param primary_service_facility_id [String]
|
|
167
|
-
# @param service_facilities [Array<CandidApiClient::PreEncounter::
|
|
167
|
+
# @param service_facilities [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
168
168
|
# @param do_not_invoice_reason [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
169
169
|
# @param note_ids [Array<String>]
|
|
170
170
|
# @param tag_ids [Array<String>]
|
|
@@ -365,7 +365,7 @@ module CandidApiClient
|
|
|
365
365
|
primary_service_facility_id = struct["primary_service_facility_id"]
|
|
366
366
|
service_facilities = parsed_json["service_facilities"]&.map do |item|
|
|
367
367
|
item = item.to_json
|
|
368
|
-
CandidApiClient::PreEncounter::
|
|
368
|
+
CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.from_json(json_object: item)
|
|
369
369
|
end
|
|
370
370
|
do_not_invoice_reason = struct["do_not_invoice_reason"]
|
|
371
371
|
note_ids = struct["note_ids"]
|
|
@@ -20,7 +20,7 @@ require_relative "../../../common/types/canonical_non_insurance_payer_associatio
|
|
|
20
20
|
require_relative "guarantor"
|
|
21
21
|
require_relative "authorization"
|
|
22
22
|
require_relative "referral"
|
|
23
|
-
require_relative "patient_service_facility"
|
|
23
|
+
require_relative "../../../common/types/patient_service_facility"
|
|
24
24
|
require_relative "do_not_invoice_reason"
|
|
25
25
|
require_relative "origination_detail"
|
|
26
26
|
require_relative "inferred_patient_metadata"
|
|
@@ -107,7 +107,7 @@ module CandidApiClient
|
|
|
107
107
|
attr_reader :referrals
|
|
108
108
|
# @return [String]
|
|
109
109
|
attr_reader :primary_service_facility_id
|
|
110
|
-
# @return [Array<CandidApiClient::PreEncounter::
|
|
110
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
111
111
|
attr_reader :service_facilities
|
|
112
112
|
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
113
113
|
attr_reader :do_not_invoice_reason
|
|
@@ -166,7 +166,7 @@ module CandidApiClient
|
|
|
166
166
|
# @param authorizations [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>]
|
|
167
167
|
# @param referrals [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>]
|
|
168
168
|
# @param primary_service_facility_id [String]
|
|
169
|
-
# @param service_facilities [Array<CandidApiClient::PreEncounter::
|
|
169
|
+
# @param service_facilities [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
170
170
|
# @param do_not_invoice_reason [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
171
171
|
# @param note_ids [Array<String>]
|
|
172
172
|
# @param tag_ids [Array<String>]
|
|
@@ -370,7 +370,7 @@ module CandidApiClient
|
|
|
370
370
|
primary_service_facility_id = struct["primary_service_facility_id"]
|
|
371
371
|
service_facilities = parsed_json["service_facilities"]&.map do |item|
|
|
372
372
|
item = item.to_json
|
|
373
|
-
CandidApiClient::PreEncounter::
|
|
373
|
+
CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.from_json(json_object: item)
|
|
374
374
|
end
|
|
375
375
|
do_not_invoice_reason = struct["do_not_invoice_reason"]
|
|
376
376
|
note_ids = struct["note_ids"]
|
|
@@ -20,7 +20,7 @@ require_relative "../../../common/types/canonical_non_insurance_payer_associatio
|
|
|
20
20
|
require_relative "guarantor"
|
|
21
21
|
require_relative "authorization"
|
|
22
22
|
require_relative "referral"
|
|
23
|
-
require_relative "patient_service_facility"
|
|
23
|
+
require_relative "../../../common/types/patient_service_facility"
|
|
24
24
|
require_relative "do_not_invoice_reason"
|
|
25
25
|
require_relative "origination_detail"
|
|
26
26
|
require_relative "inferred_patient_metadata"
|
|
@@ -38,8 +38,8 @@ module CandidApiClient
|
|
|
38
38
|
# contexts.
|
|
39
39
|
attr_reader :id
|
|
40
40
|
# @return [String] The medical record number for the patient. Human-friendly Candid generated MRNs
|
|
41
|
-
# are of the form "YYMMDDXXXX", where "
|
|
42
|
-
#
|
|
41
|
+
# are of the form "YYMMDDXXXX", where "YYMMDD" is the date of patient creation and
|
|
42
|
+
# "XXXX" is a zero-padded incrementing integer.
|
|
43
43
|
attr_reader :mrn
|
|
44
44
|
# @return [String] The organization that owns this object.
|
|
45
45
|
attr_reader :organization_id
|
|
@@ -125,7 +125,7 @@ module CandidApiClient
|
|
|
125
125
|
attr_reader :referrals
|
|
126
126
|
# @return [String]
|
|
127
127
|
attr_reader :primary_service_facility_id
|
|
128
|
-
# @return [Array<CandidApiClient::PreEncounter::
|
|
128
|
+
# @return [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
129
129
|
attr_reader :service_facilities
|
|
130
130
|
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
131
131
|
attr_reader :do_not_invoice_reason
|
|
@@ -148,8 +148,8 @@ module CandidApiClient
|
|
|
148
148
|
# @param id [String] The unique UUID identifier for a Patient. Patient ID is used in machine
|
|
149
149
|
# contexts.
|
|
150
150
|
# @param mrn [String] The medical record number for the patient. Human-friendly Candid generated MRNs
|
|
151
|
-
# are of the form "YYMMDDXXXX", where "
|
|
152
|
-
#
|
|
151
|
+
# are of the form "YYMMDDXXXX", where "YYMMDD" is the date of patient creation and
|
|
152
|
+
# "XXXX" is a zero-padded incrementing integer.
|
|
153
153
|
# @param organization_id [String] The organization that owns this object.
|
|
154
154
|
# @param deactivated [Boolean] True if the object is deactivated. Deactivated objects are not returned in
|
|
155
155
|
# search results but are returned in all other endpoints including scan.
|
|
@@ -195,7 +195,7 @@ module CandidApiClient
|
|
|
195
195
|
# @param authorizations [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Authorization>]
|
|
196
196
|
# @param referrals [Array<CandidApiClient::PreEncounter::Patients::V1::Types::Referral>]
|
|
197
197
|
# @param primary_service_facility_id [String]
|
|
198
|
-
# @param service_facilities [Array<CandidApiClient::PreEncounter::
|
|
198
|
+
# @param service_facilities [Array<CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility>] Associated service facilities for this patient.
|
|
199
199
|
# @param do_not_invoice_reason [CandidApiClient::PreEncounter::Patients::V1::Types::DoNotInvoiceReason] If this value is defined, the customer will not be invoiced.
|
|
200
200
|
# @param note_ids [Array<String>]
|
|
201
201
|
# @param tag_ids [Array<String>]
|
|
@@ -417,7 +417,7 @@ module CandidApiClient
|
|
|
417
417
|
primary_service_facility_id = struct["primary_service_facility_id"]
|
|
418
418
|
service_facilities = parsed_json["service_facilities"]&.map do |item|
|
|
419
419
|
item = item.to_json
|
|
420
|
-
CandidApiClient::PreEncounter::
|
|
420
|
+
CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.from_json(json_object: item)
|
|
421
421
|
end
|
|
422
422
|
do_not_invoice_reason = struct["do_not_invoice_reason"]
|
|
423
423
|
note_ids = struct["note_ids"]
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative "../../../common/types/external_provider"
|
|
4
4
|
require_relative "../../../common/types/period"
|
|
5
|
+
require_relative "../../../common/types/patient_service_facility"
|
|
6
|
+
require_relative "referral_unit"
|
|
5
7
|
require "ostruct"
|
|
6
8
|
require "json"
|
|
7
9
|
|
|
@@ -19,6 +21,16 @@ module CandidApiClient
|
|
|
19
21
|
attr_reader :period
|
|
20
22
|
# @return [String]
|
|
21
23
|
attr_reader :notes
|
|
24
|
+
# @return [CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility]
|
|
25
|
+
attr_reader :service_facility
|
|
26
|
+
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::ReferralUnit]
|
|
27
|
+
attr_reader :units
|
|
28
|
+
# @return [Integer]
|
|
29
|
+
attr_reader :quantity
|
|
30
|
+
# @return [Array<String>]
|
|
31
|
+
attr_reader :cpt_codes
|
|
32
|
+
# @return [Boolean]
|
|
33
|
+
attr_reader :apply_for_all_cpt_codes
|
|
22
34
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
23
35
|
attr_reader :additional_properties
|
|
24
36
|
# @return [Object]
|
|
@@ -31,19 +43,35 @@ module CandidApiClient
|
|
|
31
43
|
# @param referral_number [String]
|
|
32
44
|
# @param period [CandidApiClient::PreEncounter::Common::Types::Period]
|
|
33
45
|
# @param notes [String]
|
|
46
|
+
# @param service_facility [CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility]
|
|
47
|
+
# @param units [CandidApiClient::PreEncounter::Patients::V1::Types::ReferralUnit]
|
|
48
|
+
# @param quantity [Integer]
|
|
49
|
+
# @param cpt_codes [Array<String>]
|
|
50
|
+
# @param apply_for_all_cpt_codes [Boolean]
|
|
34
51
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
35
52
|
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::Referral]
|
|
36
|
-
def initialize(provider:, referral_number:, period: OMIT, notes: OMIT,
|
|
53
|
+
def initialize(provider:, referral_number:, period: OMIT, notes: OMIT, service_facility: OMIT, units: OMIT,
|
|
54
|
+
quantity: OMIT, cpt_codes: OMIT, apply_for_all_cpt_codes: OMIT, additional_properties: nil)
|
|
37
55
|
@provider = provider
|
|
38
56
|
@referral_number = referral_number
|
|
39
57
|
@period = period if period != OMIT
|
|
40
58
|
@notes = notes if notes != OMIT
|
|
59
|
+
@service_facility = service_facility if service_facility != OMIT
|
|
60
|
+
@units = units if units != OMIT
|
|
61
|
+
@quantity = quantity if quantity != OMIT
|
|
62
|
+
@cpt_codes = cpt_codes if cpt_codes != OMIT
|
|
63
|
+
@apply_for_all_cpt_codes = apply_for_all_cpt_codes if apply_for_all_cpt_codes != OMIT
|
|
41
64
|
@additional_properties = additional_properties
|
|
42
65
|
@_field_set = {
|
|
43
66
|
"provider": provider,
|
|
44
67
|
"referral_number": referral_number,
|
|
45
68
|
"period": period,
|
|
46
|
-
"notes": notes
|
|
69
|
+
"notes": notes,
|
|
70
|
+
"serviceFacility": service_facility,
|
|
71
|
+
"units": units,
|
|
72
|
+
"quantity": quantity,
|
|
73
|
+
"cptCodes": cpt_codes,
|
|
74
|
+
"applyForAllCptCodes": apply_for_all_cpt_codes
|
|
47
75
|
}.reject do |_k, v|
|
|
48
76
|
v == OMIT
|
|
49
77
|
end
|
|
@@ -70,11 +98,26 @@ module CandidApiClient
|
|
|
70
98
|
period = CandidApiClient::PreEncounter::Common::Types::Period.from_json(json_object: period)
|
|
71
99
|
end
|
|
72
100
|
notes = struct["notes"]
|
|
101
|
+
if parsed_json["serviceFacility"].nil?
|
|
102
|
+
service_facility = nil
|
|
103
|
+
else
|
|
104
|
+
service_facility = parsed_json["serviceFacility"].to_json
|
|
105
|
+
service_facility = CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.from_json(json_object: service_facility)
|
|
106
|
+
end
|
|
107
|
+
units = struct["units"]
|
|
108
|
+
quantity = struct["quantity"]
|
|
109
|
+
cpt_codes = struct["cptCodes"]
|
|
110
|
+
apply_for_all_cpt_codes = struct["applyForAllCptCodes"]
|
|
73
111
|
new(
|
|
74
112
|
provider: provider,
|
|
75
113
|
referral_number: referral_number,
|
|
76
114
|
period: period,
|
|
77
115
|
notes: notes,
|
|
116
|
+
service_facility: service_facility,
|
|
117
|
+
units: units,
|
|
118
|
+
quantity: quantity,
|
|
119
|
+
cpt_codes: cpt_codes,
|
|
120
|
+
apply_for_all_cpt_codes: apply_for_all_cpt_codes,
|
|
78
121
|
additional_properties: struct
|
|
79
122
|
)
|
|
80
123
|
end
|
|
@@ -97,6 +140,11 @@ module CandidApiClient
|
|
|
97
140
|
obj.referral_number.is_a?(String) != false || raise("Passed value for field obj.referral_number is not the expected type, validation failed.")
|
|
98
141
|
obj.period.nil? || CandidApiClient::PreEncounter::Common::Types::Period.validate_raw(obj: obj.period)
|
|
99
142
|
obj.notes&.is_a?(String) != false || raise("Passed value for field obj.notes is not the expected type, validation failed.")
|
|
143
|
+
obj.service_facility.nil? || CandidApiClient::PreEncounter::Common::Types::PatientServiceFacility.validate_raw(obj: obj.service_facility)
|
|
144
|
+
obj.units&.is_a?(CandidApiClient::PreEncounter::Patients::V1::Types::ReferralUnit) != false || raise("Passed value for field obj.units is not the expected type, validation failed.")
|
|
145
|
+
obj.quantity&.is_a?(Integer) != false || raise("Passed value for field obj.quantity is not the expected type, validation failed.")
|
|
146
|
+
obj.cpt_codes&.is_a?(Array) != false || raise("Passed value for field obj.cpt_codes is not the expected type, validation failed.")
|
|
147
|
+
obj.apply_for_all_cpt_codes&.is_a?(Boolean) != false || raise("Passed value for field obj.apply_for_all_cpt_codes is not the expected type, validation failed.")
|
|
100
148
|
end
|
|
101
149
|
end
|
|
102
150
|
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": "1.
|
|
48
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.11.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": "1.
|
|
93
|
+
headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.11.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
|
@@ -506,13 +506,13 @@ require_relative "candidhealth/pre_encounter/patients/v_1/types/patient"
|
|
|
506
506
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/patient_page"
|
|
507
507
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/authorization_unit"
|
|
508
508
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/authorization"
|
|
509
|
+
require_relative "candidhealth/pre_encounter/patients/v_1/types/referral_unit"
|
|
509
510
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/referral"
|
|
510
511
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/guarantor"
|
|
511
512
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/referral_source"
|
|
512
513
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/referral_type"
|
|
513
514
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/specialization_category"
|
|
514
515
|
require_relative "candidhealth/pre_encounter/patients/v_1/types/origination_detail"
|
|
515
|
-
require_relative "candidhealth/pre_encounter/patients/v_1/types/patient_service_facility"
|
|
516
516
|
require_relative "candidhealth/pre_encounter/tags/v_1/types/mutable_tag"
|
|
517
517
|
require_relative "candidhealth/pre_encounter/tags/v_1/types/tag"
|
|
518
518
|
require_relative "candidhealth/pre_encounter/tags/v_1/types/tag_page"
|
|
@@ -633,6 +633,7 @@ require_relative "candidhealth/pre_encounter/common/types/base_model"
|
|
|
633
633
|
require_relative "candidhealth/pre_encounter/common/types/external_identifier"
|
|
634
634
|
require_relative "candidhealth/pre_encounter/common/types/canonical_non_insurance_payer_association"
|
|
635
635
|
require_relative "candidhealth/pre_encounter/common/types/canonical_clinical_trial_association"
|
|
636
|
+
require_relative "candidhealth/pre_encounter/common/types/patient_service_facility"
|
|
636
637
|
require_relative "candidhealth/pre_encounter/common/types/relationship"
|
|
637
638
|
require_relative "candidhealth/pre_encounter/common/types/gender"
|
|
638
639
|
require_relative "candidhealth/pre_encounter/common/types/sex"
|
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: 1.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ''
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: async-http-faraday
|
|
@@ -680,6 +680,7 @@ files:
|
|
|
680
680
|
- lib/candidhealth/pre_encounter/common/types/gender.rb
|
|
681
681
|
- lib/candidhealth/pre_encounter/common/types/human_name.rb
|
|
682
682
|
- lib/candidhealth/pre_encounter/common/types/name_use.rb
|
|
683
|
+
- lib/candidhealth/pre_encounter/common/types/patient_service_facility.rb
|
|
683
684
|
- lib/candidhealth/pre_encounter/common/types/period.rb
|
|
684
685
|
- lib/candidhealth/pre_encounter/common/types/race.rb
|
|
685
686
|
- lib/candidhealth/pre_encounter/common/types/relationship.rb
|
|
@@ -782,10 +783,10 @@ files:
|
|
|
782
783
|
- lib/candidhealth/pre_encounter/patients/v_1/types/origination_detail.rb
|
|
783
784
|
- lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb
|
|
784
785
|
- lib/candidhealth/pre_encounter/patients/v_1/types/patient_page.rb
|
|
785
|
-
- lib/candidhealth/pre_encounter/patients/v_1/types/patient_service_facility.rb
|
|
786
786
|
- lib/candidhealth/pre_encounter/patients/v_1/types/referral.rb
|
|
787
787
|
- lib/candidhealth/pre_encounter/patients/v_1/types/referral_source.rb
|
|
788
788
|
- lib/candidhealth/pre_encounter/patients/v_1/types/referral_type.rb
|
|
789
|
+
- lib/candidhealth/pre_encounter/patients/v_1/types/referral_unit.rb
|
|
789
790
|
- lib/candidhealth/pre_encounter/patients/v_1/types/specialization_category.rb
|
|
790
791
|
- lib/candidhealth/pre_encounter/tags/client.rb
|
|
791
792
|
- lib/candidhealth/pre_encounter/tags/v_1/client.rb
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "ostruct"
|
|
4
|
-
require "json"
|
|
5
|
-
|
|
6
|
-
module CandidApiClient
|
|
7
|
-
module PreEncounter
|
|
8
|
-
module Patients
|
|
9
|
-
module V1
|
|
10
|
-
module Types
|
|
11
|
-
# Represents a canonical service facility which is associated with a patient.
|
|
12
|
-
class PatientServiceFacility
|
|
13
|
-
# @return [String]
|
|
14
|
-
attr_reader :service_facility_id
|
|
15
|
-
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
16
|
-
attr_reader :additional_properties
|
|
17
|
-
# @return [Object]
|
|
18
|
-
attr_reader :_field_set
|
|
19
|
-
protected :_field_set
|
|
20
|
-
|
|
21
|
-
OMIT = Object.new
|
|
22
|
-
|
|
23
|
-
# @param service_facility_id [String]
|
|
24
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
25
|
-
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::PatientServiceFacility]
|
|
26
|
-
def initialize(service_facility_id:, additional_properties: nil)
|
|
27
|
-
@service_facility_id = service_facility_id
|
|
28
|
-
@additional_properties = additional_properties
|
|
29
|
-
@_field_set = { "service_facility_id": service_facility_id }
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# Deserialize a JSON object to an instance of PatientServiceFacility
|
|
33
|
-
#
|
|
34
|
-
# @param json_object [String]
|
|
35
|
-
# @return [CandidApiClient::PreEncounter::Patients::V1::Types::PatientServiceFacility]
|
|
36
|
-
def self.from_json(json_object:)
|
|
37
|
-
struct = JSON.parse(json_object, object_class: OpenStruct)
|
|
38
|
-
service_facility_id = struct["service_facility_id"]
|
|
39
|
-
new(service_facility_id: service_facility_id, additional_properties: struct)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
# Serialize an instance of PatientServiceFacility to a JSON object
|
|
43
|
-
#
|
|
44
|
-
# @return [String]
|
|
45
|
-
def to_json(*_args)
|
|
46
|
-
@_field_set&.to_json
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
|
50
|
-
# hash and check each fields type against the current object's property
|
|
51
|
-
# definitions.
|
|
52
|
-
#
|
|
53
|
-
# @param obj [Object]
|
|
54
|
-
# @return [Void]
|
|
55
|
-
def self.validate_raw(obj:)
|
|
56
|
-
obj.service_facility_id.is_a?(String) != false || raise("Passed value for field obj.service_facility_id is not the expected type, validation failed.")
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|