Class: ChangeHealthcare::Eligibility::SwaggerClient::RequestDependent
- Inherits:
-
Object
- Object
- ChangeHealthcare::Eligibility::SwaggerClient::RequestDependent
- Defined in:
- lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb
Overview
Loop: 2000D, Notes: Dependent Detail
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#additional_identification ⇒ Object
Loop: 2100, Segment: REF Notes: Additional Identification.
-
#address ⇒ Object
Loop: 2100, Segment: N3 and N4, Notes: Address.
-
#beginning_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=RD8 Retired.
-
#beginning_plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=RD8 Retired.
-
#birth_sequence_number ⇒ Object
Loop: 2100D Segment: INS, Element: INS17, Notes: Birth Sequence Number - must be exactly 9 positive unsigned numeric characters.
-
#date_of_birth ⇒ Object
Loop: 2100, Segment: DMG, Element: DMG02, Notes: date of birth in CCYYMMDD.
-
#eligibility_category ⇒ Object
Loop: 2100D Segment: REF, Element: REF02, Notes: REF01=MRC Eligibility Category.
-
#end_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=RD8 Retired.
-
#end_plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=RD8 Retired.
-
#first_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM104, Notes: firstName 1-35 alphanumberic characters.
-
#gender ⇒ Object
Loop: 2100, Segment: DMG, Element: DMG03, Notes: gender 1 character ‘M’ or ‘F’.
-
#group_number ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=6P Group Number.
-
#health_care_code_information ⇒ Object
Loop: 2100, Segment: HI, Element: HI01-1 HI01-2, Notes: Health Care Diagnosis.
-
#id_card ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=HJ Identity Card Number.
-
#id_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=D8 Retired.
-
#individual_relationship_code ⇒ Object
Loop: 2100D Segment: INS, Element: INS02, Notes: Individual Relationship Code 01 - Spouse, 19 - Child, 34 Other Adult.
-
#issue_number ⇒ Object
Loop: 2100D Segment: REF, Element: REF02, Notes: REF01=IF Issue Number.
-
#last_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM103, Notes: lastName 1-60 alphanumberic characters.
-
#member_id ⇒ Object
Loop: 2100 Segment: MN1, Element: NM109, Notes: NM108=MI, memberId 2-80 alphanumberic characters.
-
#middle_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM105, Notes: middleName 1-25 alphanumberic characters.
-
#plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=D8 Retired.
-
#provider_code ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV01, Notes: Provider Code.
-
#provider_identifier ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV03, Notes: Provider Identifier.
-
#reference_identification_qualifier ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV02, Notes: Reference Identification Qualifier.
-
#ssn ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=SY Social Security Number.
-
#suffix ⇒ Object
Loop: 2100, Segment: MN1, Element: NM107, Notes: lastName 1-10 alphanumberic characters.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ RequestDependent
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ RequestDependent
Initializes the object
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 183 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.transform_keys(&:to_sym) self.additional_identification = attributes[:additionalIdentification] if attributes.key?(:additionalIdentification) self.address = attributes[:address] if attributes.key?(:address) self.beginning_card_issue_date = attributes[:beginningCardIssueDate] if attributes.key?(:beginningCardIssueDate) self.beginning_plan_issue_date = attributes[:beginningPlanIssueDate] if attributes.key?(:beginningPlanIssueDate) self.birth_sequence_number = attributes[:birthSequenceNumber] if attributes.key?(:birthSequenceNumber) self.date_of_birth = attributes[:dateOfBirth] if attributes.key?(:dateOfBirth) self.eligibility_category = attributes[:eligibilityCategory] if attributes.key?(:eligibilityCategory) self.end_card_issue_date = attributes[:endCardIssueDate] if attributes.key?(:endCardIssueDate) self.end_plan_issue_date = attributes[:endPlanIssueDate] if attributes.key?(:endPlanIssueDate) self.first_name = attributes[:firstName] if attributes.key?(:firstName) self.gender = attributes[:gender] if attributes.key?(:gender) self.group_number = attributes[:groupNumber] if attributes.key?(:groupNumber) if attributes.key?(:healthCareCodeInformation) if (value = attributes[:healthCareCodeInformation]).is_a?(Array) self.health_care_code_information = value end end self.id_card = attributes[:idCard] if attributes.key?(:idCard) self.id_card_issue_date = attributes[:idCardIssueDate] if attributes.key?(:idCardIssueDate) self.individual_relationship_code = attributes[:individualRelationshipCode] if attributes.key?(:individualRelationshipCode) self.issue_number = attributes[:issueNumber] if attributes.key?(:issueNumber) self.last_name = attributes[:lastName] if attributes.key?(:lastName) self.member_id = attributes[:memberId] if attributes.key?(:memberId) self.middle_name = attributes[:middleName] if attributes.key?(:middleName) self.plan_issue_date = attributes[:planIssueDate] if attributes.key?(:planIssueDate) self.provider_code = attributes[:providerCode] if attributes.key?(:providerCode) self.provider_identifier = attributes[:providerIdentifier] if attributes.key?(:providerIdentifier) self.reference_identification_qualifier = attributes[:referenceIdentificationQualifier] if attributes.key?(:referenceIdentificationQualifier) self.ssn = attributes[:ssn] if attributes.key?(:ssn) self.suffix = attributes[:suffix] if attributes.key?(:suffix) end |
Instance Attribute Details
#additional_identification ⇒ Object
Loop: 2100, Segment: REF Notes: Additional Identification
19 20 21 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 19 def additional_identification @additional_identification end |
#address ⇒ Object
Loop: 2100, Segment: N3 and N4, Notes: Address
22 23 24 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 22 def address @address end |
#beginning_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=RD8 Retired
25 26 27 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 25 def beginning_card_issue_date @beginning_card_issue_date end |
#beginning_plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=RD8 Retired
28 29 30 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 28 def beginning_plan_issue_date @beginning_plan_issue_date end |
#birth_sequence_number ⇒ Object
Loop: 2100D Segment: INS, Element: INS17, Notes: Birth Sequence Number - must be exactly 9 positive unsigned numeric characters.
31 32 33 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 31 def birth_sequence_number @birth_sequence_number end |
#date_of_birth ⇒ Object
Loop: 2100, Segment: DMG, Element: DMG02, Notes: date of birth in CCYYMMDD
34 35 36 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 34 def date_of_birth @date_of_birth end |
#eligibility_category ⇒ Object
Loop: 2100D Segment: REF, Element: REF02, Notes: REF01=MRC Eligibility Category
37 38 39 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 37 def eligibility_category @eligibility_category end |
#end_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=RD8 Retired
40 41 42 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 40 def end_card_issue_date @end_card_issue_date end |
#end_plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=RD8 Retired
43 44 45 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 43 def end_plan_issue_date @end_plan_issue_date end |
#first_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM104, Notes: firstName 1-35 alphanumberic characters
46 47 48 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 46 def first_name @first_name end |
#gender ⇒ Object
Loop: 2100, Segment: DMG, Element: DMG03, Notes: gender 1 character ‘M’ or ‘F’
49 50 51 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 49 def gender @gender end |
#group_number ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=6P Group Number
52 53 54 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 52 def group_number @group_number end |
#health_care_code_information ⇒ Object
Loop: 2100, Segment: HI, Element: HI01-1 HI01-2, Notes: Health Care Diagnosis
55 56 57 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 55 def health_care_code_information @health_care_code_information end |
#id_card ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=HJ Identity Card Number
58 59 60 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 58 def id_card @id_card end |
#id_card_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=102, DTP02=D8 Retired
61 62 63 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 61 def id_card_issue_date @id_card_issue_date end |
#individual_relationship_code ⇒ Object
Loop: 2100D Segment: INS, Element: INS02, Notes: Individual Relationship Code 01 - Spouse, 19 - Child, 34 Other Adult
64 65 66 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 64 def individual_relationship_code @individual_relationship_code end |
#issue_number ⇒ Object
Loop: 2100D Segment: REF, Element: REF02, Notes: REF01=IF Issue Number
67 68 69 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 67 def issue_number @issue_number end |
#last_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM103, Notes: lastName 1-60 alphanumberic characters
70 71 72 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 70 def last_name @last_name end |
#member_id ⇒ Object
Loop: 2100 Segment: MN1, Element: NM109, Notes: NM108=MI, memberId 2-80 alphanumberic characters
73 74 75 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 73 def member_id @member_id end |
#middle_name ⇒ Object
Loop: 2100, Segment: MN1, Element: NM105, Notes: middleName 1-25 alphanumberic characters
76 77 78 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 76 def middle_name @middle_name end |
#plan_issue_date ⇒ Object
Loop: 2110, Segment: DTP, Element: DTP03, Notes: DTP01=291, DTP02=D8 Retired
79 80 81 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 79 def plan_issue_date @plan_issue_date end |
#provider_code ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV01, Notes: Provider Code
82 83 84 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 82 def provider_code @provider_code end |
#provider_identifier ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV03, Notes: Provider Identifier
85 86 87 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 85 def provider_identifier @provider_identifier end |
#reference_identification_qualifier ⇒ Object
Loop: 2100, Segment: PRV, Element: PRV02, Notes: Reference Identification Qualifier
88 89 90 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 88 def reference_identification_qualifier @reference_identification_qualifier end |
#ssn ⇒ Object
Loop: 2100, Segment: REF, Element: REF02, Notes: REF01=SY Social Security Number
91 92 93 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 91 def ssn @ssn end |
#suffix ⇒ Object
Loop: 2100, Segment: MN1, Element: NM107, Notes: lastName 1-10 alphanumberic characters
94 95 96 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 94 def suffix @suffix end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 118 def self.attribute_map { 'additional_identification': :additionalIdentification, 'address': :address, 'beginning_card_issue_date': :beginningCardIssueDate, 'beginning_plan_issue_date': :beginningPlanIssueDate, 'birth_sequence_number': :birthSequenceNumber, 'date_of_birth': :dateOfBirth, 'eligibility_category': :eligibilityCategory, 'end_card_issue_date': :endCardIssueDate, 'end_plan_issue_date': :endPlanIssueDate, 'first_name': :firstName, 'gender': :gender, 'group_number': :groupNumber, 'health_care_code_information': :healthCareCodeInformation, 'id_card': :idCard, 'id_card_issue_date': :idCardIssueDate, 'individual_relationship_code': :individualRelationshipCode, 'issue_number': :issueNumber, 'last_name': :lastName, 'member_id': :memberId, 'middle_name': :middleName, 'plan_issue_date': :planIssueDate, 'provider_code': :providerCode, 'provider_identifier': :providerIdentifier, 'reference_identification_qualifier': :referenceIdentificationQualifier, 'ssn': :ssn, 'suffix': :suffix } end |
.swagger_types ⇒ Object
Attribute type mapping.
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 150 def self.swagger_types { 'additional_identification': :AdditionalIdentification, 'address': :Address, 'beginning_card_issue_date': :String, 'beginning_plan_issue_date': :String, 'birth_sequence_number': :String, 'date_of_birth': :String, 'eligibility_category': :String, 'end_card_issue_date': :String, 'end_plan_issue_date': :String, 'first_name': :String, 'gender': :String, 'group_number': :String, 'health_care_code_information': :'Array<HealthCareInformation>', 'id_card': :String, 'id_card_issue_date': :String, 'individual_relationship_code': :String, 'issue_number': :String, 'last_name': :String, 'member_id': :String, 'middle_name': :String, 'plan_issue_date': :String, 'provider_code': :String, 'provider_identifier': :String, 'reference_identification_qualifier': :String, 'ssn': :String, 'suffix': :String } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 300 def ==(o) return true if equal?(o) self.class == o.class && additional_identification == o.additional_identification && address == o.address && beginning_card_issue_date == o.beginning_card_issue_date && beginning_plan_issue_date == o.beginning_plan_issue_date && birth_sequence_number == o.birth_sequence_number && date_of_birth == o.date_of_birth && eligibility_category == o.eligibility_category && end_card_issue_date == o.end_card_issue_date && end_plan_issue_date == o.end_plan_issue_date && first_name == o.first_name && gender == o.gender && group_number == o.group_number && health_care_code_information == o.health_care_code_information && id_card == o.id_card && id_card_issue_date == o.id_card_issue_date && individual_relationship_code == o.individual_relationship_code && issue_number == o.issue_number && last_name == o.last_name && member_id == o.member_id && middle_name == o.middle_name && plan_issue_date == o.plan_issue_date && provider_code == o.provider_code && provider_identifier == o.provider_identifier && reference_identification_qualifier == o.reference_identification_qualifier && ssn == o.ssn && suffix == o.suffix end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 369 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = SwaggerClient.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 436 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 347 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize(Regexp.last_match(1), v) }) end elsif !attributes[self.class.attribute_map[key]].nil? send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
334 335 336 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 334 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
340 341 342 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 340 def hash [additional_identification, address, beginning_card_issue_date, beginning_plan_issue_date, birth_sequence_number, date_of_birth, eligibility_category, end_card_issue_date, end_plan_issue_date, first_name, gender, group_number, health_care_code_information, id_card, id_card_issue_date, individual_relationship_code, issue_number, last_name, member_id, middle_name, plan_issue_date, provider_code, provider_identifier, reference_identification_qualifier, ssn, suffix].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
248 249 250 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 248 def list_invalid_properties [] end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
415 416 417 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 415 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
421 422 423 424 425 426 427 428 429 430 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 421 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
409 410 411 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 409 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
254 255 256 257 258 259 260 261 262 263 264 265 |
# File 'lib/change_healthcare/eligibility/swagger_client/models/request_dependent.rb', line 254 def valid? individual_relationship_code_validator = EnumAttributeValidator.new('String', %w[01 19 34]) return false unless individual_relationship_code_validator.valid?(@individual_relationship_code) provider_code_validator = EnumAttributeValidator.new('String', %w[AD AT BI CO CV H HH LA OT P1 P2 PC PE R RF SK SU]) return false unless provider_code_validator.valid?(@provider_code) reference_identification_qualifier_validator = EnumAttributeValidator.new('String', %w[9K D3 EI HPI PXC SY TJ]) return false unless reference_identification_qualifier_validator.valid?(@reference_identification_qualifier) true end |